CN106055965B - Touchscreen pattern tripper and method - Google Patents
Touchscreen pattern tripper and method Download PDFInfo
- Publication number
- CN106055965B CN106055965B CN201610548693.7A CN201610548693A CN106055965B CN 106055965 B CN106055965 B CN 106055965B CN 201610548693 A CN201610548693 A CN 201610548693A CN 106055965 B CN106055965 B CN 106055965B
- Authority
- CN
- China
- Prior art keywords
- touch
- contact regions
- contact
- unlocking pin
- password
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of touchscreen pattern tripper and methods, which includes: interface display module, and when for detecting unlocking request, multiple preset contact regions are arranged on the touchscreen to be formed and show unlock interface;Information module is obtained, for obtaining touch information of the user when inputting touch operation in unlock interface;Track obtains module, for obtaining touch track of the touch operation in unlock interface according to touch information;State acquisition module, for the relative positional relationship according to touch track and each contact regions, the contact regions that touch track is successively passed through and the touch condition to the contact regions successively passed through are obtained, and using the orderly contact region sequence comprising corresponding touch condition as unlocking pin;Password comparison module unlocking pin and prestores password for comparing, if unlocking pin and when prestoring password match, releases touchscreen pattern lock.Invention enhances the safeties of the unlocking pattern, avoid the occurrence of touch-screen equipment information unsafe problems.
Description
Technical field
The present invention relates to touch screen unlocking technology field more particularly to a kind of touchscreen pattern tripper and methods.
Background technique
A few days ago, on touch-screen equipment, especially smart phone, in intelligent wearable device, pattern unlocking function is as low strong
The cryptographic means of degree have the characteristics of operation is convenient, is easy memory and identification, in equipment screen locking, using login authentication, identity school
It tests in equal operation scenarios and is used widely.But since in existing pattern unlock scheme, the unlocking pattern is ordered by solid
The easy memorize pattern of fixed point is easy to be peeped screen and leak the unlocking pattern when user carries out pattern unlock in public places, causes to touch
The unsafe technical problem of screen equipment information.
Summary of the invention
The main purpose of the present invention is to provide a kind of touchscreen pattern tripper and methods, it is intended to solve existing pattern
Unlock scheme is easy leakage the unlocking pattern, leads to the unsafe technical problem of touch-screen equipment information.
To achieve the above object, the embodiment of the present invention provides a kind of touchscreen pattern tripper, the touchscreen pattern
Tripper includes:
Interface display module, when for detecting unlocking request, by multiple preset contact regions arrangements on the touchscreen with
It is formed and shows unlock interface;
Information module is obtained, for obtaining touch information of the user when inputting touch operation in unlock interface;
Track obtains module, for obtaining touch track of the touch operation in unlock interface according to touch information;
State acquisition module obtains touch track for the relative positional relationship according to touch track and each contact regions
The contact regions successively passed through and the touch condition to the contact regions successively passed through, and by the orderly touching comprising corresponding touch condition
For point region sequence as unlocking pin, the touch condition includes the deviation shape for the contact district center that touch track deviates and passed through
State and/or touch track by contact regions mode of operation, wherein deviateing state includes state to the left, state to the right, shape on the upper side
State and state on the upper side, mode of operation include down state, slip over state and lifting status;
Password comparison module unlocking pin and prestores password for comparing, if unlocking pin and when prestoring password match,
Release touchscreen pattern lock.
Optionally, the touch track has included contact, whole contact and the sliding trace for connect contact with end contact,
The state acquisition module includes:
Retrieval unit will be touched for obtaining the contact region sequence being made of the contact regions that touch track is successively passed through
Contact regions in point region sequence are as activation contact regions;
State acquiring unit obtains each for the relative positional relationship according to touch track and each activation contact regions
The touch condition of contact regions is activated, and the contact region sequence that touch condition is corresponded to comprising each activation contact regions is close as unlocking
Code;Wherein, if contact regions have included contact, the touch condition of contact regions is down state;If contact regions only include sliding rail
Mark, then the touch condition of contact regions is to slip over state;If contact regions include whole contact, the touch condition of contact regions is to lift shape
State.
Optionally, the touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user,
Touch screen induction to pressure value be divided into multiple pressure ratings;
The state acquiring unit is also used to:
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
Optionally, the password comparison module includes:
Password comparing unit compares unlocking pin and prestores password;
First response unit, for releasing touchscreen pattern lock when unlocking pin and preset password exactly match;
Second response unit, for when unlocking pin and preset password mismatch completely, prompt cipher mistake.
Optionally, the password comparison module further includes third response unit, and the third response unit is used for:
When unlocking pin is matched with preset password part, judge unlocking again in preset time period with the presence or absence of user
The touch operation inputted on interface;
If calling there are the touch operation that user inputs in unlock interface again in preset time period and obtaining information mould
Block work, to obtain the unlocking pin of the touch operation inputted again;
The unlocking pin of touch operation inputted by the unlocking pin of the touch operation of last time input and again synthesizes
New unlocking pin, and password comparing unit is called to work;
If there is no the touch operation that user inputs in unlock interface again in preset time period, prompt cipher is wrong
Accidentally.
The embodiment of the present invention also provides a kind of touchscreen pattern unlocking method, and the touchscreen pattern unlocking method includes:
When detecting unlocking request, by multiple preset contact regions arrangements on the touchscreen to form and show unlock circle
Face;
Obtain touch information of the user when inputting touch operation in unlock interface;
According to touch information, touch track of the touch operation in unlock interface is obtained;
According to the relative positional relationship of touch track and each contact regions, obtain the contact regions that touch track is successively passed through with
And the touch condition to the contact regions successively passed through, and the orderly contact region sequence comprising corresponding touch condition is close as unlocking
Code, the touch condition include that the deviation state for the contact district center that touch track deviates and passed through and/or touch track pass through
The mode of operation of contact regions is crossed, wherein deviateing state includes state, state to the right, state on the upper side and state on the upper side to the left, operation
Mode includes down state, slips over state and lifting status;
Compare and unlocking pin and prestore password, if unlocking pin and when prestoring password match, releases touchscreen pattern lock.
Optionally, the touch track has included contact, whole contact and the sliding trace for connect contact with end contact,
The relative positional relationship according to touch track and each contact regions obtains the contact that touch track is successively passed through
Area and touch condition to the contact regions successively passed through, and using the orderly contact region sequence comprising corresponding touch condition as solving
The step of lock cipher includes:
The contact region sequence being made of the contact regions that touch track is successively passed through is obtained, by the contact regions in the region sequence of contact
As activation contact regions;
According to the relative positional relationship of touch track and each activation contact regions, the touch shape of each activation contact regions is obtained
State, and the contact region sequence of touch condition is corresponded to as unlocking pin using comprising each activation contact regions;Wherein, if contact regions are wrapped
Containing contact is played, then the touch condition of contact regions is down state;If contact regions only include sliding trace, the touch shape of contact regions
State is to slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status.
Optionally, the touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user,
Touch screen induction to pressure value be divided into multiple pressure ratings;
Described will include that each contact region sequence for activating contact regions to correspond to touch condition is wrapped as the step of unlocking pin
It includes:
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
Optionally, described relatively unlocking pin and to prestore password, if unlocking pin and prestoring password match, release touch
Shield pattern lock the step of include:
Compare unlocking pin and prestores password;
If unlocking pin and preset password exactly match, touchscreen pattern lock is released;
If unlocking pin mismatches completely with preset password, prompt cipher mistake.
Optionally, the relatively unlocking pin further includes later with the step of prestoring password;
If unlocking pin is matched with preset password part, judge unlocking again in preset time period with the presence or absence of user
The touch operation inputted on interface;
If there are the touch operations that user inputs in unlock interface again in preset time period, executes the acquisition and use
It is the step of touch information of the family when inputting touch operation in unlock interface, close to obtain the unlock of touch operation inputted again
Code;
The unlocking pin of touch operation inputted by the unlocking pin of the touch operation of last time input and again synthesizes
New unlocking pin, and the step of executing the relatively unlocking pin and prestoring password;
If there is no the touch operation that user inputs in unlock interface again in preset time period, prompt cipher is wrong
Accidentally.
When the present invention detects unlocking request by interface display module, multiple preset contact regions are arranged in touch screen
On to form unlock interface;Then it obtains information module and obtains touch letter of the user when inputting touch operation in unlock interface
Breath;Track obtains module further according to touch information, obtains touch track of the touch operation in unlock interface;State acquisition module
And according to the relative positional relationship of touch track and each contact regions, obtain contact regions that touch track is successively passed through and to according to
The touch condition of the contact regions of secondary process, and using the orderly contact region sequence comprising corresponding touch condition as unlocking pin;It is close
Code comparison module compares unlocking pin again and prestores password, if unlocking pin releases touch screen figure with when prestoring password match
Case lock, to be extended touch condition of the touch operation to contact regions, makes not only to include touch operation in unlocking pin
The contact region sequence successively passed through, further comprises touch operation to the additional touch information in contact regions each in the region sequence of contact,
The internal information of the unlocking pattern is enriched, even if the unlocking pattern track is identical, true unlocking pin is also not quite similar, and makes to solve
Lock cipher no longer solely relies on the unlocking pattern track, greatly strengthens the safety of the unlocking pattern, avoids the occurrence of touch-screen equipment
The unsafe problems of information.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each one mobile terminal of embodiment to realize the present invention;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the schematic layout pattern of one embodiment of unlock interface in the present invention;
Fig. 4 is one track schematic diagram of L-type pattern in unlock interface of the present invention;
Fig. 5 is the another track schematic diagram of L-type pattern in unlock interface of the present invention;
Fig. 6 is another track schematic diagram of L-type pattern in unlock interface of the present invention;
Fig. 7 is the another track schematic diagram of L-type pattern in unlock interface of the present invention;
Fig. 8 is the functional block diagram of inventive touch screen pattern tripper first embodiment;
Fig. 9 is that the refinement functional module of state acquisition module in inventive touch screen pattern tripper second embodiment is shown
It is intended to;
Figure 10 is the refinement functional module of password comparison module in inventive touch screen pattern tripper 3rd embodiment
Schematic diagram;
Figure 11 is the flow diagram of inventive touch screen pattern unlocking method first embodiment;
Figure 12 is in inventive touch screen pattern unlocking method second embodiment according to touch track and each contact regions
Relative positional relationship obtains the contact regions that touch track is successively passed through and the touch condition to the contact regions successively passed through, and
It will include the orderly contact region sequence of corresponding touch condition as refinement flow diagram the step of unlocking pin;
Figure 13 is to compare unlocking pin in inventive touch screen pattern unlocking method 3rd embodiment and prestore password, if solution
Lock cipher and refinement flow diagram the step of when prestoring password match, then releasing touchscreen pattern lock.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each one mobile terminal of embodiment to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180,190 and of power supply unit
Touchscreen pattern tripper 200 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that not
It is required that implementing all components shown.More or fewer components can alternatively be implemented.It will be discussed in more detail below mobile whole
The element at end.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device
Or the radio communication between network.
A/V input unit 120 is for receiving audio or video signal.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.In addition, sensing unit 140 is able to detect whether power supply unit 190 provides electric power or interface unit
Whether 170 couple with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..
Output unit 150 is configured to provide output signal with vision, audio and/or tactile manner (for example, audio is believed
Number, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display unit 151 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure value and touch input position and touch input area.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
The touchscreen pattern tripper includes:
Interface display module 10, when for detecting unlocking request, on the touchscreen by multiple preset contact regions arrangements
To be formed and show unlock interface;
Information module 20 is obtained, for obtaining touch information of the user when inputting touch operation in unlock interface;
Track obtains module 30, for obtaining touch track of the touch operation in unlock interface according to touch information;
State acquisition module 40 obtains for the relative positional relationship according to touch track and each contact regions and touches rail
The contact regions that mark successively passes through and the touch condition to the contact regions successively passed through, and the orderly of corresponding touch condition will be included
Contact region sequence is as unlocking pin;
Password comparison module 50 unlocking pin and prestores password for comparing, if unlocking pin and when prestoring password match,
Then release touchscreen pattern lock.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication device and satellite-based communication device operate.
Referring now to Fig. 2 description communication device that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication device.For example, used by communication device
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress
Set (UMTS) (particularly, long term evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication device, but such introduction is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in the device by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, but it is understood that, it can use any number of satellite and obtain
Useful location information.As a typical operation of wireless communication device, BS270 is received from various mobile terminals 100
Reverse link signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 receives
Each reverse link signal handled in specific BS270.The data of acquisition are forwarded to relevant BSC275.BSC
The mobile management function of call resource allocation and the coordination including the soft switching process between BS270 is provided.BSC275 will also connect
The data received are routed to MSC280, provide the additional route service for forming interface with PSTN290.Similarly,
PSTN290 and MSC280 form interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with will be positive
Link signal is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, propose that inventive touch screen pattern tripper is each
Embodiment, touchscreen pattern tripper can be a part of mobile terminal.
Referring to Fig. 3 and Fig. 8, the present invention provides a kind of touchscreen pattern tripper, in touchscreen pattern tripper the
In one embodiment, which includes:
Multiple preset contact regions 301 when for detecting unlocking request, are arranged in touch screen by interface display module 10
On to form and show unlock interface 300;
Above-mentioned touch panel device can be the mobile terminals such as smart phone, IPAD, specifically, the touch panel device unlock side
Method can be unlocked booting and relevant application.In use, usually presetting a password (prestoring password), and will be pre-
It deposits password to store to memory, compare for subsequent unlock.Prestore password for one by contact regions serial number ordered arrangement institute at
Contact region sequence, the touching that the corresponding touch operation for preserving user's input in all contact regions in the contact region sequence applies
Touch state and/or pressure rating.The unlock interface that unlock interface can unlock scheme with existing pattern is essentially identical, i.e. unlock interface
On with the formal distribution of nine grids have nine contact regions, touch of the invention can be applied without changing existing unlock interface
Shield pattern unlocking method and a device.
After setting prestores password, when user's booting, lighting screen or opening related application, touch panel device system is voluntarily
It generates with unlocking request, thus when detecting unlocking request, the touching that multiple (such as nine) are preset of interface display module 10
The arrangement of point area inputs touch operation on the touchscreen to form and show unlock interface, so that user is based on the unlock interface.
Information module 20 is obtained, for obtaining touch information of the user when inputting touch operation in unlock interface;
Track obtains module 30, for obtaining touch track of the touch operation in unlock interface according to touch information;
Sensing device of the information module 20 based on touch screen is obtained, the touch operation that user inputs in unlock interface is obtained
Corresponding touch information, touch information include that touch information includes that touch operation is slided in unlock interface and is formed by touch rail
The coordinate position of mark and touch track each section in unlock interface, for example, touch track included contact, whole contact and
The sliding trace of contact and whole contact is connected, which can be subdivided into enough sliding points again, that is to say, that touching
Touching information has included the position coordinates of contact, whole contact and all sliding points in unlock interface.Track obtains 30 basis of module
Touch information obtains touch track of the touch operation in unlock interface
State acquisition module 40 obtains for the relative positional relationship according to touch track and each contact regions and touches rail
The contact regions that mark successively passes through and the touch condition to the contact regions successively passed through, and the orderly of corresponding touch condition will be included
For contact region sequence as unlocking pin, touch condition includes the deviation state for the contact district center that touch track deviates and passed through
And/or touch track is by the mode of operation of contact regions, wherein deviateing state includes state to the left, state to the right, state on the upper side
With state on the upper side, mode of operation includes down state, slips over state and lifting status;
After determining that this touch operation of user is formed by touch track in unlock interface, state acquisition module 40
According to the relative positional relationship of touch track and each contact regions, the contact regions that touch track is passed through first are determined, then state obtains
Modulus block 40 passes through the sequencing of these contact regions in time according to touch track, the contact passed through to these touch tracks
Area is ranked up to form contact region sequence, such as is that number is 1 to 9 and is in nine contacts of nine grids arrangement in unlock interface
Area, touch track is successively by contact regions 1,4,7, then contact region sequence is { contact regions 1, contact regions 4, contact regions 7 }.Then will
Touch track is associated with the touch condition of each contact regions in the region sequence of contact with the corresponding contact regions in the region sequence of contact, thus
Form the unlocking pin of the orderly contact region sequence comprising corresponding touch condition.
Touch track may include a variety of to the touch condition of the contact regions of process, such as touch track is in contact district center
The left side, then touch condition is state to the left, and touch track is on the right of contact district center, then touch condition is state to the right, together
Touch condition known to reason further includes state on the upper side and state on the lower side, and the present embodiment refers to user's forward direction in face of unlock up and down
User perspective is up and down when interface;In addition, touch condition can also include down state, slip over state and lifting status,
Wherein, touch track has included contact, whole contact and the sliding trace for having connected contact and whole contact, if contact regions include
Contact, then the touch condition of contact regions is down state;If contact regions only include sliding trace, the touch condition of contact regions is
Slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status.
Password comparison module 50 unlocking pin and prestores password for comparing, if unlocking pin and when prestoring password match,
Then release touchscreen pattern lock.
The unlocking pin currently obtained is compared by password comparison module 50 with password is prestored, if the current unlock is close
Code with prestore password exact matching, then release touchscreen pattern lock, i.e., the contact region sequence in current unlocking pin with prestore
Password exact matching, and in the region sequence of contact the corresponding touch condition in each contact regions also with password exact matching is prestored when, solution
Except touchscreen pattern is locked.If unlocking pin and contact regions sequence when prestoring password and mismatching completely, i.e., in current unlocking pin
Arrange and prestore password mismatch and/or contact region sequence in the corresponding touch condition in each contact regions also with do not prestore password not
Timing prompts pattern unlock failure.
In the present embodiment, when detecting unlocking request by interface display module 10, multiple preset contact regions are arranged
Column are on the touchscreen to form unlock interface;Then it obtains the acquisition user of information module 20 and inputs touch operation in unlock interface
When touch information;Track obtains module 30 further according to touch information, obtains touch track of the touch operation in unlock interface;
State acquisition module 40 and according to the relative positional relationship of touch track and each contact regions, obtains what touch track was successively passed through
Contact regions and touch condition to the contact regions successively passed through, and will include that the orderly contact region sequence of corresponding touch condition is made
For unlocking pin;Password comparison module 50 compares again unlocking pin and prestores password, if unlocking pin and when prestoring password match,
Touchscreen pattern lock is then released, to be extended to touch condition of the touch operation to contact regions, is made in unlocking pin not only
Include the contact region sequence that touch operation is successively passed through, it is attached to each contact regions in the region sequence of contact to further comprise touch operation
The touch information added enriches the internal information of the unlocking pattern, even if the unlocking pattern track is identical, true unlocking pin
It is not quite similar, unlocking pin is made to no longer solely rely on the unlocking pattern track, greatly strengthen the safety of the unlocking pattern, avoid
There are the unsafe problems of touch-screen equipment information.
Further, on the basis of inventive touch screen pattern tripper first embodiment, touchscreen pattern is proposed
Tripper second embodiment, referring to Fig. 9, in a second embodiment, touch track has included contact, whole contact and has connected
The sliding trace of contact and whole contact,
State acquisition module 40 includes:
Retrieval unit 41 will for obtaining the contact region sequence being made of the contact regions that touch track is successively passed through
Contact regions in the region sequence of contact are as activation contact regions;
State acquiring unit 42 obtains each for the relative positional relationship according to touch track and each activation contact regions
The touch condition of a activation contact regions, and the contact region sequence of touch condition is corresponded to as unlock using comprising each activation contact regions
Password;Wherein, if contact regions have included contact, the touch condition of contact regions is down state;If contact regions only include sliding
Track, then the touch condition of contact regions is to slip over state;If contact regions include whole contact, the touch condition of contact regions is to lift
State.
Touch condition may include down state, slip over state and lifting status, these three touch conditions can be grasped according to touching
Make to obtain with the relative positional relationship of contact regions, such as when user carries out touch operation to unlock interface, if this time touches behaviour
Make first contact point (playing contact) and fall into some contact regions, then the contact regions are " down state ";If playing contact falls in solution
The exterior domain of the contact regions at interface is locked, user is (i.e. contact regions only include sliding trace) when slipping into some contact regions, then
The contact regions are " slipping over state ", this unlike the prior art, the unlock of existing pattern can will should the contact regions of " slipping over state " make
To draw source of graph, and the starting point of this embodiment scheme is except contact regions;
If whole contact falls into some contact regions, which is " lifting status ";If whole contact falls in unlock interface
The exterior domain of contact regions, user are (i.e. contact regions only include sliding trace) when slipping into some contact regions, then the contact regions
For " slipping over state ", this unlike the prior art, existing pattern unlock can will should " slipping over state " contact regions as drawing
Terminal, and the whole contact of this embodiment scheme is except contact regions.
Supplemented by assistant solve the present embodiment, illustrated below with a specific example: unlock interface by taking nine grids as an example,
Unlock interface has nine contact regions, and referring to Fig. 4, nine contact regions numbers are 1,2,3,4,5,6,7,8, the L-type figure in 9, Fig. 4
Case is risen in tradition design unlock scheme with contact regions 1 (in order to describe conveniently, subsequent to omit to contact regions) for pattern
Point, 9 are pattern terminal, and unlocking pin corresponds to contact region sequence are as follows: 1,4,7,8,9;And the unlocking pin of the present embodiment (is pressed for 1
Under), the combinatioin code of integrated the contact region sequence and touch condition of 4 (slipping over), 7 (slipping over), 8 (slipping over), 9 (lifting).
It is worth noting that, similar L-type pattern unlocks scheme for tradition design and this embodiment scheme is obtained
Unlocking pin is entirely different, and for the L-type pattern in reference Fig. 5, Fig. 5 in tradition design unlock scheme, unlocking pin corresponds to contact
Region sequence is still: 1,4,7,8,9, and in this embodiment scheme, unlocking pin, which corresponds to contact region sequence, is: 1 (slipping over), 4
(slipping over), 7 (slipping over), 8 (slipping over), 9 (slipping over) unlock scheme according to the pattern of the present embodiment, basic from Fig. 4 and Fig. 5
The identical obtained unlocking pin of pattern is entirely different.As it can be seen that the external same pattern trace that can be pried through, user are complete
The different a variety of operations of unlocking pin can be made based on the scheme of the present embodiment, do not change substantially user behavior habit,
On the basis of the compatible original pattern unlocking manner of Android, the diversity and complexity that the unlocking pattern corresponds to password are increased, are increased
Big the unlocking pattern cracks difficulty.
Optionally, touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user, touches
Shield the pressure value sensed and is divided into multiple pressure ratings;
State acquiring unit 42 is also used to:
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
While corresponding association touch condition, stressed pressure is applied in also corresponding association touch operation for each activation contact regions
Power grade, has further expanded contact regions correlated condition in unlocking pin, and user can be made more based on same the unlocking pattern
The different touch operation of unlocking pin, further increases the diversity and complexity of the unlocking pattern, increases the unlocking pattern
Crack difficulty.
Further, on the basis of inventive touch screen pattern tripper second embodiment, touchscreen pattern is proposed
Tripper 3rd embodiment, referring to Fig.1 0, in the third embodiment, password comparison module 50 includes:
Password comparing unit 51 compares unlocking pin and prestores password;
First response unit 52, for releasing touchscreen pattern lock when unlocking pin and preset password exactly match;
Second response unit 53, for when unlocking pin and preset password mismatch completely, prompt cipher mistake.
The unlocking pin currently obtained is compared by password comparing unit 51 with password is prestored, if the current unlock is close
Code with prestore password exact matching, then first response unit 52 releases touchscreen pattern lock, i.e. user setting prestores password pair
The solution pattern answered is a pattern, and the contact region sequence in current unlocking pin is exactly matched with password is prestored, and contact regions
In sequence the corresponding touch condition in each contact regions also with password exact matching is prestored when, release touchscreen pattern lock.If unlock
Password and when prestoring password and mismatching completely, i.e., contact region sequence in current unlocking pin and prestore password mismatch, and/
Or the corresponding touch condition in each contact regions also and when prestoring password and mismatching in the region sequence of contact, no matter user setting prestores
The corresponding solution pattern of password is a pattern or more patterns, the corresponding single pattern of this touch operation and prestores password pair
It should partially mismatch, then the unlock failure of the second response unit 53 prompt pattern.It is just solved to complete in single pattern
The matching of lock cipher avoids carrying out successively password when being touched each contact regions when user inputs touch operation
Matching, to prevent the trial and error chance fairly obvious to illegal user.
Optionally, password comparison module further includes third response unit 54, and third response unit 54 is used for:
When unlocking pin is matched with preset password part, judge unlocking again in preset time period with the presence or absence of user
The touch operation inputted on interface;
If calling there are the touch operation that user inputs in unlock interface again in preset time period and obtaining information mould
Block 20 works, to obtain the unlocking pin of the touch operation inputted again;
The unlocking pin of touch operation inputted by the unlocking pin of the touch operation of last time input and again synthesizes
New unlocking pin, and password comparing unit 51 is called to work;
If there is no the touch operation that user inputs in unlock interface again in preset time period, prompt cipher is wrong
Accidentally.
In the present embodiment, prestoring password is the corresponding password of multiple single images, the single that a touch operation is drawn
At most partially matching prestores password to pattern, therefore user carries out pattern unlock and can input a multiple single pattern (single figure of input
Case corresponds to a touch operation), if solution corresponding to the single pattern of primary (can be for for the first time) the touch operation input of user
Lock cipher is matched with preset password part, i.e., unlocking pin corresponding to the single pattern of the secondary input is corresponding with preset password
When password match corresponding to the single pattern of number, third response unit 54 waits preset time period (such as 5s), and at this
Touch screen detects whether the touch operation inputted in unlock interface again there are user in preset time period.If when this is preset
Between the touch operation that user inputs again is detected in section, call and obtain information module 20 and work, and the touch that will be inputted again
Operation is used as object, continues that track is called to obtain module 30 and state acquisition module work, to obtain the touch inputted again behaviour
The unlocking pin of work;Then the unlock of the touch operation inputted by the unlocking pin of the touch operation of last time input and again is close
Code synthesizes new unlocking pin, and password comparing unit 51 is called to work, i.e., carries out new unlocking pin with password is prestored
Compare, re-calls third response unit 54 if being part matching again and work.
If not detecting the touch operation that user inputs again in the preset time period, show that user forgets subsequent list
The pattern either incomplete decryption of illegal user, at this time only using current unlocking pin as password is finally entered, no
It continues waiting for infinitely waiting, and prompt cipher mistake, avoids the occurrence of unlimited waiting mistake or long-time non-responsive status, promoted
User carries out pattern unlock experience.
Supplemented by assistant solve the present embodiment, illustrated below with a specific example: unlock interface by taking nine grids as an example,
Unlock interface has nine contact regions, referring to Fig. 6, nine contact regions numbers are 1,2,3,4,5,6,7,8, in 9, Fig. 6 pattern according to
Right L-type, but on 7 position user it is slight lift finger, put down again before entering 8, including two single patterns;Due to
Tradition design unlock scheme only supports single pattern, so the L-type pattern in Fig. 6 is can not be real in tradition design unlock scheme
Existing, still, the technical solution based on the present embodiment, unlocking pin is 1 (pressing), 4 (slipping over), 7 (lifting), 8 (slipping over), 9
(lifting);Likewise, pattern is still L-type referring to Fig. 7, but user slightly lifts finger and puts down again on 7 position, wraps
Two single patterns are included, unlocking pin is 1 (pressing), 4 (slipping over), 7 (lifting), 7 (pressing), 8 (slipping over), 9 (lifting).
In the present embodiment, the unlocking pattern for supporting user setting and input to be made of multiple single patterns, multiple singles
Pattern is repeatable, user can single pattern based on multiple and different tracks, contact regions a variety of touch conditions, it is customized very
Complicated pattern unlocking pin (or even password of customized no maximum complexity), significantly enhances the safety of the unlocking pattern,
And the original pattern unlocking manner of the completely compatible Android of the technical solution of the present embodiment, user can not change using habit
It is used;Meanwhile can not have to be touch panel device adding hardware equipment, using existing touch screen hardware induction mechanism, just at double
Improve the safety of pattern password.
The present invention also provides a kind of touchscreen pattern unlocking method, which is mainly used in movement
In terminal, in touchscreen pattern unlocking method first embodiment, referring to Fig. 3 and Figure 11, touchscreen pattern unlocking method includes:
Step 10, when detecting unlocking request, multiple preset contact regions are arranged on touch screen 301 to be formed and be shown
Show unlock interface 300;
Above-mentioned touch panel device can be the mobile terminals such as smart phone, IPAD, specifically, the touch panel device unlock side
Method can be unlocked booting and relevant application.In use, usually presetting a password (prestoring password), and will be pre-
It deposits password to store to memory, compare for subsequent unlock.Prestore password for one by contact regions serial number ordered arrangement institute at
Contact region sequence, the touching that the corresponding touch operation for preserving user's input in all contact regions in the contact region sequence applies
Touch state and/or pressure rating.The unlock interface that unlock interface can unlock scheme with existing pattern is essentially identical, i.e. unlock interface
On with the formal distribution of nine grids have nine contact regions, touch of the invention can be applied without changing existing unlock interface
Shield pattern unlocking method and a device.
After setting prestores password, when user's booting, lighting screen or opening related application, touch panel device system is voluntarily
It generates with unlocking request, so that multiple (such as nine) preset contact regions are arranged in touch when detecting unlocking request
To form unlock interface on screen, touch operation is inputted so that user is based on the unlock interface.
Step 20, touch information of the user when inputting touch operation in unlock interface is obtained;
Step 30, according to touch information, touch track of the touch operation in unlock interface is obtained;
Sensing device based on touch screen obtains the corresponding touch letter of touch operation that user inputs in unlock interface
Breath, touch information include touch information include touch operation slide in unlock interface be formed by touch track and touch rail
Coordinate position of the mark each section in unlock interface, for example, touch track included contact, whole contact and connect contact and
The sliding trace of whole contact, the sliding trace can be subdivided into enough sliding points again, that is to say, that touch information includes
Contact, whole contact and all sliding points are played in the position coordinates of unlock interface.
Step 40, according to the relative positional relationship of touch track and each contact regions, obtain what touch track was successively passed through
Contact regions and touch condition to the contact regions successively passed through, and will include that the orderly contact region sequence of corresponding touch condition is made
For unlocking pin, touch condition includes the deviation state and/or touch rail for the contact district center that touch track deviates and passed through
Mark by contact regions mode of operation, wherein deviate state include state, state to the right, state on the upper side and state on the upper side to the left,
Mode of operation includes down state, slips over state and lifting status;
After determining that this touch operation of user is formed by touch track in unlock interface, according to touch track with
The relative positional relationship of each contact regions first determines the contact regions that touch track is passed through, then passes through these according to touch track
The sequencing of contact regions in time, the contact regions passed through to these touch tracks are ranked up to form contact region sequence,
Such as be number in unlock interface be 1 to 9 and in nine contact regions of nine grids arrangement, touch track successively by contact regions 1,
4,7, then contact region sequence is { contact regions 1, contact regions 4, contact regions 7 }.Then by touch track to each in the region sequence of contact
The touch condition of contact regions is associated with the corresponding contact regions in the region sequence of contact, to be formed comprising the orderly of corresponding touch condition
The unlocking pin of contact region sequence.
Touch track may include a variety of to the touch condition of the contact regions of process, such as touch track is in contact district center
The left side, then touch condition is state to the left, and touch track is on the right of contact district center, then touch condition is state to the right, together
Touch condition known to reason further includes state on the upper side and state on the lower side, and the present embodiment refers to user's forward direction in face of unlock up and down
User perspective is up and down when interface;In addition, touch condition can also include down state, slip over state and lifting status,
Wherein, touch track has included contact, whole contact and the sliding trace for having connected contact and whole contact, if contact regions include
Contact, then the touch condition of contact regions is down state;If contact regions only include sliding trace, the touch condition of contact regions is
Slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status.
Step 50, compare unlocking pin and prestore password, if unlocking pin releases touch screen with when prestoring password match
Pattern lock.
The unlocking pin currently obtained is compared with password is prestored, if the current unlocking pin with to prestore password complete
Full matching then releases touchscreen pattern lock, i.e., the contact region sequence in current unlocking pin is exactly matched with password is prestored, and
In the region sequence of contact the corresponding touch condition in each contact regions also with password exact matching is prestored when, release touchscreen pattern lock.
If unlocking pin and when prestoring password and mismatching completely, i.e., contact region sequence in current unlocking pin and password is not prestored not
Match and/or contact region sequence in the corresponding touch condition in each contact regions also and when prestoring password and mismatching, prompt pattern unlock
Failure.
In the present embodiment, by the way that when detecting unlocking request, multiple preset contact regions are arranged on the touchscreen
To form unlock interface;Then touch information of the user when inputting touch operation in unlock interface is obtained;Believe further according to touching
Breath obtains touch track of the touch operation in unlock interface;And it is closed according to the relative position of touch track and each contact regions
System obtains the contact regions that touch track is successively passed through and the touch condition to the contact regions successively passed through, and will be comprising corresponding to
The orderly contact region sequence of touch condition is as unlocking pin;Compare again and unlocking pin and prestore password, if unlocking pin and pre-
When depositing password match, then touchscreen pattern lock is released, to be extended touch condition of the touch operation to contact regions, makes to solve
Not only include the contact region sequence that touch operation is successively passed through in lock cipher, further comprises touch operation in the region sequence of contact
Each additional touch information in contact regions, enriches the internal information of the unlocking pattern, true even if the unlocking pattern track is identical
Unlocking pin be also not quite similar, so that unlocking pin is no longer solely relied on the unlocking pattern track, greatly strengthen the unlocking pattern
Safety, avoid the occurrence of the unsafe problems of touch-screen equipment information.
Further, on the basis of inventive touch screen pattern unlocking method first embodiment, touchscreen pattern is proposed
Unlocking method second embodiment, Figure 12, in a second embodiment, touch track have included contact, whole contact and have connected touching
The sliding trace of point and whole contact, step 40 include:
Step 41, the contact region sequence being made of the contact regions that touch track is successively passed through is obtained, it will be in the region sequence of contact
Contact regions as activation contact regions;
Step 42, according to the relative positional relationship of touch track and each activation contact regions, each activation contact regions are obtained
Touch condition, and correspond to the contact region sequence of touch condition as unlocking pin for comprising each activation contact regions;Wherein, if
Contact regions have included contact, then the touch condition of contact regions is down state;If contact regions only include sliding trace, contact regions
Touch condition be slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status.
Touch condition may include down state, slip over state and lifting status, these three touch conditions can be grasped according to touching
Make to obtain with the relative positional relationship of contact regions, such as when user carries out touch operation to unlock interface, if this time touches behaviour
Make first contact point (playing contact) and fall into some contact regions, then the contact regions are " down state ";If playing contact falls in solution
The exterior domain of the contact regions at interface is locked, user is (i.e. contact regions only include sliding trace) when slipping into some contact regions, then
The contact regions are " slipping over state ", this unlike the prior art, the unlock of existing pattern can will should the contact regions of " slipping over state " make
To draw source of graph, and the starting point of this embodiment scheme is except contact regions;
If whole contact falls into some contact regions, which is " lifting status ";If whole contact falls in unlock interface
The exterior domain of contact regions, user are (i.e. contact regions only include sliding trace) when slipping into some contact regions, then the contact regions
For " slipping over state ", this unlike the prior art, existing pattern unlock can will should " slipping over state " contact regions as drawing
Terminal, and the whole contact of this embodiment scheme is except contact regions.
Supplemented by assistant solve the present embodiment, illustrated below with a specific example: unlock interface by taking nine grids as an example,
Unlock interface has nine contact regions, and referring to Fig. 4, nine contact regions numbers are 1,2,3,4,5,6,7,8, the L-type figure in 9, Fig. 4
Case is risen in tradition design unlock scheme with contact regions 1 (in order to describe conveniently, subsequent to omit to contact regions) for pattern
Point, 9 are pattern terminal, and unlocking pin corresponds to contact region sequence are as follows: 1,4,7,8,9;And the unlocking pin of the present embodiment (is pressed for 1
Under), the combinatioin code of integrated the contact region sequence and touch condition of 4 (slipping over), 7 (slipping over), 8 (slipping over), 9 (lifting).
It is worth noting that, similar L-type pattern unlocks scheme for tradition design and this embodiment scheme is obtained
Unlocking pin is entirely different, and for the L-type pattern in reference Fig. 5, Fig. 5 in tradition design unlock scheme, unlocking pin corresponds to contact
Region sequence is still: 1,4,7,8,9, and in this embodiment scheme, unlocking pin, which corresponds to contact region sequence, is: 1 (slipping over), 4
(slipping over), 7 (slipping over), 8 (slipping over), 9 (slipping over) unlock scheme according to the pattern of the present embodiment, basic from Fig. 4 and Fig. 5
The identical obtained unlocking pin of pattern is entirely different.As it can be seen that the external same pattern trace that can be pried through, user are complete
The different a variety of operations of unlocking pin can be made based on the scheme of the present embodiment, do not change substantially user behavior habit,
On the basis of the compatible original pattern unlocking manner of Android, the diversity and complexity that the unlocking pattern corresponds to password are increased, are increased
Big the unlocking pattern cracks difficulty.
Optionally, touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user, touches
Shield the pressure value sensed and is divided into multiple pressure ratings;
The contact region sequence of touch condition is corresponded to as unlocking pin using comprising each activation contact regions in step 42
Step includes:
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
While corresponding association touch condition, stressed pressure is applied in also corresponding association touch operation for each activation contact regions
Power grade, has further expanded contact regions correlated condition in unlocking pin, and user can be made more based on same the unlocking pattern
The different touch operation of unlocking pin, further increases the diversity and complexity of the unlocking pattern, increases the unlocking pattern
Crack difficulty.
Further, on the basis of inventive touch screen pattern unlocking method second embodiment, touchscreen pattern is proposed
Unlocking method 3rd embodiment, referring to Fig.1 3, in the third embodiment, step 50 includes:
Step 51, compare unlocking pin and prestore password;
Step 52, if unlocking pin and preset password exactly match, touchscreen pattern lock is released;
Step 53, if unlocking pin mismatches completely with preset password, prompt cipher mistake.
The unlocking pin currently obtained is compared with password is prestored, if the current unlocking pin with to prestore password complete
Full matching then releases touchscreen pattern lock, i.e. the corresponding solution pattern of password that prestores of user setting is a pattern, current solution
Contact region sequence in lock cipher and password exact matching is prestored, and the corresponding touch condition in each contact regions in the region sequence of contact
When also with password exact matching is prestored, touchscreen pattern lock is released.If unlocking pin and when prestoring password and mismatching completely, that is, work as
Contact region sequence in preceding unlocking pin and prestore password mismatch and/or contact region sequence in each contact regions it is corresponding
Touch condition also with prestore password mismatch when, no matter user setting prestore the corresponding solution pattern of password be a pattern or
More patterns, the corresponding single pattern of this touch operation are mismatched with password corresponding part is prestored, then pattern unlock is prompted to lose
It loses.It is just unlocked the matching of password to complete in single pattern, is avoided when user inputs touch operation, to each
Successively password match is carried out when a contact regions are touched, all to prevent the trial and error chance fairly obvious to illegal user.
Optionally, further include after step 51;
Step 54, if unlocking pin is matched with preset password part, judge to whether there is user again in preset time period
The secondary touch operation inputted in unlock interface;
Step 55, if executing step there are the touch operation that user inputs in unlock interface again in preset time period
Rapid S20 to S40, to obtain the unlocking pin of the touch operation inputted again;
Step 56, the unlocking pin of the touch operation inputted by the unlocking pin of the touch operation of last time input and again
New unlocking pin is synthesized, and executes the step of comparing unlocking pin and prestoring password;
Step 57, if being prompted there is no the touch operation that user inputs in unlock interface again in preset time period
Password mistake.
In the present embodiment, prestoring password is the corresponding password of multiple single images, the single that a touch operation is drawn
At most partially matching prestores password to pattern, therefore user carries out pattern unlock and can input a multiple single pattern (single figure of input
Case corresponds to a touch operation), if solution corresponding to the single pattern of primary (can be for for the first time) the touch operation input of user
Lock cipher is matched with preset password part, i.e., unlocking pin corresponding to the single pattern of the secondary input is corresponding with preset password
When password match corresponding to the single pattern of number, wait preset time period (such as 5s), and touched in the preset time period
Touch the touch operation that screen detects whether to input in unlock interface again there are user.If detecting use in the preset time period
The touch operation that family inputs again, process are adjusted to step S20, and using the touch operation inputted again as object, continue to execute
Step S30 and step S40, to obtain the unlocking pin of the touch operation inputted again;Then the touch of last time input is grasped
The unlocking pin of work and the unlocking pin of the touch operation inputted again synthesize new unlocking pin, and execute step S50, i.e.,
New unlocking pin is compared with password is prestored, re-execute the steps S54 if being part matching again.
If not detecting the touch operation that user inputs again in the preset time period, show that user forgets subsequent list
The pattern either incomplete decryption of illegal user, at this time only using current unlocking pin as password is finally entered, no
It continues waiting for infinitely waiting, and prompt cipher mistake, avoids the occurrence of unlimited waiting mistake or long-time non-responsive status, promoted
User carries out pattern unlock experience.
Supplemented by assistant solve the present embodiment, illustrated below with a specific example: unlock interface by taking nine grids as an example,
Unlock interface has nine contact regions, referring to Fig. 6, nine contact regions numbers are 1,2,3,4,5,6,7,8, in 9, Fig. 6 pattern according to
Right L-type, but on 7 position user it is slight lift finger, put down again before entering 8, including two single patterns;Due to
Tradition design unlock scheme only supports single pattern, so the L-type pattern in Fig. 6 is can not be real in tradition design unlock scheme
Existing, still, the technical solution based on the present embodiment, unlocking pin is 1 (pressing), 4 (slipping over), 7 (lifting), 8 (slipping over), 9
(lifting);Likewise, pattern is still L-type referring to Fig. 7, but user slightly lifts finger and puts down again on 7 position, wraps
Two single patterns are included, unlocking pin is 1 (pressing), 4 (slipping over), 7 (lifting), 7 (pressing), 8 (slipping over), 9 (lifting).
In the present embodiment, the unlocking pattern for supporting user setting and input to be made of multiple single patterns, multiple singles
Pattern is repeatable, user can single pattern based on multiple and different tracks, contact regions a variety of touch conditions, it is customized very
Complicated pattern unlocking pin (or even password of customized no maximum complexity), significantly enhances the safety of the unlocking pattern,
And the original pattern unlocking manner of the completely compatible Android of the technical solution of the present embodiment, user can not change using habit
It is used;Meanwhile can not have to be touch panel device adding hardware equipment, using existing touch screen hardware induction mechanism, just at double
Improve the safety of pattern password.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of touchscreen pattern tripper, which is characterized in that the touchscreen pattern tripper includes:
Interface display module, when for detecting unlocking request, by multiple preset contact regions arrangements on the touchscreen to be formed
And show unlock interface;
Information module is obtained, for obtaining touch information of the user when inputting touch operation in unlock interface;
Track obtains module, for obtaining touch track of the touch operation in unlock interface according to touch information;
State acquisition module obtains touch track successively for the relative positional relationship according to touch track and each contact regions
The contact regions of process and touch condition to the contact regions successively passed through, and by the orderly contact regions comprising corresponding touch condition
Sequence as unlocking pin, the touch condition include touch track deviate with the deviation state of contact district center passed through and
Touch track by contact regions mode of operation, wherein deviateing state includes state to the left, state to the right, state on the upper side and on the lower side
State, mode of operation include down state, slip over state and lifting status;
Password comparison module, for comparing unlocking pin and prestoring password, if unlocking pin is released with when prestoring password match
Touchscreen pattern lock;
The touch track has included contact, whole contact and the sliding trace for connect contact with end contact,
The state acquisition module includes:
Retrieval unit, for obtaining the contact region sequence being made of the contact regions that touch track is successively passed through, by contact regions
Contact regions in sequence are as activation contact regions;
State acquiring unit obtains each activation for the relative positional relationship according to touch track and each activation contact regions
The touch condition of contact regions, and the contact region sequence of touch condition is corresponded to as unlocking pin using comprising each activation contact regions;
Wherein, if contact regions have included contact, the touch condition of contact regions is down state;If contact regions only include sliding trace,
Then the touch condition of contact regions is to slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status;
The touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user, touch screen induction
To pressure value be divided into multiple pressure ratings;
The state acquiring unit is also used to:
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
2. touchscreen pattern tripper as described in claim 1, which is characterized in that the password comparison module includes:
Password comparing unit compares unlocking pin and prestores password;
First response unit, for releasing touchscreen pattern lock when unlocking pin and preset password exactly match;
Second response unit, for when unlocking pin and preset password mismatch completely, prompt cipher mistake.
3. touchscreen pattern tripper as claimed in claim 2, which is characterized in that the password comparison module further includes
Three response units, the third response unit are used for:
When unlocking pin is matched with preset password part, judge in preset time period with the presence or absence of user again in unlock interface
The touch operation of upper input;
If calling there are the touch operation that user inputs in unlock interface again in preset time period and obtaining information module work
Make, to obtain the unlocking pin of the touch operation inputted again;
The unlocking pin of touch operation inputted by the unlocking pin of the touch operation of last time input and again synthesizes new
Unlocking pin, and password comparing unit is called to work;
If there is no the touch operation that user inputs in unlock interface again, prompt cipher mistakes in preset time period.
4. a kind of touchscreen pattern unlocking method, which is characterized in that the touchscreen pattern unlocking method includes:
When detecting unlocking request, multiple preset contact regions are arranged on the touchscreen to be formed and show unlock interface;
Obtain touch information of the user when inputting touch operation in unlock interface;
According to touch information, touch track of the touch operation in unlock interface is obtained;
According to the relative positional relationship of touch track and each contact regions, contact regions that touch track is successively passed through and right are obtained
The touch condition for the contact regions successively passed through, and using the orderly contact region sequence comprising corresponding touch condition as unlocking pin,
The deviation state and touch track that the touch condition includes the contact district center that touch track deviates and passed through are by contact
The mode of operation in area, wherein deviateing state includes state, state to the right, state on the upper side and state on the lower side to the left, mode of operation packet
It includes down state, slip over state and lifting status;
Compare and unlocking pin and prestore password, if unlocking pin and when prestoring password match, releases touchscreen pattern lock;
The touch track has included contact, whole contact and the sliding trace for connect contact with end contact,
The relative positional relationship according to touch track and each contact regions, obtain the contact regions successively passed through of touch track with
And the touch condition to the contact regions successively passed through, and the orderly contact region sequence comprising corresponding touch condition is close as unlocking
Code the step of include:
Obtain the contact region sequence that is made of the contact regions that touch track is successively passed through, using the contact regions in the region sequence of contact as
Activate contact regions;
According to the relative positional relationship of touch track and each activation contact regions, the touch condition of each activation contact regions is obtained,
And the contact region sequence of touch condition is corresponded to as unlocking pin using comprising each activation contact regions;Wherein, if contact regions include
Contact is played, then the touch condition of contact regions is down state;If contact regions only include sliding trace, the touch condition of contact regions
To slip over state;If contact regions include whole contact, the touch condition of contact regions is lifting status;
The touch screen zone is additionally provided with pressure sensor, when the touch operation of touch screen induction to user, touch screen induction
To pressure value be divided into multiple pressure ratings;
Described will include that each contact region sequence for activating contact regions to correspond to touch condition includes: as the step of unlocking pin
Obtain pressure applied grade when touch track passes through each activation contact regions;
The contact region sequence of touch condition and pressure rating is corresponded to as unlocking pin using comprising each activation contact regions.
5. touchscreen pattern unlocking method as claimed in claim 4, which is characterized in that described to compare unlocking pin and prestore close
Code, if unlocking pin includes: with the step of prestoring password match, release touchscreen pattern lock
Compare unlocking pin and prestores password;
If unlocking pin and preset password exactly match, touchscreen pattern lock is released;
If unlocking pin mismatches completely with preset password, prompt cipher mistake.
6. touchscreen pattern unlocking method as claimed in claim 5, which is characterized in that described to compare unlocking pin and prestore close
Further include after the step of code;
If unlocking pin is matched with preset password part, judge in preset time period with the presence or absence of user again in unlock interface
The touch operation of upper input;
If there are the touch operations that user inputs in unlock interface again in preset time period, executes the acquisition user and exist
The step of touch information when touch operation is inputted in unlock interface, to obtain the unlocking pin of the touch operation inputted again;
The unlocking pin of touch operation inputted by the unlocking pin of the touch operation of last time input and again synthesizes new
Unlocking pin, and the step of executing the relatively unlocking pin and prestoring password;
If there is no the touch operation that user inputs in unlock interface again, prompt cipher mistakes in preset time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610548693.7A CN106055965B (en) | 2016-07-12 | 2016-07-12 | Touchscreen pattern tripper and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610548693.7A CN106055965B (en) | 2016-07-12 | 2016-07-12 | Touchscreen pattern tripper and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055965A CN106055965A (en) | 2016-10-26 |
CN106055965B true CN106055965B (en) | 2019-08-16 |
Family
ID=57186698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610548693.7A Active CN106055965B (en) | 2016-07-12 | 2016-07-12 | Touchscreen pattern tripper and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055965B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107045601A (en) * | 2017-04-25 | 2017-08-15 | 深圳市金立通信设备有限公司 | A kind of unlocking method and terminal |
CN110069914A (en) * | 2018-01-20 | 2019-07-30 | 深圳富泰宏精密工业有限公司 | Slide unlocking method, system and electronic device |
CN109106337A (en) * | 2018-06-27 | 2019-01-01 | 四川斐讯信息技术有限公司 | User's automatic identifying method, Human fat balance and the Human fat balance system of Human fat balance |
CN109543371B (en) * | 2018-08-09 | 2020-09-08 | 湖州申脉科技有限公司 | Privacy management method and system for intelligent equipment and social software |
CN109521939B (en) * | 2018-11-29 | 2020-08-14 | 无锡睿勤科技有限公司 | Method and device for switching states of touch panel |
CN111159698B (en) * | 2019-12-31 | 2022-09-27 | 北京交通大学 | Terminal implicit identity authentication method based on Sudoku password |
CN112477807A (en) * | 2020-12-11 | 2021-03-12 | 广东菲柯特电子科技有限公司 | Anti-theft system of gesture password pattern unblock |
CN113253907B (en) * | 2021-06-16 | 2023-06-16 | 北京交通大学 | Intelligent equipment implicit identity recognition method based on environment sensor |
CN115098011A (en) * | 2022-05-09 | 2022-09-23 | 潍柴动力股份有限公司 | Special touch screen equipment encryption method and system based on rise and fall relationship |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722283A (en) * | 2012-06-06 | 2012-10-10 | 北京中自科技产业孵化器有限公司 | Unlocking method and device of touch screen |
CN103677644A (en) * | 2013-12-25 | 2014-03-26 | 北京航空航天大学 | Unlocking method and system for smart mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102169952B1 (en) * | 2013-10-18 | 2020-10-26 | 엘지전자 주식회사 | Wearable device and method of controlling thereof |
-
2016
- 2016-07-12 CN CN201610548693.7A patent/CN106055965B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722283A (en) * | 2012-06-06 | 2012-10-10 | 北京中自科技产业孵化器有限公司 | Unlocking method and device of touch screen |
CN103677644A (en) * | 2013-12-25 | 2014-03-26 | 北京航空航天大学 | Unlocking method and system for smart mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106055965A (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055965B (en) | Touchscreen pattern tripper and method | |
US20230325538A1 (en) | Method and apparatus for processing biometric information in electronic device | |
CN105589643B (en) | Mobile terminal unlocking method and mobile terminal | |
US10210319B2 (en) | Mobile terminal and control method for the mobile terminal | |
US8745490B2 (en) | Mobile terminal capable of controlling various operations using a multi-fingerprint-touch input and method of controlling the operation of the mobile terminal | |
CN105242847B (en) | Mobile terminal and its quickly starting method of application | |
KR20150046766A (en) | Unlocking process mehtod, apparatus and device for terminal | |
US9483633B2 (en) | Method and terminal for authenticating a stlyus | |
CN107924288A (en) | Electronic equipment and its method for carrying out perform function using speech recognition | |
US20120127179A1 (en) | Method, apparatus and computer program product for user interface | |
US20110247065A1 (en) | Simultaneous screen unlock and operation initiation | |
CN104915119B (en) | Terminal desktop icon method of adjustment and device | |
CN108171037A (en) | Using startup method, terminal and computer storage media | |
US9645668B2 (en) | Mobile terminal and method for controlling the same | |
CN105187642B (en) | The device and method of fast dialing telephone in the state of the lock screen | |
US20200285725A1 (en) | Method and Apparatus for Security Verification and Mobile Terminal | |
CN105373405B (en) | The device and method of dynamically load application program | |
US11562051B2 (en) | Varying computing device behavior for different authenticators | |
CN105094532B (en) | Data access method and device | |
US20190340343A1 (en) | Application interface display method, apparatus, and terminal, and storage medium | |
US20160062539A1 (en) | Mobile terminaland controlling method thereof | |
CN106845182A (en) | password management device and method | |
US10042689B2 (en) | Mobile terminal and method of controlling the same | |
CN106095477A (en) | Application erecting device and method | |
CN107437994A (en) | A kind of method and device of safe memory mobile terminal password |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |