Terminal unlocking methods, devices, equipment and storage media

By identifying network status and performing multi-factor authentication during the terminal unlocking process to generate unlocking credentials, the security issues of cloud-based unlocking methods are resolved, achieving stable and secure unlocking in different network environments.

CN123074784APending Publication Date: 2026-11-10SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611250419.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-17
Publication Date
2026-11-10

Smart Images

  • Figure CN123074784A_ABST
    Figure CN123074784A_ABST
Patent Text Reader

Abstract

This application provides a terminal unlocking method, apparatus, device, and storage medium. The terminal unlocking method includes: responding to a terminal unlocking request for a target terminal and determining the terminal network state corresponding to the target terminal; performing multi-factor authentication based on the terminal network state and unlocking authorization data corresponding to a remote server to obtain a terminal unlocking credential; and performing unlocking processing on the target terminal based on the terminal unlocking credential to obtain a terminal unlocking result. This achieves the following during the terminal-to-cloud unlocking process: identifying the terminal network state of the target terminal to be unlocked, and performing multi-factor authentication using different terminal network states and corresponding unlocking authorization data to obtain a terminal unlocking credential for unlocking. This enables multi-factor collaborative unlocking authentication based on the terminal network state, improving the stability and security of terminal-to-cloud unlocking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to a terminal unlocking method, apparatus, device, and storage medium. Background Technology

[0002] Currently, with the rapid development of cloud computing and communication technologies, more and more smart devices are adopting cloud-based unlocking methods for terminal unlocking and other control operations. This involves interacting with the cloud during terminal operation to complete the verification and unlocking process. However, existing cloud-based unlocking methods suffer from risks such as key replay and forgery, as well as low levels of trusted verification security, resulting in relatively low terminal unlocking security. Summary of the Invention

[0003] This application provides a terminal unlocking method, apparatus, device, and storage medium, aiming to solve the technical problem of low security in cloud-based terminal unlocking in the prior art.

[0004] On one hand, embodiments of this application provide a terminal unlocking method, which includes the following steps: In response to a terminal unlocking request for a target terminal, determine the terminal network status corresponding to the target terminal; Multi-factor authentication is performed based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The target terminal is unlocked based on the terminal unlocking credential, and the terminal unlocking result is obtained.

[0005] In one possible implementation of this application, the step of performing multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential includes: When the terminal network status is normal, the terminal authentication information corresponding to the target terminal is obtained. The terminal authentication information includes the terminal device fingerprint, biometric authentication result and execution environment key. Send a terminal unlock request to a remote server, and receive unlock authorization data output by the remote server based on the terminal unlock information in the terminal unlock request. The unlock authorization data includes unlock challenge information. Generate unlocking credential information based on the terminal authentication information and the unlocking challenge information; The unlocking credential information is transmitted to a remote server so that the remote server can verify the information, generate and transmit the terminal unlocking credential.

[0006] In one possible implementation of this application, the unlocking credential information includes digest credential information; The step of generating unlock credential information based on the terminal authentication information and the unlock challenge information includes: A first digest is generated based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information; A second digest is generated based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information; An environment key signature is generated using the execution environment key, and a third digest is generated using the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information. The first digest information, the second digest information, and the third digest information are combined to obtain the digest credential information.

[0007] In one possible implementation of this application, obtaining the terminal authentication information corresponding to the target terminal includes: Read the terminal device fingerprint corresponding to the target terminal in the trusted execution environment corresponding to the target terminal; The biometric authentication module corresponding to the target terminal is invoked to perform biometric authentication and obtain the biometric authentication result; Terminal authentication information is generated based on the terminal device's fingerprint, biometric authentication result, and execution environment key.

[0008] In one possible implementation of this application, the step of unlocking the target terminal based on the terminal unlocking credential to obtain the terminal unlocking result includes: The target terminal is unlocked using the terminal unlocking credential, and the unlocking execution environment of the target terminal is determined. The trusted state of the unlocking execution environment is monitored to obtain the trusted state of the unlocking execution environment; If the trusted environment is in an abnormal environment state, the unlocking execution environment is locked, and the abnormal unlocking result is determined as the terminal unlocking result. If the environment trust status is normal, then the normal unlocking result will be determined as the terminal unlocking result.

[0009] In one possible implementation of this application, the terminal unlocking credential includes a restricted unlocking credential; The step of performing multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential includes: When the terminal network status is abnormal, the unlock authorization data stored in the target terminal is read, and the unlock authorization data is an offline authorization package pre-issued by the remote server; The verification result is obtained by verifying the trusted execution environment of the target terminal and the offline authorization package; If the verification result meets the restricted unlocking conditions, a restricted unlocking credential corresponding to the offline authorization package is generated.

[0010] On the other hand, this application provides a terminal unlocking method, which includes the following steps: Responding to a terminal unlock request, receiving terminal unlock information corresponding to the terminal receiving request; Based on the terminal unlock information, unlock challenge information is generated, and unlock authorization information is sent to the target terminal, wherein the unlock authorization information includes unlock challenge information; The system receives the receiving credential information generated by the terminal to be received based on the receiving challenge information, verifies the receiving credential information, generates and transmits a terminal unlocking credential, so that the terminal to be received can unlock the terminal based on the terminal unlocking credential and obtain the terminal unlocking result.

[0011] On the other hand, this application provides a terminal unlocking device, the terminal unlocking device comprising: The network identification module is configured to respond to a terminal unlocking request for a target terminal and determine the terminal network status corresponding to the target terminal. The multi-factor authentication module is configured to perform multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The terminal unlocking module is configured to unlock the target terminal based on the terminal unlocking credential, and obtain the terminal unlocking result.

[0012] On the other hand, this application also provides a terminal unlocking device, the terminal unlocking device comprising: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the terminal unlocking method.

[0013] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the terminal unlocking method.

[0014] This application determines the network state of the target terminal in response to a terminal unlocking request; performs multi-factor authentication based on the network state and unlocking authorization data from a remote server to obtain a terminal unlocking credential; and unlocks the target terminal based on the unlocking credential to obtain a terminal unlocking result. This achieves the following: during the terminal-to-cloud unlocking process, the application identifies the network state of the target terminal to be unlocked and performs multi-factor authentication using different network states and corresponding unlocking authorization data to obtain a terminal unlocking credential for unlocking. This enables multi-factor collaborative unlocking authentication based on the terminal network state, improving the stability and security of terminal-to-cloud unlocking. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram illustrating a scenario of the terminal unlocking method according to an embodiment of this application; Figure 2 This is a flowchart illustrating one embodiment of the terminal unlocking method in this application. Figure 3 A flowchart illustrating an embodiment of the terminal unlocking method provided in this application for generating unlocking credential information; Figure 4 A flowchart illustrating a specific embodiment of the terminal unlocking method provided in this application for generating a restricted unlocking credential; Figure 5 A schematic diagram of the structure of one embodiment of the terminal unlocking device provided in this application; Figure 6 This is a schematic diagram of the structure of one embodiment of the terminal unlocking device provided in this application. Detailed Implementation

[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0019] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0020] Currently, with the rapid development of cloud computing and communication technologies, more and more smart devices are adopting cloud-based unlocking methods for terminal unlocking and other control operations. This involves interacting with the cloud during terminal operation to complete the verification and unlocking process. However, existing cloud-based unlocking methods suffer from risks such as key replay and forgery, as well as low levels of trusted verification security, resulting in relatively low terminal unlocking security.

[0021] Based on this, this application proposes a terminal unlocking method, apparatus, device, and computer-readable storage medium to solve the technical problem of low unlocking security of terminals in the cloud in the prior art.

[0022] The terminal unlocking method in this embodiment of the invention is applied to a terminal unlocking device, which is disposed in a terminal unlocking apparatus. The terminal unlocking apparatus is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the terminal unlocking method. The terminal unlocking apparatus can be a smart terminal with locking function, such as a mobile phone, tablet computer, IoT terminal, vehicle terminal, network device, and smart computer, etc., which are smart terminals with network lock control capabilities. Optionally, the terminal unlocking apparatus can also be a server or a service cluster composed of multiple servers.

[0023] like Figure 1 As shown, Figure 1 This is a schematic diagram illustrating a scenario of a terminal unlocking method according to an embodiment of this application. In this embodiment, the terminal unlocking scenario includes a terminal unlocking device 100 (which integrates a terminal unlocking apparatus) and a remote server 200. The terminal unlocking device 100 runs a computer-readable storage medium corresponding to the terminal unlocking method to execute the steps of the terminal unlocking method. The remote server 200 is a cloud server that interacts with the terminal unlocking device 100 to assist the terminal unlocking device in unlocking.

[0024] Understandable, Figure 1 The terminal unlocking device in the terminal unlocking method scenario shown, or the device included in the terminal unlocking device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of terminal unlocking device included in the terminal unlocking method scenario, or the number or type of device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.

[0025] In this embodiment of the invention, the terminal unlocking device 100 is mainly used to: respond to a terminal unlocking request for a target terminal and determine the terminal network status corresponding to the target terminal; Multi-factor authentication is performed based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The target terminal is unlocked based on the terminal unlocking credential, and the terminal unlocking result is obtained.

[0026] The terminal unlocking device 100 in this embodiment of the invention can be an independent terminal unlocking device, such as a mobile phone, tablet computer, network device, server and smart computer, or a terminal unlocking network or terminal unlocking cluster composed of multiple terminal unlocking devices.

[0027] This application provides a terminal unlocking method, apparatus, device, and computer-readable storage medium, which will be described in detail below.

[0028] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The number of more or fewer terminal unlocking devices shown, or the terminal unlocking network connection relationship, for example Figure 1 Only one terminal unlocking device is shown in the diagram. It is understood that the scenario of this terminal unlocking method may also include one or more terminal unlocking devices, which are not specifically limited here. The terminal unlocking device 100 may also include a memory for storing order data and other data.

[0029] It should be noted that, Figure 1 The schematic diagram of the terminal unlocking method shown is merely an example. The scenarios of the terminal unlocking method described in this embodiment of the invention are intended to more clearly illustrate the technical solutions of this embodiment and do not constitute a limitation on the technical solutions provided by this embodiment of the invention.

[0030] Based on the scenarios described above regarding terminal unlocking methods, various embodiments of the terminal unlocking method disclosed in this invention are proposed.

[0031] like Figure 2 As shown, Figure 2 This is a flowchart illustrating one embodiment of the terminal unlocking method in this application. The terminal unlocking method includes the following steps 201 to 203: 201. Respond to the terminal unlocking request for the target terminal and determine the terminal network status corresponding to the target terminal; The terminal unlocking method in this embodiment is applied to a terminal unlocking device. The type and number of terminal unlocking devices are not specifically limited. That is, the terminal unlocking device can be one or more smart terminals or servers. In a specific embodiment, the terminal unlocking device is a target terminal with network lock control capabilities, such as a mobile phone, tablet computer, IoT terminal, vehicle terminal, network device, and smart computer.

[0032] Optionally, the target terminal is a smart terminal that interacts with a remote server and is to be unlocked via a network lock. The target terminal can be the terminal unlocking device itself or a smart terminal that is communicatively connected to the terminal unlocking device in any way. Optionally, in one specific embodiment, the terminal unlocking device can be the target terminal itself. That is, the target terminal is a smart terminal to be unlocked via a terminal-cloud connection.

[0033] Optionally, a terminal unlock request is an operation request that drives the target terminal to unlock the terminal or a specified function based on the terminal's network status.

[0034] Optionally, the terminal network status is quantified status information characterizing the operational conditions such as link connectivity and signal status between the target terminal and the communication network, used to indicate whether the target terminal's network is in a normal connectivity state. This terminal network status includes a normal network status, indicating that the target terminal's network is in a normal connectivity state, and an abnormal network status, indicating that the target terminal is in a weak network state or has no network. Optionally, in a normal network state, the remote server can interact normally with the target terminal and send unlock authorization data to the target terminal in real time. In an abnormal network state, because the target terminal is in a weak network (weak network signal) state or has no network, the remote server cannot communicate with the target terminal in real time.

[0035] Optionally, during operation, the terminal responds to terminal unlocking requests triggered by users or other objects (such as applications, artificial intelligence models, and agents) and performs network tests on the target terminal through a network testing unit to determine the terminal's network status. Optionally, the terminal can test the signal strength and other quantifiable network parameters corresponding to the target terminal's network status through the network testing unit, and compare these network parameters with a pre-set network evaluation threshold to determine the terminal's network status.

[0036] Optionally, in one specific embodiment, the network parameter is signal strength, and the corresponding network evaluation threshold is a signal strength threshold. When the signal strength is greater than the signal strength threshold, the terminal network state is determined to be a normal network state. When the signal strength is less than the signal strength threshold, the terminal network state is determined to be an abnormal network state.

[0037] 202. Perform multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential; Optionally, after determining the target terminal's network status, the terminal may also obtain the unlocking authorization data corresponding to the remote server based on the terminal's network status to perform multi-factor authentication and obtain the terminal unlocking credential.

[0038] Optionally, the remote server is a server used for terminal-to-cloud unlocking verification of the target terminal. This remote server can be a cloud server or other servers; this embodiment does not impose specific limitations.

