[go: up one dir, main page]

CN103138808B - A kind of information processing method, device and equipment - Google Patents

A kind of information processing method, device and equipment Download PDF

Info

Publication number
CN103138808B
CN103138808B CN201110397632.2A CN201110397632A CN103138808B CN 103138808 B CN103138808 B CN 103138808B CN 201110397632 A CN201110397632 A CN 201110397632A CN 103138808 B CN103138808 B CN 103138808B
Authority
CN
China
Prior art keywords
information processing
distance
instruction
equipment
equal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110397632.2A
Other languages
Chinese (zh)
Other versions
CN103138808A (en
Inventor
张怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110397632.2A priority Critical patent/CN103138808B/en
Publication of CN103138808A publication Critical patent/CN103138808A/en
Application granted granted Critical
Publication of CN103138808B publication Critical patent/CN103138808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of information processing method, device and equipment, be applied to the first equipment, described first equipment has at least one transducer; Described method comprises: when there being the distance between the second equipment and described first equipment to be less than or equal to the first preset distance, and at least one transducer described in described first equipment utilization detects the position that described second equipment contacts with first terminal equipment; First information processing instruction is produced according to described position; Perform the operation indicated by first information processing instruction.Information processing method, device and equipment that the application embodiment of the present invention provides, simply, accurately, easily can realize information processing, avoid software design patterns mode loaded down with trivial details in prior art, treatment effeciency is high, and processing mode is more natural, be easy to as user accepts.

Description

Information processing method, device and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method, apparatus, and device.
Background
In daily life and work, a plurality of intelligent devices may be used, and each device stores different data, so that there is a need for information processing between devices, such as a need for data synchronization between devices. One possible scenario is to go home with some data synchronized to the handset. Further, however, information desired to be processed at different times is different, and in the case of synchronization, for example, types of files desired to be synchronized are various, and for example, it is desired to synchronize pictures, to synchronize MP3 music, to synchronize pdf file documents, and even to synchronize files in a folder, and the like.
How to simply, accurately and conveniently help users to meet these various information processing requirements is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides an information processing method, device and equipment, which can simply, accurately and conveniently realize information processing.
The embodiment of the invention provides an information processing method, which is applied to first equipment, wherein the first equipment is provided with at least one sensor; the method comprises the following steps:
when the distance between the second device and the first device is less than or equal to a first predetermined distance,
the first device detects the position of the second device contacting with the first terminal device by using the at least one sensor;
generating a first information processing instruction according to the position;
the operation indicated by the first information processing instruction is executed.
The first information processing instruction is a synchronization instruction or a file transmission instruction.
Wherein generating the first information processing instruction according to the position specifically includes:
obtaining a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized;
generating a first information processing instruction according to the first parameter;
executing the operation indicated by the first information processing instruction comprises:
and synchronizing the files of the specified type or the files of the specified path according to the first parameter of the synchronization instruction.
Wherein when the distance between the second device and the first device is greater than a first predetermined distance, the method further comprises:
stopping the operation indicated by the first information processing instruction, and recording an operation breakpoint;
and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
Wherein the sensor comprises: electromagnetic induction, a proximity Sensor, NFC (near field communication), gravity induction G-Sensor and a gyroscope.
An embodiment of the present invention further provides an information processing method, which is applied to a first device, and when a distance between a second device and the first device is less than or equal to a first predetermined distance, the method includes:
obtaining a first detection instruction;
obtaining a relative position relation between the second device and the first device according to the detection instruction, and obtaining a second parameter according to the position relation, wherein the second parameter is used for indicating the relative position information of the second device and the first device;
obtaining a first information processing instruction according to the second parameter;
and executing the operation indicated by the first information processing instruction.
Wherein the step of obtaining a first detection instruction comprises:
when the distance between the second device and the first device is smaller than or equal to a first preset distance, a first detection command is triggered and obtained through a sensor in the first device.
The first equipment and the second equipment are respectively provided with a first short side, a second short side, a first long side and a second long side;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
The first information processing instruction is a synchronization instruction or a file transmission instruction.
An embodiment of the present invention further provides an information processing apparatus, which is applied to a first device, and the apparatus includes:
the detection unit is used for detecting the contact position of a second device and a first terminal device by using at least one sensor in the first device when the distance between the second device and the first device is smaller than or equal to a first preset distance;
an instruction generating unit for generating a first information processing instruction according to the position;
and the instruction execution unit is used for executing the operation indicated by the first information processing instruction.
Wherein the instruction generation unit includes:
a first parameter obtaining unit, configured to obtain a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized;
and the instruction generating subunit is used for generating a first information processing instruction according to the first parameter.
Wherein the apparatus further comprises:
the operation termination unit is used for terminating the operation indicated by the first information processing instruction and recording an operation breakpoint when the distance between the second equipment and the first equipment is greater than a first preset distance;
and the operation continuing unit is used for continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
An embodiment of the present invention further provides an information processing apparatus, which is applied to a first device, and when a distance between a second device and the first device is less than or equal to a first predetermined distance, the apparatus includes:
an instruction obtaining unit configured to obtain a first detection instruction;
a position obtaining unit, configured to obtain a relative position relationship between the second device and the first device according to the detection instruction, and obtain a second parameter according to the position relationship, where the second parameter is used to indicate relative position information between the second device and the first device;
the instruction generating unit is used for obtaining a first information processing instruction according to the second parameter;
and the instruction execution unit is used for executing the operation indicated by the first information processing instruction.
The first equipment and the second equipment are respectively provided with a first short side, a second short side, a first long side and a second long side;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
An embodiment of the present invention further provides an apparatus, where the apparatus includes:
the processor is used for sending an instruction to the sensor when the distance between the second equipment and the first equipment is smaller than or equal to a first preset distance; generating a first information processing instruction according to the position; executing the operation indicated by the first information processing instruction;
and the sensor is used for detecting the contact position of the second equipment and the first terminal equipment and feeding back the detected position to the processor.
The processor is further configured to terminate the operation indicated by the first information processing instruction and record an operation breakpoint when the distance between the second device and the first device is greater than a first predetermined distance; and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
Wherein the sensor comprises: electromagnetic induction, proximity sensors, NFC, G-Sensor, gyroscopes.
The embodiment of the invention also provides equipment which is applied to the first equipment, and the equipment comprises:
the processor is used for obtaining a first detection instruction when the distance between the second equipment and the first equipment is smaller than or equal to a first preset distance; obtaining a second parameter according to the position relation from the sensor, wherein the second parameter is used for indicating the relative position information of the second equipment and the first equipment; obtaining a first information processing instruction according to the second parameter; and executing the operation indicated by the first information processing instruction.
The sensor is used for obtaining the relative position relation between the second equipment and the first equipment according to the detection instruction and transmitting the position relation to the processor,
the first equipment and the second equipment are respectively provided with a first short side, a second short side, a first long side and a second long side;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
By applying the information processing method, the information processing device and the information processing equipment provided by the embodiment of the invention, the information processing can be simply, accurately and conveniently realized, a complicated software setting mode in the prior art is avoided, the processing efficiency is high, the processing mode is more natural, and the information processing method, the device and the equipment are easy to accept by users.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method of information processing according to an embodiment of the invention;
FIG. 2 is a flow diagram of another information processing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an implementation according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an implementation according to another specific example of the present invention;
fig. 5 is a schematic logical structure diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic logical configuration diagram of another information processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of another apparatus configuration according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a flowchart of an information processing method according to an embodiment of the present invention, the present embodiment is applied to a first device having at least one sensor; the process shown in fig. 1 specifically includes:
step 101, when the distance between a second device and a first device is smaller than or equal to a first preset distance, the first device detects the position of the second device contacting with a first terminal device by using at least one sensor;
102, generating a first information processing instruction according to the position;
here, the first information processing instruction is a synchronization instruction or a file transfer instruction. Of course, the specific content of the first information synchronization processing instruction is not limited thereto, and any instruction that can be used for information processing may be applied to the present application.
Step 103, executing the operation indicated by the first information processing instruction.
It should be noted that, in the step 102, generating the first information processing instruction according to the position may specifically include: obtaining a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized; and generating a first information processing instruction according to the first parameter. In step 103, the executing the operation indicated by the first information processing instruction includes: and synchronizing the files of the specified type or the files of the specified path according to the first parameter of the synchronization instruction.
That is, different parameters may be obtained according to different locations, for example, parameters for synchronizing photos may be obtained if the second device is above the first device, such that photos within the first device are synchronized to the second device or photos within the second device are synchronized to the first device when the operation indicated by the first information processing instruction is performed. As another example, if the second device is below the first device, the parameters for synchronizing mp3 may be obtained, such that mp3 within the first device is synchronized to the second device, or mp3 within the second device is synchronized to the first device, when the operation indicated by the first information processing instruction is performed. For another example, if the second device is on the left side of the first device, the parameters of the synchronized video file may be obtained, such that the video file in the first device is synchronized to the second device or the video file in the second device is synchronized to the first device when the operation indicated by the first information processing instruction is performed.
When performing file synchronization or file transfer processing between the first device and the second device, a wireless transmission processing method is adopted, and the wireless transmission method includes: the present disclosure is not limited to a specific implementation manner of wireless transmission, and may include various wireless transmission manners such as bluetooth, wireless fidelity (WIFI), Near Field Communication (NFC), and the like.
It should be noted that, when the distance between the second device and the first device is greater than the first predetermined distance, the method shown in fig. 1 may further include: stopping the operation indicated by the first information processing instruction, and recording an operation breakpoint; and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance. In this way it is possible to obtain,
it should be noted that the above sensors include, but are not limited to: electromagnetic induction, proximity sensors, Near Field Communication (NFC), gravity sensing G-sensors, gyroscopes, and the like.
The method provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
Referring to fig. 2, which is a flowchart of another information processing method according to an embodiment of the present invention, where the embodiment is applied to a first device, when a distance between a second device and the first device is less than or equal to a first predetermined distance, the method shown in fig. 2 specifically includes:
step 201, obtaining a first detection instruction;
the step of obtaining the first detection instruction may specifically include:
when the distance between the second device and the first device is smaller than or equal to a first preset distance, a first detection command is triggered and obtained through a sensor in the first device. That is, the first detection instruction is obtained when the sensor senses that the second device is close to or in contact with the first device.
Step 202, obtaining a relative position relationship between the second device and the first device according to the detection instruction, and obtaining a second parameter according to the position relationship, where the second parameter is used to indicate relative position information of the second device and the first device;
step 203, obtaining a first information processing instruction according to the second parameter;
here, the step of obtaining the first information processing instruction according to the second parameter may include:
and obtaining the first information processing instruction according to the preset corresponding relation between the second parameter and the first information processing instruction. For example, the preset corresponding relationship is that when the second device is located at the upper end of the first device, the video file is synchronized, and if the second parameter indicates that the second device is located at the upper end of the first device, the information processing instruction of the synchronized video is obtained; for another example, the preset corresponding relationship is that when the second device is located at the lower end of the first device, the contents of the specified folder are synchronized, and if the second parameter indicates that the second device is located at the lower end of the first device, the information processing instruction of the specified folder is obtained.
The first information processing instruction is a synchronization instruction or a file transmission instruction.
And step 204, executing the operation indicated by the first information processing instruction.
Specifically, the operation is executed in accordance with the instruction of the first information processing instruction.
It should be noted that the first device and the second device respectively have a first short side, a second short side, a first long side and a second long side; thus, the relative position information of the second device and the first device at least comprises:
the distance between the second long side of the first device and the first long side of the second device is less than or equal to a first predetermined distance, as shown in fig. 3 a; or, the distance between the first short side of the first device and the first long side of the second device is less than or equal to a first predetermined distance, as shown in fig. 3 b; or, the distance between the second long side of the first device and the first short side of the second device is less than or equal to a first predetermined distance, as shown in fig. 3 c; alternatively, the distance between the first short side of the first device and the first short side of the second device is smaller than or equal to the first predetermined distance, as shown in fig. 3 d. Of course, the relative position of the second device to the first device is not limited to the several embodiments shown in fig. 3, and may be other positions, such as the second device being at the left side or lower end of the first device, etc.
The method provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
The present invention will be described in detail with reference to specific examples.
Example 1:
referring to fig. 3, a schematic diagram of an implementation according to an embodiment of the invention is shown. In this embodiment, the first device has the required sensor therein. When the distance between the second device and the first device is less than or equal to a first predetermined distance, the first device detects the position of the second device in contact with the first terminal device using the sensor, for example, detects the position as shown in fig. 3a,
then, generating a first information processing instruction, such as a photo synchronization instruction, according to the position; the step may specifically include: generating a synchronization command with the file type being a photograph according to the position shown in FIG. 3 a;
finally, the photo files are synchronized between the first device and the second device. Of course, the photo file may include one or any combination of the following formats: such as jpg,. bmp,. jpeg, etc. It should be noted that the embodiment does not limit the specific format of the photo file, and any format that can be used as a photo file can be applied to the present application.
Of course, if the first device detects a location as shown in FIG. 3b, the mp3 file may be synchronized. That is, the first device processes files of a certain class or files within a certain folder according to the detected relative position to the second device.
Example 2:
referring to fig. 4, a schematic diagram of another embodiment of the present invention is shown. In this embodiment, the first device has the required sensor therein. When the distance between the second device and the first device is less than or equal to a first predetermined distance, the first device detects the position where the second device is in contact with the first terminal device by using the sensor, for example, detects the position of a point as shown in fig. 4,
then, generating a first information processing instruction, such as a photo synchronization instruction, according to the position; the step may specifically include: generating a synchronous instruction with the file type being a photo according to the position shown by the point a in the figure 4;
finally, the photo files are synchronized between the first device and the second device. Of course, the photo file may include one or any combination of the following formats: such as jpg,. bmp,. jpeg, etc. It should be noted that the embodiment does not limit the specific format of the photo file, and any format that can be used as a photo file can be applied to the present application.
Of course, if the first device detects a location as indicated by point b in FIG. 4, the mp3 file may be synchronized. That is, the first device processes files of a certain class or files within a certain folder according to the detected relative position to the second device.
Example 3:
still referring to fig. 3, when the distance between the second device and the first device is less than or equal to a first predetermined distance, the first device obtains a first detection instruction; specifically, the method comprises the following steps: when the distance between the second device and the first device is smaller than or equal to a first preset distance, a first detection command is triggered and obtained through a sensor in the first device. That is, the first detection instruction is obtained when the sensor senses that the second device is close to or in contact with the first device.
Then, obtaining a relative position relationship between the second device and the first device according to the detection instruction, and obtaining a second parameter according to the position relationship, wherein the second parameter is used for indicating the relative position information of the second device and the first device; that is, the second parameter indicates the positional relationship as shown in fig. 3.
Then, obtaining a first information processing instruction according to the second parameter;
for example, if it is preset that the photo file is synchronized when the distance between the second long side of the first device and the first long side of the second device is smaller than or equal to a first predetermined distance (i.e. the case of fig. 3 a), then if the second parameter indicates that the distance between the second long side of the first device and the first long side of the second device is smaller than or equal to the first predetermined distance, an instruction for photo synchronization is obtained; for another example, if it is preset that the distance between the first short side of the first device and the first long side of the second device is equal to or less than the first predetermined distance, the mp3 file is synchronized (i.e. as in the case of fig. 3 b), then if the second parameter indicates that the distance between the first short side of the first device and the first long side of the second device is equal to or less than the first predetermined distance, the instruction to synchronize mp3 is obtained.
Finally, the operation indicated by the first information processing instruction is executed.
That is, the first device processes files of a certain class or files within a certain folder according to the detected relative position to the second device.
Example 4:
still referring to fig. 4, when the distance between the second device and the first device is less than or equal to a first predetermined distance, the first device obtains a first detection instruction; specifically, the method comprises the following steps: when the distance between the second device and the first device is smaller than or equal to a first preset distance, a first detection command is triggered and obtained through a sensor in the first device. That is, the first detection instruction is obtained when the sensor senses that the second device is close to or in contact with the first device.
Then, obtaining a relative position relationship between the second device and the first device according to the detection instruction, and obtaining a second parameter according to the position relationship, wherein the second parameter is used for indicating the relative position information of the second device and the first device; that is, the second parameter indicates the positional relationship as shown in fig. 4.
Then, obtaining a first information processing instruction according to the second parameter;
for example, it is preset that when the first device and the second device are at the position of the point a in fig. 4, the photo file is synchronized, and if the second parameter indicates that the first device and the second device are at the position of the point a in fig. 4, the instruction for synchronizing photos is obtained; as another example, if the position of b-point of the first device and the second device, such as FIG. 4, is preset, the mp3 file is synchronized, and if the second parameter indicates the position of b-point of the first device and the second device, such as FIG. 4, the instruction for synchronizing mp3 is obtained.
Finally, the operation indicated by the first information processing instruction is executed.
That is, the first device processes files of a certain class or files within a certain folder according to the detected relative position to the second device.
The method provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
An embodiment of the present invention further provides an information processing apparatus, referring to fig. 5, applied to a first device, where the apparatus includes:
a detection unit 501, configured to detect, when a distance between a second device and the first device is less than or equal to a first predetermined distance, a position where the second device contacts a first terminal device by using at least one sensor in the first device;
an instruction generating unit 502 for generating a first information processing instruction according to the position;
an instruction execution unit 503 is configured to execute the operation indicated by the first information processing instruction.
The instruction generating unit may specifically include:
a first parameter obtaining unit (not shown) for obtaining a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized;
an instruction generating subunit (not shown) is configured to generate a first information processing instruction according to the first parameter.
The apparatus of fig. 5 may further include:
an operation termination unit (not shown) configured to terminate the operation indicated by the first information processing instruction and record an operation breakpoint when the distance between the second device and the first device is greater than a first predetermined distance;
an operation continuing unit (not shown) configured to continue the operation indicated by the first information processing instruction when the second device is again in contact with the first device and the distance between the second device and the first device is less than or equal to a first predetermined distance.
The device provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
An embodiment of the present invention further provides an information processing apparatus, referring to fig. 6, applied to a first device, where when a distance between a second device and the first device is less than or equal to a first predetermined distance, the apparatus includes:
an instruction obtaining unit 601 configured to obtain a first detection instruction;
a location obtaining unit 602, configured to obtain a relative location relationship between the second device and the first device according to the detection instruction, and obtain a second parameter according to the location relationship, where the second parameter is used to indicate relative location information between the second device and the first device;
an instruction generating unit 603, configured to obtain a first information processing instruction according to the second parameter;
an instruction execution unit 604, configured to execute the operation indicated by the first information processing instruction.
The first device and the second device are respectively provided with a first short side, a second short side, a first long side and a second long side;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
The device provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
An embodiment of the present invention further provides an apparatus, referring to fig. 7, where the apparatus includes:
a processor 701, configured to send an instruction to a sensor when a distance between a second device and the first device is less than or equal to a first predetermined distance; generating a first information processing instruction according to the position; executing the operation indicated by the first information processing instruction;
at least one sensor 702 for detecting the position of the second device in contact with the first terminal device and feeding back the detected position to the processor.
The processor is further used for terminating the operation indicated by the first information processing instruction and recording an operation breakpoint when the distance between the second device and the first device is greater than a first preset distance; and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
The sensor includes: electromagnetic induction, proximity sensors, NFC, G-Sensor, gyroscopes.
The device provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
An embodiment of the present invention further provides an apparatus, referring to fig. 8, applied to a first apparatus, where the apparatus includes:
a processor 801, configured to obtain a first detection instruction when a distance between a second device and the first device is less than or equal to a first predetermined distance; obtaining a second parameter according to the position relation from the sensor, wherein the second parameter is used for indicating the relative position information of the second equipment and the first equipment; obtaining a first information processing instruction according to the second parameter; and executing the operation indicated by the first information processing instruction.
A sensor 802, configured to obtain a relative positional relationship between the second device and the first device according to the detection instruction, transmit the positional relationship to a processor,
the first device and the second device are respectively provided with a first short side, a second short side, a first long side and a second long side;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
The device provided by the embodiment of the invention can simply, accurately and conveniently realize information processing, avoids a complicated software setting mode in the prior art, has high processing efficiency, is more natural in processing mode, and is easy to accept by users.
For the apparatus and device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (17)

1. An information processing method is applied to a first device, wherein the first device is provided with at least one sensor; the method comprises the following steps:
when the distance between the second device and the first device is less than or equal to a first predetermined distance,
the first device detecting a location of the second device in contact with the first device using the at least one sensor;
generating a first information processing instruction according to the position;
executing the operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction.
2. The method of claim 1,
generating a first information processing instruction according to the position specifically includes:
obtaining a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized;
generating a first information processing instruction according to the first parameter;
executing the operation indicated by the first information processing instruction comprises:
and synchronizing the files of the specified type or the files of the specified path according to the first parameter of the synchronization instruction.
3. The method of claim 1,
when the distance between the second device and the first device is greater than a first predetermined distance, the method further comprises:
stopping the operation indicated by the first information processing instruction, and recording an operation breakpoint;
and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
4. The method of claim 1, wherein the sensor comprises: the device comprises an electromagnetic induction Sensor, a Near Field Communication (NFC) Sensor, a gravity induction G-Sensor and a gyroscope.
5. An information processing method applied to a first device, when a distance between a second device and the first device is equal to or less than a first predetermined distance, the method comprising:
obtaining a first detection instruction;
obtaining a relative position relation between the second device and the first device according to the detection instruction, and obtaining a second parameter according to the position relation, wherein the second parameter is used for indicating the relative position information of the second device and the first device;
obtaining a first information processing instruction according to the second parameter;
executing the operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction.
6. The method of claim 5, wherein the step of obtaining a first detection instruction comprises:
when the distance between the second device and the first device is smaller than or equal to a first preset distance, a first detection command is triggered and obtained through a sensor in the first device.
7. The method of claim 5, wherein the first and second devices have a first short side, a second short side, a first long side, and a second long side, respectively;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
8. An information processing apparatus, applied to a first device, the apparatus comprising:
the detection unit is used for detecting the position of the second equipment in contact with the first equipment by using at least one sensor in the first equipment when the distance between the second equipment and the first equipment is smaller than or equal to a first preset distance;
an instruction generating unit for generating a first information processing instruction according to the position;
an instruction execution unit configured to execute an operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction.
9. The apparatus of claim 8, wherein the instruction generation unit comprises:
a first parameter obtaining unit, configured to obtain a first parameter according to the position; the first parameter is used for indicating the type of the file to be synchronized or the path of the file to be synchronized;
and the instruction generating subunit is used for generating a first information processing instruction according to the first parameter.
10. The apparatus of claim 8, further comprising:
the operation termination unit is used for terminating the operation indicated by the first information processing instruction and recording an operation breakpoint when the distance between the second equipment and the first equipment is greater than a first preset distance;
and the operation continuing unit is used for continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
11. An information processing apparatus applied to a first device, the apparatus comprising, when a distance between a second device and the first device is equal to or less than a first predetermined distance:
an instruction obtaining unit configured to obtain a first detection instruction;
a position obtaining unit, configured to obtain a relative position relationship between the second device and the first device according to the detection instruction, and obtain a second parameter according to the position relationship, where the second parameter is used to indicate relative position information between the second device and the first device;
the instruction generating unit is used for obtaining a first information processing instruction according to the second parameter;
an instruction execution unit configured to execute an operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction.
12. The apparatus of claim 11, wherein the first and second devices have a first short side, a second short side, a first long side, and a second long side, respectively;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
13. An information processing apparatus characterized by comprising:
the processor is used for sending an instruction to the sensor when the distance between the second equipment and the equipment is smaller than or equal to a first preset distance; generating a first information processing instruction according to the position from the sensor; executing the operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction;
at least one sensor for detecting the position of the second device in contact with the device and feeding back the detected position to a processor.
14. The apparatus of claim 13,
the processor is further used for terminating the operation indicated by the first information processing instruction and recording an operation breakpoint when the distance between the second device and the device is greater than a first preset distance; and continuing the operation indicated by the first information processing instruction when the second equipment is contacted with the first equipment again and the distance between the second equipment and the first equipment is less than or equal to a first preset distance.
15. The apparatus of claim 14, wherein the sensor comprises: the device comprises an electromagnetic induction Sensor, a Near Field Communication (NFC) Sensor, a G-Sensor and a gyroscope.
16. An information processing apparatus, applied to a first apparatus, the apparatus comprising:
the processor is used for obtaining a first detection instruction when the distance between the second equipment and the first equipment is smaller than or equal to a first preset distance; obtaining a second parameter according to the position relation from the sensor, wherein the second parameter is used for indicating the relative position information of the second equipment and the first equipment; obtaining a first information processing instruction according to the second parameter; executing the operation indicated by the first information processing instruction;
the first information processing instruction is a synchronization instruction or a file transmission instruction;
and the sensor is used for obtaining the relative position relationship between the second equipment and the first equipment according to the detection instruction and transmitting the position relationship to the processor.
17. The apparatus of claim 16, wherein the first and second devices have a first short side, a second short side, a first long side, and a second long side, respectively;
the relative position information of the second device and the first device at least comprises:
the distance between the second long edge of the first device and the first long edge of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first long side of the second device is smaller than or equal to a first preset distance; or,
the distance between the second long side of the first device and the first short side of the second device is smaller than or equal to a first preset distance; or,
the distance between the first short side of the first device and the first short side of the second device is less than or equal to a first predetermined distance.
CN201110397632.2A 2011-12-02 2011-12-02 A kind of information processing method, device and equipment Active CN103138808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110397632.2A CN103138808B (en) 2011-12-02 2011-12-02 A kind of information processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110397632.2A CN103138808B (en) 2011-12-02 2011-12-02 A kind of information processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN103138808A CN103138808A (en) 2013-06-05
CN103138808B true CN103138808B (en) 2016-03-30

Family

ID=48498186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110397632.2A Active CN103138808B (en) 2011-12-02 2011-12-02 A kind of information processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN103138808B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074194A1 (en) * 2013-11-20 2015-05-28 华为技术有限公司 Communication method and device
WO2022028324A1 (en) * 2020-08-05 2022-02-10 华为技术有限公司 Method and apparatus for starting application, and electronic device and medium
CN114090102B (en) * 2020-08-05 2023-07-11 华为技术有限公司 Method, device, electronic equipment and medium for starting application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780443A (en) * 2004-11-22 2006-05-31 乐金电子(中国)研究开发中心有限公司 Short distance delivering and receiving method of telephone directory through mobile communication terminals
CN1801243A (en) * 2005-01-07 2006-07-12 现代奥途纳特株式会社 Vehicle proximity alerting system and method
CN1822535A (en) * 2005-11-30 2006-08-23 上海广电(集团)有限公司中央研究院 Synchronizing device for medium player

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780443A (en) * 2004-11-22 2006-05-31 乐金电子(中国)研究开发中心有限公司 Short distance delivering and receiving method of telephone directory through mobile communication terminals
CN1801243A (en) * 2005-01-07 2006-07-12 现代奥途纳特株式会社 Vehicle proximity alerting system and method
CN1822535A (en) * 2005-11-30 2006-08-23 上海广电(集团)有限公司中央研究院 Synchronizing device for medium player

Also Published As

Publication number Publication date
CN103138808A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
EP3714612B1 (en) Quick pairing of peripheral and host devices
CN113630551B (en) Electronic devices and operating methods that provide various functions through applications utilizing cameras
KR102219857B1 (en) An electronic device and operating method thereof
CN107924213B (en) Method and apparatus for operating an electronic device detachable from another electronic device
TWI619386B (en) Short-range radio communication system and method for operating the same
CN108933865B (en) Mobile terminal and control method thereof
CN103384369B (en) A method, device and system for establishing a data connection
US20140059169A1 (en) Information transmission method and system, device, and computer readable recording medium thereof
US20140006496A1 (en) Apparatus and method for selection of a device for content sharing operations
JP6358604B2 (en) Method for supporting wireless access to storage device and mobile routing hotspot device
JP6381247B2 (en) System having image processing apparatus and portable terminal
KR20140090297A (en) Image forming method and apparatus of using near field communication
CN103378881B (en) Information exchange method and information exchange system
JP6399849B2 (en) Information processing apparatus and program
US20140059652A1 (en) Apparatus for uploading contents, user terminal apparatus for downloading contents, server, contents sharing system and their contents sharing method
CN103106027A (en) Touch input method and device in portable device
EP3099043B1 (en) Method and system for bluetooth-based transfer of contact list information
EP2696603A2 (en) Apparatus and method for communicating data in mobile device having near field communication module
US20150207957A1 (en) Image forming device to provide preview image, display apparatus to display the preview image, and methods thereof
US20110117847A1 (en) Electronic apparatus and communication control method
US20190196707A1 (en) User interface for cross-device requests
CN103138808B (en) A kind of information processing method, device and equipment
CN113467961A (en) Copy and paste method, electronic equipment and system
CN105786572A (en) Application installing position selecting method and application installing position selecting device
EP2715484B1 (en) Data communication method via touch surface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant