Equipment unlocking method, medium and electronic equipment

By sending unlock requests between electronic devices and matching identity data, the problem of inefficiency in unlocking when fingerprint unlocking or face recognition is solved, and a more efficient unlocking method is achieved, improving user experience and saving resources.

CN119312315AActive Publication Date: 2025-01-14HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310868975.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-01-14
Estimated Expiration
2043-07-14

AI Technical Summary

Technical Problem

When existing electronic devices lack fingerprint unlocking or face recognition functions, users need to use inefficient digital or graphic passwords to unlock, resulting in inefficient unlocking and affecting the user experience.

Method used

By sending unlock requests between electronic devices, obtaining and matching authentication information generated by identity data, the use of fingerprint unlocking or facial recognition functions can be realized, and even without cameras or fingerprint sensors, it can be collected and collected through auxiliary devices and Compare the data to unlock.

Benefits of technology

Improves the efficiency of user unlocking, avoids the use of low-efficiency digital or graphic password unlocking methods, enhances the user experience, and saves storage space and data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119312315A_ABST
    Figure CN119312315A_ABST
Patent Text Reader

Abstract

The invention is applied to the technical field of terminals, and provides a device unlocking method, a medium and an electronic device.The method comprises the steps that when the operation that a user selects a target unlocking mode is detected, a first device sends an unlocking request to a second device; the second device collects user identity data corresponding to the target unlocking mode, then generates an authentication code according to the collected identity data, and sends the authentication code as authentication information to the first device. And the first equipment compares the identity data authentication information acquired by the second equipment with preset authentication information, and if the identity data authentication information is consistent with the preset authentication information, the first equipment is successfully unlocked. Therefore, through the equipment unlocking method provided by the invention, the first equipment without unlocking modes such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the identity data of the user, the user does not need to use the unlocking modes such as digital unlocking and image unlocking which are relatively slow in efficiency, and the unlocking efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a device unlocking method, medium and electronic device. Background Art

[0002] In order to improve the information security of electronic devices, they need to be unlocked before they enter the working state (unlocked state) from the locked state. For example, when electronic devices such as mobile phones and smart watches enter the unlocked state from the locked screen state, you need to obtain the unlock password first. The current unlocking methods can include digital password unlocking, pattern password unlocking, fingerprint unlocking, face recognition unlocking, etc. Among them, biometric unlocking methods such as fingerprint unlocking and face recognition unlocking are relatively fast and convenient, and have gradually become the user's preferred unlocking method.

[0003] However, since some electronic devices are not equipped with cameras, fingerprint sensors and other devices, such as smart watches, they can only be unlocked with digital passwords or graphic passwords, but cannot be unlocked with fingerprints or facial recognition. Alternatively, electronic devices are equipped with cameras, fingerprint sensors and other devices, but when the cameras, fingerprint sensors and other devices fail or are occupied by other applications, fingerprint unlocking and facial recognition unlocking are also impossible. As a result, users can only choose less efficient methods such as digital password unlocking and graphic password unlocking, which causes users to spend a long time on unlocking, reducing the user experience. Summary of the invention

[0004] In view of this, the present application provides a device unlocking method, medium and electronic device.

[0005] In a first aspect, a device unlocking method is provided, comprising: being applied to a first device, based on the first device obtaining an operation of a user selecting a target unlocking method, the first device sending an unlocking request corresponding to the target unlocking method to a second device, the unlocking request being used to enable the second device to obtain the user's identity data in a manner corresponding to the target unlocking method; the first device obtaining authentication information corresponding to the identity data, and the first device matching the authentication information with preset authentication information, and switching to an unlocked state based on a successful matching result.

[0006] In the above scheme, the authentication information can be identity data or an authentication code, and the authentication code is the processed identity data. The preset authentication information can be preset identity data or a preset authentication code. The target unlocking method is fingerprint unlocking, face recognition unlocking and other unlocking methods. In this way, through the device unlocking method provided by this application, the first device that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the user's identity data, so that the first device can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. Users do not need to use less efficient unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking.

[0007] In combination with the first aspect, in some implementations, the method also includes: the first device obtains an authentication code as authentication information generated from the second device based on identity data; the first device compares the authentication code with preset authentication information; based on the consistency between the authentication code and the preset authentication information, the first device switches to an unlocked state.

[0008] In the above solution, the second device can compress or encrypt the identity data extraction features to generate an authentication code, thereby reducing the amount of data transmission, speeding up the unlocking efficiency, and also saving the storage space occupied by the first device.

[0009] In combination with the first aspect, in some implementations, the method further includes: based on the inconsistency between the authentication code and preset authentication information pre-stored in the first device, the first device maintains the current state; or, the first device sends an unlock request to the second device again.

[0010] In the above solution, if the current authentication information is inconsistent with the pre-stored authentication information, the unlocking fails, and the first device will remain locked, or try to unlock again.

[0011] In combination with the first aspect, in some implementations, the method also includes: the first device displays a first unlock control, the first unlock control corresponds to a target unlock method; based on the first device detecting a trigger operation on the first unlock control, the first device determines that an operation of selecting the target unlock method is obtained.

[0012] In the above solution, the user can switch the unlocking mode by clicking the control corresponding to the unlocking mode such as face unlocking, fingerprint unlocking, etc. In this way, through the device unlocking method provided by this application, the first device that does not have the unlocking mode such as fingerprint unlocking, face recognition unlocking, etc. can also obtain the authentication information corresponding to the user's identity data, thereby improving the efficiency of user unlocking.

[0013] In combination with the first aspect, in some implementations, the method further includes: the first device and the second device log in to the same device account, or the accounts logged in by the first device and the second device are associated.

[0014] In the above solution, the device that can assist in unlocking can be logged in to the same account or an associated account of a specific relationship such as family, relatives and friends, so that the first device can use more devices to assist in unlocking, making it more convenient and quick for the user to unlock.

[0015] In combination with the first aspect, in some implementations, the method further includes: the identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

[0016] In the above solution, the electronic device 100 that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the user's identity data, so that the first device can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. The user does not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking.

[0017] In a second aspect, a device unlocking method is provided, including: based on a second device receiving an unlocking request corresponding to a target unlocking method sent by a first device, the second device obtains identity data of a user corresponding to the target unlocking method, wherein the unlocking request is determined based on an operation of the user selecting the target unlocking method in the first device. The second device obtains the identity data of the user in a manner corresponding to the target unlocking method; based on the identity data, the second device generates authentication information.

[0018] In combination with the second aspect, in some implementations, the method further includes: the second device sending an authentication code corresponding to the unlock request to the first device.

[0019] In combination with the second aspect, in some implementations, the method further includes: the second device sending an authentication code corresponding to the unlock request to the third device.

[0020] In combination with the second aspect, in some implementations, the method further includes: the first device and the second device log in to the same device account, or the accounts logged in by the first device and the second device are associated.

[0021] In combination with the second aspect, in some implementations, the method further includes: the identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

[0022] According to a third aspect, a device unlocking method is provided, including: based on the first device obtaining the operation of the user selecting a target unlocking method, the first device sends an unlocking request to the second device, the unlocking request is used to enable the second device to obtain the user's identity data in a manner corresponding to the target unlocking method; the second device obtains the identity data in a manner corresponding to the target unlocking method, and the second device generates authentication information based on the identity data; the second device sends the authentication information to the first device; the first device matches the authentication information with the preset authentication information based on the authentication information, and switches to the unlocked state based on the result of the successful match.

[0023] In combination with the third aspect, in some implementations, the method further includes: based on a result of a failed matching, the first device maintains a current state, or the first device sends an unlock request to the second device again.

[0024] In combination with the third aspect, in some implementations, the method also includes: the first device displays a first unlock control, the first unlock control corresponds to a target unlock method; based on the first device detecting a trigger operation on the first unlock control, the first device determines that an operation of selecting the target unlock method is obtained.

[0025] In combination with the third aspect, in some implementations, the method further includes: the first device and the second device log in to the same device account, or the accounts logged in by the first device and the second device are associated.

[0026] In combination with the third aspect, in some implementations, the method further includes: the identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

[0027] In a fourth aspect, a device unlocking method is provided, comprising: based on the first device obtaining an operation of a user selecting a target unlocking method, the first device sends an unlocking request corresponding to the target unlocking method to a second device, the unlocking request being used to enable the second device to obtain the user's identity data in a manner corresponding to the target unlocking method; the first device obtains authentication information corresponding to the identity data from a third device, wherein the authentication information is generated by the third device based on the identity data generated by the second device, and the first device switches to an unlocked state based on the authentication information.

[0028] In combination with the fourth aspect, in some implementations, the method further includes: the first device matches the preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

[0029] In combination with the fourth aspect, in some implementations, the method further includes: based on the result of the matching failure, the first device maintains the current state, or the first device sends an unlock request to the second device again.

[0030] In combination with the fourth aspect, in some implementations, the method also includes: the first device displays a first unlock control, the first unlock control corresponds to a target unlock method; based on the first device detecting a trigger operation on the first unlock control, the first device determines that an operation of selecting the target unlock method is obtained.

[0031] In combination with the fourth aspect, in some implementations, the method further includes: the first device and the second device log in to the same device account, or the accounts logged in by the first device and the second device are associated.

[0032] In combination with the fourth aspect, in some implementations, the method further includes: the identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