[0039] Optionally, the unlock authorization data is cloud-based authorization data used to assist the target terminal in unlock verification. The unlock authorization data varies depending on the terminal's network status. In one specific embodiment, the unlock authorization data for a normal network status is unlock challenge information transmitted in real-time by a remote server. In another specific embodiment, the unlock authorization data for an abnormal network status is an offline authorization package pre-signed by a remote server.

[0040] Optionally, the terminal unlocking credential is unlocking credential information generated locally on the target terminal based on the unlocking authorization data for unlocking verification. Optionally, in a specific embodiment, the terminal unlocking credential can be a one-time digest credential chain.

[0041] Optionally, after obtaining the terminal network status, the terminal may also execute different terminal unlocking procedures according to different terminal network statuses, so as to enable terminal unlocking under different network statuses and thus improve the success rate of terminal unlocking.

[0042] Optionally, when the terminal's network status is normal, the terminal obtains the terminal authentication information corresponding to the target terminal. The terminal authentication information includes the terminal device fingerprint, biometric authentication result, and execution environment key.

[0043] Optionally, the terminal reads the terminal device fingerprint corresponding to the target terminal within the trusted execution environment (TEE). That is, the terminal reads the hardware and software identifiers in the target terminal within the TEE to obtain the terminal device fingerprint. Optionally, in one specific embodiment, the terminal device fingerprint includes one or more of the following: processor identifier, trusted hardware identifier, system version information, and secure boot status identifier.

[0044] Optionally, the terminal may also call the biometric authentication module corresponding to the target terminal to perform biometric authentication and obtain the biometric authentication result. That is, the terminal calls the biometric authentication module to perform biometric authentication on the target user corresponding to the target terminal in order to determine the user identity of the target user and obtain the corresponding biometric authentication result.

[0045] Optionally, the terminal also obtains the execution environment key in the trusted execution environment corresponding to the target terminal, and generates terminal authentication information based on the terminal device fingerprint, biometric authentication result, and execution environment key. That is, the terminal determines the obtained terminal device fingerprint, biometric authentication result, and execution environment key as the terminal authentication information of the target terminal, and stores the terminal authentication information.

[0046] Optionally, after obtaining terminal authentication information, the terminal sends a terminal unlock request to the remote server, driving the remote server to generate unlock challenge information based on the terminal unlock information in the unlock request, which serves as unlock authorization data. Optionally, after obtaining the terminal unlock request, the remote server parses the terminal interpretation request, determines the time window data and location constraint information corresponding to the terminal interpretation request, and uses the terminal device fingerprint, biometric authentication result, time window, location constraint information, and random challenge value corresponding to the target terminal to generate interpretation challenge information as unlock authorization data, and sends the unlock authorization data to the target terminal.

[0047] Optionally, the terminal receives unlock authorization data output by the remote server based on the terminal unlock information in the terminal unlock request. This unlock authorization data includes unlock challenge information. Multi-factor authentication is performed based on the terminal authentication information and the unlock challenge information to generate unlock credential information. Optionally, multi-factor authentication involves the target terminal performing two or more authentication operations based on the terminal authentication information and the unlock challenge information, including biometric authentication, device fingerprint authentication, time window authentication, location constraint authentication, and cloud challenge authentication.

[0048] Optionally, after generating unlocking credential information, the terminal transmits this information to a remote server. The remote server then verifies the unlocking credential information, generates, and transmits a terminal unlocking credential. Specifically, upon receiving the unlocking credential information, the remote server performs integrity, timeliness, and trustworthiness checks to determine the corresponding unlocking risk level. If the unlocking risk level is lower than a preset risk level threshold, the remote server outputs a terminal unlocking credential and transmits it to the target terminal, enabling the target terminal to perform the unlocking operation based on the credential.

[0049] Optionally, in another specific embodiment, the cloud server responds to the terminal unlocking request, receives the terminal unlocking information corresponding to the terminal receiving the request, generates unlocking challenge information based on the terminal unlocking information, and sends the unlocking authorization information to the target terminal, the unlocking authorization information including the unlocking challenge information.

[0050] Optionally, a cloud server receives the receiving credential information generated by the terminal to be received based on the receiving challenge information, verifies the receiving credential information, checks whether the signature, time window, location constraint and policy number are consistent, generates and transmits the terminal unlocking credential, so that the terminal to be received can unlock the terminal based on the terminal unlocking credential and obtain the terminal unlocking result.

