Unlocking method, device, wearable device and storage medium
By collecting wearer's human health data in wearable devices and automatically unlocking it, the problem of frequent password input by the device is solved, simplifying operation and improving user experience and battery life.
Patent Information
- Application Number
- CN202110342990.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-03-30
AI Technical Summary
Wearable devices need to frequently enter passwords to unlock when not in use, which is cumbersome and inconvenient, affecting the user experience.
When the wearer's human health data is collected through the data acquisition module, and the second processor determines that the data matches the specified data, the wearable device is automatically controlled to unlock without the user manually entering the password.
Simplify the unlocking process, reduce operational complexity, extend the battery life of the device, and improve user experience.
Smart Images

Figure CN115146254B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wearable devices, and more specifically, to an unlocking method, apparatus, wearable device and storage medium. Background Art
[0002] With the rapid advancement of technology and living standards, wearable devices (such as smart watches, smart bracelets, etc.) are being used more and more widely and have more and more functions. Correspondingly, more and more user personal information is stored in wearable devices. In order to protect the security of user personal information and avoid misoperation when the wearable device is not in use, most wearable devices are equipped with a password lock function. This requires users to frequently verify passwords when using wearable devices, which is cumbersome and has a poor user experience. Summary of the invention
[0003] In view of the above problems, the present application proposes an unlocking method, apparatus, wearable device and storage medium, which can improve the above problems.
[0004] In a first aspect, an embodiment of the present application provides an unlocking method, which is applied to a wearable device, wherein the wearable device includes a data acquisition module, a first processor and a second processor, wherein the data acquisition module is connected to the first processor, and the first processor is connected to the second processor, and the method includes: the second processor obtains unlocking data sent by the first processor, wherein the unlocking data is obtained according to the human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state; the second processor is in a working state and determines whether the unlocking data matches the specified data; when the unlocking data matches the specified data, the second processor controls the wearable device to enter an unlocked state.
[0005] In a second aspect, an embodiment of the present application provides an unlocking device, which is applied to a second processor of a wearable device, and the wearable device also includes a data acquisition module and a first processor, wherein the data acquisition module is connected to the first processor, and the first processor is connected to the second processor, and the device includes: a data acquisition module, used to obtain unlocking data sent by the first processor, wherein the unlocking data is obtained according to the human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state; the second processor is in a working state, and the device also includes: a data matching module, used to determine whether the unlocking data matches the specified data; an unlocking control module, used to control the wearable device to enter an unlocked state when the unlocking data matches the specified data.
[0006] In a third aspect, an embodiment of the present application provides a wearable device, comprising: a data acquisition module; a device body, the device body comprising a first processor, a second processor, a memory, and one or more applications, wherein the data acquisition module is connected to the first processor, the first processor is connected to the second processor, the one or more applications are stored in the memory and configured to be executed by the second processor, and the one or more applications are configured to execute the unlocking method provided in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the unlocking method provided in the first aspect above.
[0008] The solution provided by the present application is that the wearable device includes a data acquisition module, a first processor and a second processor, wherein the data acquisition module is connected to the first processor, and when the first processor is connected to the second processor, the second processor obtains the unlocking data sent by the first processor, wherein the unlocking data is obtained according to the human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state, and when the unlocking data is obtained, the second processor is in a working state and determines whether the unlocking data matches the specified data, so that when the unlocking data matches the specified data, the second processor can control the wearable device to enter the unlocking state. Therefore, the present application can automatically unlock the wearable device directly through the human health data of the current wearer collected by the data acquisition module, without the user having to remember and manually enter the password, and the operation is simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of an unlocking method according to an embodiment of the present application is shown.
[0011] Figure 2 A flow chart of an unlocking method according to another embodiment of the present application is shown.
[0012] Figure 3 A system architecture diagram of an unlocking method provided by the present application is shown.
[0013] Figure 4A flow chart of an unlocking method according to yet another embodiment of the present application is shown.
[0014] Figure 5 A timing diagram of an unlocking method provided by the present application is shown.
[0015] Figure 6 A block diagram of an unlocking device according to an embodiment of the present application is shown.
[0016] Figure 7 Detailed description of the invention The invention is a block diagram of a wearable device for executing an unlocking method according to an embodiment of the invention.
[0017] Figure 8 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing an unlocking method according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0019] At present, wearable devices can be understood as a general term for wearable devices that are designed and developed by applying wearable technology to daily wear, such as smart watches, smart bracelets, smart glasses, smart gloves, smart clothing and shoes, etc. It can also be understood as a portable device that is worn directly on the body or integrated into the user's clothes and accessories. As a product that users carry with them, wearable devices may involve multiple personal private information such as mobile payments and user privacy data, and have higher security requirements, so most wearable devices are equipped with a password lock function.
[0020] However, this requires users to frequently enter passwords to unlock and verify when using wearable devices, which is cumbersome. In addition, since the screen of wearable devices is generally small, it is inconvenient for users to enter passwords every time, which leads to poor user experience. Even if fingerprints are used to unlock, since the wearable device already occupies one hand, it is not convenient to operate.
[0021] In response to the above problems, the inventors have discovered and proposed the unlocking method, device, wearable device and storage medium provided in the embodiments of the present application after long-term research, which can automatically unlock the wearable device directly through the human health data of the current wearer, without the user having to remember and manually enter a password to unlock, and the operation is simple. The specific unlocking method is described in detail in the subsequent embodiments.
[0022] The following describes an application environment in which the unlocking method provided in the embodiment of the present application can be used.
[0023] In an embodiment of the present application, the wearable device may include a first processor, a second processor, and a data acquisition module. In some embodiments, the data acquisition module may be a module that exists independently of the first processor and the second processor. In this case, the wearable device may be a hardware architecture based on two processor chips and a data acquisition module of a peripheral. In other embodiments, the data acquisition module may also be integrated with the first processor on the same chip. This is not limited here.
[0024] In some embodiments, the first processor and the second processor may each run an independent operating system, and the operating system relies on the processor to perform operations. That is, the operating system of the wearable device may include the first system and the second system, and the first system and the second system are respectively run in different processors. For example, the first processor can be used to run the first system, and the second processor can be used to run the second system.
[0025] In some embodiments, the first processor can be connected to the second processor, so that the first system run by the first processor can interact with the second system run by the second processor to realize various functions of the wearable device, such as the unlocking function of the embodiment of the present application. In some embodiments, the first processor and the second processor can be specifically connected through a data bus, such as a serial peripheral interface SPI connection. The communication protocol between the first processor and the second processor can adopt the protobuf protocol, so that the messages sent directly to each other by the first processor and the second processor can be locked by classId and messageId.
[0026] In an embodiment of the present application, a data acquisition module can be used to collect human health data of the current wearer, which can be connected to a first processor. For example, the data acquisition module can communicate with the first processor through connection methods such as classic Bluetooth (BT), Bluetooth Low Energy (BLE), and wireless fidelity (WIFI), which are not limited here. Thus, the data acquisition module can send the collected human health data to the first processor, so that the first processor performs data preprocessing on the human health data, and then transmits it to the second processor for further data processing or the first processor does not process it, and directly transmits it to the second processor for data processing. As a way, the data acquisition module can be specifically communicated with the small core through OPPO's self-developed OAF (OPPO Accessory Framework) communication pipeline.
[0027] See also Figure 1 , Figure 1FIG. 1 is a flow chart of an unlocking method provided by an embodiment of the present application. In a specific embodiment, the unlocking method can be applied to Figure 6 The unlocking device 700 and the wearable device equipped with the unlocking device 700 ( Figure 7 ). Figure 1 The process shown is described in detail, and the unlocking method shown may specifically include the following steps:
[0028] Step S110: The second processor obtains unlocking data sent by the first processor, wherein the unlocking data is obtained according to human health data of the current wearer collected by the data collection module when the wearable device is in a locked state.
[0029] In an embodiment of the present application, since the wearable device includes a data acquisition module, a first processor and a second processor, one of the processors can be controlled to enter a dormant state to reduce the power consumption of the wearable device. Among them, the processor that needs to enter a dormant state can be used as the second processor of the embodiment of the present application, and the other processor in a working state is the first processor of the embodiment of the present application. Optionally, in order to ensure the maximum power consumption reduction effect, the high-power processor can be controlled to enter a dormant state, that is, the high-power processor is used as the second processor and the low-power processor is used as the first processor.
[0030] In some embodiments, the second processor may be a processor of a main system running a wearable device, and the first processor may be a processor of a sub-system running a wearable device. The main system may be an intelligent system, such as an Android system that implements rich functions, and the sub-system may be a non-intelligent system, such as an embedded system that implements simple programs. Optionally, the non-intelligent system may be used to display a simple interface such as a dial, so that when the first processor is in working state, the power consumption caused by the sub-system running by the first processor may be smaller than that of the main system running by the second processor. As a method, the first processor may be a microcontroller unit (MCU), and the system driven by the MCU may be called a small core, and the second processor may be a central processing unit (CPU), and the system driven by the CPU may be called a large core.
[0031] In some embodiments, the data acquisition module may be an independent module provided separately from the first processor and the second processor, which may be connected to the first processor via Bluetooth, and may be used to accurately collect the human health data of the user currently wearing the wearable device, and send the human health data to the first processor via Bluetooth connection. Among them, the human health data may include the human body's electrocardiogram, blood pressure, blood oxygen, and other data that can characterize the internal health characteristics of the human body. Optionally, the data acquisition module may have one or more built-in sensors, which may include an electrocardiogram sensor for collecting electrocardiogram data, a blood pressure sensor for collecting blood pressure data, and a blood oxygen sensor for collecting blood oxygen data, which are not limited here.
[0032] It can be understood that since the data acquisition module is an independent peripheral module, compared with other sensors that are limited in size due to being integrated on the chip, the collection range is much larger (the area in contact with the human body is also much larger), which makes the accuracy of the collected human health data much higher, thereby making the reliability of user identity authentication using human health data in this application much greater, greatly improving the security of wearable devices.
[0033] In other embodiments, the data acquisition module may also be a module that is independent of the second processor, and may be integrated into the same chip as the first processor and connected to the first processor via Bluetooth. Thus, the first processor can obtain the human health data collected by the data acquisition module and send it to the second processor.
[0034] It should be noted that in the above two cases, the data acquisition module is set independently of the second processor, and the first processor can be connected thereto, so that the data communication between the first processor and the data acquisition module can be controlled to ensure that the second processor can be in a dormant state, thereby reducing the system power consumption as much as possible. Therefore, when the data acquisition module collects the human health data of the current wearer, the human health data can be transmitted to the first processor through the communication channel between the data acquisition module and the first processor, so that the first processor can obtain unlocking data based on the acquired human health data of the current wearer, and send the unlocking data to the second processor.
[0035] In some embodiments, the second processor can be awakened only when the current wearer's identity authentication is required to reduce system power consumption. Therefore, when the wearable device is in a locked state, it is necessary to verify whether the current wearer's identity is an authorized user with the right to use the wearable device, so as to determine whether to unlock the wearable device. Therefore, the second processor can be awakened at this time for identity authentication. Specifically, when the wearable device is in a locked state, the data acquisition module can collect the human health data of the current wearer. Since the first processor is in a working state and connected to the data acquisition module, the human health data can be transmitted to the first processor through the communication channel between the data acquisition module and the first processor, so that the first processor can obtain the unlocking data according to the acquired human health data, and send the unlocking data to the second processor, and then the second processor can obtain the unlocking data sent by the first processor, so that the second processor awakened later can perform identity authentication according to the unlocking data.
[0036] Step S120: the second processor is in working state and determines whether the unlocking data matches the specified data.
[0037] In the embodiment of the present application, after the second processor obtains the unlocking data from the first processor, the second processor can be in a working state and perform authentication processing.
[0038] In some embodiments, the second processor is in a working state, which may be before the unlocking data is obtained. Specifically, when the wearable device is currently implementing other functions, the second processor may have been awakened, so that when the unlocking data is obtained from the first processor, the second processor is currently in a working state. At this time, the second processor can directly determine whether the unlocking data matches the specified data based on the received unlocking data.
[0039] In other embodiments, the second processor is in a working state, and the second processor may be awakened and enter the working state when the unlocking data is obtained. Specifically, the second processor may be in a dormant state at present. After obtaining the unlocking data from the first processor, the second processor may enter the working state from the dormant state, so that the second processor can judge whether the unlocking data matches the specified data based on the received unlocking data. Therefore, it is possible to directly determine whether the current wearer is an authorized user through the matching result of the unlocking data and the specified data, and then determine whether to unlock. Among them, the specified data may be the human health data of the authorized user who has the permission to use the wearable device, and the specified data may be pre-stored in the second processor.
[0040] Optionally, the dormant state may refer to a state in which the authentication function is turned off, and the working state may refer to a state in which the authentication function is turned on. Optionally, the dormant state may refer to a state in which the device is running at extremely low power consumption, and the working state may refer to a state in which the device is running normally. Optionally, the dormant state may refer to a state in which all functions are turned off, and the working state may refer to a state in which all functions are restored to normal operation, which is not limited here.
[0041] Step S130: When the unlocking data matches the designated data, the second processor controls the wearable device to enter an unlocking state.
[0042] In the embodiment of the present application, after receiving the unlock data, the second processor can match the unlock data with the specified data and obtain a matching result. When a matching result that the unlock data matches the specified data is obtained, the current wearer can be considered as an authorized user, so that the wearable device can be controlled to enter an unlocked state. It is understandable that when a matching result that the unlock data does not match the specified data is obtained, the current wearer can be considered as a non-authorized user, so that the wearable device can be controlled not to enter an unlocked state.
[0043] In some embodiments, when the unlocking data includes multiple types of health data collected by the data collection module, the matching result of the unlocking data and the specified data can be obtained only when the multiple types of health data match the specified data of the corresponding type; or the matching result of the unlocking data and the specified data can be obtained only when the health data of a preset number of types in the multiple types of health data match the specified data of the corresponding type, which is not limited here. For example, the preset number can be a number of types that is generally or more than the number of types in the multiple types.
[0044] The unlocking method provided in the embodiment of the present application, in the wearable device includes a data acquisition module, a first processor and a second processor, wherein the data acquisition module is connected to the first processor, and in the case of the first processor and the second processor, the second processor obtains the unlocking data sent by the first processor, wherein the unlocking data is obtained according to the human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state, so that when the unlocking data is obtained, the second processor enters the working state from the dormant state, and determines whether the unlocking data matches the specified data, so that when the unlocking data matches the specified data, the second processor can control the wearable device to enter the unlocking state. Therefore, the present application can automatically unlock the wearable device directly through the human health data of the current wearer collected by the data acquisition module, without the user having to remember and manually enter the password, and the operation is simple, and because the data acquisition module is set independently of the second processor and is only connected to it by the first processor, the second processor can remain in a dormant state for a long time, and can be awakened only when it is necessary to use the human health data for unlocking verification, which greatly reduces the operating power consumption of the second processor, prolongs the battery life of the wearable device, and improves the user experience.
[0045] See also Figure 2 , Figure 2 A schematic diagram of the process of unlocking method provided by another embodiment of the present application is shown below. Figure 2 The process shown is described in detail, and the unlocking method shown may specifically include the following steps:
[0046] Step S210: The second processor obtains unlocking data sent by the first processor, wherein the unlocking data is obtained according to human health data of the current wearer collected by the data collection module when the wearable device is in a locked state.
[0047] In some embodiments, the unlocking method of the present application can be executed only when the wearable device is in a locked state. Therefore, when it is detected that the wearable device is in a locked state, the first processor sends the unlocking data to the second processor, so that the second processor can obtain the unlocking data and be awakened to determine whether the unlocking data matches the specified data. As a way, when the wearable device is restarted or turned on, it can directly enter the locked state. Specifically, when it is detected that the wearable device enters the powered-on state from the powered-off state, the wearable device is controlled to enter the locked state.
[0048] In some embodiments, when it is detected that the wearable device is in a worn state and enters a locked state, the first processor obtains unlocking data based on the human health data collected by the data acquisition module and transmits it to the second processor, so that the second processor can obtain the unlocking data sent by the first processor. In this way, it can be ensured that the human health data of the user currently wearing the wearable device is used to make unlocking judgments, thereby improving the security of the device. Optionally, it can be detected whether the wearable device is in a worn state by a temperature sensor, a capacitive sensor, an infrared sensor, etc., which is not limited here.
[0049] Step S220: the second processor enters the working state from the sleep state, and determines whether the unlocking data matches the specified data.
[0050] In the embodiment of the present application, before the unlocking data is obtained from the first processor, the second processor may be in a dormant state, and only after the unlocking data is obtained from the first processor, the second processor enters a working state from the dormant state, so that the second processor can determine whether the unlocking data matches the specified data according to the received unlocking data. In some embodiments, the second processor can remain in a dormant state until it is awakened when authentication is required, thereby minimizing the power consumption of the device.
[0051] Optionally, the second processor may be controlled to remain in a sleep state only when the remaining power of the wearable device is lower than a specified threshold. That is, when the remaining power of the wearable device is lower than the specified threshold, the second processor is in a sleep state. If the wearable device is in a locked state at this time, when the second processor obtains the unlocking data sent by the first processor, the second processor needs to enter a working state from a sleep state, that is, the second processor needs to be woken up so that the second processor in the working state can determine whether the unlocking data matches the specified data.
[0052] In some embodiments, the second processor can run a trusted execution environment TEE. Since the trusted execution environment can run in an independent environment and run in parallel with the operating system, it can ensure that the confidentiality and integrity of the code and data loaded in the trusted execution environment are protected, which is safer than the general operating environment, namely the rich execution environment. Therefore, the designated data of the authorized user of the wearable device can be stored in the trusted execution environment of the second processor to ensure the security of private data and facilitate its use the next time the user verifies. Optionally, the designated data can be the human health data of the user collected and entered in real time with the consent of the authorized user when the authorized user sets the password lock of the wearable device, or it can be the human health data of the authorized user obtained from other platforms with the consent of the authorized user, which is not limited here.
[0053] In some embodiments, the second processor can also perform a verification operation with the specified data in the trusted execution environment to ensure the security of the specified data of the authorized user. Specifically, when the second processor receives the unlocking data sent by the first processor, it can pass the unlocking data into the trusted execution environment to determine whether the unlocking data matches the specified data in the trusted execution environment. In this way, unlocking is performed while ensuring data security, optimizing the user experience.
[0054] In some embodiments, the second processor may also run a rich execution environment REE at the same time, so that after the second processor determines in the trusted execution environment whether the unlocking data matches the specified data, it can return the matching result to the rich execution environment. Thus, the second processor can be used to obtain the matching result of the unlocking data and the specified data returned from the trusted execution environment in the rich execution environment. Specifically, the first processor can obtain the unlocking data based on the human health data and pass it into the rich execution environment of the second processor, and the REE will pass the human health data to the TEE. Then after the TEE performs data verification, the matching result of the unlocking data and the specified data is returned to the REE.
[0055] For example, see Figure 3 , the human health data such as electrocardiogram, blood pressure, blood oxygen, etc. collected by the data acquisition module can be transmitted to the first processor through the Bluetooth protocol, and then the first processor can generate unlocking data based on the human health data and transmit it to the rich execution environment REE of the second processor, and then REE transfers the unlocking data to the trusted execution environment TEE for matching and verification with the specified data stored in the TEE.
[0056] Step S230: When the unlocking data matches the designated data, the second processor controls the wearable device to enter an unlocking state.
[0057] In some embodiments, after the current wearer wears the wearable device and unlocks it through human health data verification, no verification is required during the wearing period because the current wearer has not changed. That is, after the wearable device is controlled to enter the unlocked state, the wearable device can be controlled to remain unlocked while the wearable device is in the worn state, thereby avoiding multiple identity verifications.
[0058] In some embodiments, since the wearable device has a health management function, it is usually necessary to collect the human health data of the current wearer in real time for physical health monitoring. Therefore, after unlocking using the collected human health data, the human health data collected by the data acquisition module can also be used to monitor the user's physical health. In some embodiments, if the existing wearable device already has a collection module for collecting the human health data of the current wearer to realize the health management function, then on the basis of the original use of the human health data collected by the collection module for user physical health monitoring, the collected human health data can also be used for unlocking verification, thereby eliminating the need to add an additional data acquisition module, and directly realizing fast unlocking based on the original hardware.
[0059] In some embodiments, since the wearable device has a health management function, after the wearable device is unlocked, the data acquisition module also needs to collect human health data to monitor the user's physical health. Also, since when the wearable device is in a locked state, it is necessary to frequently collect human health data to unlock it as soon as possible, and after the wearable device is unlocked, the wearable device remains unlocked while being worn, so there is no need to frequently collect human health data to unlock it as soon as possible, and only occasionally collect human health data to monitor the user's physical health. Therefore, the data acquisition frequency of the data acquisition module during the period when the wearable device is in an unlocked state can be controlled to be less than the data acquisition frequency during the locked state of the wearable device. It is understandable that if the existing wearable device already has a collection module for collecting human health data of the current wearer to realize the health management function, the data acquisition frequency of the original collection module during the unlocked state of the wearable device can also be controlled to be less than the data acquisition frequency during the locked state of the wearable device.
[0060] Step S240: the second processor enters the sleep state from the working state.
[0061] In an embodiment of the present application, after the wearable device enters the unlocked state, since no authentication operation is required subsequently, the second processor can re-enter the sleep state from the working state, and then be awakened again until the next time authentication is required, thereby greatly saving system power consumption.
[0062] In some embodiments, after a preset time period of obtaining a match result between the unlock data and the specified data, the second processor reenters the dormant state from the working state. The preset time period may be pre-stored in the second processor, which may be manually set or a default setting, which is not limited here. For example, the preset time period may be set to 15S.
[0063] The unlocking method provided in the embodiment of the present application can enter a sleep state after the wearable device is unlocked by verifying the human health data of the current wearer collected by the data acquisition module through the second processor, thereby reducing the operating power consumption of the second processor, extending the battery life of the wearable device, and improving the user experience.
[0064] See also Figure 4 , Figure 4 A schematic diagram of a flow chart of an unlocking method provided by another embodiment of the present application is shown. Figure 4 The process shown is described in detail, and the unlocking method shown may specifically include the following steps:
[0065] Step S310: Acquire unlocking data sent by the first processor, wherein the unlocking data is obtained according to human health data of the current wearer collected by the data collection module when the wearable device is in a locked state.
[0066] In the embodiment of the present application, step S310 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0067] In some embodiments, the first processor may only perform transparent transmission processing on the human health data, that is, the human health data may be directly sent to the second processor as unlocking data.
[0068] In other embodiments, when the first processor acquires human health data, the first processor may pre-process the human health data and send the pre-processed data as unlocking data to the second processor. Preprocessing may be to optimize the algorithm of the human health data to synthesize new data for further subsequent data processing. As a way, preprocessing may be to obtain target health data from the human health data as unlocking data. Specifically, when the data acquisition module acquires multiple types of human health data, if only the human health data of the target type is required for unlocking verification, the first processor may filter out the human health data of the target type as unlocking data from the multiple types of human health data received.
[0069] Step S320: the second processor enters the working state from the sleep state, and determines whether the unlocking data matches the specified data.
[0070] In some embodiments, when the communication protocol between the first processor and the second processor adopts the protobuf protocol, the first processor can put the new data synthesized by the above algorithm optimization as unlocking data into a message and send it to the second processor. The sent message can be locked by classId and messageId.
[0071] For example, see Figure 5 The data collection module can collect human health data in real time. After a certain amount of human health data is collected, the human health data can be sent to the first processor. After the first processor performs algorithm optimization processing on the human health data, the first processor puts the processed human health data into the message as the unlocking parameter and sends it to the rich execution environment of the second processor. The rich execution environment passes the message to the trusted execution environment, verifies it with the specified data, and then returns the verification result to the rich execution environment. If the verification result is passed (i.e., it matches the specified data), the wearable device can be controlled to automatically unlock.
[0072] Step S330: When the unlocking data matches the designated data, controlling the wearable device to enter an unlocking state.
[0073] Step S340: Detect whether the wearable device enters a non-worn state from a worn state.
[0074] In some embodiments, since the wearable device is worn by the same person, after the human health data verification and unlocking are performed at the beginning of wearing, no verification is performed later until the current wearer gives up wearing the wearable device. Therefore, it is possible to detect whether the wearable device enters the non-worn state from the worn state to determine whether the current wearer gives up wearing the wearable device.
[0075] In some embodiments, one or a combination of the following methods can be used to detect whether the wearable device is in a worn state: detecting whether the wearable device is in a worn state through a pressure sensor; detecting whether the wearable device is in a worn state through a temperature sensor; detecting whether the wearable device is in a worn state through a touch sensor; and detecting whether the wearable device is in a worn state through an acceleration sensor.
[0076] Among them, the pressure sensor is used to detect whether the wearable device is in the worn state, and the pressure sensor set on the back of the wearable device can be used to detect whether the pressure is received and whether the pressure is continuous. For example, if the pressure sensor collects a continuous pressure value, it indicates that the wearable device is in the worn state, otherwise, it is not.
[0077] The temperature sensor can be used to detect whether the wearable device is being worn. The temperature sensor set on the back of the wearable device can be used to detect parameters such as the temperature value, temperature change, and temperature change area of the wearable device in real time. When the user wears the wearable device, the temperature of the part of the back cover of the wearable device that contacts the skin will be different from the temperature of other parts. Therefore, by detecting the temperature value and temperature change, it can be determined whether the wearable device is being worn continuously.
[0078] Whether the wearable device is in a worn state can be detected by using a touch sensor, and it can be determined by real-time detection of whether the touch area on the back of the wearable device receives a touch signal.
[0079] The acceleration sensor is used to detect whether the wearable device is in a worn state. Since the wearable device moves with the user when the user wears it, the wearable device can be judged whether the wearable device is being worn continuously by detecting the motion data of the wearable device.
[0080] It is understandable that other methods that can be used to detect whether the terminal device is continuously held, such as capacitive sensor detection, infrared detection, the status of the wearing parts of the wearable device (such as the closure of the strap), etc., can also be used in the embodiments of the present application and are not limited here.
[0081] Step S350: When it is detected that the wearable device enters a non-worn state from a worn state, the wearable device is controlled to enter a locked state.
[0082] In some embodiments, when it is detected that the wearable device enters a non-worn state from a worn state, it can be considered that the current wearer has given up wearing the wearable device. Even if the wearable device is detected to be in a worn state later, it cannot be guaranteed that it is the same person. Therefore, it is necessary to verify the human health data of the wearer who is detected to be wearing the wearable device later. At this time, the second processor can control the wearable device to enter a locked state. As a way, when it is detected that the wearable device enters a non-worn state from a worn state, the second processor can control the wearable device to enter a locked state. Optionally, if the switching between the locked state and the unlocked state needs to be executed by the second processor in the working state, the second processor can be awakened, that is, the second processor enters the working state from the sleep state, and then the wearable device is controlled to enter the locked state. Optionally, the switching between the locked state and the unlocked state can also be executed by the first processor that has been in the working state, so that the second processor can remain in the sleep state, and the first processor that has been in the working state controls the wearable device to enter the locked state.
[0083] Specifically, when it is detected that the wearable device enters a non-worn state from a worn state, a locking operation can be performed on the wearable device to control the wearable device to re-enter the locked state, and then the aforementioned human health data verification operation is repeated.
[0084] The unlocking method provided in the embodiment of the present application uses wrist-off detection and human health data verification to realize the intelligent unlocking and locking of the wearable device. That is, after the user wears the wearable device, the human health data of the current wearer collected by the data acquisition module can be directly used to automatically unlock the wearable device, and the user needs to remember the password and enter the password. And thereafter, the wearable device can remain unlocked until the user takes off his wrist, and the wearable device will re-enter the locked state, so that after the user wears the wearable device, the second processor verifies that the human health data of the current wearer collected by the data acquisition module is successful, and no unlocking verification processing is required, so that the second processor can remain in a dormant state until the user takes off his wrist and wears the wearable device again, and it is awakened only when human health data verification is required, thereby greatly reducing the operating power consumption of the second processor, extending the battery life of the wearable device, and improving the user's experience.
[0085] See also Figure 6 , which shows a structural block diagram of an unlocking device 700 provided in an embodiment of the present application, which can be applied to a second processor of a wearable device, and the wearable device may also include a data acquisition module and a first processor, wherein the data acquisition module is connected to the first processor, and the first processor is connected to the second processor. The unlocking device 700 includes: a data acquisition module 710, a data matching module 720, and an unlocking control module 730. Among them, the data acquisition module 710 is used to obtain the unlocking data sent by the first processor, wherein the unlocking data is obtained according to the human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state; the second processor is in a working state, and the data matching module 720 is used to determine whether the unlocking data matches the specified data; the unlocking control module 730 is used to control the wearable device to enter an unlocking state when the unlocking data matches the specified data.
[0086] In some embodiments, the unlocking device 700 may further include: a working switching module, which is used for the second processor to enter the working state from the sleep state.
[0087] In some embodiments, the unlocking device 700 may further include: a sleep control module, configured to enable the second processor to enter the sleep state from the working state.
[0088] In some embodiments, the second processor may be specifically configured to determine whether the unlocking data matches the specified data in a trusted execution environment.
[0089] In some embodiments, the unlocking data is generated by the first processor after pre-processing the human health data when the first processor receives the human health data sent by the data acquisition module.
[0090] In some embodiments, the unlocking device 700 may further include: an unlocking maintaining module, configured to control the wearable device to maintain an unlocked state while the wearable device is in a worn state.
[0091] In some embodiments, the unlocking device 700 may also include: a wearing detection module, used to detect whether the wearable device enters a non-worn state from a worn state; and a wrist-off locking module, used to control the wearable device to enter a locked state when it is detected that the wearable device enters a non-worn state from a worn state.
[0092] 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 and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0093] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0094] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0095] In summary, the unlocking device provided in the embodiment of the present application is used to implement the corresponding unlocking method in the aforementioned method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0096] Please refer to Figure 7 , which shows a structural block diagram of a wearable device provided in an embodiment of the present application. The wearable device 100 can be a wearable device such as a smart watch, a smart bracelet, etc. that can run applications. The wearable device 100 in the present application may include a device body 110 and a data acquisition module 120. Among them, the device body 110 can have one or more of the following components: a first processor 111, a second processor 112, a memory 113, and one or more applications, wherein one or more applications can be stored in the memory 113 and configured to be executed by the second processor 112, and one or more applications are configured to execute the method described in the aforementioned method embodiment.
[0097] The first processor 111 may include one or more processing cores. The first processor 111 may use various interfaces and lines to connect various parts of the entire wearable device 100, and execute various functions and process data of the wearable device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 113, and calling data stored in the memory 113. Optionally, the first processor 111 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The first processor 111 may integrate one or a combination of a microcontroller unit MCU, a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the first processor 111, but may be implemented separately through a communication chip.
[0098] The second processor 112 may include one or more processing cores. The second processor 112 may use various interfaces and lines to connect various parts of the entire wearable device 100, such as being connected to the first processor 111 through a data bus. The second processor 112 also executes various functions and processes data of the wearable device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 113, and calling data stored in the memory 113. Optionally, the second processor 112 may be implemented in at least one hardware form of DSP, FPGA, and PLA. The second processor 112 may integrate one or a combination of CPU, GPU, and modem, etc. It is understandable that the above-mentioned modem may not be integrated into the second processor 112, but may be implemented separately through a communication chip. Optionally, the second processor 112 and the first processor 11 may each run an independent operating system, and the operating system relies on the processor for calculation. The power consumption of the second processor 112 may be higher than that of the first processor 111.
[0099] The memory 113 may include a random access memory (RAM) or a read-only memory (ROM). The memory 113 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 113 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the wearable device 100 during use.
[0100] The data acquisition module 120 may be built with one or more sensors, which may include an ECG sensor for collecting ECG data, a blood pressure sensor for collecting blood pressure data, and a blood oxygen sensor for collecting blood oxygen data, which is not limited here. The data acquisition module 120 can be used to collect human health data of the current wearer, and it can be connected to the first processor 111. Optionally, the data acquisition module 120 can communicate with the first processor 111 through BT, BLE, WIFI and other connection methods, which are not limited here. As a way, the data acquisition module 120 can also communicate with the first processor 111 specifically through OPPO's self-developed OAF (OPPO Accessory Framework) communication pipeline.
[0101] Understandably, Figure 7 The structure shown is only an example, and the wearable device 100 may also include Figure 7 More or fewer components as shown, or with Figure 7 The embodiment of the present application is not limited to this.
[0102] Please refer to Figure 8 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0103] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An unlocking method, characterized in that: Applied to a wearable device, the wearable device includes a data acquisition module, a first processor and a second processor, wherein the data acquisition module is connected to the first processor, the first processor is connected to the second processor, and a trusted execution environment and a rich execution environment are simultaneously run in the second processor, and the method includes: The second processor obtains unlocking data sent by the first processor through the rich execution environment, wherein the unlocking data is obtained according to human health data of the current wearer collected by the data collection module when the wearable device is in a locked state; The second processor is in a working state and determines in the trusted execution environment whether the unlocking data matches the specified data; When the unlock data matches the specified data, the second processor controls the wearable device to enter an unlock state.
2. The method according to claim 1, characterized in that Before the second processor is in a working state and determines whether the unlocking data matches the specified data, the method further includes: The second processor enters the working state from the sleep state.
3. The method according to claim 1, characterized in that After the second processor controls the wearable device to enter an unlocked state when the unlock data matches the specified data, the method further includes: The second processor enters a sleep state from the working state.
4. The method according to claim 1, characterized in that The unlocking data is generated by the first processor after preprocessing the human health data when the first processor receives the human health data sent by the data acquisition module.
5. The method according to any one of claims 1 to 4, characterized in that: After the second processor controls the wearable device to enter an unlocked state when the unlock data matches the specified data, the method further includes: While the wearable device is in a worn state, controlling the wearable device to remain in an unlocked state.
6. The method according to any one of claims 1 to 4, characterized in that: When the unlock data matches the specified data, after the second processor controls the wearable device to enter an unlock state, the method further includes: Detecting whether the wearable device enters a non-worn state from a worn state; When it is detected that the wearable device enters a non-worn state from a worn state, the wearable device is controlled to enter a locked state.
7. An unlocking device, characterized in that: A second processor applied to a wearable device, the wearable device further comprising a data acquisition module and a first processor, wherein the data acquisition module is connected to the first processor, the first processor is connected to the second processor, and a trusted execution environment and a rich execution environment are simultaneously run in the second processor, the device comprising: a data acquisition module, configured to acquire unlocking data sent by the first processor through the rich execution environment, wherein the unlocking data is obtained according to human health data of the current wearer collected by the data acquisition module when the wearable device is in a locked state; The second processor is in a working state, and the device further includes: A data matching module, configured to determine in the trusted execution environment whether the unlocking data matches the specified data; The unlocking control module is used to control the wearable device to enter an unlocking state when the unlocking data matches the specified data.
8. A wearable device, characterized in that: include: Data acquisition module; A device body, the device body comprising a first processor, a second processor, a memory and one or more applications, wherein the data acquisition module is connected to the first processor, the first processor is connected to the second processor, a trusted execution environment and a rich execution environment are simultaneously running in the second processor, the one or more applications are stored in the memory and are configured to be executed by the second processor, and the one or more applications are configured to execute the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 6.