[0033] In a fifth aspect, a device unlocking method is provided, including: based on the first device obtaining the operation of the user selecting a target unlocking method, the first device sends an unlocking request to the second device, the unlocking request is used to enable the second device to obtain the user's identity data in a manner corresponding to the target unlocking method; the second device obtains the user's identity data in a manner corresponding to the target unlocking method; the second device generates an authentication code based on the identity data; the second device sends the authentication code to the third device; the third device sends authentication information to the first device based on the authentication code and a pre-stored preset authentication code; the first device switches to an unlocked state based on the authentication information.

[0034] In combination with the fifth aspect, in some implementations, the method further includes: the first device matches the preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

[0035] In combination with the fifth aspect, in some implementations, the method further includes: based on the result of the matching failure, the first device maintains the current state, or the first device sends an unlock request to the second device again.

[0036] In combination with the fifth aspect, in some implementations, the method also includes: the first device displays a first unlock control, the first unlock control corresponds to the target unlock method; based on the first device detecting a trigger operation on the first unlock control, the first device determines that an operation of selecting the target unlock method is obtained.

[0037] In combination with the fifth aspect, in some implementations, the method further includes: the first device and the second device log in to the same device account, or the accounts logged in by the first device and the second device are associated.

[0038] In conjunction with the fifth aspect, the identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

[0039] In a sixth aspect, the present application provides an electronic device, comprising a processor and a memory, the memory being used to store instructions, and the processor being used to execute instructions, and when the processor executes the instructions, it executes the method described in any one of the first aspect, the second aspect and the fourth aspect.

[0040] In a third aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the method described in any one of the first aspect, the second aspect and the fourth aspect is executed.

[0041] In a fourth aspect, the present application provides a computer program product, which includes computer instructions. When the computer program product is executed by an electronic device, the electronic device performs the method described in any one of the first aspect, the second aspect and the fourth aspect.

[0042] In summary, through the device unlocking method, medium and electronic device provided by this application, electronic devices that do not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain authentication information corresponding to the user's identity data, so that electronic devices can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. Users do not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for describing the embodiments are briefly introduced below.

[0044] Figure 1 This is a schematic diagram of an interface for unlocking a watch using a digital password provided in an embodiment of the present application;

[0045] Figure 2A and Figure 2B This is a schematic diagram of an interaction of unlocking a watch with the assistance of a mobile phone provided in an embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of a process of unlocking a watch with the assistance of a mobile phone provided in an embodiment of the present application;

[0047] Figure 4 This is a schematic diagram of an interface for triggering a watch to unlock using a target unlocking method provided in an embodiment of the present application;

[0048] Figure 5 This is a schematic diagram of an interface for a mobile phone to obtain user authorization provided by an embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of an interface for displaying unlocking results of a mobile phone provided in an embodiment of the present application;

[0050] Figure 7 This is a flow chart of a mobile phone assisting a watch to obtain user face data for the first time, provided in an embodiment of the present application;

[0051] Figure 8 It is a schematic diagram of a process of unlocking a watch with the assistance of a mobile phone through face data provided in an embodiment of the present application;

[0052] Fig. 9 This is a flow chart of a smart screen and a server assisting a watch in acquiring user facial data for the first time, provided in an embodiment of the present application;

[0053] Fig.10 It is a schematic diagram of a process of unlocking a smart screen and a server by using facial data to assist a watch provided in an embodiment of the present application;

[0054] Fig.11 A device unlocking apparatus applied to a first device provided in an embodiment of the present application;

[0055] Fig.12 It is a device unlocking apparatus applied to a second device provided in an embodiment of the present application;

[0056] Fig.13 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] Illustrative embodiments of the present application include, but are not limited to, device unlocking methods, media, and electronic devices.

[0058] For example, Figure 1 As shown, a schematic diagram of the interface of a watch 10 during a digital password unlocking process is shown. Figure 1 As shown in (A) in FIG. 1 , the interface 11 is the interface displayed when the watch 10 is in the locked or off screen state, wherein the interface 11 includes a real-time clock background and a locked screen state icon 12 .

[0059] When the watch 10 is in a black screen, locked screen or off screen state, when a user's wake-up operation is detected, such as when the user raises his wrist, or performs an operation such as clicking or sliding on the screen, the user's wake-up operation is detected. Figure 1 As shown in (B) in FIG. 1 , the watch 10 will display an interface 13 for inputting a digital password, and the interface 13 displays a digital keyboard with multiple digital controls. Figure 1 As shown in (C), the user can click on the corresponding digital control to enter the password. When the watch 10 detects that the user clicks on the number "5", the dynamic effect of the digital control corresponding to the number "5" shrinking under the click operation can also be displayed in the interface 14.

[0060] When the watch 10 detects that the digital password entered by the user is the preset password, the unlocking is successful, and the watch 10 can switch the display interface to the following Figure 1 The unlocking interface 15 shown in (D) is as shown in FIG. Figure 1 The interface 11 shown in (A) does not include the lock screen status icon 12. When the watch 10 detects that the digital password entered by the user is not the preset password, it will return to the state shown in FIG. Figure 1 The screen is locked as shown in (A) or returns to Figure 1 The state shown in (B) in the figure is to wait for the user to enter the password again.

[0061] However, since the screen of the watch 10 is relatively small, it is difficult for the user to accurately click the correct number on the numeric keypad, and it is easy to accidentally touch the control of the number next to it, resulting in a high rate of accidental touches when entering the numeric password. As a result, the user needs to spend a lot of time to re-enter the password to unlock the watch, and if the user accidentally touches other numeric controls multiple times, resulting in an incorrect password input, the watch 10 will be locked and cannot be used normally.

[0062] That is to say, when the electronic device cannot use biometric unlocking methods such as fingerprint unlocking and face recognition unlocking because it is not equipped with devices such as cameras and fingerprint sensors, or the cameras and fingerprint sensors cannot be used normally, the user's efficiency in unlocking the electronic device is low. As mentioned earlier, only low-efficiency digital password unlocking and graphic password unlocking can be used. However, there are other problems with digital password unlocking or graphic password unlocking. For example, when a user unlocks a smart watch with a digital password, since the screen of the smart watch is relatively small, the controls for each number in the numeric keypad displayed on the screen of the smart watch are also relatively small. It is not easy for users to accurately click on the correct number on the numeric keypad, and it is easy to accidentally touch the control of the number next to it, resulting in a high rate of false touches during the process of entering the digital password.

[0063] In order to solve the problem of low efficiency of users unlocking electronic devices, the present application provides a device unlocking method, which is applied to electronic devices 100 and electronic devices 200. The electronic device 100 has a locking function, that is, it needs to be unlocked before entering the unlocking state from the locked state of the device. The electronic device 200 can obtain identity data corresponding to the target unlocking method such as fingerprint, face, iris, voiceprint, etc., such as fingerprint image data, face image data, iris image data, or voiceprint data. When the electronic device 100 is in the unlocking state, including the black screen state, the locked screen state, and the off screen state, the electronic device 100 will send an unlocking request to the electronic device 200 when the user selects the target unlocking method. Then, the electronic device 200 will collect the user identity data corresponding to the target unlocking method, and then generate an authentication code according to the collected identity data, and send the authentication code as authentication information to the electronic device 100. The electronic device 100 will compare the authentication information with the preset authentication information, and the preset authentication information is the preset authentication code. If the two are consistent, the electronic device 100 is unlocked successfully. Among them, the authentication code is generated by the electronic device 200 after encrypting or extracting features based on the collected identity information.

[0064] The electronic device 200 may be a device logged into the same device account as the electronic device 100, or the device accounts of the two devices may be associated accounts of a specific relationship such as family, relatives or friends, and / or the device may be within a preset range of the electronic device 100.

[0065] Optionally, the electronic device 200 may also directly send the identity data to the electronic device 100, and the preset authentication information pre-stored in the electronic device 100 is the preset identity data. The electronic device 100 compares the identity data collected by the electronic device 200 with the preset identity data, and if they are consistent, the electronic device 100 is unlocked successfully.

[0066] Optionally, the electronic device 200 may also send the identity data to the electronic device 300, and the electronic device 300 stores preset identity data, and the electronic device 300 compares the preset identity data with the identity data collected by the electronic device 200. Then the electronic device 300 sends the comparison result as authentication information to the electronic device 100. Similarly, at this time, the electronic device 200 can also be any device with a camera or fingerprint collection function, so that the electronic device 100 can use more devices to assist in unlocking it, making it more convenient and quick for the user to unlock. Moreover, at this time, the electronic device 100 does not need to receive the authentication code generated by the electronic device 200 based on the collected identity data. The electronic device 100 does not need to store the preset authentication code and the authentication code, and the storage space of the electronic device 100 can also be saved.

[0067] Alternatively, the electronic device 200 may also send the authentication code to the electronic device 300, and the electronic device 300 stores a preset authentication code, and the electronic device 300 compares the preset authentication code with the authentication code generated by the electronic device 200. Then the electronic device 300 sends the comparison result as authentication information to the electronic device 100.