[0051] Optionally, in other embodiments, the cloud server can also allocate terminal unlocking credentials for unlocking different terminal functions based on the unlocking risk level, and different terminal unlocking credentials can unlock different terminal functions.

[0052] Optionally, in other embodiments, when the target terminal's network status is abnormal, the target terminal may also generate a restricted unlocking credential based on the offline authorization package to perform restricted unlocking.

[0053] 203. Based on the terminal unlocking credential, perform unlocking processing on the target terminal to obtain the terminal unlocking result.

[0054] Optionally, after obtaining the terminal unlocking credential, the terminal uses the terminal unlocking credential to unlock the target terminal and obtain the terminal unlocking result.

[0055] Optionally, after receiving the terminal unlocking credential, the terminal uses the terminal unlocking credential to perform the unlocking operation, and performs a terminal environment trust verification after the unlocking is completed. In case of abnormality, the terminal may trigger an unlock revocation or function degradation operation.

[0056] Optionally, the terminal uses the terminal unlocking credential to unlock the target terminal and determine the unlocking execution environment of the target terminal. The unlocking execution environment refers to the execution environment interface displayed after the target terminal is unlocked.

[0057] Optionally, after performing the unlocking operation, the terminal also performs trusted state monitoring on the unlocking execution environment to obtain the trusted state of the unlocking execution environment. This trusted state is a detection status that characterizes whether there are any abnormal situations in the unlocking execution environment.

[0058] Optionally, if the trusted environment is determined to be an abnormal environment, the terminal locks or downgrades the unlocking execution environment, and determines the abnormal unlocking result as the terminal unlocking result.

[0059] Optionally, if the environment is determined to be in a normal environment state, the terminal will determine the normal unlocking result as the terminal unlocking result.

[0060] In this embodiment, the terminal unlocking device determines the terminal network status corresponding to the target terminal by responding to a terminal unlocking request for the target terminal; performs multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain a terminal unlocking credential; and performs unlocking processing on the target terminal based on the terminal unlocking credential to obtain a terminal unlocking result. This achieves the following: during the terminal-to-cloud unlocking process, the device identifies the terminal network status of the target terminal to be unlocked, performs multi-factor authentication based on different terminal network states and corresponding unlocking authorization data to obtain a terminal unlocking credential for unlocking, and realizes multi-factor collaborative unlocking authentication based on terminal network status, thereby improving the unlocking stability and security of terminal-to-cloud unlocking.

[0061] like Figure 3 As shown, Figure 3 A flowchart illustrating an embodiment of the terminal unlocking method provided in this application for generating unlocking credential information is shown below. Figure 3 In the embodiment shown, the terminal unlocking method further includes steps 301 to 304: 301. Generate first digest information based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information; 302. Generate second digest information based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information; 303. Generate an environment key signature using the execution environment key, and generate a third digest using the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information; 304. Combine the first digest information, the second digest information, and the third digest information to obtain the digest credential information.

[0062] Based on the above embodiments, in this embodiment, the terminal receives unlock authorization data output by the remote server based on the terminal unlock information in the terminal unlock request under normal network conditions. The unlock authorization data includes unlock challenge information. Multi-factor authentication is performed based on the terminal authentication information and the unlock challenge information to generate unlock credential information.

[0063] Optionally, the terminal generates first digest information based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information. Optionally, in one specific embodiment, the first digest information is calculated as follows: step1 = hash(device_fingerprint + nonce) Here, step1 is the first digest information, device_fingerprint is the terminal device fingerprint, and nonce is the unlock random number.

[0064] That is, the terminal combines the terminal device fingerprint and the unlock random number, and uses a hash algorithm to generate the first digest information corresponding to the combined terminal device fingerprint and unlock random number.

[0065] Optionally, after obtaining the first digest information, the terminal also generates second digest information based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information. That is, the terminal concatenates the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information, and calculates the second digest information using the concatenated data. The calculation method for the second digest information is as follows: step2 = hash(step1 + biometric_result + timestamp) Here, step2 is the second summary information, biometric_result is the biometric authentication result, and timestamp is the unlock timestamp.

[0066] Optionally, after obtaining the second digest information, the terminal uses the execution environment key to generate an environment key signature, and uses the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information to generate a third digest information. The calculation method for the third digest information is as follows: step3 = sign_with_tee_private_key(step2 + policy_id) Here, step3 is the third digest information, sign_with_tee_private_key is the environment key signature generated by the execution environment key, and policy_id is the policy identification information.

