This application claims the priority under 35 U.S.C. §119(a) to a Chinese Patent Application Serial No. 201310163784.5 filed on May 7, 2013 in the Chinese Patent Office, the entire disclosure of which is incorporated herein by reference.
1. Technical Field of the Invention
The present invention generally relates to a field of security technologies of an intelligent terminal device, and more particularly, to a method and apparatus for unlocking a terminal device.
2. Description of the Related Art
With the growing popularity of large-screen intelligent terminal devices, the intelligent terminal devices play an increasingly important role in our lives. Taking the smart phone for example, at present, the smart phone is a Micro-PC and stores a large amount of user data. The security features of the smart phone have become increasingly important. In order to enhance the security of the intelligent terminal device, the existing intelligent terminal device usually has a locking function.
The current mainstream technology for unlocking a touch screen is a touch screen slide-to-unlock technology. That is, first, the user predefines an unlock path on an unlock figure. Then, the user performs the sliding operation on the touch screen according to the predefined unlock path to unlock the intelligent terminal device. On the one hand, this technology may avoid improper operations incurred by touching the intelligent terminal device accidentally. On the other hand, the personalized path settings may provide only limited confidentiality to protect the security of personal information in the intelligent terminal device.
With the conventional touch screen slide-to-unlock technology, position information is obtained via the change of the contact capacitance caused by touching a metal layer on the surface of a capacitive screen with a finger. It is inconvenient to use in low outdoor temperatures. Although special gloves are available, such gloves are not widely used. At the same time, with the continuous enlargement of the screen of the terminal device, it becomes more and more difficult to operate the terminal device with one hand. It is necessary to provide an improved scheme to deal with complicated situations in actual use.
The conventional method provides a voice unlock technology. With this technology, a voice for unlocking may be recorded in advance or a password for unlocking set in advance. It is determined whether a password text obtained by voice recognition is identical with a preset text when performing the unlocking operation. Furthermore, the matching of voice information features may also be performed as auxiliary matching, to achieve the object of voice unlock.
The above voice unlock technology may be applied to the intelligent terminal device, which may ensure the security of the intelligent terminal device. However, considering that the unlock operation is frequently performed, common voice passwords are easy to be stolen. In order to solve the technical problem, a conventional method of improvement is to compare the voice password with the voiceprint of a user of the intelligent terminal device adopting a Voiceprint Recognition (VPR) technology, and further update an acoustic model via self-adaption of the voice of the user. This may not only enhance the accuracy of the recognition, but may also prevent others from cracking the unlocking operation after wiretapping an unlocking password. However, when the voice of the user changes (such as due to hoarseness caused by cough), this solution causes the user inconvenience. The usage of the voice unlock is also problematic in settings where the user must speak quietly, such as in a conference room. Therefore, the various user requirements, such as the security and robustness of the voice unlock technology should be taken into consideration.
The present invention has been made to address at least the problems and disadvantages described above and to provide at least the advantages described below. Accordingly, an aspect of the present invention provides a method for unlocking a terminal device and an apparatus, which may enhance ease of use and security of the unlocking operation in different scenarios.
In accordance with an aspect of the present invention, a method is provided for unlocking a terminal device. The method includes displaying an unlock interface including a plurality of nodes on a screen of the terminal device, wherein each of the plurality of nodes is displayed with prompt information; detecting voice input; performing voice recognition on the detected voice input; determining whether a result of the voice recognition corresponds to preset unlock nodes based on the prompt information displayed on each of the plurality of nodes; and when the result of the voice recognition corresponds to the preset unlock nodes, unlocking the terminal device, and displaying an interface behind the unlock interface.
In accordance with another aspect of the present invention, a terminal device is provided. The terminal device includes a voice recognition engine configured to detect voice input, perform voice recognition on the detected voice, and send a result of the voice recognition to an unlock module; the unlock module configured to generate an unlock interface comprising a plurality of nodes, wherein each of the plurality of nodes is identified with prompt information, and when the result of the voice recognition corresponds to preset unlock nodes based on the prompt information for each of the plurality of nodes to unlock the terminal device, and to generate an interface behind the unlock interface; and a screen to display the generated unlock interface including the plurality of nodes and the associated prompt information, to display a microphone icon when the voice recognition engine is triggered to start; and to display the interface behind the unlock interface when the terminal device is unlocked.
The above and other aspects, features and advantages of embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
The present invention is further described in detail hereinafter with reference to the accompanying drawings to make the objective, technical solution and merits thereof more apparent.
In order to solve the problems in the conventional method, the present invention provides a voice recognition assisted slide-to-unlock scheme. Based on the conventional touch screen slide-to-unlock solution, the present invention takes the voice recognition technology as an auxiliary unlocking solution. When an unlocking interface of the intelligent terminal device is displayed, the unlocking interface, including several nodes, is displayed according to a preset scheme, and voice input of the user is detected simultaneously. If the user unlocks the intelligent terminal device in a touch and slide manner, the intelligent terminal device is unlocked according to the touch and slide manner. If the user unlocks the intelligent terminal device using the voice, the user needs to speak out corresponding unlocking nodes based on prompt information displayed on an unlock figure. The terminal device detects the voice input of the user and determines nodes corresponding to the voice, to achieve the object of unlocking the terminal device without touching the touch screen. The voice of the user is detected using a voice recognition engine.
Referring to
In step 102, input is detected. In step 103, it is determined whether the input is voice input. If the detected input is voice input, then in step 104 voice recognition is performed on the detected voice input. In step 105, the nodes corresponding to the result of the voice recognition is compared to the preset lock nodes based on the prompt information displayed on each node. In step 107, it is determined whether the result of the voice recognition corresponds to the preset unlock nodes based on the prompt information displayed on each node. If they do correspond, then in step 108, the terminal device is unlocked and in step 109, an interface behind the unlock interface is displayed. If they do not correspond, the process returns to step 102 to detect input.
Alternatively, if the input of the user on the unlock interface is detected in step 103, then in step 106, the nodes corresponding to the input of the user on the unlock interface is compared to the preset lock nodes. In step 107, it is determined whether the input of the user corresponds to the preset unlock nodes. If they do correspond, then in step 108, the terminal device is unlocked and in step 109, an interface behind the unlock interface is displayed. If they do not correspond, the process returns to step 102 to detect input. Here, the input of the user includes touching input and hovering input. In addition, the manner of the input may include input made by the user using a finger or a touch pen, or the input made by the user's eyeballs. For instance, the node selected by the user may be determined via collecting a point focused by the eyeballs of the user on the unlock interface.
Several embodiments of the present invention are provided for determining whether the result of the voice recognition corresponds to the preset unlock nodes in step 104 to 107.
In accordance with a first embodiment of the present invention, nodes corresponding to the result of the voice recognition are determined based on the prompt information displayed on each node. Then, it is determined whether the determined nodes correspond to the preset unlock nodes. The corresponding method may be a one-to-one relationship in the order of the nodes. In the alternative, the order of the nodes may not be considered, as long as the aggregation of the nodes corresponding to the result of the voice recognition is the same as the aggregation of the unlock nodes.
In accordance with a second embodiment of the present invention, nodes corresponding to the result of the voice recognition are determined based on the prompt information displayed on each node, a corresponding path is obtained according to the determined nodes, and a determination is made as to whether the path matches with an unlock path corresponding to the preset unlock nodes.
In accordance with a third embodiment of the present invention, prompt information corresponding to the unlock nodes is determined based on the prompt information displayed on each node. Then, it is determined whether the determined prompt information corresponds to the result of the voice recognition. The corresponding method may be a one-to-one relationship in the order of the nodes. In the alternative, the order of the nodes may not be considered, as long as the aggregate of prompt information corresponding to the result of the voice recognition is the same as the aggregate of prompt information for the unlock nodes.
In accordance with a fourth embodiment of the present invention, prompt information combination corresponding to an unlock path corresponding to unlock nodes is determined based on the prompt information displayed on each node. Then, it is determined whether the determined prompt information combination corresponds to the result of the voice recognition. The corresponding method may be a one-to-one relationship in the order of the nodes. In the alternative, the order of the nodes may not be considered, as long as the prompt information combination corresponding to the result of the voice recognition is the same as the prompt information combination of the unlock nodes.
With the above technical scheme provided by the various embodiments of the present invention, in some scenarios in which it is inconvenient to use the touch screen sliding operation, the user may unlock the intelligent terminal device via the function of voice unlock. With the complementary touch screen slide-to-unlock technology and the voice unlock technology, the ease of use of the unlocking and the security of the user information is taken into consideration, which improves the user experience.
In step 109, the interface behind the unlock interface may include preset icons of function options or applications, and each of the preset icons is displayed with prompt information on or around the icon. After displaying the interface behind the unlock interface, including the preset icons, a voice input is detected. A voice recognition on the detected voice input is performed. An icon of a function option or an application corresponding to the result of the voice recognition is determined based on the prompt information displayed on or around the icons of the function options or applications. The corresponding function or application is executed.
Referring to
According to an embodiment of the present invention, the user may set an unlock
When the user activates the unlock interface, the unlock picture selected by the user in the background picture setting interface 400 is displayed. If an unlock path is set for performing the unlocking operation, the unlock picture may be any picture in which the path can be planned; otherwise, the unlock picture displays the nodes and prompt information of the nodes (i.e., the prompts). The nodes of the path are set based on the unlock picture, and the prompts of the nodes may be freely used together with the set nodes of the path. Similar to an ordinary lattice slide-to-unlock where only adjacent nodes may be connected to create an unlock path, since the unlocking operation of the present invention is performed based on the unlock path, and since not all the nodes are connected with each other, not every combination of nodes will create a valid path. Node connectivity (and valid unlock paths) in the present invention is determined by the topology of the unlock picture. Additionally, the connectivity of the nodes provides information of language models for the voice recognition. Results containing nodes which are disconnected based on the topology of the unlock picture are considered to be false results and are removed from the candidate recognition results obtained by the voice recognition engine
Referring back to
Referring back to
As for the scheme in which the unlocking is performed without the unlock path, unlock nodes may be set. When the unlocking operation is performed, it is determined whether the result of the voice recognition corresponds to the preset unlock nodes according to the methods described in the above embodiments of the present invention.
Referring back to
As shown in
If the personal use checkbox 307c is checked, the current model parameters may be modified via a previous unlock voice of the user. Therefore, using an acoustic model used by the voice recognition, the voice of an exclusive user is more likely to be recognized, and a recognition accuracy of other users is reduced. This may partially prevent others from obtaining unauthorized access to the terminal device.
Referring back to
Referring to
Referring to
If the unlocking operation succeeds, the common function options (or common applications) set by the user are displayed on the interface behind the unlock interface. Additionally, corresponding prompt information is displayed on or around the icons of the common function options (or common applications) for the user to choose. The corresponding prompt information may use the node prompt scheme which was set for the unlock interface, or it may use separate prompt information. Such prompt information may enhance the ease of use.
The technical scheme of the various embodiments of the present invention may apply to not only unlocking the terminal device when the terminal device is on standby, but also may also apply to unlocking a file before the file is opened, or to unlocking an application before an application is started.
Different interfaces behind the unlock interface may be provided according to the various scenarios. For instance, if the technical scheme applies to unlocking the terminal device when the terminal device is on standby, when the unlocking operation succeeds and the unlock interface is opened, the icons of the common applications set by the user are displayed on the interface behind the unlock interface. On the other hand, if the technical scheme applies to unlocking an application before the application is started, when the unlocking operation succeeds and the unlock interface is opened, the common function options of the unlocked application are displayed on the interface behind the unlock interface.
Referring back to
In step 220, when the unlock function is triggered, the slide-to-unlock interface 800 (as shown in
When the voice input is detected, an audio clip of a single word is obtained first via voice segmentation, in step 240. In step 250, acoustic features are obtained, real-time voice recognition is performed on each single word using the voice recognition engine, and one or multiple candidate recognition results are respectively obtained corresponding to each single word. Next, in step 260, a path connecting the nodes corresponding to the voice recognition is modified by the topology of the unlock figure.
A brief description of the node connectivity topology information of the unlock figure is given here. As mentioned above, the unlock figure consists of several nodes. Only those nodes adjacent to one another will connect, thus not all nodes may connect with each other. Taking the picture of the Sudoku dots shown in
In step 270, it is determined whether the unlocking operation is successful. If the unlocking operation is successful, then the terminal device is unlocked in step 280 and the interface behind the unlock interface in displayed in step 290. If the unlocking operation is unsuccessful, then the process returns to step 230 and waits to detect an input signal. Whether the unlocking operation is successful is determined based on the four embodiments of the present invention described above, and by adopting four corresponding methods.
In the first method: Nodes corresponding to the result of the voice recognition (i.e., the candidate recognition result of each single word) are determined according to prompt information displayed on each node. Then, it is determined whether the determined node corresponding to each single word corresponds to each of the preset unlock nodes. If yes, the unlocking operation succeeds. The corresponding method may be a one-to-one relationship between the determined node corresponding to each single word and each of the preset unlock nodes. In the alternative, the determined node corresponding to each single word corresponds to each of the preset unlock nodes, and the order of the voice input of the determined nodes corresponds to an unlock order of the preset unlock nodes.
In the second method: Corresponding to the unlocking scheme using the unlock path, as for the single word with multiple candidate recognition results, the above recognition results are validated based on the node connectivity topology information of the unlock figure and the prompt information of each node, the best node corresponding to each single word is returned. As for the single word with one candidate recognition result, the node corresponding to the candidate recognition result is taken as the node corresponding to the single word according to the prompt information of each node. Last, a corresponding path is obtained according to the node corresponding to each single word, and the path is matched with the unlock path corresponding to the preset unlock nodes, to finish the unlocking operation.
In the third method: The prompt information of the unlock nodes is determined according to the prompt information displayed on each node. It is determined whether the determined prompt information corresponds to the result of the voice recognition (i.e., the candidate recognition result of each single word). If yes, the unlocking operation succeeds. The corresponding method may be a one-to-one relationship between the determined nodes and the preset unlock nodes. In the alternative, the determined nodes correspond to the preset unlock nodes, and the order of the voice input of the determined nodes corresponds to the unlock order of the preset unlock nodes.
In the fourth method: An prompt information combination corresponding to the unlock path corresponding to the unlock nodes is determined according to the prompt information displayed on each node. It is determined whether the determined prompt information combination corresponds to the result of the voice recognition (i.e. the candidate recognition result of each single word). If yes, the unlocking operation succeeds. The corresponding method may be a one-to-one relationship between the determined prompt information and the result of the voice recognition. In the alternative, the determined information corresponds to the result of the voice recognition, and the prompt information which is determined according to the unlock order of the unlock nodes corresponds to the result of the voice recognition.
The above four situations respectively correspond to the above four embodiments of the present invention.
Referring to
When the unlock process is triggered via an operation, the corresponding unlock interface is displayed on the screen of the terminal device according to the previously set unlock function options. The set numeric prompts are randomly distributed on each node if the user checked the distributing prompts randomly checkbox 309. As shown in
Then, the user may choose to use the voice-controlled method to unlock the device, and speak out a numeric string for unlocking the device according to the preset unlock path. Using the example shown in
After the sliding operation is finished, the terminal device detects whether the input path matches with the preset unlock path. If it does, the terminal device is unlocked and voice recognition engine is closed; otherwise, the user is informed that the unlocking operation fails. The terminal device continues to wait for an additional input signal until the screen is closed.
Referring to
Referring to
The unlock module 1002 is configured to generate an unlock interface including several nodes, display the generated unlock interface on the screen 1003 of the terminal device, and display a microphone icon on the screen 1003 of the terminal device when the voice recognition engine 1001 is triggered to start.
The voice recognition engine 1001 is configured to detect voice input, perform voice recognition on voice, and send a result of the voice recognition to the unlock module 1002.
The unlock module 1002 is further configured to determine whether the result of the voice recognition corresponds to the preset unlock nodes based on prompt information displayed on each node, unlock the device when they do correspond and display an interface behind the unlock interface on the screen 1003 after the device is unlocked.
According to an embodiment of the present invention, the unlock module 1002 is further configured to detect touch or hovering input of the user on the unlock interface, determine whether nodes corresponding to the input correspond to the preset unlock nodes based on the prompt information displayed on each node after input is complete, and, if they do correspond, display the interface behind the unlock interface on the screen 1003.
According to an embodiment of the present invention, the unlock module 1002 is further configured to determine nodes corresponding to the result of the voice recognition based on the prompt information displayed on each node, and to determine whether the nodes corresponding to the result of the voice recognition corresponds to the preset unlock nodes through determining whether the determined nodes correspond to the preset unlock nodes; or the unlock module 1002 is further configured to determine the nodes corresponding to the result of the voice recognition based on the prompt information displayed on each node, obtain a corresponding path according to the determined nodes, and determine whether the result of the voice recognition corresponds to the preset unlock nodes through determining whether the path matches with an unlock path corresponding to the preset unlock nodes; or the unlock module 1002 is further configured to determine prompt information corresponding to the unlock nodes based on the prompt information displayed on the each node, and determine whether the result of the voice recognition corresponds to the preset unlock nodes through determining whether the determined prompt information corresponds to the result of the voice recognition; or the unlock module 1002 is further configured to determine a prompt information combination corresponding to the unlock path corresponding to the unlock nodes according to the information displayed on each node, and determine whether the result of the voice recognition corresponds to the preset unlock nodes through determining whether the determined prompt information combination corresponds to the result of the voice recognition.
According to an embodiment of the present invention, the voice recognition engine 1001 is further configured to perform voice recognition on each word of the voice input, to obtain one or multiple candidate recognition results corresponding to each word, to determine, for a word with multiple candidate recognition results, the best node corresponding to the single word according to node connectivity information of the unlock interface and the prompt information displayed on each node, to determine, for a word with one candidate recognition result, a node corresponding to the word with one candidate recognition result based on the prompt information displayed on each node, and to connect each node corresponding to the each word to obtain the corresponding path.
According to another embodiment of the present invention, the unlock module 1002 is further configured to determine whether there is a one-to-one relationship between the determined nodes and the preset unlock nodes; or to determine whether there is a one-to-one relationship between the determined nodes and the preset unlock nodes, and to determine whether an order of voice input corresponding to the determined nodes corresponds to an unlock order of the preset unlock nodes.
According to another embodiment of the present invention, the unlock module 1002 is further configured to determine whether there is a one-to-one relationship between the determined prompt information and the result of the voice recognition; or to determine whether there is a one-to-one relationship between the determined prompt information and the result of the voice recognition and to determine whether prompt information determined according to an unlock order of the unlock nodes corresponds to the result of the voice recognition.
According to another embodiment of the present invention, the unlock module 1002 is further configured to randomly access prompt information and display the prompt information on each node when the unlock interface is generated, and to control whether to display the path obtained according to the result of the voice recognition on the unlock interface.
According to another embodiment of the present invention, to further enhance security, the unlock module may be further configured such that the prompt of each node is randomly distributed on the unlock interface each time the unlocking operation is performed. Additionally, during the unlocking process, the corresponding sliding path corresponding to the voice input is not displayed. In this way, the sliding path information encrypted by the voice will not be disclosed. Along with the change of the prompt, the voice does not carry decryption information. Even if the unlock voice of the user is accurately recorded, the unlock voice cannot be used repeatedly. The user may choose to use voice modification model parameters of the unlocking operation. On the one hand, it can be guaranteed that the unlock voice of the user may be recognized correctly. As a result, unauthorized use can be effectively prevented. Therefore, multiple encryption is implemented with a simple method, which greatly enhances the security of the terminal device. In addition, the methods of the present invention are not limited to the unlocking operation of the intelligent terminal device, instead, these methods can be used as an unlocking scheme in general security and defense systems.
The present invention provides the user, in scenarios where it is inconvenient to use the touch screen sliding operation to unlock an intelligent terminal devices, with the ability to unlock the device via a voice unlock function or the touch screen slide-to-unlock function. This combined functionality enhances the user's experience by providing an easy and convenient to use unlocking operation and also ensures the security of the terminal device and user information.
The foregoing only describes embodiments of the present invention. The scope of the present invention, however, is not limited to the above description. Any change or substitution, easily occurring to those skilled in the art, should be covered by the scope of the present invention, as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
201310163784.5 | May 2013 | CN | national |