[0068] For example, the electronic device 100 may be the aforementioned watch 10, which does not have a face recognition function, and the electronic device 200 may be a mobile phone 20 that has a face data collection function. Figure 2A As shown, when the watch 10 detects a wake-up operation such as a user clicking the screen in the locked state, the watch 10 can display the following Figure 2A The interface 201 in the figure includes a numeric keyboard. The user can slide left based on the interface 201, so that the watch 10 switches the unlocking mode to face recognition. Then, the watch 10 is triggered to send an unlocking request to the mobile phone 20. As an example, the mobile phone 20 and the watch 10 are logged in to the same device account.

[0069] like Figure 2B As shown, after receiving the unlock request, the mobile phone 20 will turn on the face recognition function and obtain the user's face image data (hereinafter referred to as face data) through the camera 202. And the acquired face data can also be displayed in the display box 203 on the screen of the mobile phone 20. Then the mobile phone 20 sends the acquired face data to the watch 10, so that the watch 10 can compare the acquired face data with the face data pre-stored in the watch 10, and the watch 10 can also display the acquired face data on the interface 204. If the acquired face data is consistent with the pre-stored face data, the watch 10 is unlocked successfully. Among them, the face data pre-stored in the watch 10 can be acquired in advance through the mobile phone 20 or other devices.

[0070] Furthermore, through the device unlocking method provided by the present application, the electronic device 100 that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the user's identity data, so that the electronic device 100 can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. The user does not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking.

[0071] Furthermore, the electronic device 200 that assists the electronic device 100 in unlocking sends the authentication information corresponding to the collected identity data to the electronic device 100, and the electronic device 100 performs identity authentication, and the electronic device 100 determines whether the authentication information is preset authentication information. In other words, it is the preset authentication information of the user stored by the electronic device 100, and the electronic device 200 does not need to store the preset authentication information of the user. Furthermore, the electronic device 200 can be any device with a functional device for collecting faces or fingerprints, for example, the electronic device 200 can also be a smart home device such as a smart door lock or a sweeping robot. Among them, for example, the preset authentication information is not necessarily stored in devices such as sweeping robots, and further, the electronic device 100 can use more devices to assist it in unlocking, making it more convenient and quick for the user to unlock.

[0072] In addition, the electronic device 100 can be any electronic device with a locking function, and, as described above, the electronic device 200 can be any electronic device with a functional device for collecting faces or fingerprints. For example, the electronic device 100 and the electronic device 200 can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a smart home device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) or a special camera (such as a SLR camera, a card camera), etc. This application does not impose any restrictions on the specific types of the electronic device 100 and the electronic device 200.

[0073] The electronic device 300 may be a terminal device, or a physical server or cloud device, such as an X86 server, an ARM server, etc. It may also be a virtual machine (VM) based on a general physical server combined with network function virtualization (NFV) technology. A virtual machine refers to a complete computer system with complete hardware system functions and running in a completely isolated environment simulated by software. The present application does not impose any restrictions on the specific type of the electronic device 300.

[0074] The following description will be made by taking the electronic device 100 as a watch 10 and the electronic device 200 as a mobile phone 20 as an example. Figure 3 As shown, Figure 3 A flow chart of a device assistance method applied to a watch 10 and a mobile phone 20 is shown. Specifically, it includes:

[0075] S301: The watch 10 obtains an operation of selecting a target unlocking method.

[0076] The user identity data that needs to be obtained by the target unlocking method requires the assistance of other devices to collect, such as face unlocking and fingerprint unlocking. Non-target unlocking methods can be digital password unlocking or graphic password unlocking. When the watch 10 is in a locked screen state or a screen-off state, the user can wake up the watch 10 by pressing the power button, clicking the screen, shaking the watch 10, or raising the wrist. The watch 10 first enters the non-target unlocking method, and then the user selects the target unlocking method, so that the watch 10 switches to the target unlocking method to obtain the user identity data. Alternatively, when the watch 10 is in a locked state such as a locked screen state or a screen-off state, after the user performs the wake-up operation, the unlocking method entered by the watch 10 can also be directly the target unlocking method. At this time, the wake-up operation performed by the user is the operation of selecting the target unlocking method.

[0077] That is to say, the default unlocking mode of the watch 10 may be a target unlocking mode or may not be a target unlocking mode. The following describes these two situations respectively.

[0078] When the default unlocking mode of the watch 10 is the target unlocking mode, the wake-up operation performed by the user is the operation of selecting the target unlocking method. That is, when the watch 10 is in the locked screen state or the off screen state, the user performs a wake-up operation such as clicking the screen, shaking the watch 10, or raising the wrist, which triggers the watch 10 to obtain the user's identity data by face unlocking and fingerprint unlocking.

[0079] For example, if Figure 4 As shown in (A), when the watch 10 is in the locked screen state, the display interface 11 and the control 12 are displayed. For details, please refer to the aforementioned Figure 1 (A) and its related description. At this time, the user performs a left sliding operation to wake up the watch 10, and uses a target unlocking method (such as face unlocking) to unlock it. At this time, the watch 10 will execute step S302 to obtain face data.

[0080] When the default unlocking mode of watch 10 is not the target unlocking mode, and watch 10 is in the locked screen state or the off screen state, when the user performs a wake-up operation, watch 10 enters the digital password unlocking mode or the graphic password unlocking mode, and the user needs to perform the operation of switching the unlocking mode to trigger the watch 10 to adopt the target unlocking mode to obtain the user identity data.

[0081] For example, when a user executes Figure 4 When you slide left as shown in (A) in the figure, the watch 10 will display as follows Figure 4The interface 401 shown in (B) includes a numeric keyboard, which is used to obtain a numeric password input by the user. That is, the default unlocking mode of the watch 10 is to unlock with a numeric password. At this time, the user needs to continue to slide the interface 401 to the left to trigger the watch 10 to execute step S302 to obtain the face data.

[0082] Optionally, the user's operation of switching the unlocking mode may be, in addition to the above-mentioned click or slide operation, also click the icon corresponding to the target unlocking mode. Figure 4 As shown in (C) in FIG. 1 , after the watch 10 is awakened, the interface 402 displayed on the watch 10 includes a numeric keyboard and a face recognition icon 403. The user can click the face recognition icon 403 to switch the watch 10 to the face unlocking mode. Or, Figure 4 As shown in (D) in FIG. 1 , the digital keyboard interface 404 displayed on the watch 10 includes not only the face recognition icon 403 but also the fingerprint recognition icon 405. The user can click the fingerprint recognition icon 405 to switch the watch 10 to the fingerprint unlocking mode. It should be understood that the present application does not specifically limit the specific type of operation of selecting the target unlocking mode.

[0083] S302: The watch 10 sends an unlock request to the mobile phone 20.

[0084] When the watch 10 obtains the need to unlock the target, it will send an unlock request to the mobile phone 20, so that the mobile phone 20 assists the watch 10 in obtaining the user identity data. The unlock request may include the identification information of the watch 10 and / or the identification information of the target unlocking method.

[0085] In addition, the watch 10 will also authenticate whether the mobile phone 20 meets the preset conditions. Only when the mobile phone 20 meets the preset conditions will it determine to send an unlock request to the mobile phone 20. The preset conditions include devices that have logged into the same device account as the watch 10, devices that are associated with the device account of the watch 10, devices that are within the preset range of the watch 10, or devices that are in the same local area network as the watch 10. For example, when the watch 10 uses near-field communication such as Bluetooth, the preset condition is a device that can perform near-field communication with the watch 10 within 5 meters of the watch 10. When the watch 10 uses wireless local area networks (WLAN), the preset condition is a device that is in the same local area network as the watch 10. The associated account can be preset in advance by the user, for example, setting the device account of a family member as an associated account so that the family member's device can also assist in unlocking the user's device. This application does not specifically limit the type of preset conditions.

[0086] In some embodiments, the watch 10 may also display a list of devices that meet the preset conditions on the screen. The user may also select one of the devices from the list of devices as a device to assist the watch 10 in unlocking. Alternatively, the watch 10 may also preset one or more devices as preferred devices. When the watch 10 finds that there is a preferred device that meets the preset conditions, it may directly send an unlock request to the preferred device.

[0087] S303: The mobile phone 20 collects user identity data and generates authentication information.

[0088] When the mobile phone 20 receives an unlock request, it will also determine the type of user identity data to be collected based on the unlock request. For example, when the identification information of the unlock request indicates that the target unlock method is face unlock, the mobile phone 20 will collect the user's face data. Alternatively, when the identification information of the unlock request indicates that the target unlock method is fingerprint unlock, the mobile phone 20 will collect the user's fingerprint information.

[0089] The mobile phone 20 will also process the user identity, generate authentication information and then send it to the watch 10. For example, when the mobile phone 20 collects face data, the mobile phone 20 can also extract the feature information of the face data after image processing, and then generate an authentication code based on the feature information, and finally send the authentication code to the watch 10. In this way, the amount of data to be transmitted can be reduced, the transmission efficiency can be improved, and the unlocking efficiency can be improved. Alternatively, the mobile phone 20 can also encrypt the user identity data, for example, using the data encryption standard (DES) or the message digest algorithm (MD5), and use the encrypted user identity data as authentication information.

[0090] In some embodiments, the mobile phone 20 will obtain user authorization before obtaining the user identity data, and will collect the user identity data only after the user authorization is passed. If the user authorization is not passed, the mobile phone 20 will feedback the authorization failure information to the watch 10, and the watch 10 will redisplay the lock screen interface or resend the unlock request to other devices.

