Information processing method and electronic device
By employing facial image matching in wearable devices, the method simplifies data transmission operations by automating the process and reducing manual inputs, enhancing operational convenience.
Patent Information
- Application Number
- JP2022563381
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-20
- Filing Date
- 2021-04-20
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-04-20
AI Technical Summary
The complexity of data transmission operations between electronic devices is increased due to the need for manual input and authentication processes.
The method involves using wearable devices equipped with image acquisition technology to capture facial images when in a predetermined positional relationship, processing target information only when the facial images match, thereby simplifying data interaction.
This approach reduces operational complexity by enabling data interaction through facial image matching, ensuring accurate and convenient data processing between wearable devices.
Smart Images

Figure 0007541111000005 
Figure 0007541111000012 
Figure 0007541111000006
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to China Patent Application No. 202010310971.1, filed in China on April 20, 2020, the entire contents of which are incorporated herein by reference. The present invention relates to the technical field of communications, and in particular to an information processing method and an electronic device. [Background technology]
[0002] In the related technology, when two electronic devices transmit data, the device requesting the data transmission must first obtain the identity information of the other device (e.g., account name, account two-dimensional code, etc.), and then transmit the data to the other device through a series of touch inputs of data on the electronic device (e.g., inputting the identity information of the other device, performing identity authentication, etc.).
[0003] This shows that when data transmission is performed in electronic devices, the operational complexity of the data transmission process increases. Summary of the Invention [Problem to be solved by the invention]
[0004] SUMMARY OF THE PRESENT EMBODIMENTS The embodiments of the present invention provide an information processing method and an electronic device to solve the problem of increasing operational complexity in the data transmission process when performing data transmission in electronic devices in the related art. [Means for solving the problem]
[0005] In order to solve the above technical problems, an embodiment of the present invention is realized as follows.
[0006] In a first aspect, an embodiment of the present invention provides an information processing method applied to a first wearable device including a first image capture device, the method comprising: acquiring a second facial image by the first image collection device and receiving the first facial image from the second wearable device when the first wearable device and the second wearable device are in a predetermined positional relationship; and processing first target information from the second wearable device if the first facial image matches the second facial image.
[0007] In a second aspect, an embodiment of the present invention provides an electronic device, the electronic device being a first wearable device including a first image capture device, a receiving module for acquiring a second facial image by the first image collection device and receiving the first facial image from the second wearable device when the first wearable device and the second wearable device are in a predetermined positional relationship; The present invention further provides an electronic device comprising: a first processing module for processing first target information from the second wearable device when the first facial image matches the second facial image.
[0008] In a third aspect, an embodiment of the present invention provides an electronic device, the second wearable device including a second image capture device, a transmission module for transmitting first target information to the first wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the first target information including a first face image; The preset positional relationship is The second wearable device is positioned within a focal region of a first image capture device of the first wearable device; and a distance between the first wearable device and the second wearable device being equal to or less than a preset distance.
[0009] In a fourth aspect, an embodiment of the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the electronic device realizing the steps of the information processing method provided in the first aspect of the embodiment of the present invention when the computer program is executed by the processor.
[0010] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the information processing method provided in the first aspect of the embodiment of the present invention.
[0011] In a sixth aspect, an embodiment of the present invention further provides a computer software product stored on a non-transitory storage medium and configured to be executed by at least one processor to implement the steps of the information processing method provided in the first aspect of an embodiment of the present invention.
[0012] In a seventh aspect, an embodiment of the present invention further provides an electronic device configured to perform the information processing method provided in the first aspect of the embodiment of the present invention. Effect of the Invention
[0013] The information processing method provided by the embodiment of the present invention is applied to a first wearable device including a first image collecting device, and includes the steps of: acquiring a second face image by the first image collecting device and receiving the first face image from the second wearable device when the first wearable device and the second wearable device are in a preset positional relationship; and processing first target information from the second wearable device when the first face image matches the second face image. In the embodiment of the present invention, a face image acquired by the first image collecting device in the first wearable device is matched with a face image in request information received from the second wearable device, and when the matching is successful, it can be determined that the face image acquired by the first image collecting device is a face image of a user corresponding to the second wearable device that transmitted the request information, and the first target information from the second wearable device is processed. This realizes data interaction operation by the wearable device, avoids the execution of complicated operations in electronic devices, and improves the convenience of operation of the information processing method. [Brief description of the drawings]
[0014] [Figure 1] 4 is a flowchart of a first information processing method provided by an embodiment of the present invention. [Diagram 2] FIG. 1 is a first application scenario diagram of a first information processing method provided by an embodiment of the present invention; [Diagram 3] FIG. 2 is a second application scenario diagram of the first information processing method provided by the embodiment of the present invention; [Figure 4] 4 is a flowchart of a second information processing method provided by an embodiment of the present invention. [Figure 5a] FIG. 2 is an application scenario diagram of a combination of the first and second information processing methods provided by an embodiment of the present invention; [Figure 5b] 5b is a flowchart of the data interaction process in the application scene shown in FIG. 5a. [Figure 6]1 is a structural diagram (part 1) of a first electronic device provided by an embodiment of the present invention. [Figure 7] FIG. 2 is a second structural diagram of the first electronic device provided by the embodiment of the present invention. [Figure 8] FIG. 3 is a structural diagram (part 3) of the first electronic device provided by the embodiment of the present invention. [Figure 9] FIG. 1 is a structural diagram (part 1) of a second electronic device provided by an embodiment of the present invention. [Figure 10] FIG. 2 is a structural diagram (part 2) of a second electronic device provided by an embodiment of the present invention; [Figure 11] FIG. 11 is a structural diagram of a third electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] In order to more clearly describe the technical solutions of the embodiments of the present invention, the above briefly describes the drawings used in the description of the embodiments or prior art. Of course, the drawings in the above description are only a part of the embodiments of the present invention, and those skilled in the art can think of other drawings based on these drawings without any creative efforts.
[0016] In the following, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention. Of course, the described embodiments are only a part of the embodiments of the present invention, and are not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without any creative effort are all within the protection scope of the present invention.
[0017] FIG. 1 is a flowchart of a first information processing method provided by an embodiment of the present invention, which is applied to a first wearable device including a first image collection device, and may include the following steps, as shown in FIG. 1 :
[0018] In step 101, when the first wearable device and the second wearable device are in a predetermined positional relationship, a second facial image is acquired by the first image collection device, and a first facial image is received from the second wearable device.
[0019] In a specific implementation, the first wearable device and the second wearable device may be any wearable device, such as wearable devices such as smart glasses, smart helmets, smart bracelets, smart rings, etc. In addition, the first and second are merely for distinguishing different wearable devices, and in a specific implementation, the first wearable device and the second wearable device may be wearable devices of the same model number or different types, that is, the first wearable device may send a face image to another wearable device.
[0020] The first image collection device in the first wearable device can capture a facial image of a user wearing the second wearable device at the predetermined relative position, and it can be understood that the first wearable device and the second wearable device are within a valid communication range.
[0021] Specifically, both the first wearable device and the second wearable device may be provided with a wireless communication module, such as wireless mobile network communication or Bluetooth communication, in which case the first wearable device and the second wearable device being in a predetermined relative position can be represented as the distance between the first wearable device and the second wearable device being less than the effective communication distance of both wireless communication modules. In implementation, the first wearable device may be provided with a distance detection device, such as an infrared distance detection device. Specifically, as shown in FIG. 2, the first wearable device and the second wearable device are both smart glasses, the first smart glasses are provided with a first infrared transmitter and a first infrared receiver, and the second smart glasses are provided with a second infrared transmitter and a second infrared receiver. In this manner, the first infrared transmitter and the second infrared transmitter can be controlled to emit infrared waves, so that the first smart glasses can calculate the distance between the first smart glasses and the second smart glasses from the time when the first infrared receiver receives the infrared waves emitted from the second infrared transmitter, and the second smart glasses can calculate the distance between the first smart glasses and the second smart glasses from the time when the second infrared receiver receives the infrared waves emitted from the first infrared transmitter.
[0022] In an optional embodiment, the preset positional relationship is: the second wearable device being located within a focal field of the first image capture device; The distance between the first wearable device and the second wearable device is equal to or less than a preset distance.
[0023] In a specific implementation, the focal point of the first image collection device may be a central area of the capture screen of the first image collection device, for example, a central point of the capture screen of the first image collection device. In this embodiment, the focal point being within a location area where the second wearable device is located may mean that the capture focal point is within a face image of a user wearing the second wearable device captured by the first image collection device.
[0024] In practical applications, before the first wearable device and the second wearable device reach a predetermined positional relationship, alert information may be output to prompt a user wearing the first wearable device to adjust their posture so that the first wearable device and the second wearable device reach a predetermined positional relationship.
[0025] In a specific implementation, the preset distance may be the minimum of the effective communication distance of the first wearable device and the effective communication distance of the second wearable device. In this embodiment, the distance between the first wearable device and the second wearable device is equal to or less than the preset distance, thereby ensuring that wireless data transmission between the first wearable device and the second wearable device is possible.
[0026] The preset positional relationship may further include that the first image collection device can collect a facial image wearing the second wearable device, i.e., the first image collection device faces a face of a user wearing the second wearable device. Taking the first wearable device as an example, in the present embodiment, when the first image collection device in the first smart glasses faces the front of the first smart glasses, it can be determined that the first image collection device can collect a facial image wearing the second wearable device when the user wearing the first smart glasses is looking at the face of the user wearing the second wearable device.
[0027] In this embodiment, when the first wearable device and the second wearable device are in the above-mentioned predetermined positional relationship, it is ensured that the first image collection device in the first wearable device can capture a complete second image and receive the first facial image transmitted from the second wearable device, thereby improving the reliability of the information processing method.
[0028] In addition, the above step of acquiring a second facial image by the first image collection device and receiving a first facial image from the second wearable device when the first wearable device and the second wearable device are in a predetermined positional relationship may be configured to acquire a second facial image by the first image collection device and receive the first facial image from the second wearable device when the first wearable device and the second wearable device are in a predetermined positional relationship and the predetermined positional relationship is maintained for a first predetermined time.
[0029] The first preset time may be any preset time length, such as 3 seconds, 5 seconds, etc., which may be changeable according to a user setting.
[0030] In this embodiment, the reliability of the information processing method can be improved by also detecting the relative position and duration between the first wearable device and the second wearable device to avoid a user wearing the first wearable device accidentally triggering the face matching process and further accidentally triggering the transmission of target data before matching the first facial image with the second facial image.
[0031] In step 102, first target information from the second wearable device is processed if the first facial image matches the second facial image.
[0032] It can be understood that the first image collection device can collect the face of the user wearing the second wearable device because the first wearable device and the second wearable device are in a preset relative position. That is, the second face image is a face image of the user wearing the second wearable device. In a specific implementation, when the first image collection device collects the second face image, alert information for encouraging the user wearing the first wearable device to adjust their posture may be output from a display, speaker, etc. of the first wearable device so that the first image collection device can collect the face image of the user wearing the second wearable device. For example, as shown in FIG. 3, the first wearable device in this embodiment is smart glasses 30, the first image collection device in the smart glasses 30 is a camera 31, and the image captured by the camera 31 is displayed on the display lens 32 of the smart glasses. In a specific implementation, the focus image 311 on the shooting screen of the camera 31 is displayed in the central area 321 of the display lens 32. When the face of the user wearing the second wearable device displayed in the central area 321 is incomplete or unclear, alert information may be displayed on the display lens 32 to prompt the user wearing the smart glasses to shake their head, for example, to the left, up, etc., in order to adjust the shooting focus of the camera 31 in the smart glasses 30 so that the shooting focus of the camera matches the facial image of the user wearing the second wearable device and the facial image is clear and complete. In this embodiment, the focus image 311 on the shooting screen of the camera 31 includes a second facial image, which is the facial image of the user wearing the second wearable device.
[0033] In a specific implementation, the first wearable device may be provided with a face recognition device that performs face recognition on the first face image and the second face image, and compares the face recognition results to determine whether the first face image and the second face image belong to face images of the same person, and determines that the first face image and the second face image match if the first face image and the second face image belong to face images of the same person.
[0034] The first target information may be any request information such as a friend addition request, a target data transmission request, a call request, etc., and in a specific implementation, the first target information may be transmitted by an application such as a social application, a network disk application, etc. In this case, the first account may be an account corresponding to the application, and in the case of data interaction by a social application, for example, the account may be a mobile phone number used by the owner of the second wearable device when registering with the social application, or a registration identifier (identifier, ID) determined when registering with the social application. The first face image is a face image associated with the first account, and in a specific implementation, the first face image may be a face image of the owner of the second wearable device, and the first face image may be stored in the second wearable device when the owner of the second wearable device performs initialization verification on the second wearable device, or may be captured and stored in the second wearable device during face verification, which is part of registration to the application.
[0035] It should be noted that in a specific implementation, when the first target information is a voice call request, the step of processing the first target information from the second wearable device may be to establish a voice connection with the second wearable device, which is not listed comprehensively here.
[0036] In an optional embodiment, the step of processing the first target information from the second wearable device includes: When the first target information is a file transfer request, storing a corresponding file in the file transfer request; Or, when the first target information is a friend addition request for a first account, the step of adding the first account as a friend, the first account being an account corresponding to the first facial image, is included.
[0037] Specifically, in an embodiment for adding the first account as a friend when the first target information is a friend addition request for the first account, the step of processing the first target information from the second wearable device includes: A step of sending a friend addition request for the first account to an electronic device connected to the first wearable device may include a step in which, after receiving the friend addition request for the first account, the electronic device sends a friend addition request acceptance to the first account included in the friend addition request for the first account via an installed target application, thereby adding the first account as a friend.
[0038] In this embodiment, the first target information from the second wearable device can be processed to realize file transfer or add the first account corresponding to the first face image as a friend, thereby simplifying the operation steps of file transfer and friend addition.
[0039] In an optional embodiment, when the first wearable device and the second wearable device are in a preset positional relationship, after the step of acquiring a second facial image by the first image collection device and receiving a first facial image from the second wearable device, the method further comprises: The method further includes a step of not processing first target information from the second wearable device or processing second target information transmitted from the second wearable device when the first facial image does not match the second facial image.
[0040] A mismatch between the first facial image and the second facial image may be understood to mean that the user corresponding to the first facial image received by the first wearable device is not the user corresponding to the second facial image collected by the first image collection device, or that the second facial image collected by the first image collection device is the same user as the first facial image, but the first facial image and the second facial image do not match.
[0041] For example, when the first target information is a friend addition request, if the user wearing the first wearable device does not see the user who sent the friend addition request, the user wearing the first wearable device determines that he or she does not want to add the user who sent the friend addition request as a friend, and therefore does not process the first target information from the second wearable device. In this case, it is considered that the second face image is the same user as the first face image, but the first face image and the second face image do not match.
[0042] In addition, the second target information may be information of other wearable devices having a connection relationship with the second wearable device (for example, the second target information includes a friend account of the first account on the second wearable device), and the information of the other wearable devices includes at least a face image associated with the device. In an application, the user corresponding to the first face image and the user corresponding to the third face image are located in the same location area, and the users in this area may be a group with a social relationship (i.e., the account corresponding to the third face image is a friend of the account corresponding to the first face image), and any wearable device in the area can send target information to the first wearable device. Furthermore, since it is difficult for a user wearing the first wearable device to distinguish which user sent the target information when receiving the target information, the user wearing the first wearable device controls the first image collection device to collect only the facial image of the user with whom he or she wishes to perform data interaction, and matches the collected images with information of other wearable devices carried in the transmitted second target information, and when the matching is successful, determines the facial image of the user with whom he or she wishes to perform data interaction.
[0043] Specifically, the second target information includes a third face image, and the step of processing the second target information transmitted from the second wearable device includes: When the second target information is a friend addition request from a second account, the step includes a step of adding the second account as a friend in response to the friend addition request from the second account, the second account being an account corresponding to the third facial image, and the third facial image matching the second facial image.
[0044] In this way, by searching for a third facial image that matches the second facial image from the second target information, a friend addition request from the second account to which the third facial image corresponds can be approved, thereby expanding the matching range of accounts that perform data interaction with the first wearable device and improving the practicality of the information processing method.
[0045] The information processing method provided by the embodiment of the present invention is applied to a first wearable device including a first image collecting device, and includes the steps of: acquiring a second face image by the first image collecting device and receiving the first face image from the second wearable device when the first wearable device and the second wearable device are in a preset positional relationship; and processing first target information from the second wearable device when the first face image matches the second face image. In the embodiment of the present invention, a face image acquired by the first image collecting device in the first wearable device is matched with a face image in request information received from the second wearable device, and when the matching is successful, it can be determined that the face image acquired by the first image collecting device is a face image of a user corresponding to the second wearable device that transmitted the request information, and the first target information from the second wearable device is processed. This realizes data interaction operation by the wearable device, avoids the execution of complicated operations in electronic devices, and improves the convenience of operation of the information processing method.
[0046] 4 is a flow chart of a second information processing method provided by an embodiment of the present invention, the method being applied to a second wearable device including a second image collection device, Step 401 may include a step of transmitting first target information to the first wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the first target information including a first facial image.
[0047] In a specific implementation, the above-mentioned preset positional relationship has the same meaning as the preset positional relationship in the information processing method shown in Figure 1, and the above-mentioned first target information is the same as the first target information in the information processing method shown in Figure 1, so explanations are omitted here.
[0048] For example, when a user wearing a second wearable device wants to add a user wearing a first wearable device as a friend, the user transmits friend addition request information to the first wearable device via the second wearable device.
[0049] When the above method is applied to a second wearable device, the second wearable device may control an electronic device connected thereto to send the friend addition request information.
[0050] It should be noted that the second wearable device in an embodiment of the present invention may be the same device as the second wearable device in the embodiment of the invention shown in Figure 1, and the information processing method performed by the second wearable device may be combined with the information processing method applied to the first wearable device in the embodiment of the invention shown in Figure 1 to realize data interaction between the first wearable device and the second wearable device, and the second wearable device may be understood as an electronic device in which the second wearable device is arranged, and the first wearable device may be understood as an electronic device in which the first wearable device is arranged, and this point is not specifically limited here.
[0051] In an optional embodiment, when the second wearable device and the first wearable device are in a preset positional relationship, the step of transmitting first target information to the first wearable device includes: a step of acquiring a fourth facial image of a user wearing the first wearable device and acquiring communication information of a third wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the third wearable device being a wearable device located within a communication range of the second wearable device, and the communication information of each of the third wearable devices including a communication identifier and a fifth facial image associated with the communication identifier; determining a communication identifier associated with a fifth facial image that matches the fourth facial image as a communication identifier of the first wearable device; and transmitting first target information to the first wearable device in response to a communication identifier of the first wearable device.
[0052] In a specific implementation, the first wearable device and the second wearable device can perform wireless communication, such as Bluetooth communication, in which case the communication identifier can be a Bluetooth name or a Bluetooth connection address, etc., and different wearable devices correspond to different communication identifiers. In this way, different wearable devices can be distinguished by the communication identifier.
[0053] Moreover, the fifth face image may be a face image of the owner of each wearable device.
[0054] In this embodiment, before the second wearable device transmits the first target information to the first wearable device, the second wearable device first obtains a fourth face image of the user wearing the first wearable device and determines the communication identifier of the first wearable device by face matching. In this case, the second wearable device can establish a communication connection with the first wearable device according to the communication identifier, thereby realizing the transmission of the first target information to the first wearable device, and improving the practicality of the information processing method.
[0055] The information processing method described in the embodiment of the present invention corresponds to the information processing method described in the previous embodiment of the invention, jointly realizing the data interaction process between the first wearable device and the second wearable device, and has similar beneficial effects, and will not be described here to avoid duplication.
[0056] In a specific implementation, the information processing method shown in Figure 1 can be combined with the information processing method shown in Figure 4. As shown in Figure 5a, in this embodiment, the first wearable device is smart glasses A connected to a mobile phone C, and the second wearable device is smart glasses B connected to a mobile phone D. The information processing methods of the smart glasses A and B are described as an example. Specifically, as shown in the flowchart of the third information processing method in Figure 5b.
[0057] In step 501, smart glasses A looks at smart glasses B within a preset distance.
[0058] In this step, the above-mentioned preset distance may be an effective communication distance between smart glass A and smart glass B.
[0059] In step 502, smart glass B transmits the stored face data and account data to smart glass A.
[0060] In this step, the face data may be the data of the first face image in the method embodiment shown in Figures 1 and 4, and the account data may be the first account information in the method embodiment shown in Figures 1 and 4. In addition, in step 502, the smart glass B may send the stored face data and account data to the mobile phone D, and the mobile phone D may transmit the face data and account data to the smart glass A or the mobile phone C connected to the smart glass A. In an embodiment in which the mobile phone D transmits the face data and account data to the mobile phone C connected to the smart glass A, the smart glass A obtains the face data and account data through the mobile phone C.
[0061] In step 503, smart glasses A capture a facial image of the wearer of smart glasses B using a camera.
[0062] In this step, the camera may be the first image capture device in the embodiment of the method shown in FIG. 1, and the face image may be the second face image in the embodiment of the method shown in FIG.
[0063] In step 504, smart glasses A verify the face data.
[0064] In this step, the collation of the face data may be understood as matching the first face image with the second face image.
[0065] In step 505, the facial data is successfully matched.
[0066] In this step, successful matching of the face data may be understood to mean that the first face image and the second face image match.
[0067] In this embodiment, if the first face image and the second face image match, step 506 is executed.
[0068] In step 506, if the camera focus staying time reaches a preset time, it is determined that the wearer of the smart glasses A has an intention to add a friend.
[0069] In this step, the focus of the camera may have the same meaning as the shooting focus of the first image collection device in the method embodiment shown in Figure 1, and the focus staying time of the camera reaching a predetermined time may be understood to mean that the shooting focus coincides with the location of the second wearable device and the duration of the coincidence is equal to or longer than the first predetermined time.
[0070] In this embodiment, when it is determined that the wearer of the smart glasses A has an intention to add a friend, step 507 is executed.
[0071] In step 507, smart glasses A transmit the parsed account data to the connected mobile phone C.
[0072] In this embodiment, the mobile phone C connected to the smart glasses A may be understood as the mobile phone C on which the smart glasses A are placed. In a specific implementation, the analyzed account data may be understood as follows: the account data sent from the smart glasses B is analyzed to obtain a data format that is easy for the mobile phone C to recognize and process. After receiving the account data in this data format, the mobile phone C can accurately recognize the account data and send a friend addition request to the account data.
[0073] In step 508, mobile phone C sends a friend addition request.
[0074] In this step, the mobile phone C sending a friend addition request may be understood as the mobile phone C sending a friend addition request to the account data sent from the smart glasses B.
[0075] In a specific implementation, the face data and account data transmitted by smart glass B to smart glass A in step 502 can also be regarded as a friend addition request message, so in this step, mobile phone C can send a friend addition request approval message to the account data sent from smart glass B.
[0076] The third information processing method provided by the embodiment of the present invention realizes each process in the information processing method embodiments shown in Figures 1 and 4, and can obtain similar beneficial effects, and therefore will not be described here to avoid duplication.
[0077] 6 is a structural diagram of a first electronic device provided by an embodiment of the present invention. The electronic device is a first wearable device including a first image collection device. As shown in FIG. 6, the electronic device 600 includes: a receiving module 601 for acquiring a second facial image by the first image collection device and receiving the first facial image from the second wearable device when the first wearable device and the second wearable device are in a preset positional relationship; The device further comprises a first processing module 602 for processing first target information from the second wearable device when the first facial image matches the second facial image.
[0078] Optionally, the preset positional relationship is: the second wearable device being located within a focal field of the first image capture device; The distance between the first wearable device and the second wearable device is equal to or less than a preset distance.
[0079] Optionally, as shown in FIG. 7, the first processing module 602 may include: When the first target information is a file transfer request, a storage unit 6021 is used to store a corresponding file in the file transfer request; and a friend adding unit 6022 for adding the first account as a friend when the first target information is a friend adding request for a first account, the first account being an account corresponding to the first facial image.
[0080] Optionally, as shown in FIG. 8, the first electronic device 600 may include: The device further includes a second processing module 603 for not processing first target information from the second wearable device or for processing second target information transmitted from the second wearable device when the first wearable device and the second wearable device are in a predetermined positional relationship, after the step of acquiring a second facial image by the first image collection device and receiving the first facial image from the second wearable device, if the first facial image does not match the second facial image.
[0081] Optionally, the second target information includes a third face image, and the first processing module 602 specifically: When the second target information is a friend addition request of a second account, in response to the friend addition request of the second account, adding the second account as a friend, the second account being an account corresponding to the third facial image, and the third facial image being used to match the second facial image. The electronic device provided by the embodiment of the present invention can realize each process in the embodiment of the information processing method shown in FIG. 1 and obtain similar beneficial effects, and therefore, description thereof will be omitted here to avoid duplication.
[0082] 9 is a structural diagram of a second electronic device provided by an embodiment of the present invention. The electronic device is a second wearable device including a second image acquisition device. As shown in FIG. 9, the electronic device 900 includes: The transmission module 901 includes a transmission module for transmitting first target information to the first wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the first target information including a first facial image.
[0083] Optionally, as shown in FIG. 10, the transmitting module 901: an acquisition unit 9011 for acquiring a fourth facial image of a user wearing the first wearable device and acquiring communication information of a third wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the third wearable device being a wearable device located within a communication range of the second wearable device, and the communication information of each of the third wearable devices including a communication identifier and a fifth facial image associated with the communication identifier; a determination unit 9012 for determining a communication identifier associated with a fifth facial image that matches the fourth facial image as a communication identifier of the first wearable device; and a transmitting unit 9013 for transmitting first target information to the first wearable device according to the communication identifier of the first wearable device.
[0084] The electronic device provided by the embodiment of the present invention can realize each process in the embodiment of the information processing method shown in FIG. 4 and obtain similar beneficial effects, and therefore, to avoid duplication, the description will be omitted here.
[0085] In an embodiment of the present invention, the first electronic device or the second electronic device may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (MID) in which a wearable device is disposed, or may be a wearable device.
[0086] FIG. 11 is a schematic diagram of the hardware structure of a third electronic device for implementing each embodiment of the present invention. The electronic device 1100 includes, but is not limited to, components such as a high-frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and a power supply 1111. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 11 does not limit the electronic device, and the electronic device may include more or fewer components than those shown, or a combination of some components, or a different component arrangement. In the embodiments of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle terminal, a wearable device, and a pedometer.
[0087] In one embodiment, the electronic device 1100 is a first wearable device or an electronic device in which a first wearable device is disposed, the first wearable device including a first image capture device.
[0088] The processor 1110 is When the first wearable device and the second wearable device are in a preset positional relationship, a second face image is acquired by the first image collection device, and a high frequency unit 1101 is controlled to receive the first face image from the second wearable device; and Used to process first target information from the second wearable device when the first facial image matches the second facial image.
[0089] Optionally, the preset positional relationship is: the second wearable device being located within a focal field of the first image capture device; The distance between the first wearable device and the second wearable device is equal to or less than a preset distance.
[0090] Optionally, the step of processing the first target information from the second wearable device, performed by the processor 1110, further comprises: When the first target information is a file transfer request, storing a corresponding file in the file transfer request; The method includes a step of adding the first account as a friend when the first target information is a friend addition request for a first account, the first account being an account corresponding to the first facial image.
[0091] Optionally, when the first wearable device and the second wearable device are in a preset positional relationship, after executing the step of acquiring a second facial image by the first image collection device and receiving a first facial image from the second wearable device, the processor 1110 further Used to not process first target information from the second wearable device or to process second target information sent from the second wearable device when the first facial image does not match the second facial image.
[0092] Optionally, the second target information includes a third face image, and the step of processing the second target information transmitted from the second wearable device, performed by the processor 1110, comprises: When the second target information is a friend addition request from a second account, the step includes a step of adding the second account as a friend in response to the friend addition request from the second account, the second account being an account corresponding to the third facial image, and the third facial image matching the second facial image.
[0093] In this embodiment, the third electronic device function performs each process in the embodiment of the method described in FIG. 1, and can obtain similar beneficial effects, and in order to avoid duplication, the description will be omitted here.
[0094] In another embodiment, the electronic device 1100 is a second wearable device or an electronic device having a second wearable device disposed therein, the second wearable device including a second image capture device.
[0095] The processor 1110 is When the second wearable device and the first wearable device are in a predetermined positional relationship, it is used to control the high-frequency unit 1101 to transmit first target information to the first wearable device, and the first target information includes a first facial image.
[0096] Optionally, the step of controlling the radio frequency unit 1101 to transmit first target information to the first wearable device when the second wearable device and the first wearable device are in a preset positional relationship, executed by the processor 1110, comprises: a step of acquiring a fourth facial image of a user wearing the first wearable device and acquiring communication information of a third wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the third wearable device being a wearable device located within a communication range of the second wearable device, and the communication information of each of the third wearable devices including a communication identifier and a fifth facial image associated with the communication identifier; determining a communication identifier associated with a fifth facial image that matches the fourth facial image as a communication identifier of the first wearable device; The method includes controlling the radio frequency unit 1101 to transmit first target information to the first wearable device in response to a communication identifier of the first wearable device.
[0097] In this embodiment, the third electronic device executes each process in the embodiment of the method described in FIG. 4, and can obtain similar beneficial effects, and the description will be omitted here to avoid duplication.
[0098] It should be understood that in the embodiment of the present invention, the high frequency unit 1101 can be used for receiving and transmitting information or receiving and transmitting signals in a call process, specifically, receiving downlink data from a base station, processing the data in the processor 1110, and transmitting uplink data to the base station. Typically, the high frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a receiver-transmitter, a coupler, a low-noise amplifier, a duplexer, etc. The high frequency unit 1101 can also communicate with a network and other devices through a wireless communication system.
[0099] Through the network module 1102, the electronic device provides wireless broadband Internet access to the user to facilitate, for example, sending and receiving e-mail, browsing web pages, and accessing streaming media.
[0100] The audio output unit 1103 can convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output it as a voice. In addition, the audio output unit 1103 can also provide audio output (e.g., a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the electronic device 1100. The audio output unit 1103 includes a speaker, a buzzer, a handset, etc.
[0101] The input unit 1104 is used to receive audio or video signals. The input unit 1104 may include a graphics processing unit (GPU) 11041 for processing image data of still or video captured by an image capture device (e.g., a camera) in a video capture mode or an image capture mode, and a microphone 11042. The processed image frames can be displayed on the display unit 1106. The image frames processed by the graphics processing unit 11041 can be stored in a memory 1109 (or other storage medium) or transmitted by the radio frequency unit 1101 or the network module 1102. The microphone 11042 can receive voice and process such voice as audio data. The processed audio data can be converted into a format transmittable to a mobile communication base station and output by the radio frequency unit 1101 in a telephone call mode.
[0102] The electronic device 1100 further includes at least one sensor 1105 such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 11061 according to the brightness of the ambient light, and a proximity sensor that can turn off the display panel 11061 and / or the backlight when the electronic device 1100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes) and can detect the magnitude and direction of gravity when stationary, and can be used for recognizing the posture of the electronic device (e.g., switching between horizontal and vertical screens, related games, magnetometer posture calibration), vibration recognition related functions (e.g., pedometer, tap), etc. The sensor 1105 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and the description thereof will be omitted here.
[0103] The display unit 1106 is used to display information input by a user or information provided to a user. The display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0104] The user input unit 1107 can be used to receive input numeric or character information and generate key signal input for user setting and function control in the electronic device. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071 is also called a touch screen and can detect a user's touch operation on or near the touch panel 11071 (e.g., an operation performed on or near the touch panel 11071 by a user using a finger, a stylus, or any suitable object or accessory). The touch panel 11071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch direction and detects a signal caused by the touch operation and transmits it to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch point coordinates and transmits them to the processor 1110, and receives and executes instructions transmitted from the processor 1110. Moreover, the touch panel 11071 can be realized in various forms such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 11071, the user input unit 1107 may further include other input devices 11072. Specifically, the other input devices 11072 may include, but are not limited to, a physical keyboard, function buttons (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, and an operating lever, and the description thereof will be omitted here.
[0105] Further, the touch panel 11071 may cover the display panel 11061, and when the touch panel 11071 detects a touch operation on or near it, it transmits it to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. In FIG. 11 , the touch panel 11071 and the display panel 11061 realize the input and output functions of the electronic device as two independent components, but in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to realize the input and output functions of the electronic device, and this is not specifically limited herein.
[0106] The interface unit 1108 is an interface that connects an external device to the electronic device 1100. For example, the external device may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device equipped with a recognition module, an audio input / output (Input / Output, I / O) port, a video I / O port, an earphone port, etc. The interface unit 1108 can be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more components in the electronic device 1100, or to transmit data between the electronic device 1100 and the external device.
[0107] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a program storage area capable of storing an operating system, an application required for at least one function (e.g., an audio playback function, an image playback function, etc.), and a data storage area capable of storing data created in accordance with the use of the mobile phone (e.g., audio data, a phone book, etc.). The memory 1109 may also include a high-speed random access memory, and may further include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device.
[0108] The processor 1110 is the control center of the electronic device, and connects each part of the entire electronic device through various interfaces and lines, and executes or operates software programs and / or modules stored in the memory 1109 and calls up data stored in the memory 1109 to perform various functions and data processing of the electronic device, thereby monitoring the electronic device as a whole. The processor 1110 may include one or more processing units, and preferably, the processor 1110 may be integrated with an application processor that mainly processes an operating system, a user interface, and applications, and a modem processor that mainly processes wireless communication. It can be understood that the modem processor does not have to be integrated with the processor 1110.
[0109] The electronic device 1100 may further include a power source 1111 (e.g., a battery) for powering each component, and preferably, the power source 1111 is logically connected to the processor 1110 via a power management system, which can further realize functions such as charging and discharging management and power consumption management.
[0110] It should be noted that the electronic device 1100 includes some functional modules that are not shown, and detailed description thereof will be omitted here.
[0111] Preferably, the embodiment of the present invention further provides an electronic device that includes a processor 1110, a memory 1109, and a computer program stored in the memory 1109 and executable on the processor 1110, which, when executed by the processor 1110, realizes each of the above-mentioned processes of the embodiment of the information processing method applied to the first wearable device or an electronic device in which the first wearable device is disposed, or which, when executed by the processor 1110, realizes each of the processes of the embodiment of the information processing method applied to the second wearable device or an electronic device in which the second wearable device is disposed, and can achieve similar technical effects, and in order to avoid duplication, detailed descriptions will be omitted here.
[0112] It should be explained that, as used herein, the terms "comprising," "consisting of," or any other variation thereof, are intended to include a non-exclusive inclusion, whereby a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also other elements not expressly stated or inherent to such process, method, article, or apparatus. Unless otherwise specified, an element qualified by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
[0113] It is clearly understood by those skilled in the art that, in order to simplify and simplify the description, the specific operating processes of the above-mentioned systems, devices and units can be referred to the corresponding processes in the embodiments of the method, and the description will be omitted here.
[0114] In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be realized in other forms. For example, the above-described apparatus embodiments are merely illustrative, and the division of the units is merely a division of logical functions. In actual implementation, the division may be in another form, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. In addition, the illustrated or described mutual couplings, direct couplings, or communication connections may be indirect couplings or communication connections via some interfaces, devices, or units, and may be in electrical, mechanical, or other forms.
[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed among multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of the present embodiment.
[0116] Furthermore, each functional unit in each embodiment of the present disclosure may be integrated into a single processing unit, may exist physically independently, or may be integrated into two or more units into a single unit.
[0117] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized in the form of a combination of software and a necessary common hardware platform, and of course, they can be realized by hardware, but in many cases the former is a more preferred embodiment. Based on this view, the technical solution of the present invention can be substantially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions that cause an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0118] Those skilled in the art can understand that all or part of the processes of implementing the methods of the above embodiments can be completed by controlling related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the above embodiments of the methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0119] It is understood that the embodiments described in the embodiments of the present disclosure can be realized by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware realization, the modules, units, and subunits can be realized in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), common processor, controller, microcontroller, microprocessor, other electronic unit, or a combination thereof to perform the functions described in the present disclosure.
[0120] For software implementation, the techniques described in the embodiments of the present disclosure can be implemented by modules (e.g., processes, functions, etc.) for performing functions described in the embodiments of the present disclosure. The software code can be stored in a memory and executed by a processor. The memory can be implemented within the processor or external to the processor.
[0121] Although the embodiments of the present invention have been described above with reference to the drawings, the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative and not limiting. Based on the teachings of the present invention, many forms that a person skilled in the art can make without departing from the spirit of the present invention and the scope of protection of the claims are all within the scope of protection of the present invention.
Claims
1. An information processing method applied to a first wearable device including a first image collection device, When the first wearable device and the second wearable device are in a predetermined positional relationship, acquiring a second facial image of a user wearing the second wearable device by the first image collection device, and receiving a first facial image of the user corresponding to the second wearable device from the second wearable device; An information processing method comprising: when the first facial image matches the second facial image, and the time that the focus of the first image collection device stays on the second wearable device reaches a predetermined time, adding a first account in a friend addition request from the second wearable device as a friend, wherein the first account is an account corresponding to the first facial image.
2. The preset positional relationship is the second wearable device is located within a focal field of the first image capture device; The information processing method according to claim 1 , further comprising at least one of: a distance between the first wearable device and the second wearable device being equal to or less than a preset distance.
3. When the first wearable device and the second wearable device are in a predetermined positional relationship, after the step of acquiring a second facial image of a user wearing the second wearable device by the first image collection device and receiving a first facial image of a user corresponding to the second wearable device from the second wearable device, The method further includes the step of not processing a friend addition request for the first account from the second wearable device or processing second target information sent from the second wearable device when the first facial image does not match the second facial image; The information processing method of claim 1, wherein the first facial image does not match the second facial image, either because the user corresponding to the first facial image received by the first wearable device is not the user corresponding to the second facial image collected by the first image collection device, or because the second facial image collected by the first image collection device is the same user as the first facial image, but the first facial image and the second facial image do not match.
4. The second target information includes a third face image, and the step of processing the second target information transmitted from the second wearable device includes:
4. The information processing method of claim 3, further comprising a step of adding the second account as a friend in response to the friend addition request of the second account when the second target information is a friend addition request of the second account, the second account being an account corresponding to the third facial image, and the third facial image matching the second facial image.
5. An information processing method applied to a second wearable device including a second image collection device, a step of sending a friend addition request of a first account to the first wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the friend addition request of the first account including a first facial image; Here, the first account in the friend addition request is added as a friend by the first wearable device when the duration of time that the photographing focus of the first image collection device of the first wearable device stays on the second wearable device reaches a preset time, and the first account is an account corresponding to the first face image, The preset positional relationship is The second wearable device is positioned within a focal region of a first image capture device of the first wearable device; a distance between the first wearable device and the second wearable device is equal to or less than a preset distance; The step of sending a friend addition request from a first account to the first wearable device when the second wearable device and the first wearable device are in a preset positional relationship includes: a step of acquiring a fourth facial image of a user wearing the first wearable device and acquiring communication information of a third wearable device when the second wearable device and the first wearable device are in the predetermined positional relationship, the third wearable device being a wearable device located within a communication range of the second wearable device, and the communication information of each of the third wearable devices including a communication identifier and a fifth facial image associated with the communication identifier; determining a communication identifier associated with a fifth facial image that matches the fourth facial image as a communication identifier of the first wearable device; An information processing method comprising a step of sending a friend addition request for a first account to the first wearable device in accordance with the communication identifier of the first wearable device.
6. An electronic device, the first wearable device including a first image collection device, a receiving module for acquiring a second facial image of a user wearing the second wearable device by the first image collection device when the first wearable device and the second wearable device are in a predetermined positional relationship, and receiving a first facial image of the user corresponding to the second wearable device from the second wearable device; An electronic device comprising: a first processing module that adds a first account in a friend addition request from the second wearable device as a friend when the first facial image matches the second facial image and the time the focus of the first image collection device stays on the second wearable device reaches a predetermined time, wherein the first account is an account corresponding to the first facial image.
7. The predetermined positional relationship is: the second wearable device is located within a focal field of the first image capture device; The electronic device of claim 6 , further comprising at least one of: a distance between the first wearable device and the second wearable device being equal to or less than a preset distance.
8. After the step of acquiring a second facial image of a user wearing the second wearable device by the first image collection device when the first wearable device and the second wearable device are in a predetermined positional relationship, and receiving a first facial image of a user corresponding to the second wearable device from the second wearable device, if the first facial image does not match the second facial image, the device further includes a second processing module for not processing a friend addition request for a first account from the second wearable device or for processing second target information sent from the second wearable device; 7. The electronic device of claim 6, wherein the first facial image does not match the second facial image, either because the user corresponding to the first facial image received by the first wearable device is not the user corresponding to the second facial image collected by the first image collection device, or because the second facial image collected by the first image collection device is the same user as the first facial image, but the first facial image and the second facial image do not match.
9. The second target information includes a third face image, and the first processing module:
9. The electronic device of claim 8, wherein when the second target information is a friend addition request for a second account, the second account is added as a friend in response to the friend addition request for the second account, the second account being an account corresponding to the third facial image, and the third facial image is used to match the second facial image.
10. An electronic device that is a second wearable device including a second image collection device, a transmission module for transmitting a friend addition request for a first account to the first wearable device when the second wearable device and the first wearable device are in a predetermined positional relationship, the first target information including a first face image; Here, the first account in the friend addition request is added as a friend by the first wearable device when the time spent on the second wearable device of the photographing focus of the first image collection device of the first wearable device reaches a preset time, the first account is an account corresponding to the first face image, and the preset positional relationship is: The second wearable device is positioned within a focal region of a first image capture device of the first wearable device; a distance between the first wearable device and the second wearable device is equal to or less than a preset distance; The transmitting module includes: an acquisition unit for acquiring a fourth facial image of a user wearing the first wearable device and acquiring communication information of a third wearable device when the second wearable device and the first wearable device are in the predetermined positional relationship, the third wearable device being a wearable device located within a communication range of the second wearable device, and the communication information of each of the third wearable devices including a communication identifier and a fifth facial image associated with the communication identifier; a determination unit for determining a communication identifier associated with a fifth facial image that matches the fourth facial image as a communication identifier of the first wearable device; An electronic device comprising: a transmitting unit for transmitting a friend addition request for a first account to the first wearable device in response to the communication identifier of the first wearable device.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, which, when the computer program is executed by the processor, realizes a step in an information processing method described in any one of claims 1 to 4.
12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, which, when the computer program is executed by the processor, realizes the steps in the information processing method described in claim 5.
Citation Information
Patent Citations
Data transmission method, operating equipment and system
CN103312382A
Portable information processing terminal, social networking service system, server, processing method, and program
JP2014134908A
