WO2016106774A1 - Pattern lock unlocking method and terminal - Google Patents

Pattern lock unlocking method and terminal Download PDF

Info

Publication number
WO2016106774A1
WO2016106774A1 PCT/CN2015/070041 CN2015070041W WO2016106774A1 WO 2016106774 A1 WO2016106774 A1 WO 2016106774A1 CN 2015070041 W CN2015070041 W CN 2015070041W WO 2016106774 A1 WO2016106774 A1 WO 2016106774A1
Authority
WO
WIPO (PCT)
Prior art keywords
pattern
track
unlocking
unlock
random
Prior art date
Application number
PCT/CN2015/070041
Other languages
French (fr)
Chinese (zh)
Inventor
韩金晓
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580003065.4A priority Critical patent/CN105940368B/en
Priority to PCT/CN2015/070041 priority patent/WO2016106774A1/en
Publication of WO2016106774A1 publication Critical patent/WO2016106774A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • Embodiments of the present invention relate to the field of touch technologies, and in particular, to a method and a terminal for unlocking a pattern lock.
  • touch terminals such as mobile phones, tablets, etc.
  • the user can use the security lock to encrypt and protect the application in the touch terminal or the touch terminal.
  • One commonly used security lock is a pattern lock using the pattern as the unlocking key.
  • the user first sets an unlock pattern in the touch terminal.
  • the user inputs an unlock pattern in the unlock interface output by the touch terminal, when the user
  • the encrypted application or touch terminal is unlocked when the input unlock pattern matches the unlock pattern set by the user.
  • the unlock pattern is easily peeped by others, so that the pattern is latched in a security risk.
  • the embodiment of the invention discloses a method and a terminal for unlocking a pattern lock, which can improve the security of the pattern lock.
  • a first aspect of the embodiments of the present invention discloses a method for unlocking a pattern lock, which is applied to a terminal including a touch screen, and the method includes:
  • the combined unlock pattern track comprising a first unlock pattern track and a second unlock pattern track;
  • the method further includes:
  • the method further includes:
  • the end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
  • the pattern lock unlocking interface further includes prompt information, the prompt information The user is prompted to input the random unlock pattern track first, and then input the target unlock pattern track.
  • the pattern lock is a nine-square grid pattern lock
  • the random unlock pattern track includes a track composed of a part of the nine-grid pattern lock
  • the random unlock pattern track includes a track composed of a plurality of other points;
  • the random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
  • the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  • the random unlocking pattern track is statically displayed in the pattern lock unlocking interface;
  • the random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
  • a second aspect of the embodiment of the present invention discloses a terminal, where the terminal is a terminal including a touch screen, and the terminal includes an input module, an output module, and an execution module, where:
  • the input module is configured to receive an unlocking instruction
  • the output module is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
  • the input module is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
  • the executing module is configured to perform an unlocking operation when the first unlocking pattern track is the same as the random unlocking pattern track, and the second unlocking pattern track is the same as a target unlocking pattern track set by a user in advance.
  • the input module is further configured to receive the target unlock pattern trajectory input by a user
  • the terminal further includes an obtaining module and a generating module, where:
  • the acquiring module is configured to acquire a starting position of the target unlocking pattern track before the output module displays the pattern lock unlocking interface on the touch screen according to the unlocking instruction;
  • the generating module is configured to generate the random unlock pattern trajectory according to a starting position of the target unlocking pattern trajectory
  • the end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
  • the pattern lock unlocking interface further includes prompt information, the prompt The information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
  • the pattern lock of the terminal is a nine-square grid pattern lock
  • the random unlock pattern track includes a track composed of a part of the nine-grid pattern lock
  • the random unlock pattern track includes a track composed of a plurality of other points;
  • the random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
  • the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  • the random unlocking pattern track is statically displayed in the pattern lock unlocking interface;
  • the random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
  • a third aspect of the embodiments of the present invention discloses a terminal, including a memory, a processor, an input device, and an output device, where the input device includes a touch screen, or the input device includes a physical button and the touch screen, and the output device Including the touch screen, the input device is configured to receive an unlocking instruction;
  • the output device is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
  • the input device is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
  • the program stores a set of program codes
  • the processor is configured to call program code stored in the memory to perform the following operations:
  • the input device is further configured to receive the target unlock pattern trajectory input by a user
  • the processor is configured to invoke program code stored in the memory, and is further configured to:
  • the end position of the random unlock pattern track is the start of the target unlock pattern track Position, or the end position of the random unlock pattern track is at a certain point around the start position of the target unlock pattern track.
  • the pattern lock unlocking interface further includes prompt information, the prompt information The user is prompted to input the random unlock pattern track first, and then input the target unlock pattern track.
  • the pattern lock of the terminal is a nine-square grid pattern lock
  • the random unlock pattern track includes a track composed of a part of the nine-grid pattern lock
  • the random unlock pattern track includes a track composed of a plurality of other points;
  • the random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
  • the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  • the random unlocking pattern track is statically displayed in the pattern lock unlocking interface;
  • the random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
  • the terminal after receiving the unlocking instruction, the terminal first displays a pattern lock unlocking interface on the touch screen of the terminal according to the unlocking instruction, wherein the pattern lock unlocking interface includes a random unlocking pattern track, and then receives a combination of user input unlocking.
  • a pattern track wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track, when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is aligned with a target unlock pattern track preset by the user
  • the terminal performs an unlock operation.
  • the embodiment of the present invention can unlock the pattern lock by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user.
  • the random unlock pattern trajectory generated by the terminal will create an illusion for others, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
  • FIG. 1 is a schematic flow chart of a method for unlocking a pattern lock according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another method for unlocking a pattern lock according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • the embodiment of the invention discloses a method for unlocking a pattern lock and a terminal, which can unlock the pattern lock by means of a combination of the random unlock pattern trajectory generated by the terminal and the target unlock pattern trajectory set by the user, when the user unlocks and is peeped by others.
  • the random unlock pattern trajectory generated by the terminal will create an illusion for others, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock. The details are described below separately.
  • FIG. 1 is a schematic flow chart of a method for unlocking a pattern lock according to an embodiment of the present invention.
  • the method shown in each embodiment of the present invention is applicable to a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, and a mobile internet device. (Mobile Internet Devices, MID), PAD, etc. are included in the terminal of the touch screen.
  • the unlocking method of the pattern lock may include the following steps:
  • the user can encrypt the application in the terminal or the terminal through the pattern lock
  • the unlocking instruction received by the terminal may be an unlocking instruction input by the user through a physical button (such as a power button) on the terminal, or may be a user.
  • the one or more clicks of the unlocking command input at any position on the touch screen of the terminal may also be an unlocking command input by the user by clicking the operation icon of the encrypted application displayed on the touch screen of the terminal, which is not limited in the embodiment of the present invention.
  • the pattern lock unlocking interface displayed on the touch screen of the terminal includes a random unlock pattern track generated by the terminal.
  • the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to first input the random unlock pattern trajectory generated by the terminal, and then input the target unlock pattern trajectory preset by the user. .
  • prompt information is used to prompt the user to first input the random unlock pattern trajectory generated by the terminal, and then input the target unlock pattern trajectory preset by the user. .
  • This can prompt the user (especially the user who unlocks the application in the terminal or the terminal for the first time or the user who does not know the unlocking process of the terminal) to unlock the terminal, thereby improving the user experience.
  • the random unlock pattern track may be statically displayed in the pattern lock unlocking interface, for example, the terminal statically displays the pattern shape of the random unlock pattern track in the pattern lock unlocking interface, and the pattern shape passes.
  • the position and the direction of the shape of the pattern can be dynamically displayed in the pattern lock unlocking interface output by the terminal, and the user can set the display manner of the random unlocking pattern trajectory according to the requirements of the present invention, which is not limited in the embodiment of the present invention.
  • the combined unlock pattern track includes a first unlock pattern track input by the user according to the random unlock pattern track and a second unlock pattern track input by the user according to the preset target unlock pattern track.
  • the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is related to the user.
  • the terminal The unlocking operation is performed, that is, the main screen of the terminal output terminal or the application to be encrypted is started.
  • the terminal may further perform the following operations:
  • the target unlock pattern track input by the user is received.
  • the terminal may also perform the following operations:
  • the random unlocking pattern track may be the starting position of the target unlocking pattern track, or the end position of the random unlocking pattern track is further It may be at a certain point around the starting position of the target unlocking pattern track, and the user may specifically set the end position of the random unlocking pattern track according to his own needs.
  • the end position of the random unlock pattern track is set to a certain position around the start position of the target unlock pattern track or the start position of the target unlock pattern track, which facilitates the user to quickly input the target after inputting the random unlock pattern track. Unlock the pattern track, which improves the unlocking efficiency of the pattern lock and the user experience.
  • the pattern lock involved in the unlocking method of the pattern lock may be a nine-square grid pattern lock
  • the random unlock pattern track may include a trajectory composed of a part of the nine-square grid pattern lock, and may also include more
  • the trajectory of the other points may also include a trajectory composed of a part of the nine-square grid pattern lock and at least one other point, which is not limited in the embodiment of the present invention.
  • the other points are points in the pattern lock unlocking interface except for all the points in the nine-square grid pattern lock, and the user can set the random unlock pattern trajectory according to his own needs, and the diversity of the random unlock pattern trajectory can improve the complexity of the random unlock pattern trajectory. Degree, further improve the safety of the pattern lock.
  • the terminal may further perform the following operations: operation 1. determining whether the first unlock pattern track is the same as the random unlock pattern track; operation 2, determining the second unlocking Whether the pattern track is the same as the above target unlock pattern track.
  • the terminal may perform the operation first. When the terminal performs the operation 1 and the determination result is yes, the terminal performs the second operation, and when the terminal performs the operation 2, the terminal performs the step S104; the terminal may also first Executing operation 2, when the terminal performs the operation 2 and the determination result is yes, the terminal performs the operation 1 again, and when the terminal performs the operation 1 and the determination result is yes, the terminal performs the step S104 again.
  • the terminal When the terminal performs the operation one or the second operation, when the determination result is no, the terminal can determine that the combined unlocking pattern trajectory input by the user is incorrect. At this time, the terminal may first output prompt information for prompting that the combined unlock pattern track is incorrect, and then display a new pattern lock unlocking interface on the touch screen.
  • the new pattern lock unlocking interface includes a new random unlocking pattern trajectory, and the terminal can also display a new pattern lock unlocking interface directly on the touch screen, which is not limited in the embodiment of the present invention.
  • the terminal When the combined unlock pattern trajectory input by the user for N consecutive times is incorrect, the terminal may not display a new pattern lock unlocking interface on the touch screen of the terminal, that is, the terminal may maintain the encryption state of the encrypted application in the terminal or the terminal, thereby preventing illegal users. Performing an improper operation on the terminal, where N is an integer set by the user or preset by the terminal to be greater than or equal to 1.
  • determining, by the terminal, whether the first unlock pattern track is the same as the random unlock pattern track may include:
  • the first unlock pattern track Determining whether the hash value generated by the terminal according to the random unlock pattern track is equal to the hash value generated by the terminal according to the first unlock pattern track. If they are equal, the first unlock pattern track is the same as the random unlock pattern track, if not, then It is indicated that the first unlock pattern track is different from the random unlock pattern track.
  • determining, by the terminal, whether the first unlock pattern track is the same as the random unlock pattern track may include:
  • the pattern shape of the first unlock pattern track, the position where the pattern shape passes, and the direction of the pattern shape are respectively the same as the pattern shape of the random unlock pattern track, the position where the pattern shape passes, and the direction of the pattern shape. If they are the same, the first The unlock pattern track is the same as the random unlock pattern track. If not, the first unlock pattern track is different from the random unlock pattern track.
  • the pattern lock of the terminal is a nine-square grid pattern lock, and the random unlock pattern track generated by the terminal is locked by the nine-square grid pattern lock.
  • the part of the point is composed and the end position is the starting position of the target unlocking pattern track set by the user, and the unlocking process of the terminal can be as shown in FIG. 2
  • FIG. 2 is another unlocking method of the pattern lock disclosed in the embodiment of the present invention. Schematic diagram of the process. As shown in FIG. 2, A in FIG.
  • the unlocking operation performed by the terminal that is, the terminal is switched from the lock screen state to the non-lock screen state, and the terminal outputs the main screen of the terminal, and the main screen includes the operation icons of the application 1 - the application 10.
  • the terminal after receiving the unlocking instruction, the terminal first displays a pattern lock unlocking interface on the touch screen of the terminal according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern. a track, and then receiving a combined unlock pattern track input by the user, wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track, when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track
  • the terminal performs an unlocking operation.
  • the pattern lock can be unlocked by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user. When the user unlocks the peek by the others, the random unlock pattern trajectory generated by the terminal will be given. Other people create an illusion, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 300 can include an input module 301, an output module 302, and an execution module 303, and the terminal 300 is a terminal including a touch screen, where:
  • the input module 301 is configured to receive an unlocking instruction.
  • the output module 302 is configured to display a pattern lock unlocking interface on the touch screen of the terminal 300 according to the unlocking instruction received by the input module 301.
  • the pattern lock unlocking interface displayed by the output module 302 includes a random unlock pattern trace generated by the terminal 300.
  • the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to input the random unlock pattern trajectory generated by the terminal 300 first, and then input the target unlock pattern preset by the user. Track. This can prompt the user (especially the user who unlocks the application in the terminal 300 or the terminal 300 for the first time or the user who does not know the unlocking process of the terminal 300) to unlock the terminal 300, thereby improving the user experience.
  • the random unlock pattern track may be statically displayed in the pattern lock unlocking interface.
  • the output module 302 of the terminal 300 statically displays the pattern shape of the random unlock pattern track in the pattern lock unlocking interface.
  • the position of the pattern shape and the direction of the pattern shape may be dynamically displayed in the pattern lock unlocking interface outputted by the terminal 300, which is not limited in the embodiment of the present invention.
  • the input module 301 can also be configured to receive a combined unlock pattern trajectory input by a user.
  • the combined unlocking pattern trajectory includes a first unlocking pattern trajectory input by the user according to the random unlocking pattern trajectory and the user inputs according to the preset target unlocking pattern trajectory.
  • the second unlock pattern track.
  • the execution module 303 is configured to perform an unlocking operation when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is the same as the target unlock pattern track.
  • the embodiment of the present invention can unlock the pattern lock by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user.
  • the random unlock pattern trajectory generated by the terminal is created for others. An illusion that reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
  • FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal 400 may include an input module 401, an obtaining module 402, a generating module 403, an output module 404, and an executing module 405, and the terminal 400 is a terminal including a touch screen, where:
  • the input module 401 is configured to receive a target unlock pattern trajectory input by the user and an unlock instruction input by the user.
  • the obtaining module 402 is configured to acquire a starting position of the target unlocking pattern track.
  • the generating module 403 is configured to generate a random unlock pattern track according to the starting position of the target unlocking pattern track.
  • the end position of the random unlocking pattern track may be the starting position of the target unlocking pattern track, or may be at a certain point around the starting position of the target unlocking pattern track, and the user may specifically according to his own needs. Set the end position of the above random unlock pattern track.
  • the output module 404 is configured to display a pattern lock unlocking interface on the touch screen of the terminal 400.
  • the pattern lock unlocking interface includes the random unlock pattern track.
  • the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to input the random unlock pattern trajectory generated by the terminal 400 first, and then input the target unlock pattern preset by the user. Track. This can prompt the user (especially the user who unlocks the application in the terminal 400 or the terminal 400 for the first time or the user who does not know the unlocking process of the terminal 400) to unlock the terminal 400, thereby improving the user experience.
  • the input module 401 can also be configured to receive a combined unlock pattern trajectory input by a user.
  • the combined unlock pattern track includes a first unlock pattern track input by the user according to the random unlock pattern track and a second unlock pattern track input by the target unlock pattern track.
  • the execution module 405 is configured to perform an unlocking operation when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is the same as the target unlock pattern track.
  • the pattern lock of the terminal 400 may be a nine-square pattern lock
  • the random unlock pattern track may include a track composed of a part of the nine-grid pattern lock, or may include a plurality of other points.
  • the trajectory may also include a trajectory composed of a partial point in the nine-grid pattern lock and at least one other point, which is not limited in the embodiment of the present invention.
  • the other points are points in the pattern lock unlocking interface except for all the points in the nine-square grid pattern lock, and the user can set the random unlock pattern trajectory according to his own needs, and the diversity of the random unlock pattern trajectory can improve the complexity of the random unlock pattern trajectory. Degree, further improve the safety of the pattern lock.
  • the random unlocking pattern track may be statically displayed in the pattern lock unlocking interface, or may be dynamically displayed in the pattern lock unlocking interface, which is not limited in the embodiment of the present invention.
  • the output module 404 is further configured to output, when the first unlock pattern track is different from the random unlock pattern track or the second unlock pattern track is different from the target unlock pattern track,
  • the combination of the user input pattern unlocks the incorrect cues of the pattern trajectory, and displays a new pattern lock unlocking interface on the touch screen of the terminal 400, and the new pattern lock unlocking interface includes the generating module 403 of the terminal 400 to unlock the pattern trajectory according to the target.
  • a new random unlock pattern trace generated by the starting position.
  • An embodiment of the present invention provides a rule for generating a random unlock pattern trajectory, that is, a start position of a target unlock pattern trajectory or a position of a point around the start position is an end position of a random unlock pattern trajectory, which is generated by a terminal.
  • the random unlock pattern track is combined with the target unlock pattern track set by the user to unlock the pattern lock, which improves the security of the pattern lock, and when the combined unlock pattern trace input by the user is incorrect, the terminal outputs the prompt information to the user and The output shows a pattern lock unlocking interface with a newly generated random unlock pattern track of the terminal, which further improves the security of the pattern lock.
  • FIG. 5 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention may be used to implement the method implemented by the embodiments of the present invention shown in FIG. 1 .
  • FIG. 1 For the convenience of description, only the parts related to the embodiments of the present invention are shown, and the specific technical details are not provided. Referring to the disclosure, please refer to the embodiments of the present invention shown in FIG. 1.
  • the terminal in the embodiment of the present invention may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), Tablets, PDAs, UMPCs (Ultra-mobile Personal Computers), netbooks, and mobile Internet devices (MIDs), PADs, etc., including touch screen terminals.
  • the embodiment of the present invention is described by taking a terminal as a mobile phone as an example.
  • FIG. 5 is a block diagram showing a partial structure of a mobile phone 500 related to various embodiments of the present invention.
  • the mobile phone 500 includes components such as an RF (Radio Frequency) circuit 501, a memory 502, an input device 503, an output device 504, a gravity sensor 505, an audio circuit 506, a processor 507, and a power source 508.
  • RF Radio Frequency
  • the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the components of the mobile phone 500 will be specifically described below with reference to FIG. 5:
  • the RF circuit 501 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is performed by the processor 507. In addition, the uplink data is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like.
  • the RF circuit 501 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (global system of mobile communication), GPRS (general packet radio service), CDMA (code division multiple access) , code division multiple access), WCDMA (wideband code division multiple access), LTE (long term evolution), e-mail, SMS (short messaging service), and the like.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • e-mail short messaging service
  • the memory 502 can be used to store software programs and modules, and the processor 507 executes various functional applications and data processing of the mobile phone 500 by running software programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 500 (such as audio data, image data, phone book, etc.) and the like.
  • memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • Input device 503 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of handset 500.
  • the input device 503 can include a touch Touch screen, or input device 503 can include a touch screen and other input devices.
  • a touch screen also known as a touch panel, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on any touch screen or near the touch screen), and according to the preset
  • the programmed program drives the corresponding connection device.
  • the touch screen may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 507 is provided and can receive commands from the processor 507 and execute them.
  • touch screens can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input device 503 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Output device 504 can be used to display information entered by the user or information provided to the user as well as various menus of handset 500.
  • the output device 504 can include a touch screen.
  • the touch screen can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch screen may be integrated with the display panel by the touch panel, and when the touch screen detects a touch operation on or near it, the touch screen is transmitted to the processor 507 to determine the type of the touch event, and then the processor 507 is in the touch screen according to the type of the touch event. Provide corresponding visual output on it.
  • a gravity sensor 505 can detect the magnitude of the acceleration of the mobile phone 500 in various directions (usually three axes), and can detect the magnitude and direction of the gravity when stationary, and can be used for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the handset 500 can also include other sensors, such as light sensors.
  • the light sensor can include an ambient light sensor and a proximity light sensor.
  • the ambient light sensor can adjust the brightness of the touch screen according to the brightness of the ambient light;
  • the proximity light sensor can detect whether an object is close to or in contact with the mobile phone, and can close the touch screen and/or the backlight when the mobile phone 500 moves to the ear.
  • the mobile phone 500 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
  • the audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the handset 500.
  • the audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061; on the other hand, the microphone 5062 will receive
  • the set of sound signals is converted into electrical signals, which are received by the audio circuit 506 and converted to audio data, which is then output to the RF circuit 501 for transmission to, for example, another handset, or the audio data is output to the memory 502 for further processing.
  • Processor 507 is the control center of handset 500, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 502, and recalling data stored in memory 502, The various functions and processing data of the mobile phone 500 are performed to perform overall monitoring of the mobile phone.
  • the processor 507 may include one or more processing units; preferably, the processor 507 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 507.
  • the handset 500 also includes a power source 508 (such as a battery) that powers the various components.
  • a power source 508 such as a battery
  • the power source can be logically coupled to the processor 507 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone 500 may further include a WiFi (wireless fidelity) module, a Bluetooth module, and the like, and details are not described herein again.
  • WiFi wireless fidelity
  • Bluetooth wireless fidelity
  • the input device 503 is further configured to receive an unlocking instruction.
  • the output device 504 is further configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, wherein the pattern lock unlocking interface comprises a random unlocking pattern track.
  • the input device 503 is further configured to receive a combined unlock pattern track input by the user, wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track.
  • the processor 507 is configured to invoke software programs and/or modules stored in the memory 502, and is also configured to perform the following operations:
  • the unlocking operation is performed.
  • the input device 503 is further configured to receive a target unlock pattern trajectory input by the user.
  • the processor 507 is configured to invoke software programs and/or modules stored in the memory 502, and is also configured to perform the following operations:
  • the end position of the random unlock pattern track is the start of the target unlock pattern track Position, or the end position of the random unlock pattern track is at a certain point around the start position of the target unlock pattern track.
  • the pattern lock unlocking interface further includes prompt information, wherein the prompt information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
  • the pattern lock in the mobile phone 500 is a nine-square grid pattern lock
  • the random unlock pattern track may include a trajectory composed of a part of the nine-square grid pattern lock, or may include a trajectory composed of a plurality of other points, and may also include a nine-square grid A portion of the pattern lock and at least one other point, wherein the other points are points in the pattern lock unlocking interface except for all points in the nine-grid pattern lock.
  • the random unlock pattern track may be statically displayed in the pattern lock unlocking interface, or may be dynamically displayed in the pattern lock unlocking interface.
  • the modules in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a pattern lock unlocking method and a terminal. The method is applied to a terminal comprising a touch screen and the method comprises: after the terminal receives an unlocking instruction, first, the terminal displays a pattern lock unlocking interface on the touch screen according to the unlocking instruction, the pattern lock unlocking interface comprising a random unlocking pattern trajectory; then, the terminal receives a combined unlocking pattern trajectory that is input by a user and comprises a first unlocking pattern trajectory and a second unlocking pattern trajectory; and the terminal performs an unlocking operation when the first unlocking pattern trajectory is the same as the random unlocking pattern trajectory and the second unlocking pattern trajectory is the same as a target unlocking pattern trajectory preset by the user. In view of the above, according to embodiments of the present invention, a pattern lock can be unlocked through a combination of a random unlocking pattern trajectory generated by a terminal and a target unlocking pattern trajectory set by a user, so that the probability of guessing the target unlocking pattern trajectory set by the user is reduced, and security of the pattern lock is improved.