[0067] Optionally, after obtaining the first digest information, the second digest information, and the third digest information, the terminal combines the first digest information, the second digest information, and the third digest information to obtain the digest credential information.

[0068] In this embodiment, the terminal generates a first digest information based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information; it generates a second digest information based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information; it generates an environment key signature using the execution environment key, and generates a third digest information using the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information; and it combines the first digest information, the second digest information, and the third digest information to obtain the digest credential information. This constructs a one-time credential chain structure to prevent unlock credential replay, splitting forgery, and cross-session reuse, thereby improving unlock security.

[0069] like Figure 4 As shown, Figure 4 This is a flowchart illustrating a specific embodiment of the terminal unlocking method provided in this application for generating a restricted unlocking credential. Figure 4 In the illustrated embodiment, the terminal unlocking method further includes steps 401 to 403: 401. When the terminal network status is abnormal, read the unlocking authorization data stored in the target terminal, wherein the unlocking authorization data is an offline authorization package pre-issued by a remote server; 402. Verify the target terminal's trusted execution environment and the offline authorization package to obtain the verification result; 403. If the verification result meets the restricted unlocking conditions, then generate the restricted unlocking credential corresponding to the offline authorization package.

[0070] Based on the above embodiments, in this embodiment, when the target terminal's network status is abnormal, the target terminal also generates a restricted unlocking credential based on the offline authorization package to perform restricted unlocking.

[0071] Optionally, when the terminal determines that its network status is abnormal, it reads the unlocking authorization data stored in the target terminal. This unlocking authorization data is an offline authorization package pre-sent by the remote server. That is, to prevent the terminal from being unable to effectively unlock in a weak or no network state, the remote server pre-sent an offline authorization package to the terminal as the unlocking authorization data corresponding to the abnormal network state.

[0072] Optionally, after obtaining the offline authorization package, the terminal verifies it against the target terminal's trusted execution environment to obtain a verification result. That is, the terminal invokes the optional execution environment to verify the offline authorization package, determining whether the terminal device's fingerprint, biometric authentication result, and unlock time window meet the restricted unlocking conditions corresponding to the offline authorization package.

[0073] Optionally, if the terminal determines that the terminal device fingerprint, biometric authentication result, and unlock time window in the verification result all meet the restricted unlocking conditions, then a restricted unlocking credential corresponding to the offline authorization package is generated, and the restricted unlocking is performed using the restricted unlocking credential. After the terminal restores network connectivity, the offline unlocking audit record is synchronized to the remote server.

[0074] In this embodiment, when the terminal determines that its network state is abnormal, it reads the unlocking authorization data stored in the target terminal. This unlocking authorization data is an offline authorization package pre-issued by a remote server. The terminal performs verification based on the target terminal's trusted execution environment and the offline authorization package to obtain a verification result. If the verification result meets the restricted unlocking conditions, a restricted unlocking credential corresponding to the offline authorization package is generated. This achieves improved availability in weak network and offline environments through a tiered authorization mechanism, while avoiding the risk of loss of control associated with completely offline unlocking.

[0075] To better implement the terminal unlocking method in the embodiments of this application, based on the terminal unlocking method, the embodiments of this application also provide a terminal unlocking device, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of one embodiment of the terminal unlocking device provided in this application. Specifically, the terminal unlocking device 500 includes: The network identification module 501 is configured to respond to a terminal unlocking request for a target terminal and determine the terminal network status corresponding to the target terminal. The multi-factor authentication module 502 is configured to perform multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The terminal unlocking module 503 is configured to unlock the target terminal based on the terminal unlocking credential and obtain the terminal unlocking result.

[0076] In one possible implementation of this embodiment, the terminal unlocking device performs multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain a terminal unlocking credential, including: When the terminal network status is normal, the terminal authentication information corresponding to the target terminal is obtained. The terminal authentication information includes the terminal device fingerprint, biometric authentication result and execution environment key. Send a terminal unlock request to a remote server, and receive unlock authorization data output by the remote server based on the terminal unlock information in the terminal unlock request, wherein the unlock authorization data includes unlock challenge information; Generate unlocking credential information based on the terminal authentication information and the unlocking challenge information; The unlocking credential information is transmitted to a remote server so that the remote server can verify the information, generate and transmit the terminal unlocking credential.

[0077] In one possible implementation of this embodiment, the unlocking credential information in the terminal unlocking device includes summary credential information; The step of generating unlock credential information based on the terminal authentication information and the unlock challenge information includes: A first digest is generated based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information; A second digest is generated based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information; An environment key signature is generated using the execution environment key, and a third digest is generated using the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information. The first digest information, the second digest information, and the third digest information are combined to obtain the digest credential information.