[0091] The interface for obtaining user authorization on mobile phone 20 can be referred to Figure 5 .like Figure 5As shown, the mobile phone 20 displays a prompt box 502 on the interface 501, and the prompt box 502 is used to prompt the user whether to agree to unlock the watch by face recognition. In addition, the prompt box 502 also includes controls 503, 504 and 505, control 503 is used for the user to authorize and agree to face recognition, control 504 is used for the user to refuse to authorize face recognition, control 505 can also be used for the user to refuse to authorize face recognition, and control 505 can also be used to close the prompt box 502. In addition, the interface 501 can also include a display box 506, which includes one or more signal strength indicators of mobile communication signals, one or more signal strength indicators of WiFi signals, a battery status indicator and a time indicator. The interface 501 also includes one or more application icons, such as an icon 507 for a camera application, an icon 508 for an address book application, an icon 509 for a phone application, and an icon 510 for a message application.

[0092] In other embodiments, when the mobile phone 20 obtains the user's authorization to collect the user's identity data, the mobile phone 20 may also display the obtained user's identity data. Figure 2B As shown, the mobile phone 20 displays the acquired face data on the display frame 203. For details, please refer to Figure 2B and its related description.

[0093] S304 : The mobile phone 20 sends authentication information to the watch 10 .

[0094] After the mobile phone 20 collects the user identity data corresponding to the target unlocking method and generates authentication information, it sends the authentication information to the watch 10.

[0095] S305: The watch 10 determines whether the authentication information is consistent with the preset authentication information.

[0096] After the watch 10 obtains the authentication information sent by the mobile phone 20, it will compare the pre-stored authentication information with the authentication information corresponding to the currently collected user identity data. If the comparison results are consistent, the unlocking is successful, and the watch 10 will execute step S306. If the comparison results are inconsistent, it is considered that the unlocking failed, and the watch 10 will execute step S307.

[0097] The watch 10 has pre-stored preset authentication information, which can be collected by the watch 10 in advance through the mobile phone 20 or other devices. There can be one or more preset authentication information. When the currently collected identity data matches any preset authentication information, it can be considered that the user identity data authentication is passed. When the currently collected identity data does not match any preset authentication information, it can be considered that the user identity data authentication is not passed.

[0098] S306: The watch 10 enters the unlocked state.

[0099] When the comparison result of the pre-stored identity data and the currently collected user identity data is consistent, the user identity data authentication is passed, the watch 10 is unlocked successfully, and will enter the unlocked state. For example, the watch 10 may display the following Figure 1 The interface 15 shown in (D) can be found in the above description. Figure 1 Related description.

[0100] In some embodiments, after the watch 10 is successfully unlocked, it can also send a message of successful unlocking to the mobile phone 20. The mobile phone 20 can also display a prompt box of successful unlocking on the interface. Figure 6 As shown, the mobile phone 20 displays a prompt box 602 on the interface 601, and the prompt box 602 is used to prompt the user that the face unlocking is successful. The prompt box 602 also includes controls 603 and 604, and the controls 603 and 604 can be used to close the prompt box 602.

[0101] S307: The watch 10 returns to the locked screen state.

[0102] When the comparison result between the pre-stored identity data and the currently collected user identity data is inconsistent, the user identity data authentication fails, and the watch 10 can return to the lock screen state at this time. Alternatively, the watch 10 can return to the lock screen state and display the lock screen interface after prompting the unlocking failure on the interface. The watch 10 can also maintain the current state and display the interface of the default unlocking method. Alternatively, the watch 10 can also execute step S302 again and send an unlocking request to the mobile phone 20 again to obtain the user identity data through the mobile phone 20. This application does not specifically limit the operations performed after the watch 10 fails to unlock.

[0103] Furthermore, through the device unlocking method provided by the present application, the watch 10 that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the user's identity data, so that the watch 10 can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. The user does not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking.

[0104] Next, combine Figure 7 and Figure 8 Taking the target unlocking mode as face unlocking, the electronic device 100 as a watch 10, the electronic device 200 as a mobile phone 20 as an example, and taking the authentication information as an authentication code in the authentication code as an example, the device unlocking method provided by the present application is introduced. Figure 7 As shown, Figure 7 A flowchart of a method for setting the unlocking function of the watch 10 for the first time. Specifically, it includes:

[0105] S701: The watch 10 obtains a wake-up operation.

[0106] The watch 10 can detect in real time whether the user's wake-up operation is obtained in the black screen state, locked screen state or off screen state, such as pressing the power button, clicking the screen, shaking the watch 10 or raising the wrist. Among them, the interface of the watch 10 in the locked screen state can refer to Figure 1 For (A) and its related description, please refer to the aforementioned step S301 for details, which will not be repeated here.

[0107] S702: The watch 10 displays a numeric keyboard and obtains a numeric password input by the user.

[0108] When the watch 10 detects the wake-up operation, it will display the interface corresponding to the default unlocking method, that is, display the numeric keyboard to obtain the preset numeric password set by the user. Since the preset unlocking method of the watch 10 is numeric password unlocking, the watch 10 will first set the numeric password.

[0109] Among them, the interface of the digital keyboard displayed on the watch 10 can be referred to Figure 1 (B) and its related description. The user can click the control in the numeric keypad to enter a digital password, and the entered digital password is the preset digital password that the user needs to store in advance, that is, the digital password that the user will use to unlock the watch 10 later. The interface of the watch 10 when the user enters the digital password can also refer to the following Figure 1 (C) and its related description will not be repeated here.

[0110] It should be understood that since the watch 10 is setting the unlocking function for the first time, the watch 10 will repeatedly obtain the preset digital password entered by the user twice or more to ensure that the preset digital password entered by the user is correct.

[0111] S703: The watch 10 determines whether the user enters the same digital password twice.

[0112] The watch 10 determines whether the digital passwords entered by the user twice are consistent. If they are consistent, it means that the digital passwords entered by the user are correct, and the digital password will be saved as the preset digital password. The watch 10 will also execute step S704 to confirm whether the user has turned on the face recognition function. If they are inconsistent, it means that at least one of the digital passwords entered by the user twice is incorrect, and step S702 will be re-executed to obtain the digital password entered by the user again.

[0113] S704: Watch 10 confirms whether the user turns on the face recognition function.

[0114] After the watch 10 successfully stores the preset digital password, the mobile phone 10 will also confirm whether the user needs to enable the face recognition function, and specifically prompt the user on the interface of the watch 10 to obtain whether the user agrees to enable the face recognition function. If the watch 10 obtains that the user agrees to enable the face recognition function, step S705 is executed. If the watch 10 obtains that the user does not agree to enable the face recognition function, the watch 10 only uses the digital password unlocking method, and step S713 can also be executed to display the lock screen interface.

[0115] In some embodiments, the user may also enable the face recognition function in the settings application of the watch 10. If the user enables the face recognition function, the watch 10 will also execute step S705.

[0116] S705: The watch 10 sends a face recognition request to the mobile phone 20.

[0117] When the watch 10 obtains the need to enable the face recognition function, it will send a face recognition request to the mobile phone 20 that meets the preset conditions to obtain the preset face data. The preset conditions include logging into the same device account as the watch 10, being an associated account with the device account of the watch 10, and being a device within the preset range of the watch 10. For details, please refer to the aforementioned step S302 and its related description, which will not be repeated here.

[0118] S706: The mobile phone 20 displays a prompt interface for collecting facial data.

[0119] After the mobile phone 20 receives the face recognition request, it will obtain the user's authorization before collecting the user's face data. The user's identity data will be collected only after the user's authorization is passed. Specifically, the user can be prompted on the interface of the mobile phone 20 whether to agree to obtain the face data. For reference, Figure 5 The related descriptions will not be repeated here.

[0120] S707: The mobile phone 20 determines whether the user authorization to collect facial data is obtained.

[0121] After prompting the user whether the face data can be collected, the mobile phone 20 will confirm the user's feedback information. If the user authorizes the collection of face data, step S708 will be executed. If the user refuses to authorize the collection of face data, step S712 can also be executed to feedback the information to the watch 10. Alternatively, if the user refuses to authorize the collection of face data, the watch 10 and the mobile phone 20 can also directly end the process.

[0122] S708: The mobile phone 20 starts the face recognition APP and collects face data.

[0123] After the mobile phone 20 obtains the user's authorization to collect facial data, the mobile phone 20 can start an application (application, APP) for facial recognition, such as a sports health APP, and collect the user's facial data through the facial recognition APP.

[0124] S709: The mobile phone 20 generates an authentication code or encrypted facial data based on the collected facial data.

[0125] The mobile phone 20 processes the collected face data, including extracting face features and then generating an authentication code from the face features, or encrypting the face data to generate encrypted face data.

[0126] S710: The mobile phone 20 sends the authentication code corresponding to the facial data or the encrypted facial data to the watch 10.

[0127] The mobile phone 20 sends an authentication code corresponding to the facial data or the encrypted facial data to the watch 10, so that the watch 10 can collect facial data even if it does not have a facial collection function.

[0128] S711: The watch 10 saves the authentication code or the encrypted facial data as preset facial data.

[0129] The watch 10 saves the authentication code or encrypted facial data corresponding to the facial data obtained by the mobile phone 20 as preset facial data for subsequent users to unlock the watch 10 using facial recognition.