Description

一种图案锁的解锁方法及终端Method and terminal for unlocking pattern lock 技术领域Technical field
本发明实施例涉及触控技术领域,具体涉及一种图案锁的解锁方法及终端。Embodiments of the present invention relate to the field of touch technologies, and in particular, to a method and a terminal for unlocking a pattern lock.
背景技术Background technique
基于安全性考虑,大多数的触控终端(如手机、平板电脑等)均设置有安全锁。用户可使用安全锁对触控终端或触控终端中的应用进行加密保护,其中,常用的一种安全锁为利用图案作为解锁密钥的图案锁。在实际应用中,用户首先在触控终端中设置解锁图案,在对加密的应用或处于锁屏状态的触控终端进行解锁时,用户在触控终端输出的解锁界面中输入解锁图案,当用户输入的解锁图案与用户设置的解锁图案一致时,加密的应用或触控终端被解锁。但是,用户在输入解锁图案时,解锁图案容易被旁人窥视,从而使得图案锁存在安全隐患。For security reasons, most touch terminals (such as mobile phones, tablets, etc.) are equipped with a security lock. The user can use the security lock to encrypt and protect the application in the touch terminal or the touch terminal. One commonly used security lock is a pattern lock using the pattern as the unlocking key. In an actual application, the user first sets an unlock pattern in the touch terminal. When unlocking the encrypted application or the touch terminal in the lock screen state, the user inputs an unlock pattern in the unlock interface output by the touch terminal, when the user The encrypted application or touch terminal is unlocked when the input unlock pattern matches the unlock pattern set by the user. However, when the user inputs the unlock pattern, the unlock pattern is easily peeped by others, so that the pattern is latched in a security risk.
发明内容Summary of the invention
本发明实施例公开了一种图案锁的解锁方法及终端,能够提高图案锁的安全性。The embodiment of the invention discloses a method and a terminal for unlocking a pattern lock, which can improve the security of the pattern lock.
本发明实施例第一方面公开了一种图案锁的解锁方法,应用于包括触摸屏的终端,所述方法包括:A first aspect of the embodiments of the present invention discloses a method for unlocking a pattern lock, which is applied to a terminal including a touch screen, and the method includes:
接收解锁指令;Receiving an unlock command;
根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;Displaying a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;Receiving a combined unlock pattern track input by a user, the combined unlock pattern track comprising a first unlock pattern track and a second unlock pattern track;
当所述第一解锁图案轨迹与所述随机解锁图案轨迹相同,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。When the first unlock pattern track is the same as the random unlock pattern track, and the second unlock pattern track is the same as the target unlock pattern track set by the user in advance, an unlocking operation is performed.
在本发明实施例第一方面的第一种可能的实现方式中,所述接收解锁指令 之前,所述方法还包括:In a first possible implementation manner of the first aspect of the embodiment, the receiving the unlocking instruction Previously, the method further includes:
接收用户输入的所述目标解锁图案轨迹;Receiving the target unlock pattern trace input by the user;
所述根据所述解锁指令在所述触摸屏上显示图案锁解锁界面之前,所述方法还包括:Before the displaying the pattern lock unlocking interface on the touch screen according to the unlocking instruction, the method further includes:
获取所述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;Generating the random unlock pattern track according to a starting position of the target unlock pattern track;
其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起始位置的四周的某一点。The end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。With reference to the first possible implementation manner of the first aspect of the embodiments of the present invention, in a second possible implementation manner of the first aspect of the embodiments, the pattern lock unlocking interface further includes prompt information, the prompt information The user is prompted to input the random unlock pattern track first, and then input the target unlock pattern track.
结合本发明实施例第一方面、本发明实施例第一方面的第一种可能的实现方式以及本发明实施例第一方面的第二种可能的实现方式中的任一种实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述图案锁为九宫格图案锁;With reference to the first aspect of the embodiments of the present invention, the first possible implementation manner of the first aspect of the embodiment of the present invention, and any one of the second possible implementation manners of the first aspect of the embodiment of the present invention, In a third possible implementation manner of the first aspect of the present invention, the pattern lock is a nine-square grid pattern lock;
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
结合本发明实施例第一方面、本发明实施例第一方面的第一种可能的实现方式、本发明实施例第一方面的第二种可能的实现方式以及本发明实施例第一方面的第三种可能的实现方式中的任一种实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或With reference to the first aspect of the embodiments of the present invention, the first possible implementation manner of the first aspect of the embodiment of the present invention, the second possible implementation manner of the first aspect of the embodiment of the present invention, and the first aspect of the first aspect of the embodiment of the present invention In any one of the three possible implementation manners, in a fourth possible implementation manner of the first aspect of the embodiment, the random unlocking pattern track is statically displayed in the pattern lock unlocking interface; or
所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。 The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
本发明实施例第二方面公开了一种终端,所述终端为包括触摸屏的终端,所述终端包括输入模块、输出模块以及执行模块,其中:A second aspect of the embodiment of the present invention discloses a terminal, where the terminal is a terminal including a touch screen, and the terminal includes an input module, an output module, and an execution module, where:
所述输入模块,用于接收解锁指令;The input module is configured to receive an unlocking instruction;
所述输出模块,用于根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;The output module is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
所述输入模块,还用于接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;The input module is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
所述执行模块,用于当所述第一解锁图案轨迹与所述随机解锁图案轨迹相同,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。The executing module is configured to perform an unlocking operation when the first unlocking pattern track is the same as the random unlocking pattern track, and the second unlocking pattern track is the same as a target unlocking pattern track set by a user in advance.
在本发明实施例第二方面的第一种可能的实现方式中,所述输入模块,还用于接收用户输入的所述目标解锁图案轨迹;In a first possible implementation manner of the second aspect of the embodiment, the input module is further configured to receive the target unlock pattern trajectory input by a user;
所述终端还包括获取模块以及生成模块,其中:The terminal further includes an obtaining module and a generating module, where:
所述获取模块,用于在所述输出模块根据所述解锁指令在所述触摸屏上显示图案锁解锁界面之前,获取所述目标解锁图案轨迹的起始位置;The acquiring module is configured to acquire a starting position of the target unlocking pattern track before the output module displays the pattern lock unlocking interface on the touch screen according to the unlocking instruction;
所述生成模块,用于根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;The generating module is configured to generate the random unlock pattern trajectory according to a starting position of the target unlocking pattern trajectory;
其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起始位置的四周的某一点。The end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
结合本发明实施例第二方面的第一种可选的实施方式,在本发明实施例第二方面的第二种可能的实现方式中,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。With reference to the first optional implementation manner of the second aspect of the embodiments of the present invention, in a second possible implementation manner of the second aspect of the embodiment, the pattern lock unlocking interface further includes prompt information, the prompt The information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
结合本发明实施例第二方面、本发明实施例第二方面的第一种可能的实现方式以及本发明实施例第二方面的第二种可能的实现方式中的任一种实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述终端的图案锁为九宫格图案锁;With reference to the second aspect of the embodiments of the present invention, the first possible implementation manner of the second aspect of the embodiment of the present invention, and any one of the second possible implementation manners of the second aspect of the embodiment of the present invention, In a third possible implementation manner of the second aspect of the present invention, the pattern lock of the terminal is a nine-square grid pattern lock;
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或 The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
结合本发明实施例第二方面、本发明实施例第二方面的第一种可能的实现方式、本发明实施例第二方面的第二种可能的实现方式以及本发明实施例第二方面的第三种可能的实现方式中的任一种实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或With reference to the second aspect of the embodiments of the present invention, the first possible implementation manner of the second aspect of the embodiment of the present invention, the second possible implementation manner of the second aspect of the embodiment of the present invention, and the second aspect of the second embodiment of the present invention In any one of the three possible implementation manners, in a fourth possible implementation manner of the second aspect of the embodiment, the random unlocking pattern track is statically displayed in the pattern lock unlocking interface; or
所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
本发明实施例第三方面公开了一种终端,包括存储器、处理器、输入装置以及输出装置,所述输入装置包括触摸屏,或者,所述输入装置包括物理按键以及所述触摸屏,所述输出装置包括所述触摸屏,所述输入装置,用于接收解锁指令;A third aspect of the embodiments of the present invention discloses a terminal, including a memory, a processor, an input device, and an output device, where the input device includes a touch screen, or the input device includes a physical button and the touch screen, and the output device Including the touch screen, the input device is configured to receive an unlocking instruction;
所述输出装置,用于根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;The output device is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
所述输入装置,还用于接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;The input device is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the processor is configured to call program code stored in the memory to perform the following operations:
当所述第一解锁图案轨迹与所述随机解锁图案轨迹一致,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹一致时,执行解锁操作。And when the first unlock pattern track is consistent with the random unlock pattern track, and the second unlock pattern track is consistent with a target unlock pattern track set by a user in advance, an unlocking operation is performed.
在本发明实施例第三方面的第一种可能的实现方式中,所述输入装置,还用于接收用户输入的所述目标解锁图案轨迹;In a first possible implementation manner of the third aspect of the embodiment, the input device is further configured to receive the target unlock pattern trajectory input by a user;
所述处理器用于调用所述存储器中存储的程序代码,还用于执行以下操作:The processor is configured to invoke program code stored in the memory, and is further configured to:
获取所述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;Generating the random unlock pattern track according to a starting position of the target unlock pattern track;
其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始 位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起始位置的四周的某一点。Wherein the end position of the random unlock pattern track is the start of the target unlock pattern track Position, or the end position of the random unlock pattern track is at a certain point around the start position of the target unlock pattern track.
结合本发明实施例第三方面的第一种可能的实现方式,在本发明实施例第三方面的第二种可能的实现方式中,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。With reference to the first possible implementation manner of the third aspect of the embodiments of the present invention, in a second possible implementation manner of the third aspect of the embodiments, the pattern lock unlocking interface further includes prompt information, the prompt information The user is prompted to input the random unlock pattern track first, and then input the target unlock pattern track.
结合本发明实施例第三方面、本发明实施例第三方面的第一种可能的实现方式以及本发明实施例第三方面的第二种可能的实现方式中的任一种实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述终端的图案锁为九宫格图案锁;With reference to the third aspect of the embodiments of the present invention, the first possible implementation manner of the third aspect of the embodiment of the present invention, and any one of the second possible implementation manners of the third aspect of the embodiment of the present invention, In a third possible implementation manner of the third aspect of the present invention, the pattern lock of the terminal is a nine-square grid pattern lock;
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
结合本发明实施例第三方面、本发明实施例第三方面的第一种可能的实现方式、本发明实施例第三方面的第二种可能的实现方式以及本发明实施例第三方面的第三种可能的实现方式中的任一种实现方式,在本发明实施例第三方面的第四种可能的实现方式中,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或With reference to the third aspect of the embodiments of the present invention, the first possible implementation manner of the third aspect of the embodiment of the present invention, the second possible implementation manner of the third aspect of the embodiment of the present invention, and the third aspect of the third embodiment of the present invention In any one of the three possible implementation manners, in a fourth possible implementation manner of the third aspect of the embodiment, the random unlocking pattern track is statically displayed in the pattern lock unlocking interface; or
所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
本发明实施例中,在接收到解锁指令后,终端首先根据该解锁指令在终端的触摸屏上显示图案锁解锁界面,其中,该图案锁解锁界面包括随机解锁图案轨迹,然后接收用户输入的组合解锁图案轨迹,其中,该组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹,当第一解锁图案轨迹与随机解锁图案轨迹相同且第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,终端执行解锁操作。可见,本发明实施例能够通过终端生成的随机解锁图案轨迹与用户设置的目标解锁图案轨迹相结合的方式对图案锁进行解锁,当用 户解锁被旁人窥视时,终端生成的随机解锁图案轨迹会给旁人制造一种假象,降低了用户设置的目标解锁图案轨迹被猜测出的概率,提高了图案锁的安全性。In the embodiment of the present invention, after receiving the unlocking instruction, the terminal first displays a pattern lock unlocking interface on the touch screen of the terminal according to the unlocking instruction, wherein the pattern lock unlocking interface includes a random unlocking pattern track, and then receives a combination of user input unlocking. a pattern track, wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track, when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is aligned with a target unlock pattern track preset by the user When the same, the terminal performs an unlock operation. It can be seen that the embodiment of the present invention can unlock the pattern lock by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user. When the user unlocks and is peeped by others, the random unlock pattern trajectory generated by the terminal will create an illusion for others, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种图案锁的解锁方法的流程示意图;1 is a schematic flow chart of a method for unlocking a pattern lock according to an embodiment of the present invention;
图2是本发明实施例公开的另一种图案锁的解锁方法的流程示意图;2 is a schematic flow chart of another method for unlocking a pattern lock according to an embodiment of the present invention;
图3是本发明实施例公开的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图4是本发明实施例公开的另一种终端的结构示意图;4 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
图5是本发明实施例公开的又一种终端的结构示意图。FIG. 5 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种图案锁的解锁方法及终端,能够通过终端生成的随机解锁图案轨迹与用户设置的目标解锁图案轨迹相结合的方式对图案锁进行解锁,当用户解锁被旁人窥视时,终端生成的随机解锁图案轨迹会给旁人制造一种假象,降低了用户设置的目标解锁图案轨迹被猜测出的概率,提高了图案锁的安全性。以下分别进行详细说明。The embodiment of the invention discloses a method for unlocking a pattern lock and a terminal, which can unlock the pattern lock by means of a combination of the random unlock pattern trajectory generated by the terminal and the target unlock pattern trajectory set by the user, when the user unlocks and is peeped by others. The random unlock pattern trajectory generated by the terminal will create an illusion for others, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock. The details are described below separately.
请参阅图1,图1是本发明实施例公开的一种图案锁的解锁方法的流程示意图。其中,本发明各实施例所示的方法适用于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本以及移动互联网设备(Mobile Internet Devices, MID)、PAD等包括触摸屏的终端中。如图1所示,该图案锁的解锁方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flow chart of a method for unlocking a pattern lock according to an embodiment of the present invention. The method shown in each embodiment of the present invention is applicable to a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, and a mobile internet device. (Mobile Internet Devices, MID), PAD, etc. are included in the terminal of the touch screen. As shown in FIG. 1, the unlocking method of the pattern lock may include the following steps:
S101、接收解锁指令。S101. Receive an unlocking instruction.
本发明实施例中,用户可以通过图案锁对终端或终端中的应用进行加密,终端接收到的解锁指令可以是用户通过终端上的物理按键(如电源键)输入的解锁指令,也可以是用户通过一次或多次点击终端触摸屏上的任意位置输入的解锁指令,还可以是用户通过点击终端触摸屏上显示的被加密应用的操作图标输入的解锁指令,本发明实施例不做限定。In the embodiment of the present invention, the user can encrypt the application in the terminal or the terminal through the pattern lock, and the unlocking instruction received by the terminal may be an unlocking instruction input by the user through a physical button (such as a power button) on the terminal, or may be a user. The one or more clicks of the unlocking command input at any position on the touch screen of the terminal may also be an unlocking command input by the user by clicking the operation icon of the encrypted application displayed on the touch screen of the terminal, which is not limited in the embodiment of the present invention.
S102、根据上述解锁指令在触摸屏上显示图案锁解锁界面。S102. Display a pattern lock unlocking interface on the touch screen according to the unlocking instruction.
本发明实施例中,终端的触摸屏上显示的图案锁解锁界面包括终端生成的随机解锁图案轨迹。In the embodiment of the present invention, the pattern lock unlocking interface displayed on the touch screen of the terminal includes a random unlock pattern track generated by the terminal.
作为一种可选的实施方式,上述图案锁解锁界面还可以包括提示信息,其中,该提示信息用于提示用户首先输入终端生成的随机解锁图案轨迹,然后再输入用户预先设置的目标解锁图案轨迹。这样可以提示用户(尤其是初次对终端或终端中的应用进行解锁的用户或不清楚终端的解锁流程的用户)该终端的解锁流程,提高了用户的使用体验。As an optional implementation manner, the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to first input the random unlock pattern trajectory generated by the terminal, and then input the target unlock pattern trajectory preset by the user. . This can prompt the user (especially the user who unlocks the application in the terminal or the terminal for the first time or the user who does not know the unlocking process of the terminal) to unlock the terminal, thereby improving the user experience.
作为一种可选的实施方式,上述随机解锁图案轨迹可以在上述图案锁解锁界面中静态显示,如终端在上述图案锁解锁界面中静态显示上述随机解锁图案轨迹的图案形状、该图案形状经过的位置以及该图案形状的方向等,也可以在终端输出的图案锁解锁界面中动态显示,且用户可以根据自身需求设置随机解锁图案轨迹的显示方式,本发明实施例不做限定。As an optional implementation manner, the random unlock pattern track may be statically displayed in the pattern lock unlocking interface, for example, the terminal statically displays the pattern shape of the random unlock pattern track in the pattern lock unlocking interface, and the pattern shape passes. The position and the direction of the shape of the pattern can be dynamically displayed in the pattern lock unlocking interface output by the terminal, and the user can set the display manner of the random unlocking pattern trajectory according to the requirements of the present invention, which is not limited in the embodiment of the present invention.
S103、接收用户输入的组合解锁图案轨迹。S103. Receive a combined unlock pattern trace input by a user.
本发明实施例中,组合解锁图案轨迹包括用户依据上述随机解锁图案轨迹输入的第一解锁图案轨迹以及用户依据预先设置的目标解锁图案轨迹输入的第二解锁图案轨迹。In the embodiment of the present invention, the combined unlock pattern track includes a first unlock pattern track input by the user according to the random unlock pattern track and a second unlock pattern track input by the user according to the preset target unlock pattern track.
S104、当第一解锁图案轨迹与上述随机解锁图案轨迹相同,且第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。S104. When the first unlock pattern track is the same as the random unlock pattern track, and the second unlock pattern track is the same as the target unlock pattern track set by the user in advance, the unlocking operation is performed.
本发明实施例中,具体的,当用户输入包括第一解锁图案轨迹以及第二解锁图案轨迹的组合解锁图案轨迹,第一解锁图案轨迹与上述随机解锁图案轨迹相同且第二解锁图案轨迹与用户预先设置好的目标解锁图案轨迹相同时,终端 才执行解锁操作,即终端输出终端的主屏幕或启动被加密的应用等。In the embodiment of the present invention, specifically, when the user inputs a combined unlock pattern track including the first unlock pattern track and the second unlock pattern track, the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is related to the user. When the preset target unlock pattern trajectory is the same, the terminal The unlocking operation is performed, that is, the main screen of the terminal output terminal or the application to be encrypted is started.
作为一种可选的实施方式,在步骤S101之前,终端还可以执行以下操作:As an optional implementation manner, before step S101, the terminal may further perform the following operations:
接收用户输入的目标解锁图案轨迹。The target unlock pattern track input by the user is received.
在步骤S101之后,步骤S102之前,终端还可以执行以下操作:After step S101, before step S102, the terminal may also perform the following operations:
获取上述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
根据目标解锁图案轨迹的起始位置,生成上述随机解锁图案轨迹,其中,上述随机解锁图案轨迹的终点位置可以为上述目标解锁图案轨迹的起始位置,或者,上述随机解锁图案轨迹的终点位置还可以在目标解锁图案轨迹的起始位置的四周的某一点,且用户可以根据自身需求具体设置上述随机解锁图案轨迹的终点位置。这样将随机解锁图案轨迹的终点位置设置为目标解锁图案轨迹的起始位置或目标解锁图案轨迹的起始位置的四周的某一点的方式,方便了用户在输入随机解锁图案轨迹之后快速的输入目标解锁图案轨迹,提高了图案锁的解锁效率以及用户的使用体验。And generating, according to the starting position of the target unlocking pattern track, the random unlocking pattern track, wherein the end position of the random unlocking pattern track may be the starting position of the target unlocking pattern track, or the end position of the random unlocking pattern track is further It may be at a certain point around the starting position of the target unlocking pattern track, and the user may specifically set the end position of the random unlocking pattern track according to his own needs. In this way, the end position of the random unlock pattern track is set to a certain position around the start position of the target unlock pattern track or the start position of the target unlock pattern track, which facilitates the user to quickly input the target after inputting the random unlock pattern track. Unlock the pattern track, which improves the unlocking efficiency of the pattern lock and the user experience.
作为一种可选的实施方式,该图案锁的解锁方法中涉及的图案锁可以为九宫格图案锁,则随机解锁图案轨迹可以包括由九宫格图案锁中的部分点组成的轨迹,也可以包括由多个其它点组成的轨迹,还可以包括由九宫格图案锁中的部分点及至少一个其它点组成的轨迹,本发明实施例不做限定。其中,其它点为图案锁解锁界面中除九宫格图案锁中的所有点之外的点,且用户可以根据自身需求设置随机解锁图案轨迹,随机解锁图案轨迹的多样性可以提高随机解锁图案轨迹的复杂度,进一步提高了图案锁的安全性。As an optional implementation manner, the pattern lock involved in the unlocking method of the pattern lock may be a nine-square grid pattern lock, and the random unlock pattern track may include a trajectory composed of a part of the nine-square grid pattern lock, and may also include more The trajectory of the other points may also include a trajectory composed of a part of the nine-square grid pattern lock and at least one other point, which is not limited in the embodiment of the present invention. Among them, the other points are points in the pattern lock unlocking interface except for all the points in the nine-square grid pattern lock, and the user can set the random unlock pattern trajectory according to his own needs, and the diversity of the random unlock pattern trajectory can improve the complexity of the random unlock pattern trajectory. Degree, further improve the safety of the pattern lock.
作为一种可选的实施方式,在步骤S103之后,步骤S104之前,终端还可以执行以下操作:操作一、判断第一解锁图案轨迹是否与上述随机解锁图案轨迹相同;操作二、判断第二解锁图案轨迹是否与上述目标解锁图案轨迹相同。其中,终端可以先执行操作一,当终端执行操作一的判断结果为是时,终端再执行操作二,且当终端执行操作二的判断结果为是时,终端再执行步骤S104;终端也可以先执行操作二,当终端执行操作二的判断结果为是时,终端再执行操作一,且当终端执行操作一的判断结果为是时,终端再执行步骤S104。As an optional implementation manner, after the step S103, before the step S104, the terminal may further perform the following operations: operation 1. determining whether the first unlock pattern track is the same as the random unlock pattern track; operation 2, determining the second unlocking Whether the pattern track is the same as the above target unlock pattern track. The terminal may perform the operation first. When the terminal performs the operation 1 and the determination result is yes, the terminal performs the second operation, and when the terminal performs the operation 2, the terminal performs the step S104; the terminal may also first Executing operation 2, when the terminal performs the operation 2 and the determination result is yes, the terminal performs the operation 1 again, and when the terminal performs the operation 1 and the determination result is yes, the terminal performs the step S104 again.
其中,终端在执行操作一或操作二时,当判断结果为否时,终端即可认定用户输入的组合解锁图案轨迹不正确。此时,终端可以首先输出用于提示组合解锁图案轨迹不正确的提示信息,然后在触摸屏上显示新的图案锁解锁界面, 该新的图案锁解锁界面包括新的随机解锁图案轨迹,终端也可以直接在触摸屏上显示新的图案锁解锁界面,本发明实施例不做限定。当用户连续N次输入的组合解锁图案轨迹不正确时,终端可以不在终端的触摸屏上显示新的图案锁解锁界面,即终端可以保持终端或终端中的加密应用的加密状态,这样可以防止非法用户对终端进行不正当的操作,其中,N为用户预先设置的或终端默认的大于等于1的整数。When the terminal performs the operation one or the second operation, when the determination result is no, the terminal can determine that the combined unlocking pattern trajectory input by the user is incorrect. At this time, the terminal may first output prompt information for prompting that the combined unlock pattern track is incorrect, and then display a new pattern lock unlocking interface on the touch screen. The new pattern lock unlocking interface includes a new random unlocking pattern trajectory, and the terminal can also display a new pattern lock unlocking interface directly on the touch screen, which is not limited in the embodiment of the present invention. When the combined unlock pattern trajectory input by the user for N consecutive times is incorrect, the terminal may not display a new pattern lock unlocking interface on the touch screen of the terminal, that is, the terminal may maintain the encryption state of the encrypted application in the terminal or the terminal, thereby preventing illegal users. Performing an improper operation on the terminal, where N is an integer set by the user or preset by the terminal to be greater than or equal to 1.
作为一种可选的实施方式,终端判断第一解锁图案轨迹是否与随机解锁图案轨迹相同可以包括:As an optional implementation manner, determining, by the terminal, whether the first unlock pattern track is the same as the random unlock pattern track may include:
判断终端根据随机解锁图案轨迹生成的哈希值是否与终端根据第一解锁图案轨迹生成的哈希值相等,若相等,则说明第一解锁图案轨迹与随机解锁图案轨迹相同,若不相等,则说明第一解锁图案轨迹与随机解锁图案轨迹不相同。Determining whether the hash value generated by the terminal according to the random unlock pattern track is equal to the hash value generated by the terminal according to the first unlock pattern track. If they are equal, the first unlock pattern track is the same as the random unlock pattern track, if not, then It is indicated that the first unlock pattern track is different from the random unlock pattern track.
作为另一种可选的实施方式,终端判断第一解锁图案轨迹是否与随机解锁图案轨迹相同可以包括:As another optional implementation manner, determining, by the terminal, whether the first unlock pattern track is the same as the random unlock pattern track may include:
判断第一解锁图案轨迹的图案形状、图案形状经过的位置以及图案形状的方向是否分别与随机解锁图案轨迹的图案形状、图案形状经过的位置以及图案形状的方向相同,若相同,则说明第一解锁图案轨迹与随机解锁图案轨迹相同,若不相同,则说明第一解锁图案轨迹与随机解锁图案轨迹不相同。Determining whether the pattern shape of the first unlock pattern track, the position where the pattern shape passes, and the direction of the pattern shape are respectively the same as the pattern shape of the random unlock pattern track, the position where the pattern shape passes, and the direction of the pattern shape. If they are the same, the first The unlock pattern track is the same as the random unlock pattern track. If not, the first unlock pattern track is different from the random unlock pattern track.
本发明实施例中,举例来说,假设用户需要通过终端上的电源键对处于锁屏状态的终端进行解锁,终端的图案锁为九宫格图案锁,终端生成的随机解锁图案轨迹由九宫格图案锁中的部分点组成且其终点位置为用户设置的目标解锁图案轨迹的起始位置,则终端的解锁过程可以如图2所示,图2是本发明实施例公开的又一种图案锁的解锁方法的流程示意图。如图2所示,图2中A为用户按下终端的电源键后,终端在其触摸屏上显示的图案锁解锁界面以及图案锁解锁界面包括的随机解锁图案轨迹,图2中B为用户在图案锁解锁界面输入的包括第一解锁图案轨迹以及第二解锁图案轨迹的组合解锁图案轨迹,图2中C为当第一解锁图案轨迹与随机解锁图案轨迹相同且第二解锁图案轨迹与目标解锁图案轨迹相同时,终端执行的解锁操作,即终端由锁屏状态切换为非锁屏状态,且终端输出终端的主屏幕,主屏幕中包括应用1-应用10的操作图标。In the embodiment of the present invention, for example, it is assumed that the user needs to unlock the terminal in the lock screen state through the power button on the terminal, and the pattern lock of the terminal is a nine-square grid pattern lock, and the random unlock pattern track generated by the terminal is locked by the nine-square grid pattern lock. The part of the point is composed and the end position is the starting position of the target unlocking pattern track set by the user, and the unlocking process of the terminal can be as shown in FIG. 2 , and FIG. 2 is another unlocking method of the pattern lock disclosed in the embodiment of the present invention. Schematic diagram of the process. As shown in FIG. 2, A in FIG. 2 is a random unlock pattern track included in the pattern lock unlocking interface and the pattern lock unlocking interface displayed by the terminal on the touch screen after the user presses the power button of the terminal, and B is the user in FIG. The combination unlocking pattern track including the first unlocking pattern track and the second unlocking pattern track input by the pattern lock unlocking interface, wherein C is the same when the first unlocking pattern track is the same as the random unlocking pattern track and the second unlocking pattern track is unlocked with the target When the pattern trajectory is the same, the unlocking operation performed by the terminal, that is, the terminal is switched from the lock screen state to the non-lock screen state, and the terminal outputs the main screen of the terminal, and the main screen includes the operation icons of the application 1 - the application 10.
本发明实施例中,在接收到解锁指令后,终端首先根据该解锁指令在终端的触摸屏上显示图案锁解锁界面,其中,该图案锁解锁界面包括随机解锁图案 轨迹,然后接收用户输入的组合解锁图案轨迹,其中,该组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹,当第一解锁图案轨迹与随机解锁图案轨迹相同且第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,终端执行解锁操作。可见,本发明实施例能够通过终端生成的随机解锁图案轨迹与用户设置的目标解锁图案轨迹相结合的方式对图案锁进行解锁,当用户解锁被旁人窥视时,终端生成的随机解锁图案轨迹会给旁人制造一种假象,降低了用户设置的目标解锁图案轨迹被猜测出的概率,提高了图案锁的安全性。In the embodiment of the present invention, after receiving the unlocking instruction, the terminal first displays a pattern lock unlocking interface on the touch screen of the terminal according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern. a track, and then receiving a combined unlock pattern track input by the user, wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track, when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track When the target unlock pattern trajectory preset by the user is the same, the terminal performs an unlocking operation. It can be seen that, in the embodiment of the present invention, the pattern lock can be unlocked by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user. When the user unlocks the peek by the others, the random unlock pattern trajectory generated by the terminal will be given. Other people create an illusion, which reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
请参阅图3,图3是本发明实施例公开的一种终端的结构示意图。如图3所示,该终端300可以包括输入模块301、输出模块302以及执行模块303,且该终端300为包括触摸屏的终端,其中:Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal 300 can include an input module 301, an output module 302, and an execution module 303, and the terminal 300 is a terminal including a touch screen, where:
输入模块301用于接收解锁指令。The input module 301 is configured to receive an unlocking instruction.
输出模块302用于根据输入模块301接收到的解锁指令在终端300的触摸屏上显示图案锁解锁界面。The output module 302 is configured to display a pattern lock unlocking interface on the touch screen of the terminal 300 according to the unlocking instruction received by the input module 301.
本发明实施例中,输出模块302显示的图案锁解锁界面包括终端300生成的随机解锁图案轨迹In the embodiment of the present invention, the pattern lock unlocking interface displayed by the output module 302 includes a random unlock pattern trace generated by the terminal 300.
作为一种可选的实施方式,上述图案锁解锁界面还可以包括提示信息,其中,该提示信息用于提示用户首先输入终端300生成的随机解锁图案轨迹,然后再输入用户预先设置的目标解锁图案轨迹。这样可以提示用户(尤其是初次对终端300或终端300中的应用进行解锁的用户或不清楚终端300的解锁流程的用户)该终端300的解锁流程,提高了用户的使用体验。As an optional implementation manner, the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to input the random unlock pattern trajectory generated by the terminal 300 first, and then input the target unlock pattern preset by the user. Track. This can prompt the user (especially the user who unlocks the application in the terminal 300 or the terminal 300 for the first time or the user who does not know the unlocking process of the terminal 300) to unlock the terminal 300, thereby improving the user experience.
作为一种可选的实施方式,上述随机解锁图案轨迹可以在上述图案锁解锁界面中静态显示,如终端300的输出模块302在上述图案锁解锁界面中静态显示上述随机解锁图案轨迹的图案形状、该图案形状经过的位置以及该图案形状的方向等,也可以在终端300输出的图案锁解锁界面中动态显示,本发明实施例不做限定。As an optional implementation manner, the random unlock pattern track may be statically displayed in the pattern lock unlocking interface. For example, the output module 302 of the terminal 300 statically displays the pattern shape of the random unlock pattern track in the pattern lock unlocking interface. The position of the pattern shape and the direction of the pattern shape may be dynamically displayed in the pattern lock unlocking interface outputted by the terminal 300, which is not limited in the embodiment of the present invention.
输入模块301还可以用于接收用户输入的组合解锁图案轨迹。The input module 301 can also be configured to receive a combined unlock pattern trajectory input by a user.
本发明实施例中,组合解锁图案轨迹包括用户依据上述随机解锁图案轨迹输入的第一解锁图案轨迹以及用户依据预先设置的目标解锁图案轨迹输入的 第二解锁图案轨迹。In the embodiment of the present invention, the combined unlocking pattern trajectory includes a first unlocking pattern trajectory input by the user according to the random unlocking pattern trajectory and the user inputs according to the preset target unlocking pattern trajectory. The second unlock pattern track.
执行模块303用于当第一解锁图案轨迹与上述随机解锁图案轨迹相同且第二解锁图案轨迹与上述目标解锁图案轨迹相同时,执行解锁操作。The execution module 303 is configured to perform an unlocking operation when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is the same as the target unlock pattern track.
本发明实施例能够通过终端生成的随机解锁图案轨迹与用户设置的目标解锁图案轨迹相结合的方式对图案锁进行解锁,当用户解锁被旁人窥视时,终端生成的随机解锁图案轨迹会给旁人制造一种假象,降低了用户设置的目标解锁图案轨迹被猜测出的概率,提高了图案锁的安全性。The embodiment of the present invention can unlock the pattern lock by combining the random unlock pattern trajectory generated by the terminal with the target unlock pattern trajectory set by the user. When the user unlocks the peek by the others, the random unlock pattern trajectory generated by the terminal is created for others. An illusion that reduces the probability that the target unlock pattern trajectory set by the user is guessed, and improves the security of the pattern lock.
请参阅图4,图4是本发明实施例公开的另一种终端的结构示意图。如图4所示,该终端400可以包括输入模块401、获取模块402、生成模块403、输出模块404以及执行模块405,且该终端400为包括触摸屏的终端,其中:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention. As shown in FIG. 4, the terminal 400 may include an input module 401, an obtaining module 402, a generating module 403, an output module 404, and an executing module 405, and the terminal 400 is a terminal including a touch screen, where:
输入模块401用于接收用户输入的目标解锁图案轨迹以及用户输入的解锁指令。The input module 401 is configured to receive a target unlock pattern trajectory input by the user and an unlock instruction input by the user.
获取模块402用于获取上述目标解锁图案轨迹的起始位置。The obtaining module 402 is configured to acquire a starting position of the target unlocking pattern track.
生成模块403用于根据上述目标解锁图案轨迹的起始位置,生成随机解锁图案轨迹。The generating module 403 is configured to generate a random unlock pattern track according to the starting position of the target unlocking pattern track.
本发明实施例中,随机解锁图案轨迹的终点位置可以为上述目标解锁图案轨迹的起始位置,也可以在上述目标解锁图案轨迹的起始位置的四周的某一点,且用户可以根据自身需求具体设置上述随机解锁图案轨迹的终点位置。In the embodiment of the present invention, the end position of the random unlocking pattern track may be the starting position of the target unlocking pattern track, or may be at a certain point around the starting position of the target unlocking pattern track, and the user may specifically according to his own needs. Set the end position of the above random unlock pattern track.
输出模块404用于在终端400的触摸屏上显示图案锁解锁界面。The output module 404 is configured to display a pattern lock unlocking interface on the touch screen of the terminal 400.
本发明实施例中,该图案锁解锁界面包括上述随机解锁图案轨迹。In the embodiment of the present invention, the pattern lock unlocking interface includes the random unlock pattern track.
作为一种可选的实施方式,上述图案锁解锁界面还可以包括提示信息,其中,该提示信息用于提示用户首先输入终端400生成的随机解锁图案轨迹,然后再输入用户预先设置的目标解锁图案轨迹。这样可以提示用户(尤其是初次对终端400或终端400中的应用进行解锁的用户或不清楚终端400的解锁流程的用户)该终端400的解锁流程,提高了用户的使用体验。As an optional implementation manner, the pattern lock unlocking interface may further include prompt information, where the prompt information is used to prompt the user to input the random unlock pattern trajectory generated by the terminal 400 first, and then input the target unlock pattern preset by the user. Track. This can prompt the user (especially the user who unlocks the application in the terminal 400 or the terminal 400 for the first time or the user who does not know the unlocking process of the terminal 400) to unlock the terminal 400, thereby improving the user experience.
输入模块401还可以用于接收用户输入的组合解锁图案轨迹。The input module 401 can also be configured to receive a combined unlock pattern trajectory input by a user.
本发明实施例中,组合解锁图案轨迹包括用户依据上述随机解锁图案轨迹输入的第一解锁图案轨迹以及上述目标解锁图案轨迹输入的第二解锁图案轨迹。 In the embodiment of the present invention, the combined unlock pattern track includes a first unlock pattern track input by the user according to the random unlock pattern track and a second unlock pattern track input by the target unlock pattern track.
执行模块405用于当第一解锁图案轨迹与上述随机解锁图案轨迹相同,且第二解锁图案轨迹与目标解锁图案轨迹相同时,执行解锁操作。The execution module 405 is configured to perform an unlocking operation when the first unlock pattern track is the same as the random unlock pattern track and the second unlock pattern track is the same as the target unlock pattern track.
作为一种可选的实施方式,终端400的图案锁可以为九宫格图案锁,则上述随机解锁图案轨迹可以包括由九宫格图案锁中的部分点组成的轨迹,也可以包括由多个其它点组成的轨迹,还可以包括由九宫格图案锁中的部分点及至少一个其它点组成的轨迹,本发明实施例不做限定。其中,其它点为图案锁解锁界面中除九宫格图案锁中的所有点之外的点,且用户可以根据自身需求设置随机解锁图案轨迹,随机解锁图案轨迹的多样性可以提高随机解锁图案轨迹的复杂度,进一步提高了图案锁的安全性。As an optional implementation manner, the pattern lock of the terminal 400 may be a nine-square pattern lock, and the random unlock pattern track may include a track composed of a part of the nine-grid pattern lock, or may include a plurality of other points. The trajectory may also include a trajectory composed of a partial point in the nine-grid pattern lock and at least one other point, which is not limited in the embodiment of the present invention. Among them, the other points are points in the pattern lock unlocking interface except for all the points in the nine-square grid pattern lock, and the user can set the random unlock pattern trajectory according to his own needs, and the diversity of the random unlock pattern trajectory can improve the complexity of the random unlock pattern trajectory. Degree, further improve the safety of the pattern lock.
作为一种可选的实施方式,上述随机解锁图案轨迹可以在上述图案锁解锁界面中静态显示,也可以在上述图案锁解锁界面中动态显示,本发明实施例不做限定。As an optional implementation manner, the random unlocking pattern track may be statically displayed in the pattern lock unlocking interface, or may be dynamically displayed in the pattern lock unlocking interface, which is not limited in the embodiment of the present invention.
作为一种可选的实施方式,输出模块404还可以用于当第一解锁图案轨迹与上述随机解锁图案轨迹不相同或第二解锁图案轨迹与上述目标解锁图案轨迹不相同时,输出用于提示用户输入的组合解锁图案轨迹不正确的提示信息,并在终端400的触摸屏上显示新的图案锁解锁界面,且该新的图案锁解锁界面包括终端400的生成模块403根据上述目标解锁图案轨迹的起始位置生成的新的随机解锁图案轨迹。As an optional implementation manner, the output module 404 is further configured to output, when the first unlock pattern track is different from the random unlock pattern track or the second unlock pattern track is different from the target unlock pattern track, The combination of the user input pattern unlocks the incorrect cues of the pattern trajectory, and displays a new pattern lock unlocking interface on the touch screen of the terminal 400, and the new pattern lock unlocking interface includes the generating module 403 of the terminal 400 to unlock the pattern trajectory according to the target. A new random unlock pattern trace generated by the starting position.
本发明实施例提供了一种随机解锁图案轨迹的生成规则,即以目标解锁图案轨迹的起始位置或该起始位置四周的某一点的位置为随机解锁图案轨迹的终点位置,通过终端生成的随机解锁图案轨迹与用户设置的目标解锁图案轨迹相结合的方式对图案锁进行解锁,提高了图案锁的安全性,且当用户输入的组合解锁图案轨迹不正确时,终端向用户输出提示信息并输出显示有终端新生成的随机解锁图案轨迹的图案锁解锁界面,这进一步提高了图案锁的安全性。An embodiment of the present invention provides a rule for generating a random unlock pattern trajectory, that is, a start position of a target unlock pattern trajectory or a position of a point around the start position is an end position of a random unlock pattern trajectory, which is generated by a terminal. The random unlock pattern track is combined with the target unlock pattern track set by the user to unlock the pattern lock, which improves the security of the pattern lock, and when the combined unlock pattern trace input by the user is incorrect, the terminal outputs the prompt information to the user and The output shows a pattern lock unlocking interface with a newly generated random unlock pattern track of the terminal, which further improves the security of the pattern lock.
请参阅图5,图5是本发明实施例公开的又一种终端的结构示意图。其中,本发明实施例提供的终端可以用于实施上述图1所示的本发明各实施例实现的方法,为了便于说明,仅示出了与本发明各实施例相关的部分,具体技术细节未揭示的,请参照图1所示的本发明各实施例。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. The terminal provided by the embodiment of the present invention may be used to implement the method implemented by the embodiments of the present invention shown in FIG. 1 . For the convenience of description, only the parts related to the embodiments of the present invention are shown, and the specific technical details are not provided. Referring to the disclosure, please refer to the embodiments of the present invention shown in FIG. 1.
本发明实施例中的终端可以为智能手机(如Android手机、iOS手机等)、 平板电脑、掌上电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本以及移动互联网设备(Mobile Internet Devices,MID)、PAD等包括触摸屏的终端。本发明实施例以终端为手机为例进行说明,图5示出的是与本发明各实施例相关的手机500的部分结构的框图。The terminal in the embodiment of the present invention may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), Tablets, PDAs, UMPCs (Ultra-mobile Personal Computers), netbooks, and mobile Internet devices (MIDs), PADs, etc., including touch screen terminals. The embodiment of the present invention is described by taking a terminal as a mobile phone as an example. FIG. 5 is a block diagram showing a partial structure of a mobile phone 500 related to various embodiments of the present invention.
如图5所示,手机500包括:RF(Radio Frequency,射频)电路501、存储器502、输入装置503、输出装置504、重力传感器505、音频电路506、处理器507以及电源508等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 5, the mobile phone 500 includes components such as an RF (Radio Frequency) circuit 501, a memory 502, an input device 503, an output device 504, a gravity sensor 505, an audio circuit 506, a processor 507, and a power source 508. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图5对手机500的各个构成部件进行具体的介绍:The components of the mobile phone 500 will be specifically described below with reference to FIG. 5:
RF电路501可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器507处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(low noise amplifier,低噪声放大器)、双工器等。此外,RF电路501还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(global system of mobile communication,全球移动通讯系统)、GPRS(general packet radio service,通用分组无线服务)、CDMA(code division multiple access,码分多址)、WCDMA(wideband code division multiple access,宽带码分多址)、LTE(long term evolution,长期演进)、电子邮件、SMS(short messaging service,短消息服务)等。The RF circuit 501 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is performed by the processor 507. In addition, the uplink data is sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, the RF circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (global system of mobile communication), GPRS (general packet radio service), CDMA (code division multiple access) , code division multiple access), WCDMA (wideband code division multiple access), LTE (long term evolution), e-mail, SMS (short messaging service), and the like.
存储器502可用于存储软件程序以及模块,处理器507通过运行存储在存储器502的软件程序以及模块,从而执行手机500的各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机500的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 502 can be used to store software programs and modules, and the processor 507 executes various functional applications and data processing of the mobile phone 500 by running software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 500 (such as audio data, image data, phone book, etc.) and the like. Moreover, memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入装置503可用于接收输入的数字或字符信息,以及产生与手机500的用户设置以及功能控制有关的键信号输入。具体地,输入装置503可包括触 摸屏,或者,输入装置503可以包括触摸屏以及其他输入设备。触摸屏,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏上或在触摸屏附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器507,并能接收处理器507发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏。除了触摸屏,输入装置503还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input device 503 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of handset 500. Specifically, the input device 503 can include a touch Touch screen, or input device 503 can include a touch screen and other input devices. A touch screen, also known as a touch panel, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on any touch screen or near the touch screen), and according to the preset The programmed program drives the corresponding connection device. Optionally, the touch screen may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 507 is provided and can receive commands from the processor 507 and execute them. In addition, touch screens can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch screen, the input device 503 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
输出装置504可用于显示由用户输入的信息或提供给用户的信息以及手机500的各种菜单。输出装置504可包括触摸屏,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置触摸屏。进一步的,触摸屏可以由触摸面板与显示面板集成,当触摸屏检测到在其上或附近的触摸操作后,传送给处理器507以确定触摸事件的类型,随后处理器507根据触摸事件的类型在触摸屏上提供相应的视觉输出。 Output device 504 can be used to display information entered by the user or information provided to the user as well as various menus of handset 500. The output device 504 can include a touch screen. Optionally, the touch screen can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch screen may be integrated with the display panel by the touch panel, and when the touch screen detects a touch operation on or near it, the touch screen is transmitted to the processor 507 to determine the type of the touch event, and then the processor 507 is in the touch screen according to the type of the touch event. Provide corresponding visual output on it.
重力传感器(gravity sensor)505,可以检测手机500在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。A gravity sensor 505 can detect the magnitude of the acceleration of the mobile phone 500 in various directions (usually three axes), and can detect the magnitude and direction of the gravity when stationary, and can be used for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
手机500还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节触摸屏的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机500移动到耳边时,关闭触摸屏和/或背光。手机500还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset 500 can also include other sensors, such as light sensors. In particular, the light sensor can include an ambient light sensor and a proximity light sensor. The ambient light sensor can adjust the brightness of the touch screen according to the brightness of the ambient light; the proximity light sensor can detect whether an object is close to or in contact with the mobile phone, and can close the touch screen and/or the backlight when the mobile phone 500 moves to the ear. The mobile phone 500 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
音频电路506、扬声器5061、麦克风5062可提供用户与手机500之间的音频接口。音频电路506可将接收到的音频数据转换后的电信号,传输到扬声器5061,由扬声器5061转换为声音信号输出;另一方面,麦克风5062将收 集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出至RF电路501以发送给比如另一手机,或者将音频数据输出至存储器502以便进一步处理。The audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the handset 500. The audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061; on the other hand, the microphone 5062 will receive The set of sound signals is converted into electrical signals, which are received by the audio circuit 506 and converted to audio data, which is then output to the RF circuit 501 for transmission to, for example, another handset, or the audio data is output to the memory 502 for further processing.
处理器507是手机500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行手机500的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器507可包括一个或多个处理单元;优选的,处理器507可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器507中。 Processor 507 is the control center of handset 500, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 502, and recalling data stored in memory 502, The various functions and processing data of the mobile phone 500 are performed to perform overall monitoring of the mobile phone. Optionally, the processor 507 may include one or more processing units; preferably, the processor 507 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 507.
手机500还包括给各个部件供电的电源508(比如电池),优选的,电源可以通过电源管理系统与处理器507逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset 500 also includes a power source 508 (such as a battery) that powers the various components. Preferably, the power source can be logically coupled to the processor 507 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机500还可以包括WiFi(wireless fidelity,无线保真)模块、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone 500 may further include a WiFi (wireless fidelity) module, a Bluetooth module, and the like, and details are not described herein again.
在本发明实施例中,输入装置503还用于接收解锁指令。In the embodiment of the present invention, the input device 503 is further configured to receive an unlocking instruction.
输出装置504还用于根据上述解锁指令在触摸屏上显示图案锁解锁界面,其中,该图案锁解锁界面包括随机解锁图案轨迹。The output device 504 is further configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, wherein the pattern lock unlocking interface comprises a random unlocking pattern track.
输入装置503还用于接收用户输入的组合解锁图案轨迹,其中,该组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹。The input device 503 is further configured to receive a combined unlock pattern track input by the user, wherein the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track.
处理器507用于调用存储器502中存储的软件程序和/或模块,还用于执行以下操作:The processor 507 is configured to invoke software programs and/or modules stored in the memory 502, and is also configured to perform the following operations:
当第一解锁图案轨迹与上述随机解锁图案轨迹相同,且第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。When the first unlock pattern track is the same as the random unlock pattern track described above, and the second unlock pattern track is the same as the target unlock pattern track set by the user in advance, the unlocking operation is performed.
进一步的,输入装置503还用于接收用户输入的目标解锁图案轨迹。Further, the input device 503 is further configured to receive a target unlock pattern trajectory input by the user.
处理器507用于调用存储器502中存储的软件程序和/或模块,还用于执行以下操作:The processor 507 is configured to invoke software programs and/or modules stored in the memory 502, and is also configured to perform the following operations:
获取上述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
根据上述目标解锁图案轨迹的起始位置,生成上述随机解锁图案轨迹;Generating the random unlock pattern trajectory according to the start position of the target unlocking pattern trajectory;
其中,上述随机解锁图案轨迹的终点位置为上述目标解锁图案轨迹的起始 位置,或者,上述随机解锁图案轨迹的终点位置在上述目标解锁图案轨迹的起始位置的四周的某一点。Wherein, the end position of the random unlock pattern track is the start of the target unlock pattern track Position, or the end position of the random unlock pattern track is at a certain point around the start position of the target unlock pattern track.
进一步的,上述图案锁解锁界面还包括提示信息,其中,提示信息用于提示用户先输入上述随机解锁图案轨迹,再输入上述目标解锁图案轨迹。Further, the pattern lock unlocking interface further includes prompt information, wherein the prompt information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
进一步的,手机500中的图案锁为九宫格图案锁,则随机解锁图案轨迹可以包括由九宫格图案锁中的部分点组成的轨迹,也可以包括由多个其它点组成的轨迹,还可以包括由九宫格图案锁中的部分点及至少一个其它点组成的轨迹,其中,其它点为图案锁解锁界面中除九宫格图案锁中的所有点之外的点。Further, the pattern lock in the mobile phone 500 is a nine-square grid pattern lock, and the random unlock pattern track may include a trajectory composed of a part of the nine-square grid pattern lock, or may include a trajectory composed of a plurality of other points, and may also include a nine-square grid A portion of the pattern lock and at least one other point, wherein the other points are points in the pattern lock unlocking interface except for all points in the nine-grid pattern lock.
进一步的,上述随机解锁图案轨迹可以在上述图案锁解锁界面中静态显示,也可以在上述图案锁解锁界面中动态显示。Further, the random unlock pattern track may be statically displayed in the pattern lock unlocking interface, or may be dynamically displayed in the pattern lock unlocking interface.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例终端中的模块可以根据实际需要进行合并、划分和删减。The modules in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本发明实施例中所述模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (15)

  1. 一种图案锁的解锁方法,应用于包括触摸屏的终端,其特征在于,所述方法包括:A method for unlocking a pattern lock is applied to a terminal including a touch screen, wherein the method includes:
    接收解锁指令;Receiving an unlock command;
    根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;Displaying a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
    接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;Receiving a combined unlock pattern track input by a user, the combined unlock pattern track comprising a first unlock pattern track and a second unlock pattern track;
    当所述第一解锁图案轨迹与所述随机解锁图案轨迹相同,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。When the first unlock pattern track is the same as the random unlock pattern track, and the second unlock pattern track is the same as the target unlock pattern track set by the user in advance, an unlocking operation is performed.
  2. 根据权利要求1所述的方法,其特征在于,所述接收解锁指令之前,所述方法还包括:The method according to claim 1, wherein before the receiving the unlocking instruction, the method further comprises:
    接收用户输入的所述目标解锁图案轨迹;Receiving the target unlock pattern trace input by the user;
    所述根据所述解锁指令在所述触摸屏上显示图案锁解锁界面之前,所述方法还包括:Before the displaying the pattern lock unlocking interface on the touch screen according to the unlocking instruction, the method further includes:
    获取所述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
    根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;Generating the random unlock pattern track according to a starting position of the target unlock pattern track;
    其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起始位置的四周的某一点。The end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
  3. 根据权利要求2所述的方法,其特征在于,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。The method according to claim 2, wherein the pattern lock unlocking interface further comprises prompt information, wherein the prompt information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
  4. 根据权利要求1~3任一项所述的方法,其特征在于,所述图案锁为九宫格图案锁;The method according to any one of claims 1 to 3, wherein the pattern lock is a nine-square grid pattern lock;
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或 The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
    所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
    其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或The method according to any one of claims 1 to 4, wherein the random unlock pattern track is statically displayed in the pattern lock unlocking interface; or
    所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
  6. 一种终端,所述终端为包括触摸屏的终端,其特征在于,所述终端包括输入模块、输出模块以及执行模块,其中:A terminal, the terminal is a terminal including a touch screen, and the terminal includes an input module, an output module, and an execution module, where:
    所述输入模块,用于接收解锁指令;The input module is configured to receive an unlocking instruction;
    所述输出模块,用于根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;The output module is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
    所述输入模块,还用于接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;The input module is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
    所述执行模块,用于当所述第一解锁图案轨迹与所述随机解锁图案轨迹相同,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。The executing module is configured to perform an unlocking operation when the first unlocking pattern track is the same as the random unlocking pattern track, and the second unlocking pattern track is the same as a target unlocking pattern track set by a user in advance.
  7. 根据权利要求6所述的终端,其特征在于,所述输入模块,还用于接收用户输入的所述目标解锁图案轨迹;The terminal according to claim 6, wherein the input module is further configured to receive the target unlock pattern trajectory input by a user;
    所述终端还包括获取模块以及生成模块,其中:The terminal further includes an obtaining module and a generating module, where:
    所述获取模块,用于在所述输出模块根据所述解锁指令在所述触摸屏上显示图案锁解锁界面之前,获取所述目标解锁图案轨迹的起始位置;The acquiring module is configured to acquire a starting position of the target unlocking pattern track before the output module displays the pattern lock unlocking interface on the touch screen according to the unlocking instruction;
    所述生成模块,用于根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;The generating module is configured to generate the random unlock pattern trajectory according to a starting position of the target unlocking pattern trajectory;
    其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起 始位置的四周的某一点。The end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is in the target unlock pattern track Some point around the starting position.
  8. 根据权利要求7所述的终端,其特征在于,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。The terminal according to claim 7, wherein the pattern lock unlocking interface further comprises prompt information, wherein the prompt information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
  9. 根据权利要求6~8任一项所述的终端,其特征在于,所述终端的图案锁为九宫格图案锁;The terminal according to any one of claims 6 to 8, wherein the pattern lock of the terminal is a nine-square grid pattern lock;
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
    所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
    其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  10. 根据权利要求6~9任一项所述的终端,其特征在于,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或The terminal according to any one of claims 6 to 9, wherein the random unlock pattern track is statically displayed in the pattern lock unlocking interface; or
    所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
  11. 一种终端,包括存储器、处理器、输入装置以及输出装置,所述输入装置包括触摸屏,或者,所述输入装置包括物理按键以及所述触摸屏,所述输出装置包括所述触摸屏,其特征在于,A terminal comprising a memory, a processor, an input device, and an output device, the input device comprising a touch screen, or the input device comprises a physical button and the touch screen, the output device comprising the touch screen, wherein
    所述输入装置,用于接收解锁指令;The input device is configured to receive an unlocking instruction;
    所述输出装置,用于根据所述解锁指令在所述触摸屏上显示图案锁解锁界面,所述图案锁解锁界面包括随机解锁图案轨迹;The output device is configured to display a pattern lock unlocking interface on the touch screen according to the unlocking instruction, where the pattern lock unlocking interface includes a random unlocking pattern track;
    所述输入装置,还用于接收用户输入的组合解锁图案轨迹,所述组合解锁图案轨迹包括第一解锁图案轨迹以及第二解锁图案轨迹;The input device is further configured to receive a combined unlock pattern track input by a user, where the combined unlock pattern track includes a first unlock pattern track and a second unlock pattern track;
    所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作: The program stores a set of program codes, and the processor is configured to call program code stored in the memory to perform the following operations:
    当所述第一解锁图案轨迹与所述随机解锁图案轨迹相同,且所述第二解锁图案轨迹与用户预先设置的目标解锁图案轨迹相同时,执行解锁操作。When the first unlock pattern track is the same as the random unlock pattern track, and the second unlock pattern track is the same as the target unlock pattern track set by the user in advance, an unlocking operation is performed.
  12. 根据权利要求11所述的终端,其特征在于,所述输入装置,还用于接收用户输入的所述目标解锁图案轨迹;The terminal according to claim 11, wherein the input device is further configured to receive the target unlock pattern trajectory input by a user;
    所述处理器用于调用所述存储器中存储的程序代码,还用于执行以下操作:The processor is configured to invoke program code stored in the memory, and is further configured to:
    获取所述目标解锁图案轨迹的起始位置;Obtaining a starting position of the target unlocking pattern track;
    根据所述目标解锁图案轨迹的起始位置,生成所述随机解锁图案轨迹;Generating the random unlock pattern track according to a starting position of the target unlock pattern track;
    其中,所述随机解锁图案轨迹的终点位置为所述目标解锁图案轨迹的起始位置,或者,所述随机解锁图案轨迹的终点位置在所述目标解锁图案轨迹的起始位置的四周的某一点。The end position of the random unlock pattern track is the start position of the target unlock pattern track, or the end position of the random unlock pattern track is at a point around the start position of the target unlock pattern track. .
  13. 根据权利要求12所述的终端,其特征在于,所述图案锁解锁界面还包括提示信息,所述提示信息用于提示用户先输入所述随机解锁图案轨迹,再输入所述目标解锁图案轨迹。The terminal according to claim 12, wherein the pattern lock unlocking interface further comprises prompt information, wherein the prompt information is used to prompt the user to input the random unlock pattern track first, and then input the target unlock pattern track.
  14. 根据权利要求11~13任一项所述的终端,其特征在于,所述终端的图案锁为九宫格图案锁;The terminal according to any one of claims 11 to 13, wherein the pattern lock of the terminal is a nine-square grid pattern lock;
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点组成的轨迹;或The random unlock pattern track includes a track composed of a part of the nine-grid pattern lock; or
    所述随机解锁图案轨迹包括由多个其它点组成的轨迹;或The random unlock pattern track includes a track composed of a plurality of other points; or
    所述随机解锁图案轨迹包括由所述九宫格图案锁中的部分点及至少一个所述其它点组成的轨迹;The random unlock pattern track includes a track composed of a partial point in the nine-square grid pattern lock and at least one of the other points;
    其中,所述其它点为所述图案锁解锁界面中除所述九宫格图案锁中的所有点之外的点。Wherein, the other points are points in the pattern lock unlocking interface except for all points in the nine-square grid pattern lock.
  15. 根据权利要求11~14任一项所述的终端,其特征在于,所述随机解锁图案轨迹在所述图案锁解锁界面中静态显示;或The terminal according to any one of claims 11 to 14, wherein the random unlock pattern track is statically displayed in the pattern lock unlocking interface; or
    所述随机解锁图案轨迹在所述图案锁解锁界面中动态显示。 The random unlock pattern track is dynamically displayed in the pattern lock unlocking interface.