[0078] In one possible implementation of this embodiment, the terminal unlocking device obtains the terminal authentication information corresponding to the target terminal, including: Read the terminal device fingerprint corresponding to the target terminal in the trusted execution environment corresponding to the target terminal; The biometric authentication module corresponding to the target terminal is invoked to perform biometric authentication and obtain the biometric authentication result; Terminal authentication information is generated based on the terminal device's fingerprint, biometric authentication result, and execution environment key.

[0079] In one possible implementation of this embodiment, the terminal unlocking device performs unlocking processing on the target terminal based on the terminal unlocking credential to obtain a terminal unlocking result, including: The target terminal is unlocked using the terminal unlocking credential, and the unlocking execution environment of the target terminal is determined. The trusted state of the unlocking execution environment is monitored to obtain the trusted state of the unlocking execution environment; If the trusted environment is in an abnormal environment state, the unlocking execution environment is locked, and the abnormal unlocking result is determined as the terminal unlocking result. If the environment trust status is normal, then the normal unlocking result will be determined as the terminal unlocking result.

[0080] In one possible implementation of this embodiment, the terminal unlocking device's terminal unlocking credential includes a restricted unlocking credential; The step of performing multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential includes: When the terminal network status is abnormal, the unlock authorization data stored in the target terminal is read, and the unlock authorization data is an offline authorization package pre-issued by the remote server; The verification result is obtained by verifying the trusted execution environment of the target terminal and the offline authorization package; If the verification result meets the restricted unlocking conditions, a restricted unlocking credential corresponding to the offline authorization package is generated.

[0081] In one possible implementation of this embodiment, the terminal unlocking device is further configured to respond to a terminal unlocking request and receive terminal unlocking information corresponding to the terminal receiving request; Based on the terminal unlock information, unlock challenge information is generated, and unlock authorization information is sent to the target terminal, wherein the unlock authorization information includes unlock challenge information; The system receives reception credentials generated by the terminal to be received based on the reception challenge information, verifies the reception credentials, generates and transmits a terminal unlocking credential, so that the terminal to be received can unlock the terminal based on the terminal unlocking credential and obtain the terminal unlocking result.

[0082] In this embodiment, the terminal unlocking device determines the terminal network status corresponding to the target terminal by responding to a terminal unlocking request for the target terminal; performs multi-factor authentication based on the terminal network status and unlocking authorization data corresponding to the remote server to obtain a terminal unlocking credential; and performs unlocking processing on the target terminal based on the terminal unlocking credential to obtain a terminal unlocking result. This achieves the following: during the terminal-to-cloud unlocking process, the device identifies the terminal network status of the target terminal to be unlocked, performs multi-factor authentication based on different terminal network states and corresponding unlocking authorization data to obtain a terminal unlocking credential for unlocking, and realizes multi-factor collaborative unlocking authentication based on terminal network status, thereby improving the unlocking stability and security of terminal-to-cloud unlocking.

[0083] This invention also provides a terminal unlocking device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of one embodiment of the terminal unlocking device provided in this application.

[0084] The terminal unlocking device integrates any of the terminal unlocking devices provided in the embodiments of the present invention, and the terminal unlocking device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the terminal unlocking method described in any of the embodiments of the above terminal unlocking method.

[0085] Specifically, a terminal unlocking device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The terminal unlocking device structure shown does not constitute a limitation on the terminal unlocking device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 601 is the control center of the terminal unlocking device. It connects various parts of the terminal unlocking device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data of the terminal unlocking device, thereby providing overall monitoring of the terminal unlocking device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.

[0086] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and terminal unlocking by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the terminal unlocking device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0087] The terminal unlocking device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0088] The terminal unlocking device may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0089] Although not shown, the terminal unlocking device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the terminal unlocking device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows: In response to a terminal unlocking request for a target terminal, determine the terminal network status corresponding to the target terminal; Multi-factor authentication is performed based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The target terminal is unlocked based on the terminal unlocking credential, and the terminal unlocking result is obtained.

[0090] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the terminal unlocking methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps: In response to a terminal unlocking request for a target terminal, determine the terminal network status corresponding to the target terminal; Multi-factor authentication is performed based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The target terminal is unlocked based on the terminal unlocking credential, and the terminal unlocking result is obtained.