[0130] In some embodiments, the mobile phone 20 may also generate an authentication code using the encrypted facial data, and save the generated authentication code as preset facial data.

[0131] S712: The mobile phone 20 feeds back to the watch 10 that the authorization failed.

[0132] If the mobile phone 20 obtains that the user does not agree to enable the face recognition function, the mobile phone 20 will feedback the authorization failure to the watch 10. After receiving the authorization failure information, the watch 10 can select other devices that meet the preset conditions to obtain the preset face data, or give up obtaining the face data and execute step S713.

[0133] S713: Watch 10 displays the lock screen interface.

[0134] When the user refuses to enable the face recognition function and / or refuses to authorize the mobile phone 20 to obtain face data, and the watch 10 does not obtain any user operation within a certain period of time, the watch 10 can enter the lock screen state and display the lock screen interface. The interface of the watch 10 in the lock screen state can be referred to Figure 1 (A) and its related description will not be repeated here.

[0135] like Figure 8 As shown, Figure 8 A flowchart of a method for unlocking the watch 10 after pre-storing preset face data, and the default unlocking method of the watch 10 is digital password unlocking. Specifically including:

[0136] S801: The watch 10 receives a wake-up operation in the locked screen state.

[0137] The watch 10 can detect in real time whether the user's wake-up operation is obtained in the black screen state, locked screen state or off screen state, such as pressing the power button, clicking the screen, shaking the watch 10 or raising the wrist. Among them, the interface of the watch 10 in the locked screen state can refer to Figure 1 (A) and its related description will not be repeated here.

[0138] S802: The watch 10 displays a numeric keyboard.

[0139] When the watch 10 detects the wake-up operation, it will display the interface corresponding to the default unlocking method, that is, the numeric keyboard. The interface of the watch 10 displaying the numeric keyboard can be referred to Figure 1 (B) and its related description.

[0140] S803: The watch 10 determines whether a password is entered.

[0141] The watch 10 detects that the user has entered a digital password, indicating that the user has selected the digital password unlocking method, and then executes step S804. If the watch 10 does not detect the digital password entered by the user, it will further determine whether the user has selected face recognition unlocking, that is, execute step S806. The interface of the watch 10 when the user enters the digital password can also refer to the following Figure 1 (C) and its related description will not be repeated here.

[0142] S804: The watch 10 determines whether the digital password input by the user is a preset password.

[0143] If the watch 10 detects that the user has entered a numeric password, it will further determine whether the numeric password entered by the user is a preset password. If so, step S805 will be executed. If not, the numeric keyboard will be redisplayed, that is, step S802 can be executed. At this time, the user can choose to enter the numeric password again, or choose other unlocking methods, such as face recognition unlocking.

[0144] In some embodiments, the watch 10 will also obtain the number of times the user enters the digital password. If the number of times the user enters the digital password incorrectly exceeds a preset number of times, the watch 10 can also lock the watch 10 for a preset time period, and the watch 10 cannot be unlocked during the preset time period. Alternatively, the watch 10 can also send an alarm to other devices logged in to the same device account, such as a mobile phone 20, to remind the user that the number of failed unlocking attempts of the watch 10 exceeds a preset number of times.

[0145] S805: Watch 10 displays an unlocking interface.

[0146] When the watch 10 obtains the preset password, or the watch 10 obtains the preset password within the preset number of times, the watch 10 is unlocked successfully, and then the unlocking interface is displayed. Figure 1 (D) and its related description will not be repeated here.

[0147] S806: The watch 10 determines whether the face recognition function is selected.

[0148] If the watch 10 does not receive the operation of the password input by the user, it will also determine whether the user has performed the operation of selecting the face recognition function. If the watch 10 obtains the user's selection of the face recognition function, step S807 is executed. If the user does not select the face recognition function, the watch 10 can execute step S802, display the numeric keyboard, and detect whether the user enters a numeric password.

[0149] The user's operation of selecting the face recognition function may be to swipe left or click on the face recognition icon. Figure 4 and its related description.

[0150] S807: The watch 10 sends a face recognition request to the mobile phone 20.

[0151] When the watch 10 obtains the need to enable the face recognition function, it will send a face recognition request to the mobile phone 20 that meets the preset conditions to obtain face data. The preset conditions include devices that have logged in to the same device account as the watch 10, devices that are associated with the device account of the watch 10, and devices that are within the preset range of the watch 10. For details, please refer to the aforementioned step S302 and its related description, which will not be repeated here.

[0152] S808: The mobile phone 20 displays a prompt interface for obtaining face data.

[0153] After the mobile phone 20 receives the face recognition request, it will obtain the user's authorization before collecting the user's face data. The user's identity data will be collected only after the user's authorization is passed. Specifically, the user can be prompted on the interface of the mobile phone 20 whether to agree to obtain the face data. For reference, Figure 5The related descriptions will not be repeated here.

[0154] S809: The mobile phone 20 determines whether the user authorizes obtaining facial data.

[0155] After prompting the user whether to collect face data, the mobile phone 20 will confirm the user's feedback information. If the user authorizes to collect face data, step S811 will be executed. If the user refuses to authorize to collect face data, step S810 can be executed to feedback the data to the watch 10. Alternatively, if the user refuses to authorize to collect face data, the watch 10 and the mobile phone 20 can also directly end the process.

[0156] S810: Mobile phone 20 feedbacks that authorization failed.

[0157] If the mobile phone 20 obtains that the user does not agree to enable the face recognition function, the mobile phone 20 will feedback the authorization failure to the watch 10. After receiving the authorization failure information, the watch 10 can select other devices that meet the preset conditions to obtain the preset face data. Or the watch 10 can give up obtaining the face data, execute step S802, and display the numeric keyboard. Alternatively, the watch 10 can also directly display the lock screen interface.

[0158] S811: Mobile phone 20 starts the face recognition APP and collects face data.

[0159] After the mobile phone 20 obtains the user's authorization to collect facial data, the mobile phone 20 can start a facial recognition APP, such as a sports health APP, and collect the user's facial data through the facial recognition APP.

[0160] S812: The mobile phone 20 generates an authentication code based on the collected facial data, or generates encrypted facial data.

[0161] The mobile phone 20 processes the collected face data, including extracting face features and then generating an authentication code from the face features, or encrypting the face data to generate encrypted face data.

[0162] S813: The mobile phone 20 sends an authentication code or encrypted facial data to the watch 10.

[0163] The mobile phone 20 sends an authentication code corresponding to the facial data or the encrypted facial data to the watch 10, so that the watch 10 can collect facial data even if it does not have a facial collection function.

[0164] S814: The watch 10 determines whether the obtained authentication code or encrypted facial data is consistent with the preset facial data.

[0165] The mobile phone 20 will compare the currently acquired authentication code or encrypted face data with the pre-stored preset face data to determine whether they are consistent. If so, step S815 is executed and the watch 10 is unlocked successfully. If not, step S802 is executed to redisplay the numeric keyboard interface or display the lock screen interface.

[0166] In some embodiments, the watch 10 can also confirm whether the similarity between the obtained authentication code or face data and the pre-stored preset face data meets a preset standard, for example, whether the similarity is greater than 90%. If so, step S815 is executed, and the watch 10 is unlocked successfully. If not, step S802 is executed to redisplay the numeric keyboard interface, or display the lock screen interface.

[0167] In some embodiments, if the format of the preset facial data and the currently acquired facial data (authentication code or encrypted facial data) is inconsistent, the cloud server 40 can also convert the acquired facial data format or the preset facial data format before performing authentication.

[0168] If the preset face data pre-stored in the cloud server 40 is in the form of an authentication code, when the authentication code is obtained at this time, the cloud server 40 can directly compare the currently obtained authentication code with the pre-stored preset face data. If the encrypted face data is obtained at this time, the cloud server 40 can also convert the encrypted face data into an authentication code, and then compare the authentication code with the pre-stored preset face data.

[0169] If the preset face data pre-stored in the cloud server 40 is encrypted face data, if the encrypted face data is obtained at this time, the cloud server 40 can directly compare the encrypted face data with the preset face data. If the authentication code is obtained at this time, the cloud server 40 can also convert the preset encrypted face data into an authentication code, and then compare the authentication code with the currently obtained authentication code.

[0170] S815: Watch 10 displays an unlocking interface.

[0171] If the authentication code currently obtained by the mobile phone 20 is consistent with the pre-stored preset face data, or the similarity is greater than the preset standard, the unlocking is successful and the unlocking interface is displayed. The unlocking interface displayed by the watch 10 can refer to the following Figure 1 (D) and its related description.

[0172] In summary, through the device unlocking method provided by this application, the watch 10 that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the user's identity data. In this way, the watch 10 can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. Users do not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking. In addition, the mobile phone 20 does not need to store user face data, saving storage space of the mobile phone 20.

[0173] Next, combine Fig. 9 and Fig.10 Taking the target unlocking mode as face unlocking, the electronic device 100 as a watch 10, and the electronic device 200 as a smart screen 30 as an example, the device unlocking method provided by the present application is introduced. In addition, the device unlocking method also includes an electronic device 300, and taking the electronic device 300 as a cloud server 40 as an example, the cloud server 40 pre-stores a preset authentication code of the watch 10, and the cloud server 40 is used to compare whether the authentication code obtained by the smart screen 30 is consistent with the preset authentication code, and uses the authentication result after comparison as authentication information.

[0174] like Fig. 9 As shown, Fig. 9 A flowchart of a method for setting the unlocking function of the watch 10 for the first time. Specifically, it includes:

[0175] S901: The watch 10 obtains a wake-up operation.

[0176] The watch 10 can detect in real time whether the user's wake-up operation is obtained in the black screen state, the locked screen state or the off screen state. Among them, the interface of the watch 10 in the locked screen state can refer to Figure 1 For (A) and its related description, please refer to the aforementioned step S301 for details, which will not be repeated here.

[0177] S902: The watch 10 displays a numeric keyboard and obtains a numeric password input by the user.

[0178] When the watch 10 detects the wake-up operation, it will display the interface corresponding to the default unlocking method, that is, display the numeric keyboard to obtain the preset numeric password set by the user. Since the preset unlocking method of the watch 10 is numeric password unlocking, the watch 10 will first set the numeric password.

[0179] Among them, the interface of the digital keyboard displayed on the watch 10 can be referred to Figure 1 (B) and its related description. The user can click the control in the numeric keypad to enter a digital password, and the entered digital password is the preset digital password that the user needs to store in advance, that is, the digital password that the user will use to unlock the watch 10 later. The interface of the watch 10 when the user enters the digital password can also refer to the following Figure 1(C) and its related description will not be repeated here.

[0180] It should be understood that since the watch 10 is setting the unlocking function for the first time, the watch 10 will repeatedly obtain the preset digital password entered by the user twice or more to ensure that the preset digital password entered by the user is correct.

[0181] S903: The watch 10 determines whether the user enters the same digital password twice.

[0182] The watch 10 determines whether the digital passwords entered by the user are consistent. If they are consistent, it means that the digital passwords entered by the user are correct, and the digital password will be saved as the preset digital password. The watch 10 will also execute step S904 to confirm whether the user has turned on the face recognition function. If they are inconsistent, it means that at least one of the digital passwords entered by the user is incorrect, and step S902 will be re-executed to obtain the digital password entered by the user again.

[0183] S904: The watch 10 confirms whether the user turns on the face recognition function.

[0184] After the watch 10 successfully stores the preset digital password, the mobile phone 10 will also confirm whether the user needs to enable the face recognition function, and specifically prompt the user on the interface of the watch 10 to obtain whether the user agrees to enable the face recognition function. If the watch 10 obtains that the user agrees to enable the face recognition function, step S905 is executed. If the watch 10 obtains that the user does not agree to enable the face recognition function, the watch 10 only uses the digital password unlocking method, and step S913 can also be executed to display the lock screen interface.

[0185] In some embodiments, the user may also enable the face recognition function in the settings application of the watch 10. If the user enables the face recognition function, the watch 10 will also execute step S905.

[0186] S905: Watch 10 sends a face recognition request to the smart screen 30.

[0187] When the watch 10 obtains the need to enable the face recognition function, it will send a face recognition request to the smart screen 30 that meets the preset conditions to obtain the preset face data. The preset conditions include devices that have logged in to the same device account as the watch 10, devices that are associated with the device account of the watch 10, and devices within the preset range of the watch 10. For details, please refer to the aforementioned step S302 and its related description, which will not be repeated here.

[0188] S906: The smart screen 30 displays a prompt interface for obtaining facial data.

[0189] After the smart screen 30 receives the face recognition request, it will also obtain the user's authorization before collecting the user's face data. The user's identity data will be collected only after the user's authorization is passed. Specifically, the user can be prompted on the interface of the smart screen 30 whether to agree to obtain the face data. For reference, Figure 5 The related descriptions will not be repeated here.

[0190] S907: The Smart Screen 30 determines whether the user has authorized the collection of facial data.

[0191] After prompting the user whether the face data can be collected, the smart screen 30 will confirm the user's feedback information. If the user authorizes the collection of face data, step S908 will be executed. If the user refuses to authorize the collection of face data, step S912 can also be executed to feedback the information to the watch 10. Alternatively, if the user refuses to authorize the collection of face data, the watch 10 and the smart screen 30 can also directly end the process.

[0192] S908: Smart Screen 30 turns on the face recognition APP and collects face data.

[0193] After the smart screen 30 obtains the user's authorization to collect facial data, the smart screen 30 can start an application (application, APP) for facial recognition, such as a sports health APP, and collect the user's facial data through the facial recognition APP.

[0194] S909: The smart screen 30 generates an authentication code based on the collected facial data, or generates encrypted facial data.

[0195] The smart screen 30 will process the collected facial data, including extracting facial features and then generating an authentication code from the facial features. Alternatively, the facial data may be encrypted to generate encrypted facial data.

[0196] S910: The smart screen 30 sends the authentication code corresponding to the facial data or the encrypted facial data to the cloud server 40.

[0197] The smart screen 30 sends an authentication code corresponding to the facial data or encrypted facial data to the cloud server 40, so that the cloud server 40 can assist the watch 10 in facial recognition authentication.

[0198] S911: The cloud server 40 saves the authentication code or the encrypted facial data as preset facial data.

[0199] The cloud server 40 saves the authentication code or encrypted facial data corresponding to the facial data obtained by the smart screen 30 as preset facial authentication data for subsequent users to unlock the watch 10 using facial recognition.

[0200] In some embodiments, the cloud server 40 may also generate an authentication code using the encrypted facial data, and save the generated authentication code as preset facial data.

[0201] S912: The smart screen 30 feedbacks to the watch 10 that the authorization failed.

[0202] If the smart screen 30 learns that the user does not agree to enable the face recognition function, the smart screen 30 will feedback the authorization failure to the watch 10. After receiving the authorization failure information, the watch 10 can select other devices that meet the preset conditions to obtain the preset face data, or give up obtaining the face data and execute step S913.

[0203] S913: Watch 10 displays the lock screen interface.

[0204] When the user refuses to enable the face recognition function and / or refuses to authorize the smart screen 30 to obtain face data, and the watch 10 does not obtain any user operation within a certain period of time, the watch 10 can enter the lock screen state and display the lock screen interface. The interface of the watch 10 in the lock screen state can be referred to Figure 1 (A) and its related description will not be repeated here.

[0205] like Fig.10 As shown, Fig.10 A flowchart of a method for unlocking the watch 10 after pre-storing preset face data, and the default unlocking method of the watch 10 is digital password unlocking. Specifically including:

[0206] S1001: The watch 10 receives a wake-up operation in the locked screen state.

[0207] The watch 10 can detect in real time whether the user's wake-up operation is obtained in the black screen state, locked screen state or off screen state, such as pressing the power button, clicking the screen, shaking the watch 10 or raising the wrist. Among them, the interface of the watch 10 in the locked screen state can refer to Figure 1 (A) and its related description will not be repeated here.

[0208] S1002: The watch 10 displays a numeric keyboard.

[0209] When the watch 10 detects the wake-up operation, it will display the interface corresponding to the default unlocking method, that is, the numeric keyboard. The interface of the watch 10 displaying the numeric keyboard can be referred to Figure 1 (B) and its related description.

[0210] S1003: The watch 10 determines whether a password is entered.

[0211] The watch 10 detects that the user has entered a digital password, indicating that the user has selected the digital password unlocking method, and then executes step S1004. When the watch 10 does not detect the digital password entered by the user, it will further determine whether the user has selected face recognition unlocking, that is, execute step S1006.

[0212] The interface of the watch 10 when the user enters the digital password can also refer to the following: Figure 1 (C) and its related description will not be repeated here.

[0213] S1004: The watch 10 determines whether the digital password input by the user is a preset password.

[0214] If the watch 10 detects that the user has entered a numeric password, it will further determine whether the numeric password entered by the user is a preset password. If so, step S1005 will be executed. If not, the numeric keyboard will be redisplayed, that is, step S1002 can be executed. At this time, the user can choose to enter the numeric password again, or choose other unlocking methods, such as face recognition unlocking.

[0215] In some embodiments, the watch 10 will also obtain the number of times the user enters the digital password. If the number of times the user enters the digital password incorrectly exceeds a preset number of times, the watch 10 can also lock the watch 10 for a preset time period, and the watch 10 cannot be unlocked during the preset time period. Alternatively, the watch 10 can also send an alarm to other devices logged in to the same device account, such as the smart screen 30, to prompt the user that the number of failed unlocking attempts of the watch 10 exceeds a preset number of times.

[0216] S1005: Watch 10 displays an unlocking interface.

[0217] When the watch 10 obtains the preset password, or the watch 10 obtains the preset password within the preset number of times, the watch 10 is unlocked successfully, and then the unlocking interface is displayed. Figure 1 (D) and its related description will not be repeated here.

[0218] S1006: The watch 10 determines whether the face recognition function is selected.

[0219] If the watch 10 does not receive the operation of the password input by the user, it will also determine whether the user has performed the operation of selecting the face recognition function. If the watch 10 obtains the user's selection of the face recognition function, step S1007 is executed. If the user does not select the face recognition function, the watch 10 can execute step S1002, display the numeric keyboard, and detect whether the user enters a numeric password.

[0220] The user's operation of selecting the face recognition function may be sliding left or clicking the face recognition icon. Figure 4 and its related description.

[0221] S1007: Watch 10 sends a face recognition request to the smart screen 30.

[0222] When the watch 10 obtains the need to enable the face recognition function, it will send a face recognition request to the smart screen 30 that meets the preset conditions to obtain the preset face data. The preset conditions include devices that have logged into the same device account as the watch 10 and / or devices within the preset range of the watch 10. For details, please refer to the aforementioned step S302 and its related description, which will not be repeated here.

[0223] S1008: The smart screen 30 displays a prompt interface for obtaining facial data.

[0224] After the smart screen 30 receives the face recognition request, it will also obtain the user's authorization before collecting the user's face data. The user's identity data will be collected only after the user's authorization is passed. Specifically, the user can be prompted on the interface of the smart screen 30 whether to agree to obtain the face data. For reference, Figure 5 The related descriptions will not be repeated here.

[0225] S1009: The smart screen 30 determines whether the user authorizes the acquisition of facial data.

[0226] After prompting the user whether to collect face data, the smart screen 30 will confirm the user's feedback information. If the user authorizes the collection of face data, step S1011 will be executed. If the user refuses to authorize the collection of face data, step S1010 can be executed to feedback the information to the watch 10. Alternatively, if the user refuses to authorize the collection of face data, the watch 10 and the smart screen 30 can also directly end the process.

[0227] S1010: Smart Screen 30 feedback authorization failed.

[0228] If the smart screen 30 obtains that the user does not agree to enable the face recognition function, the smart screen 30 will feedback the authorization failure to the watch 10. After receiving the authorization failure information, the watch 10 can select other devices that meet the preset conditions to obtain the preset face data. Or the watch 10 can give up obtaining the face data, execute step S1002, and display the numeric keyboard. Alternatively, the watch 10 can also directly display the lock screen interface.

[0229] S1011: Smart Screen 30 turns on the face recognition APP and collects face data.

[0230] After the smart screen 30 obtains the user's authorization to collect facial data, the smart screen 30 can start a facial recognition APP, such as a sports health APP, and collect the user's facial data through the facial recognition APP.

[0231] S1012: The smart screen 30 generates an authentication code based on the collected facial data, or generates encrypted facial data.

[0232] The smart screen 30 will process the collected facial data, including extracting facial features and then generating an authentication code from the facial features. Alternatively, the facial data may be encrypted to generate encrypted facial data.

[0233] S1013: The smart screen 30 sends an authentication code or encrypted facial data to the cloud server 40.

[0234] The smart screen 30 sends an authentication code corresponding to the facial data or encrypted facial data to the watch 10, so that the watch 10 can collect facial data even if it does not have a facial collection function.

[0235] S1014: The cloud server 40 generates an authentication result according to the obtained authentication code or the encrypted facial data and the preset facial data.

[0236] The comparison result generated by the cloud server 40 may be consistent or inconsistent. In some embodiments, the cloud server 40 may confirm the similarity between the acquired authentication code or encrypted face data and the pre-stored preset face data, and use the similarity as the authentication result.

[0237] In some embodiments, if the format of the preset facial data and the currently acquired facial data (authentication code or encrypted facial data) is inconsistent, the cloud server 40 can also convert the acquired facial data format or the preset facial data format before performing authentication.

[0238] If the preset face data pre-stored in the cloud server 40 is in the form of an authentication code, when the authentication code is obtained at this time, the cloud server 40 can directly compare the currently obtained authentication code with the pre-stored preset face data. If the encrypted face data is obtained at this time, the cloud server 40 can also convert the encrypted face data into an authentication code, and then compare the authentication code with the pre-stored preset face data.

[0239] If the preset face data pre-stored in the cloud server 40 is encrypted face data, if the encrypted face data is obtained at this time, the cloud server 40 can directly compare the encrypted face data with the preset face data. If the authentication code is obtained at this time, the cloud server 40 can also convert the preset encrypted face data into an authentication code, and then compare the authentication code with the currently obtained authentication code.

[0240] S1015: The cloud server 40 sends the authentication result to the watch 10.

[0241] The cloud server 40 will send the authentication result to the watch 10 so that the watch 10 can determine whether the unlocking is successful.

[0242] S1016: The watch 10 determines whether the authentication result obtained indicates that the authentication is successful.

[0243] The watch 10 determines whether the authentication result indicates that the authentication is successful. If so, step S1017 is executed to successfully unlock the watch 10. If not, step S1002 is executed to redisplay the numeric keyboard interface or display the lock screen interface.

[0244] In some embodiments, if the authentication result sent by the cloud server 40 to the watch is similarity, the watch 10 can also confirm whether the similarity meets the preset standard, for example, whether the similarity is greater than 90%. If so, step S1017 is executed and the watch 10 is unlocked successfully. If not, step S1002 is executed to redisplay the numeric keyboard interface or display the lock screen interface.

[0245] S1017: Watch 10 displays an unlocking interface.

[0246] If the authentication code currently obtained by the watch 10 is consistent with the pre-stored preset face data, or the similarity is greater than the preset standard, the unlocking is successful and the unlocking interface is displayed. The unlocking interface displayed by the watch 10 can refer to Figure 1 (D) and its related description.

[0247] In summary, through the device unlocking method provided by this application, the watch 10 that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the user's identity data. In this way, the watch 10 can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. Users do not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking. In addition, the smart screen 30 does not need to store user face data, saving storage space of the smart screen 30.

[0248] In order to solve the problem of low efficiency of users unlocking electronic devices, the present application provides a device unlocking device 1100, which can be applied to a first device, that is, an electronic device 100. Fig.11 As shown, the device unlocking apparatus 1100 includes a sending unit 1110 , an acquiring unit 1120 , a switching unit 1130 , a determining unit 1140 , and a display unit 1150 .

[0249] The sending unit 1110 is used for the first device to obtain the operation of the user selecting the target unlocking mode, and the first device sends an unlocking request corresponding to the target unlocking mode to the second device, and the unlocking request is used to enable the second device to obtain the user's identity data in a manner corresponding to the target unlocking mode. The acquisition unit 1120 is used for the first device to obtain authentication information corresponding to the identity data, and the first device matches the preset authentication information based on the authentication information. The switching unit 1130 is used to switch to the unlocked state based on the result of successful matching.

[0250] In some embodiments, the acquisition unit 1120 is further configured for the first device to acquire an authentication code generated by the second device according to the identity data as authentication information. The determination unit 1140 is configured for the first device to compare the authentication code with the preset authentication information. The switching unit 1130 is further configured for the first device to switch to an unlocked state based on the consistency between the authentication code and the preset authentication information.

[0251] In other embodiments, the determination unit 1140 is also used to maintain the current state of the first device based on the inconsistency between the authentication code and the preset authentication information pre-stored in the first device; or, the sending unit 1110 is also used to send an unlock request to the second device again based on the inconsistency between the authentication code and the preset authentication information pre-stored in the first device.

[0252] In other embodiments, the display unit 1150 is used for the first device to display a first unlock control, which corresponds to a target unlock method; the determination unit 1140 is also used for the first device to determine that an operation of selecting a target unlock method has been obtained based on the first device detecting a trigger operation on the first unlock control.

[0253] In other embodiments, the first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

[0254] In other embodiments, the identity data includes one or more of the user's facial data, iris data, fingerprint data, and voiceprint data.

[0255] Furthermore, through the device unlocking method provided by this application, the first device that does not have unlocking methods such as fingerprint unlocking and face recognition unlocking can also obtain the authentication information corresponding to the user's identity data, so that the first device can also use unlocking functions such as fingerprint unlocking and face recognition unlocking. Users do not need to use slower unlocking methods such as digital unlocking and image unlocking, which improves the efficiency of user unlocking.

[0256] In order to solve the problem of low efficiency of users unlocking electronic devices, the present application provides a device unlocking device 1200, which can be applied to a second device, that is, an electronic device 200. Fig.12 As shown, the device unlocking apparatus 1200 includes a receiving unit 1210 , an acquiring unit 1220 , a generating unit 1230 , and a sending unit 1240 .

[0257] The receiving unit 1210 is used for receiving an unlock request corresponding to a target unlock method sent by the first device based on the second device, and the acquiring unit 1220 is used for the second device to acquire the identity data of the user corresponding to the target unlock method, and the unlock request is determined based on the operation of the user selecting the target unlock method in the first device. The acquiring unit 1220 is also used for the second device to acquire the identity data of the user in a manner corresponding to the target unlock method; the generating unit 1230 is used for the second device to generate authentication information based on the identity data.

[0258] In some embodiments, the sending unit 1240 is used for the second device to send an authentication code corresponding to the unlock request to the first device.

[0259] In some other embodiments, the sending unit 1240 is further configured for the second device to send an authentication code corresponding to the unlocking request to the third device.

[0260] In other embodiments, the first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

[0261] In other embodiments, the identity data includes one or more of the user's facial data, iris data, fingerprint data, and voiceprint data.

[0262] The following first introduces the electronic device 1300 involved in the embodiments of the present application. The electronic device 1300 can be the aforementioned first device, second device and third device, or the electronic device 100, electronic device 200 and electronic device 300.

[0263] See also Fig.13 , Fig.13 A schematic structural diagram of an exemplary electronic device 1300 provided in an embodiment of the present application is shown.

[0264] The electronic device 1300 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a distance sensor 180B, a fingerprint sensor 180C, a touch sensor 180D, etc.