PCT/CN2015/070041 2015-01-04 2015-01-04 Pattern lock unlocking method and terminal WO2016106774A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580003065.4A CN105940368B (en) 2015-01-04 2015-01-04 A kind of unlocking method and terminal of pattern lock
PCT/CN2015/070041 WO2016106774A1 (en) 2015-01-04 2015-01-04 Pattern lock unlocking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/070041 WO2016106774A1 (en) 2015-01-04 2015-01-04 Pattern lock unlocking method and terminal

Publications (1)

Publication Number Publication Date
WO2016106774A1 true WO2016106774A1 (en) 2016-07-07

Family

ID=56284035

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070041 WO2016106774A1 (en) 2015-01-04 2015-01-04 Pattern lock unlocking method and terminal

Country Status (2)

Country Link
CN (1) CN105940368B (en)
WO (1) WO2016106774A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019399A1 (en) * 2016-07-23 2018-02-01 Wabco Gmbh Method for the control of functions of a vehicle
EP3460775A1 (en) * 2017-09-26 2019-03-27 WABCO GmbH Method for authorizing remote control
WO2021151486A1 (en) 2020-01-30 2021-08-05 Zf Cv Systems Global Gmbh Method for setting up a data connection and data transmission system
US11127410B2 (en) * 2019-11-12 2021-09-21 Wen-Ta Chiu Voice decoding device and method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672895A (en) * 2021-08-16 2021-11-19 维沃移动通信(杭州)有限公司 Screen unlocking method, screen unlocking device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707865A (en) * 2011-03-28 2012-10-03 宏达国际电子股份有限公司 Systems and methods for gesture lock obfuscation
CN102841754A (en) * 2012-08-23 2012-12-26 百度在线网络技术(北京)有限公司 Unlocking method of mobile terminal and device and mobile terminal
US20130271393A1 (en) * 2012-04-11 2013-10-17 Peng Wang Electronic device with touch screen and unlocking method
CN103777870A (en) * 2014-01-23 2014-05-07 广东欧珀移动通信有限公司 Screen unlocking device for electronic equipment with touch control screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929536B (en) * 2012-10-11 2016-03-16 百度在线网络技术(北京)有限公司 The unblock of mobile terminal and verification method and unblock and demo plant

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707865A (en) * 2011-03-28 2012-10-03 宏达国际电子股份有限公司 Systems and methods for gesture lock obfuscation
US20130271393A1 (en) * 2012-04-11 2013-10-17 Peng Wang Electronic device with touch screen and unlocking method
CN102841754A (en) * 2012-08-23 2012-12-26 百度在线网络技术(北京)有限公司 Unlocking method of mobile terminal and device and mobile terminal
CN103777870A (en) * 2014-01-23 2014-05-07 广东欧珀移动通信有限公司 Screen unlocking device for electronic equipment with touch control screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019399A1 (en) * 2016-07-23 2018-02-01 Wabco Gmbh Method for the control of functions of a vehicle
EP3460775A1 (en) * 2017-09-26 2019-03-27 WABCO GmbH Method for authorizing remote control
US11127410B2 (en) * 2019-11-12 2021-09-21 Wen-Ta Chiu Voice decoding device and method thereof
WO2021151486A1 (en) 2020-01-30 2021-08-05 Zf Cv Systems Global Gmbh Method for setting up a data connection and data transmission system