[0091] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0092] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0093] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0094] The terminal unlocking method provided by the embodiments of this application has been described in detail above. Specific embodiments have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A terminal unlocking method, characterized in that, Applied to the target terminal, the terminal unlocking method includes: In response to a terminal unlocking request for a target terminal, determine the terminal network status corresponding to the target terminal; Multi-factor authentication is performed based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The target terminal is unlocked based on the terminal unlocking credential, and the terminal unlocking result is obtained.

2. The terminal unlocking method according to claim 1, characterized in that, The step of performing multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential includes: When the terminal network status is normal, the terminal authentication information corresponding to the target terminal is obtained. The terminal authentication information includes the terminal device fingerprint, biometric authentication result and execution environment key. Send a terminal unlock request to a remote server, and receive unlock authorization data output by the remote server based on the terminal unlock information in the terminal unlock request, wherein the unlock authorization data includes unlock challenge information; Generate unlocking credential information based on the terminal authentication information and the unlocking challenge information; The unlocking credential information is transmitted to a remote server so that the remote server can verify the information, generate and transmit the terminal unlocking credential.

3. The terminal unlocking method according to claim 2, characterized in that, The unlocking credential information includes summary credential information; The step of generating unlock credential information based on the terminal authentication information and the unlock challenge information includes: A first digest is generated based on the terminal device fingerprint in the terminal authentication information and the unlock random number in the unlock challenge information; A second digest is generated based on the first digest information, the biometric authentication result in the terminal authentication information, and the unlock timestamp in the unlock challenge information; An environment key signature is generated using the execution environment key, and a third digest is generated using the environment key signature, the second digest information, and the policy identifier information in the unlock challenge information. The first digest information, the second digest information, and the third digest information are combined to obtain the digest credential information.

4. The terminal unlocking method according to claim 2, characterized in that, The step of obtaining the terminal authentication information corresponding to the target terminal includes: Read the terminal device fingerprint corresponding to the target terminal in the trusted execution environment corresponding to the target terminal; The biometric authentication module corresponding to the target terminal is invoked to perform biometric authentication and obtain the biometric authentication result; Terminal authentication information is generated based on the terminal device's fingerprint, biometric authentication result, and execution environment key.

5. The terminal unlocking method according to claim 1, characterized in that, The process of unlocking the target terminal based on the terminal unlocking credential to obtain the terminal unlocking result includes: The target terminal is unlocked using the terminal unlocking credential, and the unlocking execution environment of the target terminal is determined. The trusted state of the unlocking execution environment is monitored to obtain the trusted state of the unlocking execution environment; If the trusted environment is in an abnormal environment state, the unlocking execution environment is locked, and the abnormal unlocking result is determined as the terminal unlocking result. If the environment trust status is normal, then the normal unlocking result will be determined as the terminal unlocking result.

6. The terminal unlocking method according to claim 1, characterized in that, The terminal unlocking credentials include restricted unlocking credentials; The step of performing multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential includes: When the terminal network status is abnormal, the unlock authorization data stored in the target terminal is read, and the unlock authorization data is an offline authorization package pre-issued by the remote server; The verification result is obtained by verifying the trusted execution environment of the target terminal and the offline authorization package; If the verification result meets the restricted unlocking conditions, a restricted unlocking credential corresponding to the offline authorization package is generated.

7. A terminal unlocking method, characterized in that, Applied to remote servers, the terminal unlocking method includes: Responding to a terminal unlock request, receiving terminal unlock information corresponding to the terminal receiving request; Based on the terminal unlock information, unlock authorization information is generated and sent to the target terminal. The unlock authorization information includes unlock challenge information. The system receives the receiving credential information generated by the terminal to be received based on the receiving challenge information, verifies the receiving credential information, generates and transmits a terminal unlocking credential, so that the terminal to be received can unlock the terminal based on the terminal unlocking credential and obtain the terminal unlocking result.

8. A terminal unlocking device, characterized in that, The terminal unlocking device includes: The network identification module is configured to respond to a terminal unlocking request for a target terminal and determine the terminal network status corresponding to the target terminal. The multi-factor authentication module is configured to perform multi-factor authentication based on the terminal network status and the unlocking authorization data corresponding to the remote server to obtain the terminal unlocking credential. The terminal unlocking module is configured to unlock the target terminal based on the terminal unlocking credential, and obtain the terminal unlocking result.

9. A terminal unlocking device, characterized in that, The terminal unlocking device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the terminal unlocking method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the terminal unlocking method according to any one of claims 1 to 7.