[0265] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. A memory can also be set in the processor 110 for storing instructions and data.

[0266] In some embodiments, the processor 110 may include one or more interfaces. It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 1300. In other embodiments of the present application, the electronic device 1300 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0267] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.

[0268] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.

[0269] The wireless communication function of the electronic device 1300 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0270] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 1300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.

[0271] The mobile communication module 150 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 1300. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.

[0272] The wireless communication module 160 can provide wireless communication solutions for application in the electronic device 1300, including UWB, wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0273] In some embodiments, antenna 1 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 1300 can communicate with the network through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0274] The electronic device 1300 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0275] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MINILED, a MICROLED, a MICRO-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 1300 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0276] In some embodiments of the present application, the interface content currently output by the system is displayed on the display screen 194. For example, the interface content is lock screen information, acquired face data, etc.

[0277] The electronic device 1300 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0278] The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.

[0279] In some embodiments of the present application, the camera 193 may specifically be a depth camera, which can be used to obtain the user's facial data.

[0280] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 1300 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0281] The video codec is used to compress or decompress digital video. The electronic device 1300 may support one or more video codecs. In this way, the electronic device 1300 may play or record videos in multiple coding formats.

[0282] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 1300 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0283] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1300. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0284] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 1300 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area.

[0285] The electronic device 1300 can implement audio functions such as music playing and recording through the audio module 170 and the application processor.

[0286] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0287] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. In some embodiments, the pressure sensor 180A can be set on the display screen 194. In some optional embodiments of the present application, the pressure sensor 180A can be used to capture the pressure value generated when the user's finger part contacts the display screen, and transmit the pressure value to the processor so that the processor can identify which finger part the user uses to input the user operation.

[0288] The distance sensor 180B is used to measure the distance. The electronic device 1300 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 1300 can use the distance sensor 180B to measure the distance to achieve fast focusing.

[0289] The fingerprint sensor 180C is used to collect fingerprints. The electronic device 1300 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0290] The touch sensor 180D is also called a "touch panel". The touch sensor 180D can be set on the display screen 194. The touch sensor 180D and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180D is used to detect touch operations acting on or near it. The touch operation refers to the operation of the user's hand, elbow, stylus, etc. contacting the display screen 194. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180D can also be set on the surface of the electronic device 1300, which is different from the position of the display screen 194.

[0291] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 1300 may receive key input and generate key signal input related to user settings and function control of the electronic device 1300.

[0292] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.

[0293] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0294] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 1300 by inserting the SIM card into or removing the SIM card from the SIM card interface 195 .

[0295] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 1300. In other embodiments of the present application, the electronic device 1300 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0296] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0297] A person skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: a read-only memory (ROM) or a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

Claims

1. A device unlocking method, characterized in that: Applied to a first device, the method includes: Based on the first device acquiring the operation of the user selecting a target unlocking mode, the first device sends an unlocking request corresponding to the target unlocking mode to the second device, wherein the unlocking request is used to enable the second device to acquire the identity data of the user in a mode corresponding to the target unlocking mode; The first device obtains authentication information corresponding to the identity data, and, The first device matches the authentication information with preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

2. The method according to claim 1, characterized in that: The first device obtains authentication information corresponding to the identity data, including: The first device obtains an authentication code generated by the second device according to the identity data as the authentication information; The first device matches the authentication information with preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result, including: The first device compares the authentication code with the preset authentication information; Based on the authentication code being consistent with the preset authentication information, the first device switches to an unlocked state.

3. The method according to claim 2, characterized in that: The method further comprises: Based on the inconsistency between the authentication code and the preset authentication information pre-stored in the first device, the first device maintains the current state; or, the first device sends an unlock request to the second device again.

4. The method according to claim 1, characterized in that: The first device acquires an operation of a user selecting a target unlocking method, including: The first device displays a first unlocking control, where the first unlocking control corresponds to the target unlocking method; Based on the first device detecting a triggering operation on the first unlocking control, the first device determines that the operation of selecting the target unlocking mode is acquired.

5. The method according to claim 1, characterized in that: The first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

6. The method according to claim 1, characterized in that: The identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

7. A device unlocking method, characterized in that: Applied to the second device, the method includes: Based on the second device receiving the unlock request corresponding to the target unlock mode sent by the first device, the second device acquires the identity data of the user corresponding to the target unlock mode, wherein the unlock request is determined based on the operation of the user selecting the target unlock mode in the first device; The second device obtains the identity data of the user in a manner corresponding to the target unlocking manner; Based on the identity data, the second device generates authentication information.

8. The method according to claim 7, characterized in that: The authentication information is an authentication code, and the method further includes: The second device sends an authentication code corresponding to the unlock request to the first device.

9. The method according to claim 7, characterized in that: The authentication information is an authentication code, and the method further includes: The second device sends an authentication code corresponding to the unlock request to a third device.

10. The method according to claim 7, characterized in that: The first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

11. The method according to claim 7, characterized in that: The identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

12. A device unlocking method, characterized in that: Applied to a first device and a second device, the method includes: Based on the first device acquiring the operation of the user selecting the target unlocking mode, the first device sends an unlocking request to the second device, wherein the unlocking request is used to enable the second device to acquire the identity data of the user in a manner corresponding to the target unlocking mode; The second device obtains the identity data in a manner corresponding to the target unlocking manner, The second device generates authentication information according to the identity data; the second device sends the authentication information to the first device; The first device matches the authentication information with preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

13. The method according to claim 12, characterized in that: The method further comprises: Based on the result of the matching failure, the first device maintains the current state, or the first device sends an unlock request to the second device again.

14. The method according to claim 12, characterized in that: The first device acquires an operation of a user selecting a target unlocking method, including: The first device displays a first unlocking control, where the first unlocking control corresponds to the target unlocking method; Based on the first device detecting a triggering operation on the first unlocking control, the first device determines that the operation of selecting the target unlocking mode is acquired.

15. The method according to claim 13, characterized in that: The first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

16. The method according to claim 13, characterized in that: The identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

17. A method for unlocking a device, characterized in that: Applied to a first device, the method includes: Based on the first device acquiring the operation of the user selecting a target unlocking mode, the first device sends an unlocking request corresponding to the target unlocking mode to the second device, wherein the unlocking request is used to enable the second device to acquire the identity data of the user in a mode corresponding to the target unlocking mode; The first device obtains authentication information corresponding to the identity data from a third device, wherein the authentication information is generated by the third device based on the identity data generated by the second device, and The first device switches to an unlocked state based on the authentication information.

18. The method according to claim 17, characterized in that: The first device switches to an unlocked state based on the authentication information, comprising: The first device matches the authentication information with preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

19. The method according to claim 18, characterized in that: The method further comprises: Based on the result of the matching failure, the first device maintains the current state, or the first device sends an unlock request to the second device again.

20. The method according to claim 17, characterized in that: The first device acquires an operation of a user selecting a target unlocking method, including: The first device displays a first unlocking control, where the first unlocking control corresponds to the target unlocking method; Based on the first device detecting a triggering operation on the first unlocking control, the first device determines that the operation of selecting the target unlocking mode is acquired.

21. The method according to claim 17, characterized in that: The first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

22. The method according to claim 17, characterized in that: The identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

23. A device unlocking method, characterized in that: Applied to the first device, the second device and the third device, the method includes: Based on the first device acquiring the operation of the user selecting the target unlocking mode, the first device sends an unlocking request to the second device, wherein the unlocking request is used to enable the second device to acquire the identity data of the user in a manner corresponding to the target unlocking mode; The second device obtains the identity data of the user in a manner corresponding to the target unlocking manner; The second device generates an authentication code according to the identity data; The second device sends the authentication code to the third device; The third device sends authentication information to the first device based on the authentication code and a pre-stored preset authentication code; The first device switches to an unlocked state based on the authentication information.

24. The method according to claim 23, characterized in that: The first device switches to an unlocked state based on the authentication information, including: The first device matches the authentication information with preset authentication information based on the authentication information, and switches to an unlocked state based on a successful matching result.

25. The method according to claim 24, characterized in that: The method further comprises: Based on the result of the matching failure, the first device maintains the current state, or the first device sends an unlock request to the second device again.

26. The method according to claim 23, characterized in that: The first device acquires an operation of a user selecting a target unlocking method, including: The first device displays a first unlocking control, where the first unlocking control corresponds to the target unlocking method; Based on the first device detecting a triggering operation on the first unlocking control, the first device determines that the operation of selecting the target unlocking mode is acquired.

27. The method according to claim 23, characterized in that: The first device and the second device log in to the same device account, or the accounts logged in to the first device and the second device are associated.

28. The method according to claim 23, characterized in that: The identity data includes one or more of the user's face data, iris data, fingerprint data, and voiceprint data.

29. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions. When the processor executes the instructions, the method according to any one of claims 1 to 11 or claims 17 to 22 is executed.

30. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 11 or claims 17 to 22.

Citation Information

Patent Citations

  • Unlocking method, apparatus and device

    CN106709293A

  • Equipment unlocking method and device, equipment and storage medium

    CN111966991A

  • Intelligent electronic lock unlocking method, electronic equipment and storage medium

    CN113392719A

  • Fingerprint verification method, electronic device, and server

    WO2022088867A1