Also Published As

Publication number Publication date
CN105940368A (en) 2016-09-14
CN105940368B (en) 2019-05-28

Similar Documents

Publication Publication Date Title
US20210336780A1 (en) Key updating method, apparatus, and system
JP6576555B2 (en) Service processing method, device and system
US10530921B2 (en) Method for unlocking terminal screen and terminal
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
WO2017084288A1 (en) Method and device for verifying identity
WO2018161743A1 (en) Fingerprint recognition method and related product
WO2018045487A1 (en) Data sharing method and terminal
CN107483213B (en) Security authentication method, related device and system
WO2016106774A1 (en) Pattern lock unlocking method and terminal
WO2016078504A1 (en) Identity authentication method and device
WO2019061219A1 (en) Screen unlocking method and terminal
JP7148045B2 (en) AUTHENTICATION WINDOW DISPLAY METHOD, TERMINAL, COMPUTER-READABLE STORAGE MEDIUM AND COMPUTER PROGRAM
WO2016192511A1 (en) Method and apparatus for remotely deleting information
CN110393021B (en) Connection method based on wireless communication and terminal
CN107480495B (en) Unlocking method of mobile terminal and related product
TWI575458B (en) Method, device and system for providing service based on application
CN106713319B (en) Remote control method, device and system between terminals and mobile terminal
WO2018166169A1 (en) Fingerprint recognition method and related product
WO2019090702A1 (en) Terminal security protection method and device
CN106815510B (en) Data processing method and terminal
WO2016191968A1 (en) Left and right hand mode determination method and apparatus, and terminal device
CN105262909B (en) Mobile terminal using method, mobile terminal and storage medium
WO2016131180A1 (en) Keyboard display method, apparatus and terminal device
KR20150061613A (en) Method, device and terminal for protecting application program
CN113923005B (en) Method and system for writing data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15874467

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15874467

Country of ref document: EP

Kind code of ref document: A1