Disclosure of Invention
The invention provides a terminal unlocking method, which is applied to a terminal, wherein the terminal comprises a touch display screen, a shell and an input module, the touch display screen and the shell are arranged oppositely, the input module is arranged on the shell, the input module is used for receiving the operation of a user, and the terminal unlocking method comprises the following steps:
triggering a touch display screen of the terminal to generate an unlocking interface;
receiving a first operation track input by a user through the input module;
judging whether the first operation track is matched with a pre-stored unlocking pattern or not;
and when the first operation track is matched with the unlocking pattern, unlocking the touch display screen of the terminal.
Wherein, between the step of receiving a first operation track input by a user through the input module and the step of judging whether the first operation track is matched with a pre-stored unlocking pattern, the terminal unlocking method further comprises:
and displaying an operation pattern corresponding to the first operation track input by the user on the unlocking interface.
Wherein the step of displaying the operation pattern corresponding to the first operation track input by the user on the unlocking interface includes:
and synchronously displaying a display pattern with the same shape as an operation pattern formed by the first operation track input by the user on the unlocking interface.
Wherein, the first operation track input by the user is received through the input module, and the step of judging whether the first operation track is matched with the pre-stored unlocking pattern further comprises the following steps:
and converting the first operation track input by the user into a display pattern according to a preset rule and displaying the display pattern on the unlocking interface, wherein the display pattern is different from the operation pattern formed by the first operation track in shape.
After the step of unlocking the touch display screen of the terminal when the first operation track is matched with the unlocking pattern, the terminal unlocking method further includes:
receiving a second operation track input by a user through the input module;
judging whether the second operation track is matched with a preset track in a preset operation track list or not, wherein the preset operation track list comprises a plurality of preset tracks, and each preset operation track corresponds to an operation instruction, wherein the operation instruction comprises an operation instruction of an application program in the terminal or a page turning instruction of the terminal;
and when the second operation track is matched with a preset track in the preset track list, triggering the operation instruction corresponding to the preset track.
The invention also provides a terminal, which comprises a touch display screen, a shell and an input module, wherein the touch display screen is arranged opposite to the shell, the input module is arranged on the shell, and the input module is used for receiving the operation of a user, and the terminal also comprises:
the triggering module is used for triggering the touch display screen of the terminal to generate an unlocking interface;
the receiving module is used for receiving a first operation track input by a user and received by the input module;
the judging module is used for judging whether the first operation track is matched with a pre-stored unlocking pattern or not;
and the unlocking module is used for unlocking the touch display screen of the terminal when the first operation track is matched with the unlocking pattern.
Wherein, the terminal further includes:
and the display module is used for displaying the operation pattern corresponding to the first operation track input by the user on the unlocking interface.
The display module is used for synchronously displaying display patterns with the same operation pattern shape formed by the first operation track input by the user on the unlocking interface.
Wherein, the terminal further includes:
the conversion module is used for converting the first operation track input by the user into a display pattern according to a preset rule and displaying the display pattern on the unlocking interface, wherein the display pattern is different from the operation pattern formed by the first operation track in shape.
The receiving module is further used for receiving a second operation track input by the user through the input module; the judging module is further configured to judge whether the second operation track is matched with a preset track in a preset operation track list, where the preset operation track list includes multiple preset tracks, and each preset operation track corresponds to an operation instruction, where the operation instruction includes an operation instruction of an application program in the terminal or a page turning instruction of the terminal; the triggering module is further configured to trigger the operation instruction corresponding to the preset track when the second operation track matches with the preset track in the preset track list.
In the invention, the input module is arranged on the shell of the terminal, a user inputs a first operation track on the input module, and when the first operation track is matched with a pre-stored unlocking pattern, the touch display screen of the terminal is unlocked. Compared with the prior art that the input module is arranged on the shell and is unlocked on the touch display screen, the terminal unlocking method provided by the invention can not cause the touch display screen to be worn and deformed, and the terminal also has better display quality.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.
Referring to fig. 1, fig. 2 and fig. 3 together, fig. 1 is a flowchart of a terminal receiving method according to a first preferred embodiment of the present invention; fig. 2 is a schematic top view of a terminal according to a preferred embodiment of the present invention; fig. 3 is a rear view of a terminal according to a preferred embodiment of the invention. The terminal unlocking method is applied to the terminal 10, and the terminal includes but is not limited to a smart phone, an internet device (MID), an electronic book, a Portable Player Station (PSP), a Personal Digital Assistant (PDA), and other Portable devices. The terminal 10 includes a touch display screen 110, a housing 120 and an input module 130. The touch display screen 110 is disposed opposite to the housing 120, the input module 130 is disposed on the housing 120, and the input module 130 is used for receiving an operation of a user. The input module 130 may be a module with a touch function, or may also be a fingerprint identification chip. The terminal unlocking method includes, but is not limited to, the following steps.
Step S101, triggering the touch display screen 110 of the terminal 10 to generate an unlocking interface. The method for triggering the touch display screen 110 of the terminal 10 to generate the unlocking interface includes, but is not limited to, the following ways. When the touch display screen 110 of the terminal 10 is in the screen locking state, pressing the power key of the terminal 10 will trigger the touch display screen 110 of the terminal 10 to display the unlocking interface. The unlocking interface may be a nine-grid unlocking interface as shown in fig. 4. The unlocking interface of the squared figure is an unlocking interface formed by arranging nine circles in a matrix form in three rows and three columns. It is to be understood that, in other embodiments, the unlocking interface is not limited to be a nine-grid unlocking interface, and the unlocking interface may also be other shapes or forms of unlocking interfaces, such as a bar-shaped unlocking interface or a circular arc-shaped unlocking interface.
Step S102, receiving a first operation track input by the user through the input module 130.
Step S103, judging whether the first operation track is matched with a pre-stored unlocking pattern.
Step S104, when the first operation track matches the unlocking pattern, unlocking the touch display screen 110 of the terminal 10. And when the first operation track is not matched with the unlocking pattern, unlocking fails, and the unlocking process is finished.
In the present invention, by providing the input module 130 on the housing 120 of the terminal 10, a user inputs a first operation track on the input module 130, and when the first operation track matches a pre-stored unlocking pattern, the touch display screen 110 of the terminal 10 is unlocked. Because the input module 130 is disposed on the housing 120, compared with the prior art that the touch display screen is unlocked, the terminal unlocking method of the present invention does not cause the touch display screen 110 to be worn and deformed, and the terminal 10 has better display quality.
Preferably, in the step S102, the first operation track input by the user is received through the input module 130, and the step S103, whether the first operation track is matched with a pre-stored unlocking pattern is determined, and the terminal unlocking method further includes the following steps.
And step I, displaying an operation pattern corresponding to the first operation track input by the user on the unlocking interface. The operation pattern corresponding to the first operation track input by the user is displayed on the unlocking interface, so that the user can more intuitively observe the operation pattern input by the user. Preferably, in the step I, displaying an operation pattern corresponding to the first operation track input by the user on the unlocking interface includes: and synchronously displaying a display pattern with the same shape as an operation pattern formed by the first operation track input by the user on the unlocking interface.
Preferably, the terminal unlocking method further includes the following steps.
Step S105, receiving a second operation track input by the user through the input module 130.
Step S106, determining whether the second operation track matches a preset track in a preset operation track list, where the preset operation track list includes a plurality of preset tracks, and each preset operation track corresponds to an operation instruction, where the operation instruction includes an operation instruction of an application program in the terminal 10 or a page turning instruction of the terminal 10. For example, when the operation instruction is a page turning instruction in the terminal 10, the second operation track may be an upward sliding motion input by the user on the input module 130, and the corresponding operation instruction is the page turning instruction of the terminal 10; the second operation track may be a downward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a page-down instruction of the terminal 10; the second operation track may be a leftward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a leftward page turning instruction of the terminal 10; the second operation track may be a downward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a page-down instruction of the terminal 10.
S107, when the second operation track is matched with a preset track in the preset track list, triggering the operation instruction corresponding to the preset track.
After the terminal 10 is unlocked, a second operation track input by a user can still be received through the input module 130 arranged on the housing 120 of the terminal 10, the second operation track is compared with a preset track in a preset operation list, and when the second operation track is matched with the preset track in the preset operation track list, the operation instruction corresponding to the preset track is triggered. So that the operation instruction triggers a corresponding application program or page turning of the terminal.
Referring to fig. 5, fig. 6 and fig. 7 together, a method for unlocking a terminal according to another embodiment of the present invention is described below, where fig. 5 is a flowchart of a method for unlocking a terminal according to a second preferred embodiment of the present invention; fig. 6 is a schematic top view of a terminal according to another preferred embodiment of the present invention; fig. 7 is a rear view of a terminal according to another preferred embodiment of the present invention. The terminal unlocking method is applied to the terminal 20, which includes but is not limited to a portable device such as a smart phone, an internet device, an electronic book, a portable play station or a personal digital assistant. The terminal 20 includes a touch display screen 210, a housing 220 and an input module 230. The touch display screen 210 is disposed opposite to the housing 220, the input module 230 is disposed on the housing 220, and the input module 230 is configured to receive an operation of a user. The terminal unlocking method includes, but is not limited to, the following steps.
Step S201, triggering the touch display screen 210 of the terminal 20 to generate an unlocking interface. The method for triggering the touch display screen 210 of the terminal 20 to generate an unlocking interface includes, but is not limited to, the following ways. When the touch display screen 210 of the terminal 20 is in the screen locking state, pressing the power key of the terminal 20 triggers the touch display screen 210 of the terminal 20 to display the unlocking interface. It is to be understood that, in other embodiments, the unlocking interface is not limited to be a nine-grid unlocking interface, and the unlocking interface may also be other shapes or forms of unlocking interfaces, such as a bar-shaped unlocking interface or a circular arc-shaped unlocking interface.
In step S202, a first operation track input by the user is received through the input module 230.
Step S203, converting the first operation track input by the user into a display pattern according to a preset rule, and displaying the display pattern on the unlocking interface, where the display pattern is different from an operation pattern formed by the first operation track in shape. By converting the first operation track input by the user into the display pattern with the shape different from that of the operation pattern according to the preset rule, people except the owner of the terminal 20 are prevented from seeing the real unlocking pattern of the terminal 20, and the risk of leakage of the unlocking pattern is avoided.
And step S204, judging whether the first operation track is matched with a pre-stored unlocking pattern.
Step S205, when the first operation track matches the unlocking pattern, unlocking the touch display screen 210 of the terminal 20.
In this embodiment, by providing the input module 230 on the housing 220 of the terminal 20, a user inputs a first operation track on the input module 230, and when the first operation track matches a pre-stored unlocking pattern, the touch display screen 210 of the terminal 20 is unlocked. Because the input module 230 is disposed on the housing 220, compared with the prior art that the touch display screen is unlocked, the terminal unlocking method of the present invention does not cause the touch display screen 210 to be worn and deformed, and the terminal 20 also has better display quality. Further, in the terminal unlocking method of the present embodiment, the first operation trajectory input by the user is converted into a display pattern according to a preset rule, and the display pattern is displayed on the unlocking interface, where the display pattern and the operation pattern formed by the first operation trajectory have different shapes. By converting the first operation track input by the user into the display pattern with the shape different from that of the operation pattern according to the preset rule, people except the owner of the terminal 20 are prevented from seeing the real unlocking pattern of the terminal 20, and the risk of leakage of the unlocking pattern is avoided.
Preferably, the terminal unlocking method further includes the following steps.
In step S206, a second operation track input by the user is received through the input module 230.
Step S207, determining whether the second operation track matches a preset track in a preset operation track list, where the preset operation track list includes multiple preset tracks, and each preset operation track corresponds to an operation instruction, where the operation instruction includes an operation instruction of an application program in the terminal 20 or a page turning instruction of the terminal 20. For example, when the operation instruction is a page turning instruction in the terminal 20, the second operation track may be an upward sliding motion input by the user on the input module 230, and the corresponding operation instruction is the page turning instruction of the terminal 20; the second operation track may be a downward sliding motion input by the user on the input module 230, and then the corresponding operation instruction is a page-down instruction of the terminal 20; the second operation track may be a leftward sliding motion input by the user on the input module 230, and the corresponding operation instruction is a leftward page turning instruction of the terminal 20; the second operation track may be a downward sliding motion input by the user on the input module 230, and then the corresponding operation instruction is a page-down instruction of the terminal 20.
Step S208, when the second operation track matches a preset track in the preset track list, triggering the operation instruction corresponding to the preset track.
After the terminal 20 is unlocked, a second operation track input by a user can still be received through the input module 230 arranged on the housing 220 of the terminal 20, the second operation track is compared with a preset track in a preset operation list, and when the second operation track is matched with the preset track in the preset operation track list, the operation instruction corresponding to the preset track is triggered. So that the operation instruction triggers a corresponding application program or page turning of the terminal.
Referring to fig. 8, fig. 8 is a circuit diagram of a terminal according to a preferred embodiment of the present invention, and fig. 1, fig. 2, fig. 3 and fig. 4 are introduced. The terminal 10 includes, but is not limited to, a portable device such as a smart phone, an internet device, an electronic book, a portable player station, or a personal digital assistant. The terminal 10 includes a touch display screen 110, a housing 120 and an input module 130. The touch display screen 110 is disposed opposite to the housing 120, the input module 130 is disposed on the housing 120, and the input module 130 is used for receiving an operation of a user. The terminal 10 further includes a triggering module 140, a receiving module 150, a determining module 160, and an unlocking module 170. The functions of the various modules are described in detail below.
The triggering module 140 is configured to trigger the touch display screen 110 of the terminal 10 to generate an unlocking interface. The method for triggering the touch display screen 110 of the terminal 10 to generate the unlocking interface includes, but is not limited to, the following ways. When the touch display screen 110 of the terminal 10 is in the screen locking state, pressing the power key of the terminal 10 will trigger the touch display screen 110 of the terminal 10 to display the unlocking interface. The unlocking interface may be a nine-grid unlocking interface as shown in fig. 4. The unlocking interface of the squared figure is an unlocking interface formed by arranging nine circles in a matrix form in three rows and three columns. It is to be understood that, in other embodiments, the unlocking interface is not limited to be a nine-grid unlocking interface, and the unlocking interface may also be other shapes or forms of unlocking interfaces, such as a bar-shaped unlocking interface or a circular arc-shaped unlocking interface.
The receiving module 150 is configured to receive the first operation track input by the input module 130.
The determining module 160 determines whether the first operation trajectory matches a pre-stored unlocking pattern.
The unlocking module 170 is configured to unlock the touch display screen 110 of the terminal when the first operation track matches the unlocking pattern.
In the terminal 10 of the present invention, by providing the input module 130 on the housing 120 of the terminal 10, the receiving module 150 receives a first operation track input on the input module 130 by a user, and when the judging module 160 judges that the first operation track matches a pre-stored unlocking pattern, the unlocking module 170 unlocks the touch display screen 110 of the terminal 10. Because the input module 130 is disposed on the housing 120, compared with the prior art that the touch display screen is unlocked, the terminal unlocking method of the present invention does not cause the touch display screen 110 to be worn and become worn, and the terminal 10 has better display quality.
Preferably, the terminal 10 further includes a display module 180, and the display module 180 is configured to display an operation pattern corresponding to the first operation track on the unlocking interface. The operation pattern corresponding to the first operation track input by the user is displayed on the unlocking interface, so that the user can more intuitively observe the operation pattern input by the user. Specifically, in an embodiment, the display module 180 is configured to synchronize a display pattern, which is formed by the first operation trajectory and is input by the user, and has the same shape as the operation pattern, to be present on the unlocking interface.
The receiving module 150 is further configured to receive a second operation track input by the user through the input module 130.
The determining module 160 is further configured to determine whether the second operation track matches a preset track in a preset operation track list, where the preset operation track list includes a plurality of preset tracks, and each preset operation track corresponds to an operation instruction, where the operation instruction includes an operation instruction of an application program in the terminal 10 or a page turning instruction of the terminal 10. For example, when the operation instruction is a page turning instruction in the terminal 10, the second operation track may be an upward sliding motion input by the user on the input module 130, and the corresponding operation instruction is the page turning instruction of the terminal 10; the second operation track may be a downward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a page-down instruction of the terminal 10; the second operation track may be a leftward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a leftward page turning instruction of the terminal 10; the second operation track may be a downward sliding motion input by the user on the input module 130, and the corresponding operation instruction is a page-down instruction of the terminal 10.
The triggering module 170 is further configured to trigger the operation instruction corresponding to the preset track when the second operation track matches with the preset track in the preset track list. After the terminal 10 is unlocked, a second operation track input by a user can still be received through the input module 130 arranged on the housing 120 of the terminal 10, the second operation track is compared with a preset track in a preset operation list, and when the second operation track is matched with the preset track in the preset operation track list, the operation instruction corresponding to the preset track is triggered. So that the operation instruction triggers a corresponding application program or page turning of the terminal.
It is understood that the triggering module 140, the receiving module 150, the judging module 160, the unlocking module 170 and the displaying module 180 may be solidified in the operating system of the terminal 10 in the form of software program or firmware (firmware), or may be separately installed in the memory of the terminal 10 and controlled by the processor of the terminal 10 to execute each function module.
Next, a terminal according to another preferred embodiment of the present invention is described with reference to fig. 5, fig. 6 and fig. 7, please refer to fig. 9, and fig. 9 is a schematic circuit structure diagram of a terminal according to another preferred embodiment of the present invention. The terminal 20 includes, but is not limited to, a portable device such as a smart phone, an internet device, an electronic book, a portable player station, or a personal digital assistant. The terminal 20 includes a touch display screen 210, a housing 220 and an input module 230. The touch display screen 210 is disposed opposite to the housing 220, the input module 230 is disposed on the housing 220, and the input module 230 is configured to receive an operation of a user. The terminal 20 further includes a triggering module 240, a receiving module 250, a determining module 260, an unlocking module 270, and a converting module 290. The functions of the various modules are described in detail below.
The triggering module 240 is configured to trigger the touch display screen 210 of the terminal 20 to generate an unlocking interface. The method for triggering the touch display screen 210 of the terminal 20 to generate an unlocking interface includes, but is not limited to, the following ways. When the touch display screen 210 of the terminal 20 is in the screen locking state, pressing the power key of the terminal 20 triggers the touch display screen 210 of the terminal 20 to display the unlocking interface. It is to be understood that, in other embodiments, the unlocking interface is not limited to be a nine-grid unlocking interface, and the unlocking interface may also be other shapes or forms of unlocking interfaces, such as a bar-shaped unlocking interface or a circular arc-shaped unlocking interface.
The receiving module 250 is configured to receive a first operation track input by a user through the input module 230.
The conversion module 290 is configured to convert the first operation track input by the user into a display pattern according to a preset rule, and display the display pattern on the unlocking interface, where the display pattern is different from an operation pattern formed by the first operation track in shape. By converting the first operation track input by the user into the display pattern with the shape different from that of the operation pattern according to the preset rule, people except the owner of the terminal 20 are prevented from seeing the real unlocking pattern of the terminal 20, and the risk of leakage of the unlocking pattern is avoided.
The judging module 260 is configured to judge whether the first operation trajectory matches a pre-stored unlocking pattern.
The unlocking module 270 is configured to unlock the touch display screen 210 of the terminal 20 when the first operation track matches the unlocking pattern.
In this embodiment, by providing the input module 230 on the housing 220 of the terminal 20, the receiving module 250 receives a first operation track input by a user on the input module 230, and when the determining module 260 determines that the first operation track matches a pre-stored unlocking pattern, the unlocking module 270 unlocks the touch display screen 210 of the terminal 20. Because the input module 230 is disposed on the housing 220, compared with the prior art that the touch display screen is unlocked, the terminal of the present invention does not cause the touch display screen 210 to be worn or deformed, and the terminal 20 also has better display quality. Further, in the terminal unlocking method of this embodiment, the conversion module 290 converts the first operation track input by the user into a display pattern according to a preset rule, and displays the display pattern on the unlocking interface, where the display pattern is different from an operation pattern formed by the first operation track in shape. By converting the first operation track input by the user into the display pattern with the shape different from that of the operation pattern according to the preset rule, people except the owner of the terminal 20 are prevented from seeing the real unlocking pattern of the terminal 20, and the risk of leakage of the unlocking pattern is avoided.
Preferably, the receiving module 250 is further configured to receive a second operation track input by the user through the input module 230.
The determining module 260 is further configured to determine whether the second operation track is matched with a preset track in a preset operation track list, where the preset operation track list includes a plurality of preset tracks, and each preset operation track corresponds to an operation instruction, where the operation instruction includes an operation instruction of an application program in the terminal 20 or a page turning instruction of the terminal 20. For example, when the operation instruction is a page turning instruction in the terminal 20, the second operation track may be an upward sliding motion input by the user on the input module 230, and the corresponding operation instruction is the page turning instruction of the terminal 20; the second operation track may be a downward sliding motion input by the user on the input module 230, and then the corresponding operation instruction is a page-down instruction of the terminal 20; the second operation track may be a leftward sliding motion input by the user on the input module 230, and the corresponding operation instruction is a leftward page turning instruction of the terminal 20; the second operation track may be a downward sliding motion input by the user on the input module 230, and then the corresponding operation instruction is a page-down instruction of the terminal 20.
The triggering module 240 is further configured to trigger the operation instruction corresponding to the preset track when the second operation track matches with the preset track in the preset track list.
After the terminal 20 is unlocked, the receiving module 150 may still receive a second operation track input by the user through the input module 230 disposed on the housing 220 of the terminal 20, the determining module 260 compares the second operation track with a preset track in a preset operation list, and when the second operation track matches with the preset track in the preset operation track list, the triggering module 240 triggers the operation instruction corresponding to the preset track. So that the operation instruction triggers a corresponding application program or page turning of the terminal.
It is to be understood that the triggering module 240, the receiving module 250, the determining module 260, the unlocking module 270 and the converting module 290 may also be solidified in the operating system of the terminal 20 in the form of software programs or firmware, or may be separately installed in the memory of the terminal 20, and the processor of the terminal 20 controls the execution of each functional module.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The terminal unlocking method and the terminal provided by the embodiment of the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.