An electronic device unlocking method, device and electronic device
By introducing distance and attitude judgment into the electronic device, and automatically initiated unlocking requests, the problem of cumbersome unlocking operations of electronic devices is solved, and the user experience and unlocking accuracy are improved.
Patent Information
- Application Number
- CN202010681305.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-15
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2040-07-15
AI Technical Summary
In the prior art, the unlocking operation of electronic devices is cumbersome, reducing the user experience.
By determining the distance between the portable device and the target device and the user's hand posture and the target device's posture, an unlock request is automatically initiated, and the target device is automatically unlocked when the condition is met.
It simplifies the use process of the device, improves the user experience, and enhances the accuracy of unlock judgment through multiple judgments, avoiding the situation of accidentally triggering unlocking.
Smart Images

Figure CN113946202B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent terminals, and in particular to an electronic device unlocking method, device and electronic device. Background Art
[0002] In the current technical environment, in order to ensure the safety of electronic devices and prevent illegal users from using electronic devices, electronic devices are usually equipped with a device lock function. Electronic devices can only be used normally when they are in an unlocked state. After an electronic device is locked, it can only be unlocked and enter the unlocked state when the correct unlocking operation is performed to prove that the current user is a legitimate user.
[0003] Generally, in actual application scenarios, in order to prevent the unlocking operation from being cracked, the unlocking operation is usually combined with user identity authentication. The user performs identity authentication during the unlocking process, and the device is unlocked when the identity authentication is successful. For example, the user's identity is verified by password input, gesture input, fingerprint recognition, or facial recognition, and the device is unlocked when the identity authentication is successful. However, this requires the user to perform a series of identity authentication operations every time they unlock the electronic device, which greatly increases the cumbersomeness of device operation and reduces the user experience. Summary of the invention
[0004] In view of the problem that the unlocking operation of an electronic device in the prior art increases the complexity of device operation and reduces user experience, the present application provides an electronic device unlocking method, device and electronic device, and the present application also provides a computer-readable storage medium.
[0005] The present application embodiment adopts the following technical solutions:
[0006] In a first aspect, the present application provides a method for unlocking an electronic device, comprising:
[0007] Determine the distance between the portable device and the target device, wherein the portable device is a device that the user is wearing / carrying;
[0008] determining a hand pose of the user and / or a posture of the target device;
[0009] When the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, and the distance between the portable device and the target device is less than or equal to a preset distance threshold, an unlock request is initiated for the target device, wherein the unlock request is used to request to unlock the target device so that the target device enters an unlocked state.
[0010] In a feasible implementation manner of the first aspect above, the unlocking request is initiated for the target device, wherein the unlocking request is initiated by the portable device to the target device.
[0011] In a feasible implementation of the first aspect above:
[0012] When the hand posture of the user is the usage posture of the target device, determining that the hand posture of the user meets the usage requirement;
[0013] and / or,
[0014] When the posture of the target device is a working posture, it is determined that the posture of the target device meets the use requirement.
[0015] In a feasible implementation of the first aspect above, the portable device is an electronic device that the user wears / carries continuously for more than a preset time period, and / or the portable device is an electronic device that the user has correctly unlocked while wearing / carrying.
[0016] In a feasible implementation of the first aspect above:
[0017] The login account of the target device is the account held by the user;
[0018] and / or,
[0019] The target device is a device that the user has permission to use.
[0020] In a feasible implementation manner of the first aspect above, after initiating an unlock request for the target device, the method further includes:
[0021] After the target device receives the unlock request, determining whether the user has ever unlocked the target device or the account-associated device of the target device during the current wearing / carrying of the portable device, wherein the login account of the account-associated device of the target device and the login account of the target device are both accounts held by the user;
[0022] When the user has unlocked the target device or a device associated with the account of the target device during the current wearing / carrying of the portable device, the target device is unlocked.
[0023] In a feasible implementation manner of the first aspect above, the method further includes:
[0024] After the target device receives the unlock request, if the user has never unlocked the target device or the account-associated device of the target device during the current wearing / carrying of the portable device, the user is requested to unlock the target device.
[0025] In a feasible implementation of the first aspect above:
[0026] During the period when the user wears / carries the portable device, after the portable device initiates the unlock request to the target device, when the target device is unlocked, it is determined that the user has unlocked the target device.
[0027] In a feasible implementation of the first aspect above:
[0028] During the period when the user wears / carries the portable device, when the target device is unlocked, when the user's action matches the application task of unlocking the target device, it is determined that the user has unlocked the target device;
[0029] and / or,
[0030] During the period when the user wears / carries the portable device, after the target device is unlocked, when the user's action matches the application task executed after the target device is unlocked, it is determined that the user has unlocked the target device.
[0031] In a feasible implementation manner of the first aspect above, the method further includes:
[0032] After the target device enters the unlocked state, when the user's hand posture and / or the posture of the target device continue to meet the usage requirements, and the distance between the portable device and the target device is maintained at less than or equal to a preset distance threshold, the unlocked state of the target device is maintained.
[0033] In a second aspect, the present application provides an electronic device unlocking device, comprising:
[0034] A distance acquisition module, which is used to determine the distance between a portable device and a target device, wherein the portable device is a device that a user is wearing / carrying;
[0035] A posture acquisition module, which is used to determine the hand posture of the user and / or the posture of the target device;
[0036] An unlock request initiating module, which is used to initiate an unlock request for the target device when the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, and the distance between the portable device and the target device is less than or equal to a preset distance threshold, wherein the unlock request is used to request to unlock the target device so that the target device enters an unlocked state.
[0037] In a third aspect, the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps described in the embodiments of the present application.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method of the embodiment of the present application.
[0039] According to the above technical solution proposed in the embodiment of the present application, at least the following technical effects can be achieved:
[0040] According to the method of an embodiment of the present application, when the current application scenario meets the unlocking conditions, an unlocking request can be initiated to the target device to unlock the target device without the user having to perform tedious unlocking operations, thereby greatly simplifying the device usage process and improving the user experience; further, according to the method of an embodiment of the present application, when making an unlocking judgment, not only distance judgment is introduced, but also user hand posture and / or target device posture judgment is introduced, which greatly enhances the accuracy of the unlocking judgment and avoids the occurrence of false triggering of the unlocking. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 Shown is a flow chart of a method for unlocking an electronic device according to an embodiment of the present application;
[0042] Figure 2 Shown is a schematic diagram of a user holding a mobile phone;
[0043] Figure 3 Shown are schematic diagrams of users holding different electronic devices;
[0044] Figure 4 Shown is a flow chart of a method for unlocking an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0046] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0047] In view of the problem that the unlocking operation of electronic devices under the prior art will increase the complexity of device operation and reduce user experience, this application proposes an electronic device unlocking method. In actual application scenarios, one of the direct means to avoid the electronic device unlocking operation increasing the complexity of device operation is to use automatic unlocking. When the user can unlock the electronic device without manual operation, the unlocking operation of the electronic device will not increase the complexity of device operation. Specifically, in a feasible application scheme, the user wears a specific portable device (for example, an electronic bracelet or a smart watch), and when the target electronic device detects that the distance between the portable device and the target device is less than a preset distance, the target device is automatically unlocked.
[0048] Although the above scheme can realize automatic unlocking of electronic devices, it is possible that the lock is misunderstood. For example, when the user does not need to unlock the target device, if the portable device worn by the user is too close to the target device, the target device will be automatically unlocked without the user's knowledge, which allows illegal users to use the target device; for another example, when the user unlocks a target device, since there are one or more account-associated devices of the target device near the target device, when the target device is automatically unlocked, one or more account-associated devices of the target device near it may also be automatically unlocked.
[0049] In response to the above problems, in one embodiment of the present application, when determining whether automatic unlocking is required, the judgment is not only based on the distance between the portable device and the target device, but the user's hand posture judgment is further introduced. In actual application scenarios, for a specific electronic device, the user's hand posture is usually fixed when using the electronic device, that is, the hand posture must meet the requirements of the electronic device. Therefore, in one embodiment of the present application, it is determined whether the distance between the portable device worn by the user and the target device is less than or equal to a preset spacing threshold, and it is determined whether the user's hand posture meets the user's use requirements when using the target device; when the distance between the portable device worn by the user and the target device is less than or equal to the preset spacing threshold, and the user's hand posture meets the user's use requirements when using the target device, the electronic device is automatically unlocked.
[0050] Furthermore, considering that in some application scenarios, the user's hand posture is relatively free when using an electronic device. For example, when a user uses a laptop, he can type with both hands, or type with one hand and hold the mouse with the other hand, or hold the mouse with one hand and perform any other operation with the other hand. At this time, when the user's hand posture meets the user's use requirements when using the target device, it cannot be determined that the user wants to use the target device; and when there are multiple devices, it is impossible to determine which electronic device the user is currently using based solely on the user's hand posture. In response to the above problems, in one embodiment of the present application, when determining whether automatic unlocking is required, the posture judgment of the electronic device is further introduced. In actual application scenarios, for a specific electronic device, when the user uses the electronic device, the posture of the electronic device is usually fixed, that is, the posture of the electronic device meets the user's use requirements when using the target device. Therefore, in one embodiment of the present application, it is determined whether the distance between the portable device worn by the user and the target device is less than or equal to a preset distance threshold, and whether the user's hand posture meets the user's usage requirements when using the target device, and whether the posture of the target device meets the user's usage requirements when using the target device; when the distance between the portable device worn by the user and the target device is less than or equal to the preset distance threshold, and the user's hand posture meets the user's usage requirements when using the target device, and the posture of the target device meets the user's usage requirements when using the target device, the electronic device is automatically unlocked.
[0051] Furthermore, in an embodiment of the present application, the posture judgment of the electronic device can also be performed alone without judging the user's hand posture. Specifically, in an embodiment of the present application, it is judged whether the distance between the portable device worn by the user and the target device is less than or equal to a preset distance threshold, and it is judged whether the posture of the target device meets the user's use requirements when using the target device; when the distance between the portable device worn by the user and the target device is less than or equal to the preset distance threshold, and the posture of the target device meets the user's use requirements when using the target device, the electronic device is automatically unlocked.
[0052] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0053] Figure 1 The flowchart of the electronic device unlocking method according to an embodiment of the present application is shown. Figure 1 As shown, the following steps are performed during the unlocking process of the electronic device:
[0054] Step 110, determining the distance between the portable device and the target device, wherein the portable device is a device that the user is wearing / carrying (for example, an electronic bracelet, a smart watch);
[0055] Step 111, determining whether the distance between the portable device and the target device is less than or equal to a preset distance threshold;
[0056] When the distance between the portable device and the target device is greater than the preset distance threshold, return to step 110;
[0057] When the distance between the portable device and the target device is less than or equal to the preset distance threshold, executing step 120;
[0058] Step 120, determining the user's hand posture and / or the posture of the target device;
[0059] Step 121, determining whether the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device;
[0060] When the user's hand posture and / or the posture of the target device do not meet the user's usage requirements when using the target device, return to step 110;
[0061] When the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, execute step 130;
[0062] Step 130 : Initiate an unlock request for the target device, wherein the unlock request is used to request to unlock the target device so that the target device enters an unlocked state.
[0063] According to the method of an embodiment of the present application, when the current application scenario meets the unlocking conditions, an unlocking request can be initiated to the target device to unlock the target device without the user having to perform tedious unlocking operations, thereby greatly simplifying the device usage process and improving the user experience; further, according to the method of an embodiment of the present application, when making an unlocking judgment, not only distance judgment is introduced, but also user hand posture and / or target device posture judgment is introduced, which greatly enhances the accuracy of the unlocking judgment and avoids the occurrence of false triggering of the unlocking.
[0064] Furthermore, in one embodiment of the present application, the unlock judgment operation (steps 110 to 121) is performed by the target device. When the target device determines that the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, and the distance between the portable device and the target device is less than or equal to a preset distance threshold, the target device initiates an unlock request for itself (step 130 is executed by the target device).
[0065] Furthermore, considering the application scenario of multiple target devices, each target device performing an unlock judgment operation will occupy a large amount of data processing resources. Therefore, in one embodiment of the present application, the unlock judgment operation (steps 110 to 121) is performed by a portable device. When the portable device determines that the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, and the distance between the portable device and the target device is less than or equal to a preset spacing threshold, the portable device initiates an unlock request for the target device to the target device (the portable device executes step 130).
[0066] In one embodiment of the present application, the user's portable device may be a wearable device of the user, such as an electronic bracelet, a smart watch, a smart ring, a smart headset, a smart necklace, etc.; the user's portable device may also be an electronic device carried by the user, such as a mobile phone.
[0067] Furthermore, in an embodiment of the present application, the unlock determination operation (steps 110 to 121 ) and the unlock request initiation operation (step 130 ) are completed collaboratively by multiple portable devices of the user.
[0068] Further, in an implementation of step 110, the distance between the portable device and the target device can be detected by Bluetooth / radar. In an implementation of step 120, the portable device can detect the user's hand gesture by electromyography / infrared.
[0069] Furthermore, in order to improve the security of automatic unlocking, in one embodiment of the present application, for the portable device involved in the automatic unlocking determination, the user wearing / carrying the portable device must be the legal owner of the portable device. Specifically, in one embodiment of the present application, the portable device involved in the automatic unlocking determination is an electronic device that the user has worn / carried for a period of time exceeding a preset time, and / or the portable device involved in the automatic unlocking determination is an electronic device that the user has correctly unlocked while wearing / carrying.
[0070] For example, in an application scenario, if a user wears a wristband for more than 3 hours, it can be said that the user is the owner of the wristband, and the wristband can participate in the automatic unlocking judgment. For another example, in an application scenario, after the user wears the wristband, he has unlocked the wristband correctly, which can be said that the user is the owner of the wristband, and the wristband can participate in the automatic unlocking judgment.
[0071] Furthermore, in actual application scenarios, for a specific electronic device and a user's hand posture, the user's requirement for using the electronic device is usually: the user's hand posture needs to be the posture for using the electronic device. For example, when a user is using a mobile phone, the hand posture is usually a holding posture, and the direction of the palm is usually biased towards the user's face. Therefore, in one implementation of step 121, when the user's hand posture is the posture for using the target device, it is determined that the user's hand posture meets the user's usage requirements for using the target device.
[0072] Furthermore, in actual application scenarios, for a specific electronic device and the posture of the electronic device, the user's requirements for using the electronic device are usually: the posture of the electronic device needs to be the posture when it is working (working posture). For example, when a user is using a mobile phone, the posture of the mobile phone is usually such that the screen is usually facing the user's face; for another example, when a user is using a laptop, the posture of the laptop is usually in an open state and the screen is facing the user's face. Therefore, in one implementation of step 121, when the posture of the target device is the working posture, it is determined that the posture of the target device meets the user's usage requirements for using the target device.
[0073] Further, in an embodiment of the present application, when the user's hand posture and / or the posture of the target device meet the user's use requirements for using the target device, and the target device is used by the user, the distance between the user's portable device and the target device is recorded. A preset distance threshold for unlocking determination is determined based on the recorded distance.
[0074] Figure 2 FIG. 1 is a schematic diagram of a user holding a mobile phone. In one embodiment of the present application, Figure 2As shown, the user wears the bracelet 200 and holds the mobile phone 201. At this time, the distance between the user's bracelet 200 and the mobile phone 201 is the distance S from the user's wrist to the palm. Then, when the user wears the bracelet 200, the hand posture is holding, the screen of the mobile phone 201 and the palm of the user are facing the user's face, and the distance between the bracelet 200 and the mobile phone 201 is the distance S from the user's wrist to the palm, the bracelet 200 can initiate an unlock request to the mobile phone 201, and the mobile phone 201 can be automatically unlocked.
[0075] Furthermore, when the user wears the wristband 200, the hand posture is holding, the screen of the mobile phone 201 and the palm of the user are facing the user's face, and the mobile phone is being used by the user, the distance between the wristband 200 and the mobile phone 201 is recorded. After multiple recordings, the distance S from the user's wrist to the palm of the hand can be determined according to the recorded distances.
[0076] Furthermore, when the same user uses different types of electronic devices, the hand posture and the distance between the hand and the electronic device are different, and the posture of the electronic device when different types of electronic devices are used is also different. Figure 3 FIG. 1 is a schematic diagram showing a user holding different electronic devices. In one embodiment of the present application, Figure 3 As shown, the hand posture of the user wearing the bracelet 300 and using the mobile phone 301 is shown as 310, wherein the distance between the mobile phone 301 and the bracelet 300 is S1; the hand posture of the user wearing the bracelet 300 and using the tablet computer 302 is shown as 320, wherein the distance between the tablet computer 302 and the bracelet 300 is S2; the hand posture of the user wearing the bracelet 300 and using the tablet computer 303 is shown as 330, wherein the distance between the tablet computer 303 and the bracelet 300 is S3; the hand posture of the user wearing the bracelet 300 and using the laptop computer 304 is shown as 340, wherein the distance between the tablet computer 304 and the bracelet 300 is S4.
[0077] Therefore, in one embodiment of the present application, the hand posture of the user when using different types of devices, the distance between the hand and the electronic device, and the posture of the electronic device are associated, so as to set the use posture of the target device, the working posture of the target device, and the preset distance threshold that are mutually associated.
[0078] Holding the mobile phone 201, the distance between the user's wristband 200 and the mobile phone 201 is the distance S from the user's wrist to the palm. Then, when the user wears the wristband 200, the hand posture is holding, the screen of the mobile phone 201 and the palm of the user are facing the user's face, and the distance between the wristband 200 and the mobile phone 201 is the distance S from the user's wrist to the palm, the wristband 200 can initiate an unlock request to the mobile phone 201, and the mobile phone 201 can be automatically unlocked.
[0079] Furthermore, in order to enhance the security of automatic unlocking, in one embodiment of the present application, the login account of the target device is an account held by the user wearing / carrying the portable device, and / or the target device is a device for which the user wearing / carrying the portable device has permission to use. For example, the login account of the portable device involved in the unlocking determination is the same as the login account of the target device, or the login account of the portable device involved in the unlocking determination is the same as the login account of the target device. For example, an application scenario in which a user wears a bracelet and uses his own mobile phone. Another example is an application scenario in which a user wears a bracelet and uses a public computer.
[0080] Specifically, in one embodiment of the present application, before step 110, it is determined whether the login account of the portable device and the target device belongs to the user wearing / carrying the portable device. If the login account of the portable device and the target device belongs to the user wearing / carrying the portable device, step 110 and subsequent steps are executed. If the login account of the portable device or the target device does not belong to the user wearing / carrying the portable device, no subsequent unlocking judgment is performed.
[0081] Specifically, in one embodiment of the present application, before step 110, it is determined whether the user wearing / carrying the portable device has the permission to use the target device. If the user wearing / carrying the portable device has the permission to use the target device, step 110 and subsequent steps are executed. If the user wearing / carrying the portable device does not have the permission to use the target device, no subsequent unlocking judgment is performed.
[0082] Furthermore, in an embodiment of the present application, after step 130, when the target device receives an unlock request for itself, the target device is directly unlocked and enters an unlocked state.
[0083] Furthermore, in another embodiment of the present application, in order to increase the security of automatic unlocking, after step 130, when the target device receives an unlock request for itself, the target device needs to further determine whether it can respond to the unlock request.
[0084] Specifically, in actual application scenarios, if the user has unlocked the target device before, then the user is the legitimate user of the target device. For this user, automatically unlocking the target device will not reduce the security of the device. For a portable device, if it is not put down after being worn / carried, the user wearing / carrying the portable device is always the same user. Therefore, if the user wearing / carrying the portable device has unlocked the target device before, then during the period when the portable device is worn / carried this time, the user wearing / carrying the portable device is the legitimate user of the target device. For this user, automatically unlocking the target device will not reduce the security of the device.
[0085] Therefore, in one embodiment of the present application, when an unlock request is initiated to a target device, the target device will respond to the unlock request only if the target device has been unlocked by the user during the current wearing / carrying of the portable device. This ensures that after the target device is automatically unlocked, the user using the target device is a legitimate user who has the unlocking authority.
[0086] Furthermore, in actual application scenarios, if the user account logged in on target device A belongs to a certain user, then the user can legally unlock target device A; at the same time, if the user account logged in on target device B also belongs to the user, then the user can also legally unlock target device B. Multiple devices whose login accounts belong to the same user are defined as account-associated devices. If the user wearing / carrying the portable device has ever unlocked the account-associated device of the target device, then during the period when the portable device is worn / carried this time, the user wearing / carrying the portable device is the legal user of the target device. For this user, automatic unlocking of the target device will not reduce the security of device use.
[0087] Therefore, in an embodiment of the present application, after step 130, the method further includes:
[0088] After the target device receives the unlock request, it is determined whether the user has ever unlocked the target device or the target device's account-associated device during the current wearing / carrying of the portable device, wherein the target device's account-associated device login account and the target device's login account belong to the same user;
[0089] When the user has unlocked the target device or a device associated with the target device's account during the current wearing / carrying of the portable device, the target device is unlocked.
[0090] Furthermore, in an embodiment of the present application, after step 130, the method further includes:
[0091] After the target device receives the unlock request, if the user has not unlocked the target device or the account-associated device of the target device during the current wearing / carrying of the portable device, the user is requested to unlock the target device. For example, a password / fingerprint / face unlock interface is displayed to the user.
[0092] Figure 4 The flowchart of the electronic device unlocking method according to an embodiment of the present application is shown. Figure 4 As shown, user M wears portable device A and performs the following steps during the unlocking process of target device B:
[0093] Step 400, determining whether the login account of the portable device A and the target device B belongs to the same user M;
[0094] When the login account of the portable device A and the target device B does not belong to the user M, return to step 400;
[0095] When the login account of the portable device A and the target device B belongs to the same user M, execute step 410;
[0096] Step 410, determining the distance between the portable device A and the target device B;
[0097] Step 411, determining whether the distance between the portable device A and the target device B is less than or equal to a preset distance threshold;
[0098] When the distance between the portable device A and the target device B is greater than the preset distance threshold, return to step 410;
[0099] When the distance between the portable device A and the target device B is less than or equal to the preset distance threshold, step 420 is executed;
[0100] Step 420, determining the hand posture of the user M and / or the posture of the target device B;
[0101] Step 421, determining whether the hand posture of the user M and / or the posture of the target device B meets the usage requirement of the user M when using the target device B;
[0102] When the hand posture of the user M and / or the posture of the target device B do not meet the usage requirements of the user M when using the target device B, return to step 410;
[0103] When the hand posture of the user M and / or the posture of the target device B meets the usage requirements of the user M when using the target device B, execute step 430;
[0104] Step 430: portable device A initiates an unlock request to target device B;
[0105] Step 440, determining whether the target device B or the account-associated device of the target device with the same login account as the target device B has been unlocked by the user M during the period when the user M wears / carries the portable device A this time;
[0106] When the target device B or the account-associated device of the target device with the same login account as the target device B has been unlocked by the user M during the period when the user M wears / carries the portable device A, step 441 is executed;
[0107] Step 441, unlocking the target device B;
[0108] When the target device B or the account-associated device of the target device with the same login account as the target device B has not been unlocked by the user M during the period when the user M wears / carries the portable device A, step 450 is executed;
[0109] Step 450 : The target device B displays an unlocking interface and requests the user M to unlock the target device B.
[0110] Take a specific application scenario as an example. In one application scenario, user M wears bracelet A and picks up mobile phone B. At this time, mobile phone B meets the requirements for automatic unlocking, and bracelet A initiates an unlocking request to mobile phone B. However, since user M has not unlocked mobile phone B or other devices logged in with the same user account as mobile phone B during the period of wearing bracelet A, mobile phone B does not respond to the unlocking request and does not automatically unlock. Mobile phone B displays the unlocking interface to user M. User M unlocks mobile phone B.
[0111] After user M uses mobile phone B for a while, user M puts down mobile phone B and performs other activities. At this time, the screen of mobile phone B automatically goes black and locks. After mobile phone B automatically goes black and locks, user M picks up mobile phone B again. At this time, the mobile phone meets the requirements for automatic unlocking. Bracelet A initiates an unlocking request to mobile phone B. Mobile phone B responds to the unlocking request and automatically unlocks.
[0112] When user M puts down mobile phone B and picks up tablet computer C logged in with the same user account as mobile phone B, tablet computer C meets the requirements for automatic unlocking. Bracelet A initiates an unlocking request to tablet computer C, and tablet computer C responds to the unlocking request and automatically unlocks.
[0113] Furthermore, in actual application scenarios, the user wearing / carrying the portable device may not be the same as the user who unlocks the target device. This means that the fact that the target device has been unlocked during the current wearing / carrying of the portable device does not mean that the user wearing / carrying the portable device has unlocked the target device.
[0114] Therefore, in order to enhance the security of automatic unlocking, when determining whether the target device or the account-associated device of the target device has been unlocked, the unlocking operation involved in the determination must be performed by the user of the portable device currently worn / carried.
[0115] Specifically, in one embodiment of the present application, it is determined whether the user has unlocked the target device through the interaction between the user, the portable device and the target device / the device associated with the target device's account. For example, in an actual application scenario, when the portable device initiates an unlock request to the target device, the target device does not respond to the unlock request, but initiates an unlock request to the user. If the target device is unlocked at this time, it can be determined that the user who performs the unlock operation is the user who is currently wearing / carrying the portable device that initiated the unlock request.
[0116] Therefore, in one embodiment of the present application, while the user is wearing / carrying the portable device, after the portable device initiates an unlock request to the target device, when the target device does not respond to the unlock request but requests the user to unlock it, and the target device is unlocked after the target device requests the user to unlock it, it is determined that the user wearing / carrying the portable device has unlocked the target device. Specifically, in one embodiment of the present application, while the user is wearing / carrying the portable device, after the portable device initiates an unlock request to the target device, when the target device is unlocked, it is determined that the user has unlocked the target device. For example, in one application scenario, after step 450 is executed, if the target device B is unlocked, it can be determined that user M has unlocked the target device B.
[0117] Specifically, in one embodiment of the present application, whether the user has unlocked the target device is determined by whether the user's action is an unlocking operation. Specifically, when the user is wearing / carrying the portable device and the target device is unlocked, when the user's action matches the application task of unlocking the target device, it is determined that the user has unlocked the target device.
[0118] For example, when a user is wearing / carrying a portable device and the target device is unlocked by a password, when the user's finger movement matches the application task of the password unlocking the target device, it is determined that the user has unlocked the target device.
[0119] For another example, when a user is wearing / carrying a portable device and the target device is unlocked by a fingerprint, when the user's finger movement matches the application task of fingerprint unlocking the target device, it is determined that the user has unlocked the target device.
[0120] For another example: while a user is wearing / carrying a portable device, when the target device is unlocked by facial recognition, when the user's facial position / motion matches the application task of facial recognition unlocking the target device, it is determined that the user has unlocked the target device.
[0121] Specifically, in one embodiment of the present application, it is determined whether the unlocking operation is performed by the user by determining whether the user is using the target device after the target device is unlocked. Specifically, when the user is wearing / carrying the portable device and the target device is unlocked, when the user's action matches the application task executed after the target device is unlocked, it is determined that the user has unlocked the target device.
[0122] Furthermore, in order to simplify the user's operation process and improve the user experience, in one embodiment of the present application, after the target device enters the unlocked state, when the user's hand posture and / or the posture of the target device continue to meet the use requirements, and the distance between the portable device and the target device is maintained at or less than a preset distance threshold, the unlocked state of the target device is maintained. For example, after the user holds the mobile phone and the mobile phone is unlocked, as long as the user maintains the posture of using the mobile phone (holding the mobile phone and the mobile phone screen is facing the user's face), the mobile phone will no longer enter the black screen / locked screen state.
[0123] It is to be understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0124] Furthermore, based on the electronic device unlocking method proposed in one embodiment of the present application, one embodiment of the present application also proposes an electronic device unlocking device. In one embodiment of the present application, the electronic device unlocking device includes:
[0125] A distance acquisition module, which is used to determine the distance between a portable device and a target device, wherein the portable device is a device that a user is wearing / carrying;
[0126] A gesture acquisition module, which is used to determine the user's hand gesture and / or the gesture of the target device;
[0127] An unlock request initiation module is used to initiate an unlock request for the target device when the user's hand posture and / or the posture of the target device meet the user's usage requirements when using the target device, and the distance between the portable device and the target device is less than or equal to a preset distance threshold, wherein the unlock request is used to request to unlock the target device so that the target device enters an unlocked state.
[0128] Furthermore, in the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the access party programming the device. Designers can "integrate" a digital device on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0129] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0130] In the description of the embodiments of the present application, for the convenience of description, the device is described by being divided into various modules / units according to their functions. The division of each module / unit is merely a division of logical functions. When implementing the embodiments of the present application, the functions of each module / unit can be implemented in the same or one or more software and / or hardware.
[0131] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.
[0132] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0133] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0135] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0136] An embodiment of the present application further proposes an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps described in the embodiment of the present application.
[0137] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.
[0138] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.
[0139] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0140] Specifically, in one embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.
[0141] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.
[0142] Furthermore, the devices, apparatuses or modules described in the embodiments of the present application may be implemented by a computer chip or entity, or by a product having a certain function.
[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0144] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0145] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the embodiment of the present application.
[0146] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.
[0147] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0150] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0151] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0152] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0153] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An electronic device unlocking method, characterized in that, it includes: Determine whether the portable device can participate in the unlocking determination, where the portable device is a device that the user is wearing / carrying. When the portable device is an electronic device that the user has continuously worn / carried for a duration exceeding a preset duration, and / or when the portable device is an electronic device that the user has correctly unlocked during the wearing / carrying process, the portable device can participate in the unlocking determination; When the portable device can participate in the unlocking determination, determine the distance between the portable device and the target device; When the distance between the portable device and the target device is less than or equal to a preset spacing threshold, determine the user's hand gesture and the posture of the target device; When the user's hand gesture and the posture of the target device meet the usage requirements when the user uses the target device, initiate an unlocking request for the target device, where: The unlocking request is used to request unlocking of the target device so that the target device enters an unlocked state; After the target device receives the unlocking request, determine whether the user has ever unlocked the target device or the account-associated device of the target device during the current wearing / carrying period of the portable device. When the user has ever unlocked the target device or the account-associated device of the target device during the current wearing / carrying period of the portable device, unlock the target device.
2. The method according to claim 1, characterized in that, For the step of initiating an unlocking request for the target device, an unlocking request is initiated from the portable device to the target device.
3. The method according to claim 1 or 2, characterized in that: When the user's hand gesture is the usage gesture of the target device, it is determined that the user's hand gesture meets the usage requirements; and / or, When the posture of the target device is the working posture, it is determined that the posture of the target device meets the usage requirements.
4. The method according to any one of claims 1 to 3, characterized in that: The login account of the target device is an account held by the user; and / or, The target device is a device for which the user has usage rights.
5. The method according to any one of claims 1 to 4, characterized in that, The login accounts of the account-associated devices of the target device and the target device are both accounts held by the user.
6. The method according to claim 1, characterized in that, The method further includes: After the target device receives the unlocking request, when the user has not unlocked the target device or the account-associated device of the target device during the current wearing / carrying period of the portable device, request the user to unlock the target device.
7. The method according to claim 6, characterized in that: During the period when the user wears / carries the portable device, after the portable device initiates the unlocking request to the target device and the target device is unlocked, it is determined that the user has unlocked the target device.
8. The method according to claim 1, It is characterized in that: During the period when the user wears / carries the portable device, when the target device is unlocked and the user's action matches the application task for unlocking the target device, it is determined that the user has unlocked the target device. And / or During the period when the user wears / carries the portable device, after the target device is unlocked, when the user's action matches the application task executed after the target device is unlocked, it is determined that the user has unlocked the target device.
9. The method according to any one of claims 1 to 8, It is characterized in that The method further includes: After the target device enters the unlocked state, when the user's hand gesture and / or the posture of the target device continuously meet the usage requirements, and the distance between the portable device and the target device remains less than or equal to a preset distance threshold, the unlocked state of the target device is maintained.
10. An electronic device unlocking device, It is characterized in that It includes: A distance acquisition module, which is used to determine whether the portable device can participate in the unlocking determination. In the case where the portable device can participate in the unlocking determination, it determines the distance between the portable device and the target device. Wherein, the portable device is a device that the user is currently wearing / carrying. When the portable device is an electronic device that the user has continuously worn / carried for a duration exceeding a preset duration, and / or the portable device is an electronic device that the user has correctly unlocked during the wearing / carrying process, the portable device can participate in the unlocking determination. A posture acquisition module, which is used to determine the user's hand gesture and the posture of the target device when the distance between the portable device and the target device is less than or equal to a preset distance threshold. An unlocking request initiation module, which is used to initiate an unlocking request for the target device when the user's hand gesture and the posture of the target device meet the usage requirements when the user uses the target device. Wherein: The unlocking request is used to request unlocking the target device so that the target device enters the unlocked state; after the target device receives the unlocking request, it determines whether the user has ever unlocked the target device or the account-associated device of the target device during the current wearing / carrying period of the portable device. When the user has ever unlocked the target device or the account-associated device of the target device during the current wearing / carrying period of the portable device, the target device is unlocked.
11. An electronic device, It is characterized in that The electronic device includes a memory for storing computer program instructions and a processor for executing the program instructions. Wherein, when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps according to any one of claims 1 to 9.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when it runs on a computer, it causes the computer to execute the method according to any one of claims 1 - 9.
Citation Information
Patent Citations
Terminal unlocking method and device
CN104615240A
Screen unlocking method and device and mobile terminal
CN106383574A