CN104298349B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104298349B CN104298349B CN201410494983.9A CN201410494983A CN104298349B CN 104298349 B CN104298349 B CN 104298349B CN 201410494983 A CN201410494983 A CN 201410494983A CN 104298349 B CN104298349 B CN 104298349B
- Authority
- CN
- China
- Prior art keywords
- information
- data
- instruction
- data relation
- instruction parameter
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of information processing method and electronic equipment, the electronic equipment includes collecting unit;Described information processing method includes:The first operation is obtained, judges whether first operation meets the first predetermined condition, obtains judged result;When the judged result shows that first operation meets first predetermined condition, the first information of destination object is gathered using the collecting unit;The data relationship to match with the first information is searched in data relationship set;The data relationship set comprises at least a data relation, relation of the data relationship between information and order parameter;According to the data relationship to match with the first information, it is determined that first order parameter corresponding with the first information;The first instruction is performed according to first order parameter.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
With the intellectualization of electronic equipment, users have the demand of sharing files on site, especially sharing photos and videos. For example, a takes a picture and wants to see it when talking with B, and in the current usage of electronic devices, a can give B the electronic device and display the picture to B, which is inconvenient and privacy issue. Certainly, the picture can also be sent to the B-site through social network, email, peer-to-peer and the like, however, this file sharing method requires a series of complicated manual operations in the electronic device, for example, switching the operation interface of the electronic device to a contact list, selecting a sending object in the contact list, and then confirming the sending object; the selection of the transmission object of the electronic device requires a cumbersome operation process, which is very inconvenient.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide an information processing method and an electronic device.
The information processing method provided by the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment comprises an acquisition unit; the information processing method comprises the following steps:
obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result;
when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit;
searching a data relation matched with the first information in a data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters;
determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information;
and executing a first instruction according to the first instruction parameter.
The electronic equipment provided by the embodiment of the invention comprises an acquisition device and a processor, wherein:
when the processor obtains a first operation, judging whether the first operation meets a first preset condition or not to obtain a judgment result; when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit;
the processor searches a data relation matched with the first information in a data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters; and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information, and executing a first instruction according to the first instruction parameter.
In the technical solution of the embodiment of the present invention, when the electronic device obtains the identification operation, the acquisition unit is used to acquire the first information of the target object, where the acquisition unit may be an acquisition unit such as a camera and a microphone, and the first information is accordingly avatar information, voice information, and the like of the target object. Then, according to the collected first information of the target object and a preset data relation set, a data relation matched with the first information is determined, and further according to the data relation, a first instruction parameter corresponding to the first information is determined. Here, the data relationship set includes at least one data relationship, and the data relationship is a relationship between information and an instruction parameter, where the instruction parameter is a parameter associated with a communication object. And finally, executing a first instruction according to the first instruction parameter, thereby realizing communication with a communication object in the first instruction parameter. The technical scheme of the embodiment of the invention can quickly and conveniently select the communication object, thereby greatly simplifying the operation flow of field file sharing and having better user experience.
Drawings
Fig. 1 is a flowchart illustrating an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a first embodiment of the invention;
fig. 7 is a schematic structural diagram of an electronic device according to a second embodiment of the invention;
fig. 8 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a schematic flow chart of an information processing method according to a first embodiment of the present invention, where the information processing method in this example is applied to an electronic device, and the electronic device includes an acquisition unit; as shown in fig. 1, the information processing method includes the steps of:
step 101: and obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result.
In the embodiment of the present invention, the electronic device may be an electronic device such as a smart phone or a tablet computer, and the electronic device has a collecting unit, for example, a camera capable of collecting image information of a target object or a microphone capable of collecting sound information of the target object.
In the embodiment of the invention, the first operation is triggered by a user, and the acquisition unit can be triggered to acquire the first information of the target object only if the first operation meets a first preset condition. Specifically, the first operation may be a specific gesture operation, a key operation of some key combinations, or a shaking operation of shaking the electronic device, and the first predetermined condition may be preset by the user in the electronic device, or may be preset by a manufacturer of the electronic device.
Step 102: and when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit.
In the embodiment of the invention, when the electronic equipment obtains the first operation meeting the first preset condition, the acquisition unit of the electronic equipment is triggered, and the acquisition unit of the electronic equipment acquires the first information of the target object. Here, the target object refers to a certain user or a certain user, and the first information refers to characteristic information of the certain user or the certain user, such as avatar information, voice information, and the like.
Step 103: and searching the data relation matched with the first information in the data relation set.
The data relation set at least comprises a data relation, and the data relation is a relation between information and instruction parameters.
In the embodiment of the present invention, the electronic device may store a data relationship set in the memory in advance, where the data relationship set includes at least one data relationship, and each data relationship is a relationship between information and an instruction parameter. Specifically, the electronic device collects information of a plurality of target objects in advance through a collection unit to serve as template information, and then sets corresponding instruction parameters for each template information, so that a corresponding relation between the information and the instruction parameters, namely a data relation, is established; the plurality of data relationships is referred to as a set of data relationships.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the data relationship matched with the first information can be found according to the first information, wherein the information in the matched data relationship is consistent with the first information.
Step 104: and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the first instruction parameter corresponding to the first information can be determined according to the data relationship matched with the first information.
In the embodiment of the present invention, the first instruction parameter is a parameter associated with a communication object, for example, a communication device owned by a certain user is a device a, the corresponding first instruction parameter may be determined according to the first information of the user acquired by the acquisition unit, and the communication object may be determined as the device a of the user through the first instruction parameter.
Step 105: and executing a first instruction according to the first instruction parameter.
In the embodiment of the present invention, the first instruction is used to characterize to communicate with a communication object in the first instruction parameter. For example, when a communication device owned by a certain user is a device a, and it is determined that a communication object is the device a of the user through the first instruction parameter, the electronic device communicates with the device a, for example, sends a certain multimedia file to the device a; as another example, a dial request is sent to the a device.
According to the embodiment of the invention, the communication of the communication object in the first instruction parameter corresponding to the first information is realized by matching and identifying the first information of the target object. The communication object can be quickly and conveniently selected, so that the operation flow of field file sharing is greatly simplified, and the user experience is better.
Fig. 2 is a schematic flowchart of an information processing method according to a second embodiment of the present invention, where the information processing method in this example is applied to an electronic device, and the electronic device includes an acquisition unit; the electronic equipment further comprises a storage unit at least capable of storing a first file; as shown in fig. 2, the information processing method includes the steps of:
step 201: a first file is selected in the storage unit.
In the embodiment of the present invention, the electronic device may be an electronic device such as a smart phone or a tablet computer, and the electronic device has a collecting unit, for example, a camera capable of collecting image information of a target object or a microphone capable of collecting sound information of the target object.
In the embodiment of the present invention, the electronic device has an acquisition unit, such as a camera capable of acquiring image information of a target object and a microphone capable of acquiring sound information of the target object.
In the embodiment of the invention, the first file can be selected in the storage unit based on the selection operation of the user. Here, the first file may be any type of file, such as a picture, a video, or the like.
Step 202: and obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result.
In the embodiment of the invention, the first operation is triggered by a user, and the acquisition unit can be triggered to acquire the first information of the target object only if the first operation meets a first preset condition. Specifically, the first operation may be a specific gesture operation, a key operation of some key combinations, or a shaking operation of shaking the electronic device, and the first predetermined condition may be preset by the user in the electronic device, or may be preset by a manufacturer of the electronic device.
Step 203: and when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit.
In the embodiment of the invention, when the electronic equipment obtains the first operation meeting the first preset condition, the acquisition unit of the electronic equipment is triggered, and the acquisition unit of the electronic equipment acquires the first information of the target object. Here, the target object refers to a certain user or a certain user, and the first information refers to characteristic information of the certain user or the certain user, such as avatar information, voice information, and the like.
Step 204: and searching the data relation matched with the first information in the data relation set.
The data relation set at least comprises a data relation, and the data relation is a relation between information and instruction parameters.
In the embodiment of the present invention, the electronic device may store a data relationship set in the memory in advance, where the data relationship set includes at least one data relationship, and each data relationship is a relationship between information and an instruction parameter. Specifically, the electronic device collects information of a plurality of target objects in advance through a collection unit to serve as template information, and then sets corresponding instruction parameters for each template information, so that a corresponding relation between the information and the instruction parameters, namely a data relation, is established; the plurality of data relationships is referred to as a set of data relationships.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the data relationship matched with the first information can be found according to the first information, wherein the information in the matched data relationship is consistent with the first information.
Step 205: and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the first instruction parameter corresponding to the first information can be determined according to the data relationship matched with the first information.
In the embodiment of the present invention, the first instruction parameter is a parameter associated with a communication object, for example, a communication device owned by a certain user is a device a, the corresponding first instruction parameter may be determined according to the first information of the user acquired by the acquisition unit, and the communication object may be determined as the device a of the user through the first instruction parameter.
Step 206: and sending the first file to the communication object in the first instruction parameter.
For example, when a communication device owned by a certain user is the device a, and it is determined that the communication object is the device a of the user through the first instruction parameter, the electronic device sends the selected first file to the device a, thereby implementing file sharing.
When the information processing method in the embodiment of the invention is used for sharing the file, the method is not only suitable for electronic equipment such as mobile phones and tablet computers, but also more suitable for head-wearing electronic equipment such as intelligent glasses. Because the intelligent glasses can only be seen by the wearer, if the file needs to be shared, the intelligent glasses can be taken off and taken by the opposite side, and the file sharing mode is inconvenient and has privacy problems. Therefore, for electronic devices such as smart glasses, files need to be sent in a background or point-to-point manner to realize sharing, and this manner necessarily requires selection of a communication object, so that the embodiment of the present invention implements communication of the communication object in the first instruction parameter corresponding to the first information by performing matching identification on the first information of the target object. The communication object can be quickly and conveniently selected, so that the operation flow of field file sharing is greatly simplified, and the user experience is better.
In the above-described aspect, the head-mounted electronic apparatus has a fixing unit by which the electronic apparatus can be fixed to the head of a user of the electronic apparatus, and for example, the smart glasses are supported on the nose of the user by the cradling member, and the glasses are hung on the ears of the user by the hanging member, thereby fixing the smart glasses to the head of the user. For another example, the fixing unit is a helmet-type component capable of accommodating the head of the user, the electronic device is fixed on the head of the user through the helmet-type accommodating part, and the electronic device can display the operation interface at the eyes of the user.
Fig. 3 is a schematic flowchart of an information processing method according to a third embodiment of the present invention, where the information processing method in this example is applied to an electronic device, and the electronic device includes an acquisition unit; as shown in fig. 3, the information processing method includes the steps of:
step 301: and obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result.
In an embodiment of the present invention, the electronic device is particularly a wearable electronic device, such as smart glasses. Such electronic devices have a fixing unit by which the electronic device can be fixed to a part of a user of the electronic device, for example, smart glasses are supported on the nose of the user by a cradling member, and the glasses are hung on the ears of the user by a hanging member, thereby fixing the smart glasses to the head of the user. As another example, a head-mounted electronic device can be worn on the head of a user.
In the embodiment of the present invention, the electronic device has an acquisition unit, such as a camera capable of acquiring image information of a target object and a microphone capable of acquiring sound information of the target object.
In the embodiment of the invention, the first operation is triggered by a user, and the acquisition unit can be triggered to acquire the first information of the target object only if the first operation meets a first preset condition. Specifically, the first operation may be a specific gesture operation, a key operation of some key combinations, or a shaking operation of shaking the electronic device, and the first predetermined condition may be preset by the user in the electronic device, or may be preset by a manufacturer of the electronic device.
Step 302: and when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit.
In the embodiment of the invention, when the electronic equipment obtains the first operation meeting the first preset condition, the acquisition unit of the electronic equipment is triggered, and the acquisition unit of the electronic equipment acquires the first information of the target object. Here, the target object refers to a certain user or a certain user, and the first information refers to characteristic information of the certain user or the certain user, such as avatar information, voice information, and the like.
Step 303: and searching the data relation matched with the first information in the data relation set.
The data relation set at least comprises a data relation, and the data relation is a relation between information and instruction parameters.
In the embodiment of the present invention, the electronic device may store a data relationship set in the memory in advance, where the data relationship set includes at least one data relationship, and each data relationship is a relationship between information and an instruction parameter. Specifically, the electronic device collects information of a plurality of target objects in advance through a collection unit to serve as template information, and then sets corresponding instruction parameters for each template information, so that a corresponding relation between the information and the instruction parameters, namely a data relation, is established; the plurality of data relationships is referred to as a set of data relationships.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the data relationship matched with the first information can be found according to the first information, wherein the information in the matched data relationship is consistent with the first information.
Step 304: and when more than two data relations matched with the first information are found in the data relation set, selecting one data relation matched with the first information from the more than two data relations based on the obtained third operation.
In the embodiment of the present invention, in the preset data relationship set, one piece of information may correspond to one or more instruction parameters, for example, image information of one user corresponds to two pieces of mobile phone equipment. Therefore, there may be one or more data relationships matching the first information, and when there are more than two data relationships matching the first information, one of the two or more data relationships may be selected as the data relationship matching the first information by a manual operation of the user, so as to communicate with the communication object in the instruction parameter in the data relationship.
Step 305: and determining the first instruction parameter corresponding to the first information according to the data relation matched with the first information.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the first instruction parameter corresponding to the first information can be determined according to the data relationship matched with the first information.
In this embodiment of the present invention, the first instruction parameter is a parameter associated with a communication object, for example, communication devices possessed by a certain user are an a device and a B device, two corresponding instruction parameters may be determined according to the first information of the user acquired by the acquisition unit, and one of the instruction parameters is selected as the first instruction parameter, so that it is determined that the communication object is the a device or the B device of the user.
Step 306: and in the more than two data relations, increasing the priority of the selected data relation.
In the embodiment of the invention, the electronic equipment has a memory function for the selected data relation, and when the first information of the target object is matched again, the instruction parameter corresponding to the first information can be directly determined, so that the communication object is determined. Specifically, the priority of the selected data relationship is increased, and when the data relationship matching the first information is two or more, the data relationship with the highest priority is selected as the data relationship matching the first information.
Step 307: and executing a first instruction according to the first instruction parameter.
In the embodiment of the present invention, the first instruction is used to characterize to communicate with a communication object in the first instruction parameter. For example, when a communication device owned by a certain user is a device a, and it is determined that a communication object is the device a of the user through the first instruction parameter, the electronic device communicates with the device a, for example, sends a certain multimedia file to the device a; as another example, a dial request is sent to the a device.
According to the embodiment of the invention, the communication of the communication object in the first instruction parameter corresponding to the first information is realized by matching and identifying the first information of the target object. The communication object can be quickly and conveniently selected, so that the operation flow of field file sharing is greatly simplified, and the user experience is better.
Fig. 4 is a schematic flowchart of an information processing method according to a fourth embodiment of the present invention, where the information processing method in this example is applied to an electronic device, and the electronic device includes an acquisition unit; as shown in fig. 4, the information processing method includes the steps of:
step 401: and obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result.
In an embodiment of the present invention, the electronic device is particularly a wearable electronic device, such as smart glasses. Such electronic devices have a fixing unit by which the electronic device can be fixed to a part of a user of the electronic device, for example, smart glasses are supported on the nose of the user by a cradling member, and the glasses are hung on the ears of the user by a hanging member, thereby fixing the smart glasses to the head of the user. As another example, a head-mounted electronic device can be worn on the head of a user.
In the embodiment of the present invention, the electronic device has an acquisition unit, such as a camera capable of acquiring image information of a target object and a microphone capable of acquiring sound information of the target object.
In the embodiment of the invention, the first operation is triggered by a user, and the acquisition unit can be triggered to acquire the first information of the target object only if the first operation meets a first preset condition. Specifically, the first operation may be a specific gesture operation, a key operation of some key combinations, or a shaking operation of shaking the electronic device, and the first predetermined condition may be preset by the user in the electronic device, or may be preset by a manufacturer of the electronic device.
Step 402: and when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit.
In the embodiment of the invention, when the electronic equipment obtains the first operation meeting the first preset condition, the acquisition unit of the electronic equipment is triggered, and the acquisition unit of the electronic equipment acquires the first information of the target object. Here, the target object refers to a certain user or a certain user, and the first information refers to characteristic information of the certain user or the certain user, such as avatar information, voice information, and the like.
Step 403: and searching the data relation matched with the first information in the data relation set.
The data relation set at least comprises a data relation, and the data relation is a relation between information and instruction parameters.
In the embodiment of the present invention, the electronic device may store a data relationship set in the memory in advance, where the data relationship set includes at least one data relationship, and each data relationship is a relationship between information and an instruction parameter. Specifically, the electronic device collects information of a plurality of target objects in advance through a collection unit to serve as template information, and then sets corresponding instruction parameters for each template information, so that a corresponding relation between the information and the instruction parameters, namely a data relation, is established; the plurality of data relationships is referred to as a set of data relationships.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameter, so that the data relationship matched with the first information can be found according to the first information, wherein the information in the matched data relationship is consistent with the first information.
Step 404: and when the data relation matched with the first information is not found in the data relation set, selecting an instruction parameter from the instruction parameter set based on the obtained fourth operation.
In the embodiment of the invention, when the data relation matched with the first information is not found in the data relation set, one instruction parameter can be selected from the instruction parameter set through manual operation of a user so as to communicate with the communication object in the instruction parameter.
In the embodiment of the present invention, the first instruction parameter is a parameter associated with a communication object, for example, a communication device owned by a certain user is a device a, the corresponding first instruction parameter may be determined according to the first information of the user acquired by the acquisition unit, and the communication object may be determined as the device a of the user through the first instruction parameter.
Step 405: and establishing a data relation of the selected instruction parameter matched with the first information, and storing the established data relation into a data relation set.
In the embodiment of the invention, the electronic equipment has a memory function for the selected instruction parameter, and when the first information of the target object is matched again, the instruction parameter corresponding to the first information can be directly determined, so that the communication object is determined. Specifically, a data relation of the selected instruction parameter matched with the first information is established, and the established data relation is stored in a data relation set.
Step 406: and executing a first instruction according to the first instruction parameter.
In the embodiment of the present invention, the first instruction is used to characterize to communicate with a communication object in the first instruction parameter. For example, when a communication device owned by a certain user is a device a, and it is determined that a communication object is the device a of the user through the first instruction parameter, the electronic device communicates with the device a, for example, sends a certain multimedia file to the device a; as another example, a dial request is sent to the a device.
According to the embodiment of the invention, the communication of the communication object in the first instruction parameter corresponding to the first information is realized by matching and identifying the first information of the target object. The communication object can be quickly and conveniently selected, so that the operation flow of field file sharing is greatly simplified, and the user experience is better.
Fig. 5 is a schematic flowchart of an information processing method according to a fifth embodiment of the present invention, where the information processing method in this example is applied to an electronic device, and the electronic device includes an acquisition unit; as shown in fig. 5, the information processing method includes the steps of:
step 501: and obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result.
In an embodiment of the present invention, the electronic device is particularly a wearable electronic device, such as smart glasses. Such electronic devices have a fixing unit by which the electronic device can be fixed to a part of a user of the electronic device, for example, smart glasses are supported on the nose of the user by a cradling member, and the glasses are hung on the ears of the user by a hanging member, thereby fixing the smart glasses to the head of the user. As another example, a head-mounted electronic device can be worn on the head of a user.
In the embodiment of the present invention, the electronic device has an acquisition unit, for example, a camera capable of acquiring image information of a target object.
In the embodiment of the invention, the first operation is triggered by a user, and the acquisition unit can be triggered to acquire the first information of the target object only if the first operation meets a first preset condition. Specifically, the first operation may be a specific gesture operation, a key operation of some key combinations, or a shaking operation of shaking the electronic device, and the first predetermined condition may be preset by the user in the electronic device, or may be preset by a manufacturer of the electronic device.
Step 502: and when the judgment result shows that the first operation meets the first preset condition, acquiring the image information of the target object by using the acquisition unit.
In the embodiment of the invention, when the electronic equipment obtains the first operation meeting the first preset condition, the acquisition unit of the electronic equipment is triggered, and the acquisition unit of the electronic equipment acquires the image information of the target object. Here, the target object refers to a certain user or users.
Step 503: and analyzing the image information of the target object to obtain the image characteristic data of the target object.
The data relation set at least comprises a data relation, and the data relation is a relation between the image information and the instruction parameter.
In the embodiment of the present invention, the electronic device may pre-store a data relationship set in the memory, where the data relationship set includes at least one data relationship, and each data relationship is a relationship between the image information and the instruction parameter. Specifically, the electronic device acquires image information of a plurality of template objects in advance through the acquisition unit to serve as template information, and then sets corresponding instruction parameters for each template information, so as to establish a corresponding relationship between the image information and the instruction parameters, namely a data relationship; the plurality of data relationships is referred to as a set of data relationships.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the image information and the instruction parameter, so that the data relationship matched with the image information can be found according to the image information, wherein the image information in the matched data relationship is consistent with the image information of the target object.
In the embodiment of the present invention, the image feature data of the target object may be face contour information of the target object.
Step 504: and searching a data relation matched with the image characteristic data of the target object according to the data relation set.
In the embodiment of the invention, the data relationship comprises the corresponding relationship between the information and the instruction parameters, so that the first instruction parameter corresponding to the image information can be determined according to the data relationship matched with the image information.
Step 505: and determining a first instruction parameter corresponding to the image information according to the data relation matched with the image information.
In the embodiment of the present invention, the first instruction parameter is a parameter associated with a communication object, for example, a communication device owned by a certain user is a device a, a corresponding first instruction parameter may be determined according to image information of the user acquired by the acquisition unit, and the communication object may be determined to be the device a of the user through the first instruction parameter.
Step 506: and executing a first instruction according to the first instruction parameter.
In the embodiment of the present invention, the first instruction is used to characterize to communicate with a communication object in the first instruction parameter. For example, when a communication device owned by a certain user is a device a, and it is determined that a communication object is the device a of the user through the first instruction parameter, the electronic device communicates with the device a, for example, sends a certain multimedia file to the device a; as another example, a dial request is sent to the a device.
According to the embodiment of the invention, the communication of the communication object in the first instruction parameter corresponding to the image information is realized by matching and identifying the image information of the target object. The communication object can be quickly and conveniently selected, so that the operation flow of field file sharing is greatly simplified, and the user experience is better.
Fig. 6 is a schematic structural composition diagram of an electronic device according to a first embodiment of the present invention, where the electronic device includes an acquisition device 61 and a processor 62, where:
when obtaining a first operation, the processor 62 determines whether the first operation meets a first predetermined condition, and obtains a determination result; when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition device 61;
the processor 62 searches the data relationship set for a data relationship matching the first information; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters; and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information, and executing a first instruction according to the first instruction parameter.
Fig. 7 is a schematic structural composition diagram of an electronic device according to a second embodiment of the present invention, where the electronic device includes an acquisition device 71 and a processor 72, where:
when obtaining a first operation, the processor 72 determines whether the first operation meets a first predetermined condition, and obtains a determination result; when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition device 71;
the processor 72 searches the data relation matched with the first information in the data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters; and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information, and executing a first instruction according to the first instruction parameter.
The electronic device further comprises a communication unit 73 and a memory 74 capable of storing at least a first file; the first instruction parameter is a parameter associated with a communication object; the first instruction is used for characterizing communication with a communication object in the first instruction parameter;
the processor 72 selects a first file in the memory 74;
the communication unit 73 sends the first file to the communication object in the first instruction parameter according to the first instruction parameter.
The acquisition device 71 is an image acquisition device, and the image acquisition direction of the image acquisition device is consistent with the sight line direction of the user of the electronic equipment;
the information in the data relation set is image characteristic data of the template object;
the processor 72 acquires image information of a target object by using the acquisition device 71, analyzes the image information of the target object, and obtains image characteristic data of the target object; and searching a data relation matched with the image characteristic data of the target object according to the data relation set.
Fig. 8 is a schematic structural composition diagram of an electronic device according to a third embodiment of the present invention, where the electronic device includes an acquisition device 81 and a processor 82, where:
when obtaining a first operation, the processor 82 determines whether the first operation meets a first predetermined condition, and obtains a determination result; when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition device 81;
the processor 82 searches the data relation matched with the first information in the data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters; and determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information, and executing a first instruction according to the first instruction parameter.
The electronic device further comprises a communication unit 83 and a memory 84 capable of storing at least a first file; the first instruction parameter is a parameter associated with a communication object; the first instruction is used for characterizing communication with a communication object in the first instruction parameter;
the processor 82 selects a first file in the memory 84;
the communication unit 83 sends the first file to the communication object in the first instruction parameter according to the first instruction parameter.
The acquisition device 81 is an image acquisition device, and the image acquisition direction of the image acquisition device is consistent with the sight line direction of the user of the electronic equipment;
the information in the data relation set is image characteristic data of the template object;
the processor 82 acquires image information of a target object by using the acquisition device 81, analyzes the image information of the target object, and obtains image characteristic data of the target object; and searching a data relation matched with the image characteristic data of the target object according to the data relation set.
The electronic device further comprises a fixing unit 85 for maintaining the relative positional relationship of the electronic device and the head of the user's body.
When the processor is implemented by a specific logic unit, the electronic device includes:
a first obtaining unit configured to obtain a first operation;
the judging unit is used for judging whether the first operation meets a first preset condition or not to obtain a judging result;
the acquisition unit is used for acquiring the image information of the target object when the judgment result shows that the first operation meets the first preset condition;
the searching unit is used for searching the data relation matched with the image information in the data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters;
the first determining unit is used for determining a first instruction parameter corresponding to the image information according to the data relation matched with the image information;
and the execution unit is used for executing the first instruction according to the first instruction parameter.
The first instruction parameter is a parameter associated with a communication object;
the first instruction is used for characterizing communication with a communication object in the first instruction parameter.
The electronic equipment further comprises a storage unit and a selection unit, wherein the storage unit can at least store a first file;
a selection unit configured to select a first file in the storage unit;
when the first obtaining unit obtains a first operation, selecting a first file in the storage unit;
the execution unit is further configured to send the first file to the communication object in the first instruction parameter.
The electronic device further includes:
a second obtaining unit configured to obtain a third operation;
a second determining unit, configured to, when more than two data relationships matching the first information are found in the data relationship set, select, based on an obtained third operation, one data relationship matching the first information from the more than two data relationships;
a third determining unit, configured to determine the first instruction parameter corresponding to the first information according to a data relationship matching the first information;
and the priority recording unit is used for increasing the priority of the selected data relation in the more than two data relations.
The electronic device further includes:
a third obtaining unit configured to obtain a fourth operation;
the selecting unit is used for selecting one instruction parameter from the instruction parameter set based on the obtained fourth operation when the data relation matched with the first information is not found in the data relation set;
the establishing unit is used for establishing a data relation between the selected instruction parameter and the first information;
and the recording unit is used for storing the established data relation into a data relation set.
The information in the data relation is image characteristic data of the template object;
the acquisition unit is also used for acquiring the image information of the target object;
the search unit includes:
the analysis subunit is used for analyzing the image information of the target object to obtain image characteristic data of the target object;
and the searching subunit is used for searching the data relationship matched with the image characteristic data of the target object according to the data relationship set.
Those skilled in the art will understand that the implementation functions of each unit in the portable electronic device of the embodiment of the present invention can be understood by referring to the related description of the information processing method. The functions of the units in the portable electronic device according to the embodiment of the present invention may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.
Claims (9)
1. An information processing method is applied to electronic equipment, and is characterized in that the electronic equipment comprises an acquisition unit; the information processing method comprises the following steps:
obtaining a first operation, and judging whether the first operation meets a first preset condition to obtain a judgment result;
when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition unit;
searching a data relation matched with the first information in a data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters;
determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information;
executing a first instruction according to the first instruction parameter; wherein,
the first instruction parameter is a parameter associated with a communication object;
the first instruction is used for characterizing communication with a communication object in the first instruction parameter.
2. The information processing method according to claim 1, wherein the electronic device further includes a storage unit capable of storing at least a first file; when obtaining the first operation, the method further comprises:
selecting a first file in the storage unit;
the executing the first instruction according to the first instruction parameter includes:
and sending the first file to the communication object in the first instruction parameter.
3. The information processing method according to claim 1, characterized by further comprising:
when more than two data relations matched with the first information are found in the data relation set, selecting one data relation matched with the first information from the more than two data relations based on the obtained third operation;
determining the first instruction parameter corresponding to the first information according to the data relation matched with the first information;
and in the more than two data relations, increasing the priority of the selected data relation.
4. The information processing method according to claim 1, characterized by further comprising:
when the data relation matched with the first information is not found in the data relation set, selecting an instruction parameter from the instruction parameter set based on the obtained fourth operation;
and establishing a data relation of the selected instruction parameter matched with the first information, and storing the established data relation into a data relation set.
5. The information processing method according to any one of claims 1 to 4, wherein when the information in the data relationship is image feature data of a template object, the acquiring, with the acquisition unit, first information of a target object, and searching for a data relationship matching the first information in a data relationship set, includes:
acquiring image information of a target object by using the acquisition unit;
analyzing the image information of the target object to obtain image characteristic data of the target object;
and searching a data relation matched with the image characteristic data of the target object according to the data relation set.
6. An electronic device, comprising an acquisition device and a processor, wherein:
when the processor obtains a first operation, judging whether the first operation meets a first preset condition or not to obtain a judgment result; when the judgment result shows that the first operation meets the first preset condition, acquiring first information of a target object by using the acquisition device;
the processor searches a data relation matched with the first information in a data relation set; the data relation set at least comprises a data relation, and the data relation is the relation between information and instruction parameters; determining a first instruction parameter corresponding to the first information according to the data relation matched with the first information, and executing a first instruction according to the first instruction parameter; wherein,
the first instruction parameter is a parameter associated with a communication object;
the first instruction is used for characterizing communication with a communication object in the first instruction parameter.
7. The electronic device of claim 6, further comprising a communication unit and a memory capable of storing at least a first file; the first instruction parameter is a parameter associated with a communication object; the first instruction is used for characterizing communication with a communication object in the first instruction parameter;
the processor selecting a first file in the memory;
and the communication unit sends the first file to the communication object in the first instruction parameter according to the first instruction parameter.
8. The electronic device according to claim 6, wherein the capturing device is an image capturing device, and an image capturing direction of the image capturing device is consistent with a sight line direction of a user of the electronic device;
the information in the data relation set is image characteristic data of the template object;
the processor acquires image information of a target object by using the acquisition device, analyzes the image information of the target object and obtains image characteristic data of the target object; and searching a data relation matched with the image characteristic data of the target object according to the data relation set.
9. The electronic device according to any one of claims 6 to 8, further comprising a fixing unit for maintaining a relative positional relationship between the electronic device and a head of a user's body.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410494983.9A CN104298349B (en) | 2014-09-24 | 2014-09-24 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410494983.9A CN104298349B (en) | 2014-09-24 | 2014-09-24 | Information processing method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104298349A CN104298349A (en) | 2015-01-21 |
| CN104298349B true CN104298349B (en) | 2017-12-15 |
Family
ID=52318111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410494983.9A Active CN104298349B (en) | 2014-09-24 | 2014-09-24 | Information processing method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104298349B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109240581A (en) * | 2018-08-06 | 2019-01-18 | Oppo(重庆)智能科技有限公司 | terminal control method, device, terminal device and computer readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101783813A (en) * | 2009-12-22 | 2010-07-21 | 新太科技股份有限公司 | Message pushing method, device and system |
| CN103391359A (en) * | 2013-06-27 | 2013-11-13 | 东莞宇龙通信科技有限公司 | Mobile terminal voice recognition processing method and mobile terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102945672B (en) * | 2012-09-29 | 2013-10-16 | 深圳市国华识别科技开发有限公司 | Voice control system for multimedia equipment, and voice control method |
-
2014
- 2014-09-24 CN CN201410494983.9A patent/CN104298349B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101783813A (en) * | 2009-12-22 | 2010-07-21 | 新太科技股份有限公司 | Message pushing method, device and system |
| CN103391359A (en) * | 2013-06-27 | 2013-11-13 | 东莞宇龙通信科技有限公司 | Mobile terminal voice recognition processing method and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104298349A (en) | 2015-01-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3046314B1 (en) | Mobile terminal and method for controlling the same | |
| EP3079082B1 (en) | Method and apparatus for album display | |
| JP6379104B2 (en) | Sharing information common to two mobile device users via a near field communication (NFC) link | |
| KR102327779B1 (en) | Method for processing image data and apparatus for the same | |
| CN104834665A (en) | Target picture acquiring method and device | |
| US20170034325A1 (en) | Image-based communication method and device | |
| CN107590463A (en) | Face identification method and Related product | |
| EP3046352B1 (en) | Method by which portable device displays information through wearable device, and device therefor | |
| CN104539735A (en) | Method and device of establishing friendly relationship | |
| US10999501B2 (en) | Electronic device and method for controlling display of panorama image | |
| CN105723350A (en) | Method and apparatus for connecting communication of electronic devices | |
| CN104850848A (en) | Photo Classification Method and Device | |
| CN112130788A (en) | A content sharing method and device thereof | |
| CN105722249A (en) | Connection switching method and device and terminal | |
| CN105678266A (en) | Method and device for combining photo albums of human faces | |
| CN106997281A (en) | The method and smart machine of shared virtual objects | |
| CN109388238A (en) | The control method and device of a kind of electronic equipment | |
| CN106095465A (en) | The method and device of identity image is set | |
| US9799212B2 (en) | Terminal, network system and controlling method thereof | |
| CN104238752A (en) | Information processing method and first wearable equipment | |
| RU2606305C2 (en) | Method and apparatus for resources sharing | |
| CN113992663B (en) | Method for sending file, electronic device and readable storage medium | |
| EP3174244B1 (en) | Video communication ending method and apparatus, computer program and recording medium | |
| CN105163141B (en) | The mode and device of video recommendations | |
| CN104298349B (en) | Information processing method and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |