CN105706101A - Method and apparatus for unlocking touch screen of electronic device, and electronic device - Google Patents

Method and apparatus for unlocking touch screen of electronic device, and electronic device Download PDF

Info

Publication number
CN105706101A
CN105706101A CN201480039834.1A CN201480039834A CN105706101A CN 105706101 A CN105706101 A CN 105706101A CN 201480039834 A CN201480039834 A CN 201480039834A CN 105706101 A CN105706101 A CN 105706101A
Authority
CN
China
Prior art keywords
contact
touch
screen
sequencing
time
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.)
Pending
Application number
CN201480039834.1A
Other languages
Chinese (zh)
Inventor
李航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105706101A publication Critical patent/CN105706101A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Abstract

Provided are a method and apparatus for unlocking a touch screen of an electronic device, and an electronic device. The method comprises: when the touch screen of the electronic device is in a locked state, obtaining a contact sequence in which N operation bodies come into contact with the touch screen respectively, and obtaining a leaving sequence in which contact between the N operation bodies and the touch screen is switched to non-contact, N being any integer which is greater than or equal to 2; and when the obtained contact sequence is consistent with a stored contact sequence in which the N operation bodies come into contact with the touch screen, and the obtained leaving sequence is consistent with a stored leaving sequence in which the contact between the N operation bodies and the touch screen is switched to the non-contact, switching the locked state of the touch screen to an unlocked state.

Description

A kind of method, device and a kind of electronic equipment of the touch-screen for unlocking electronic equipment Technical field
The present invention relates to communication technical field, more particularly to a kind of method, device and the electronic equipment of the touch-screen for unlocking electronic equipment.
Background technology
With the development of electronic technology, increasing electronic equipment is entered in the work and life of people, for example:Smart mobile phone, tablet personal computer, notebook computer, intelligent glasses etc..Touch-screen is welcome as the input unit of a kind of electronic equipment by increasing user, convenient and swift as long as because user is touched on the touchscreen with finger, can be achieved with the operation to electronic equipment.
Due to the personal information for the user that is stored with electronic equipment, for the safety of the personal information that ensures user, touch-screen can be encrypted by user, set password.After the touch-screen of electronic equipment is locked automatically because being not detected by the touch operation of user for a long time, if user needs to use electronic equipment, user must input the password set, will touch screen unlocks.
Have in the prior art to the encipherment scheme of touch-screen:Pattern encryption, password encryption, face recognition encryption etc..Wherein, pattern is encrypted as:The pattern that user is drawn on the touchscreen is set to password, and password encryption is:The character that user is inputted on the touchscreen is set to password, and face recognition is encrypted as:The face image of user is obtained by the camera of electronic equipment, the face image of user is then set to password.Unblock scheme is accordingly:The pattern set is drawn on the touchscreen, the character set or the face image for gathering user are either inputted on the touchscreen, and electronic equipment judges whether the face image collected is identical with the face image set.
But, pattern unblock, which needs to take a long time, makes electronic equipment obtain the pattern that user draws, password unblock is also required to take a long time the character for making electronic equipment obtain user's input, unlock efficiency low, face recognition unlocks the camera for needing to use electronic equipment, and unblock efficiency is influenceed by extraneous light environment and camera performance.
The content of the invention
The embodiment of the present invention proposes a kind of method, device and the electronic equipment of the touch-screen for unlocking electronic equipment, supports the characteristic of multi-point touch there is provided a kind of method of touch-screen for unlocking electronic equipment newly using touch-screen.
First aspect of the embodiment of the present invention provides a kind of method for the touch-screen for unlocking electronic equipment, and methods described includes:
When the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
With reference in a first aspect, in the first possible implementation of first aspect, obtaining the contact sequencing that N number of operating body is contacted with the touch-screen respectively, specifically including:
The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect, priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained, specifically includes:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, N number of operating body is obtained and is contacted with the touch-screen Contact sequencing.
With reference in a first aspect, in the third possible implementation of first aspect, obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, specifically include:
After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
In the third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect, priority sequence is carried out to N number of departure time of acquisition, obtain N number of operating body and the touch-screen by contact switch to it is non-contacting leave sequencing, specifically include:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
With reference to before in a first aspect, in the 5th kind of possible implementation of first aspect, obtaining contact sequencing and leaving sequencing, in addition to:
Determine that the touch-screen is in black state;Or
Determine that the touch-screen is in illuminating state.
With reference in a first aspect, in the 6th kind of possible implementation of first aspect, by the touch-screen, after the lock-out state switches to released state, methods described also includes:
Judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
When judged result is to be, the application is run.
Second aspect, the embodiments of the invention provide a kind of device for the touch-screen for unlocking electronic equipment, bag Include:
Obtaining unit, for when the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
Processing unit, it is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen for the contact sequencing when acquisition, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
With reference to second aspect, in the first possible implementation of second aspect, the obtaining unit is specifically included:
Time of contact obtains subelement, the time of contact for obtaining each operating body and the touch-screen in N number of operating body, and N number of time of contact is obtained altogether;
First sequence subelement, carries out priority sequence for N number of time of contact to acquisition, obtains the contact sequencing that N number of operating body is contacted with the touch-screen.
In the first possible implementation with reference to second aspect, in second of possible implementation of second aspect, it is described first sequence subelement specifically for:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
With reference to second aspect, in the third possible implementation of second aspect, the obtaining unit is specifically included:
Departure time obtains subelement, for after N number of operating body contact with the touch-screen, and each operating body leaves the departure time of the touch-screen in acquisition N number of operating body, obtain altogether it is N number of from Open the moment;
Second sequence subelement, for carrying out priority sequence to N number of departure time of acquisition, obtains N number of operating body and the touch-screen and non-contacting leaves sequencing by contacting to switch to.
In the third possible implementation with reference to second aspect, in the 4th kind of possible implementation of second aspect, it is described second sequence subelement specifically for:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
With reference to second aspect, in the 5th kind of possible implementation of second aspect, described device also includes:
Determining unit, for before obtaining unit obtains contact sequencing and leaves sequencing, determining that the touch-screen is in black state, or determines that the touch-screen is in illuminating state.
With reference to second aspect, in the 6th kind of possible implementation of second aspect, described device also includes:
Judging unit, for the processing unit by the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
Running unit, for when the judged result of the judging unit is is, running the application.
The third aspect, the embodiments of the invention provide a kind of electronic equipment, including:
Memory, for store program codes;
Processor, is connected with the memory by bus, for reading described program code, to perform:
When the touch-screen of electronic equipment is in the lock state, the contact sequencing that N number of operating body is contacted with the touch-screen respectively is obtained, and obtains N number of operating body and is cut respectively with the touch-screen by contacting Be changed to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
With reference to the third aspect, in the first possible implementation of the third aspect, the processor specifically for:
The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
With reference to the first possible implementation of the third aspect, in second of possible implementation of the third aspect, the processor specifically for:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
With reference to the third aspect, in the third possible implementation of the third aspect, the processor specifically for:
After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
With reference to the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, the processor specifically for:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
With reference to the third aspect, in the 5th kind of possible implementation of the third aspect, the processor is additionally operable to:
Before obtaining contact sequencing and leaving sequencing, determine that the touch-screen is in black state;Or determine that the touch-screen is in illuminating state.
With reference to the third aspect, in the 6th kind of possible implementation of the third aspect, the processor is additionally operable to:
By the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;When judged result is to be, the application is run.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In the embodiment of the present invention, support to refer to a kind of method of the characteristic there is provided touch-screen for unlocking electronic equipment newly of touch-control using touch-screen more:First, when the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;Then, acquisition is contacted into N number of operating body of the sequencing with preservation compared with the contact sequencing that the touch-screen is contacted, and by acquisition leave sequencing with preservation N number of operating body with the touch-screen by contact switch to it is non-contacting leave sequencing compared with, when acquisition contact sequencing and the contact sequencing that contact with the touch-screen of N number of operating body that preserves unanimously, the N number of operating body for leaving sequencing and preservation of acquisition and the touch-screen by contact switch to it is non-contacting Leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
Because touch-screen is supported to refer to touch-control more, so obtaining the sequencing that N number of operating body is contacted with touch-screen, and obtaining N number of operating body and leaving the sequencing of touch-screen needs the time spent shorter, it is consistent with the contact sequencing preserved in the sequencing of contact, and the sequencing left with preserve leave sequencing it is consistent under conditions of, it can unlock, so the method for the touch-screen of unblock electronic equipment provided in an embodiment of the present invention improves unblock efficiency;In whole releasing process, using dual comparison:The sequencing of contact compares with the contact sequencing preserved, and the sequencing left is compared with the sequencing that leaves preserved, when two comparative results are identical, just unlock touch-screen, improves unblock security.
Brief description of the drawings
In order to illustrate more clearly of technical scheme of the invention or of the prior art, the required accompanying drawing used in the present invention or description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for the touch-screen for unlocking electronic equipment provided in an embodiment of the present invention;
Fig. 2 recognizes the schematic diagram that 4 fingers are touched on the touchscreen for touch-screen in the embodiment of the present invention;
Fig. 3 is to obtain the detail flowchart for contacting sequencing that N number of operating body contact with the touch-screen respectively in the embodiment of the present invention;
Fig. 4 switches to the non-contacting detail flowchart for leaving sequencing with the touch-screen by contacting respectively to obtain N number of operating body in the embodiment of the present invention;
A kind of flow chart of the method for the touch-screen for unblock electronic equipment that Fig. 5 provides for another embodiment of the present invention;
A kind of flow chart of the method for the application on unblock electronic equipment that Fig. 6 provides for another embodiment of the present invention;
Fig. 7 is a kind of functional block diagram of the device of the touch-screen for unblock electronic equipment that the embodiment of the present invention two is provided;
Fig. 8 is the structure chart for a kind of electronic equipment that the embodiment of the present invention three is provided.
Embodiment
The embodiment of the present invention proposes a kind of method, device and the electronic equipment of the touch-screen for unlocking electronic equipment, supports the characteristic of multi-point touch there is provided a kind of method of touch-screen for unlocking electronic equipment newly using touch-screen.
In the embodiment of the present invention, support to refer to a kind of method of the characteristic there is provided touch-screen for unlocking electronic equipment newly of touch-control using touch-screen more:First, when the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;Then, acquisition is contacted into N number of operating body of the sequencing with preservation compared with the contact sequencing that the touch-screen is contacted, and by acquisition leave sequencing with preservation N number of operating body with the touch-screen by contact switch to it is non-contacting leave sequencing compared with, when the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
Because touch-screen is supported to refer to touch-control more, so obtaining the sequencing that N number of operating body is contacted with touch-screen, and obtaining N number of operating body and leaving the sequencing of touch-screen needs the time spent shorter, it is consistent with the contact sequencing preserved in the sequencing of contact, and the sequencing left with preserve leave sequencing it is consistent under conditions of, it can unlock, so the method for the touch-screen of unblock electronic equipment provided in an embodiment of the present invention improves unblock efficiency;In whole releasing process, using dual comparison:The sequencing of contact compares with the contact sequencing preserved, and the sequencing left is compared with the sequencing that leaves preserved, when two comparative results are identical, just unlock touch-screen, improves unblock security.To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of the application protection.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, represents there may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, these three situations of individualism B.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
Embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
The method of the touch-screen for the unblock electronic equipment that the embodiment of the present invention is proposed, in the case that the touch-screen applied to electronic equipment is in the lock state, and the touch-screen of electronic equipment supports multi-point touch.The scheme for referring to touch-control more due to realizing in the prior art is a lot, such as by electric capacity, resistance, pressure sensor, ultrasonic wave, image and refer to touch-control first-class realization more, so the touch-screen of electronic equipment can be capacitive touch screen, resistive touch screen, pressure type touch-screen, surface acoustic wave type touch screen, optical touch screen etc. in the embodiment of the present invention.It can recognize multiple operating bodies in fact, every touch-screen is touched, and the sequencing of each operating body contact touch-screen and the touch-screen for the sequencing for leaving touch-screen, the method that may serve to implement the embodiment of the present invention can be recognized.Wherein, operating body can be finger, stylus etc..
The touch-screen of brief description electronic equipment first recognizes the principle that multiple operating bodies are touched to touch-screen.When being touched on the touchscreen without operating body, the parameter of touch-screen is initial value, when i.e. touch-screen is installed in the electronic device, the parameter value of touch-screen is initial value, when having operating body touch on the touchscreen, the touch due to operating body to touch-screen, the parameter value of touch-screen can be another value by initial value changes, when operating body from touching is changed into non-tactile, i.e., when operating body leaves touch-screen, the parameter value of touch-screen recovers initial value again.
Touch-screen with electronic equipment is capacitive touch screen, and exemplified by operating body is finger, when not having finger touch on capacitive touch screen, the capacitance of the electric capacity in capacitance plate is initial value, when i.e. capacitive touch screen is installed in the electronic device, the capacitance that the electric capacity in capacitive touch screen has.When having finger touch on capacitive touch screen, due to finger electric field, the capacitance of the electric capacity in capacitance plate can be another capacitance by initial value changes, when finger from touching is changed into non-tactile, when i.e. finger leaves touch-screen, the capacitance of the electric capacity in capacitance plate reverts to initial value again.
Next the touch-screen of brief description electronic equipment recognizes that the priority of each operating body contact touch-screen is suitable Sequence and leave touch-screen sequencing principle.When an operating body is touched on the touchscreen, the parameter value of touch-screen can be another value by initial value changes, now record operating body contacts the time of contact of touch-screen, when multiple operating bodies are touched on the touchscreen, multiple time of contact can be recorded, multiple time of contact are ranked up, the sequencing that operating body contacts touch-screen has just been obtained.Similarly, whenever an operating body is changed into non-tactile from touch on the touchscreen, when leaving touch-screen, the parameter value of touch-screen can revert to initial value, now record operating body leaves the departure time of touch-screen, when multiple operating bodies leave touch-screen, can record multiple departure times, multiple departure times are ranked up, the sequencing that operating body leaves touch-screen has just been obtained.
Fig. 1 is refer to, Fig. 1 is a kind of flow chart of the method for the touch-screen for unlocking electronic equipment provided in an embodiment of the present invention.Comprise the following steps:
Step 11:When the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
Step 12:When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
In the embodiment of the present invention, before step 11 is performed, method provided in an embodiment of the present invention is further comprising the steps of:
Determine that the touch-screen is in black state;Or determine that the touch-screen is in illuminating state.
Specifically, when the touch-screen of electronic equipment is in the lock state, touch-screen may be at black state, i.e.,:The state of the zero luminance of the touch-screen of electronic equipment, touch-screen is also in illuminating state, i.e.,:The brightness of electronic equipment is that can make one state soon to the display content on touch-screen.That is, the method for the touch-screen of unblock electronic equipment provided in an embodiment of the present invention, can both implement in the case where touch-screen is in black state, it can also implement in the case where touch-screen is in illuminating state.
Due to needing to be compared the contact sequencing of acquisition with the contact sequencing that the N number of operating body preserved is contacted with the touch-screen in step 12, in addition it is also necessary to which acquisition is left into sequencing and the N preserved Individual operating body switches to the non-contacting sequencing that leaves to be compared with the touch-screen by contacting, so, in the embodiment of the present invention, before step 11 is performed, it can also carry out following steps:
When the touch-screen of electronic equipment is in non-locking state, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained and preserved, and obtain and preserve N number of operating body and the touch-screen and non-contacting leave sequencing by contacting to switch to.
Specifically, when the touch-screen of electronic equipment is in non-locking state, touch-screen has often recognized an operating body and touched on the touchscreen, electronic equipment just records the time of contact that operating body contacts touch-screen, numbering can also be distributed for operating body, when N number of operating body is touched on the touchscreen, N number of time of contact can be recorded, N number of time of contact is ranked up, the sequencing that operating body contacts touch-screen has just been obtained.Similarly, touch-screen has often recognized an operating body and has left touch-screen, electronic equipment just records the departure time that operating body leaves touch-screen, when N number of operating body leaves touch-screen, N number of departure time can be recorded, N number of departure time is ranked up, the sequencing that operating body leaves touch-screen has just been obtained.
For example:User wants to set up 3 fingers for unlocking pin, then user can be when touch-screen be in non-locking state, 3 fingers are pressed on the touchscreen, electronic equipment records the time of contact that is contacted respectively with touch-screen of 3 fingers, and is that to distribute numbering respectively be that 1 trumpeter refers to, 2 trumpeters refer to, 3 trumpeters refer to 3 fingers.
Fig. 2 is refer to, Fig. 2 recognizes in the schematic diagram that 4 fingers are touched on the touchscreen, Fig. 2 there are 4 fingers to touch on the touchscreen on touch-screen 5 for touch-screen in the embodiment of the present invention, and it is 1,2,3,4 that numbering is distributed respectively.
Assuming that user presses 3 fingers successively, then electronic equipment records the time of contact of 3 fingers successively, and 3 time of contact are ranked up, and determines that the contact sequencing that 3 fingers are touched on the touchscreen is:1 trumpeter refers to, 2 trumpeters refer to, 3 trumpeters refer to, it is assumed that user makes 3 fingers leave touch-screen successively, then electronic equipment records the departure time of 3 fingers successively, and 3 departure times are ranked up, and determines that the sequencing that leaves that 3 fingers leave touch-screen is:1 trumpeter refers to, 2 trumpeters refer to, 3 trumpeters refer to.Therefore, the unlocking pin of electronic equipment preservation is:3 fingers contact touch-screen successively and 3 fingers leave touch-screen successively.
After unlocking pin is set, step 11 and step 12 can be performed.
It refer to Fig. 3, Fig. 3 is to obtain the detail flowchart for contacting sequencing that N number of operating body contact with the touch-screen respectively in the embodiment of the present invention.The contact sequencing that N number of operating body is contacted with the touch-screen respectively is obtained in step 11, following steps are specifically included:
Step 111:The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
Step 112:Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
Specifically, it is capacitive touch screen still with the touch-screen of electronic equipment, and exemplified by operating body is finger, when having finger touch on capacitive touch screen, due to finger electric field, the capacitance of electric capacity in capacitance plate can be another capacitance by initial value changes, so being defined as the time of contact of operating body and touch-screen at the time of by initial value changes being another capacitance by capacitance, when there is multiple fingers to touch touch-screen, the capacitance of multiple electric capacity in capacitance plate can be another capacitance different from initial value by initial value changes, so it is obtained with multiple time of contact.
For example:The capacitance of 3 electric capacity of capacitive touch screen is another capacitance by initial value changes, then can obtain 3 time of contact.In the embodiment of the present invention, whenever capacitance by initial value changes be another capacitance, can be to trigger capacitance to distribute a numbering by the finger that initial value changes are another capacitance, due to there is 3 fingers to touch capacitive touch screen, so it is 1,2,3 that can number 3 fingers respectively.
After multiple time of contact are obtained, priority sequence can be carried out to multiple time of contact of acquisition, obtain the contact sequencing that multiple operating bodies are contacted with touch-screen.Specific sort method comprises the following steps:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
Specifically, for any two time of contact in N number of time of contact, a time of contact difference can be determined, for each time of contact in N number of time of contact, N-1 time of contact difference can be determined with remaining N-1 time of contact, hence, it can be determined that going out multiple time of contact differences.
For the multiple time of contact differences determined, it will judge whether time of contact difference is less than the first preset difference value, if time of contact difference is less than the first preset difference value, two time of contact that time of contact difference is related to then are defined as the corresponding operating body of the time of contact of identical time of contact, i.e., two while touching on the touchscreen;If time of contact difference is not less than the first preset difference value, two time of contact that time of contact difference is related to are defined as the corresponding operating body of the time of contact of different time of contact, i.e., two and successively touched on the touchscreen.Wherein, the first preset difference value can be by user or electronic equipment sets itself.
After it is determined which operating body is touched on the touchscreen in N number of operating body simultaneously, priority sequence just is carried out to the identical time of contact determined and remaining time of contact, the contact sequencing that N number of operating body is contacted with touch-screen is obtained.
For example:Determine 1 trumpeter refer to the time of contact that touches on the touchscreen for 23 points 8.0 seconds, determine 2 trumpeters refer to the time of contact that touches on the touchscreen for 23 points 8.3 seconds, determine 3 trumpeters refer to the time of contact that touches on the touchscreen for 23 points 8.9 seconds, it is 0.3 second that then 1 trumpeter, which refers to the time of contact difference between 2 trumpeters refer to, it is 0.9 second that 1 trumpeter, which refers to the time of contact difference between 3 trumpeters refer to, and it is 0.6 second that 2 trumpeters, which refer to the time of contact difference between 3 trumpeters refer to,.
Assuming that the first preset difference value is 0.5 second, it it is 0.3 second because 1 trumpeter refers to the time of contact difference between 2 trumpeters refer to, less than 0.5 second, so it is identical time of contact that 1 trumpeter, which refers to the time of contact referred to 2 trumpeters, 1 trumpeter, which refers to, to be referred to 2 trumpeters while touching on the touchscreen, it it is 0.6 second because 2 trumpeters refer to the time of contact difference between 3 trumpeters refer to, more than 0.5 second, so the time of contact that 2 trumpeters refer to from 3 trumpeters refer to is different time of contact, 2 trumpeters refer to refer to 3 trumpeters successively to be touched on the touchscreen, it it is 0.9 second because 1 trumpeter refers to the time of contact difference between 3 trumpeters refer to, more than 0.5 second, so the time of contact that 1 trumpeter refers to from 3 trumpeters refer to is different time of contact, 1 trumpeter refers to refer to 3 trumpeters successively to be touched on the touchscreen.
Refer to because 1 trumpeter refers to 2 trumpeters while touch on the touchscreen, thus 1 trumpeter refer to the time of contact referred to 2 trumpeters be 23 points 8.0 seconds or be 23 points 8.3 seconds, and 2 trumpeters refer to and referred to successively with 3 trumpeters Touch on the touchscreen, 3 trumpeters refer to the time of contact that touches on the touchscreen for 23 points 8.9 seconds, more than 23 points 8.0 seconds or 23 points 8.3 seconds, first touched on the touchscreen so 1 trumpeter refers to refer to 2 trumpeters, 3 trumpeters touch on the touchscreen after referring to, it is determined that going out the contact sequencing that 3 fingers touch on the touchscreen is:1st:1 trumpeter refers to be referred to 2 trumpeters, the 2nd:3 trumpeters refer to.
Fig. 4 is refer to, Fig. 4 switches to the non-contacting detail flowchart for leaving sequencing with the touch-screen by contacting respectively to obtain N number of operating body in the embodiment of the present invention.Obtained in step 11 N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, specifically include following steps:
Step 113:After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
Step 114:Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
Specifically, it is capacitive touch screen still with the touch-screen of electronic equipment, and exemplified by operating body is finger, when having finger touch on capacitive touch screen, due to finger electric field, the capacitance of electric capacity in capacitance plate is another capacitance by initial value changes, when finger leaves touch-screen, the capacitance of electric capacity in capacitance plate reverts to initial value again, so being defined as the departure time that operating body leaves touch-screen at the time of capacitance can be reverted to initial value, when have multiple fingers touch leave touch-screen when, the capacitance of multiple electric capacity in capacitance plate reverts to initial value again, so it is obtained with multiple departure times.
In the above example, 3 time of contact are had been obtained for, so accordingly, 3 departure times can be obtained.Specifically, the capacitance of 3 electric capacity of capacitive touch screen reverts to initial value, then can obtain 3 time of contact.
After multiple departure times are obtained, can be carried out with priority sequence, what the multiple operating bodies of acquisition were contacted with touch-screen leaves sequencing multiple departure times of acquisition.Specific sort method comprises the following steps:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
Specifically, for any two departure times in N number of departure time, a departure time difference can be determined, for each departure time in N number of departure time, N-1 departure time difference can be determined with the remaining N-1 departure time, hence, it can be determined that going out multiple departure time differences.
For the multiple departure time differences determined, it will judge whether departure time difference is less than the second preset difference value, if departure time difference is less than the second preset difference value, two departure times that departure time difference is related to then are defined as the departure time of identical departure time, i.e., two corresponding operating body while leaving touch-screen;If departure time difference is not less than the second preset difference value, two departure times that departure time difference is related to are defined as the departure time of different departure times, i.e., two corresponding operating body and successively leave touch-screen.Wherein, the second preset difference value can be identical with the first preset difference value by user or electronic equipment sets itself, the second preset difference value, can also be different from the first preset difference value.
After it is determined which operating body leaves touch-screen simultaneously in N number of operating body, priority sequence is just carried out to the identical departure time determined and remaining departure time, what the N number of operating body of acquisition left touch-screen leaves sequencing.
For example:Determine 1 trumpeter refer to leave departure time of touch-screen for 23 points 9.0 seconds, determine 2 trumpeters refer to leave departure time of touch-screen for 23 points 9.6 seconds, determine 3 trumpeters refer to leave departure time of touch-screen for 23 points 9.9 seconds, it is 0.6 second that then 1 trumpeter, which refers to the time of contact difference between 2 trumpeters refer to, it is 0.9 second that 1 trumpeter, which refers to the time of contact difference between 3 trumpeters refer to, and it is 0.3 second that 2 trumpeters, which refer to the time of contact difference between 3 trumpeters refer to,.
Assuming that the second preset difference value is 0.5 second, it it is 0.6 second because 1 trumpeter refers to the time of contact difference between 2 trumpeters refer to, more than 0.5 second, so the departure time that 1 trumpeter refers to from 2 trumpeters refer to is the different departure time, 1 trumpeter, which refers to refer to 2 trumpeters, successively leaves touch-screen, it it is 0.9 second because 1 trumpeter refers to the time of contact difference between 3 trumpeters refer to, more than 0.5 second, so the departure time that 1 trumpeter refers to from 3 trumpeters refer to is the different departure time, 1 trumpeter, which refers to refer to 3 trumpeters, successively leaves touch-screen, it it is 0.3 second because 2 trumpeters refer to the departure time difference between 3 trumpeters refer to, less than 0.5 second, so 2 trumpeters refer to 3 trumpeters refer to when leaving Carve as the identical departure time, 2 trumpeters, which refer to, to be referred to 3 trumpeters while leaving touch-screen.
Refer to because 2 trumpeters refer to 3 trumpeters while leaving touch-screen, so 2 trumpeters refer to the departure time referred to 3 trumpeters be 23 points 9.6 seconds or be 23 points 9.9 seconds, and 1 trumpeter refer to 2 trumpeters refer to successively leave touch-screen, 1 trumpeter refer to leave departure time of touch-screen for 23 points 9.0 seconds, less than 23 points 9.6 seconds or 23 points 9.9 seconds, so 1 trumpeter, which refers to, first leaves touch-screen, 2 trumpeters refer to refer to 3 trumpeters after leave touch-screen, it is determined that go out 3 fingers and leave the sequencing that leaves of touch-screen and be:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to be referred to 3 trumpeters.
In execution of step 11, obtain to obtain the contact sequencing that is contacted respectively with touch-screen of N number of operating body, and N number of operating body respectively with touch-screen by contact switch to it is non-contacting leave sequencing after, step 12 can be performed, the contact sequencing that will be obtained compares with the contact sequencing preserved, and the sequencing that leaves for leaving sequencing with preserving of acquisition is compared.
Specifically, due to during contact sequencing is obtained, and during contact sequencing is preserved, all numbering is assigned with for each operating body, so the numbering number of distribution can be compared first, if the numbering number of distribution is differed, unlock unsuccessful, touch-screen still keeps lock-out state.If the numbering number of distribution is identical, needing to determine whether the contact sequencing obtained, whether contact sequencing with preservation is identical, and judge to obtain leave sequencing and preservation whether leave sequencing identical.
For example:The numbering number of distribution during preservation contact sequencing is N number of, i.e. user uses N number of finger as unlocking pin, the numbering number distributed during obtaining contact sequencing is M, i.e. touch-screen only detects M finger and touched on the touchscreen, M is different from N, then unlock unsuccessful, touch-screen still keeps lock-out state.
The numbering number of distribution during preservation contact sequencing is N number of, i.e. user uses N number of finger as unlocking pin, the numbering number distributed during obtaining contact sequencing is N number of, i.e. touch-screen detects N number of finger and touched on the touchscreen, then determining whether the contact sequencing that obtains, whether contact sequencing with preservation is identical, and judge to obtain leave sequencing and preservation whether leave sequencing identical.
In the above example, the contact sequencing of preservation is:1 trumpeter refers to, 2 trumpeters refer to, 3 trumpeters refer to Touch-screen is contacted successively, and the sequencing that leaves of preservation is:1 trumpeter refers to, 2 trumpeters refer to, 3 trumpeters refer to and leave touch-screen successively.
Assuming that the contact sequencing obtained is:1st:1 trumpeter refers to be referred to 2 trumpeters, the 2nd:3 trumpeters refer to, it is clear that the contact sequencing of acquisition is different with the contact sequencing preserved, and unblock is unsuccessful, and touch-screen still keeps lock-out state.Assuming that the contact sequencing obtained is:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to, the 3rd:3 trumpeters refer to, obviously, the contact sequencing of acquisition is identical with the contact sequencing preserved, then acquisition contact sequencing with the premise of the contact sequencing identical preserved, determine whether acquisition leave sequencing and preservation whether leave sequencing identical.
It is in the contact sequencing of acquisition:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to, the 3rd:On the premise of 3 trumpeters refer to, it is assumed that the sequencing that leaves of acquisition is:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to be referred to 3 trumpeters, it is clear that although the contact sequencing obtained is identical with the contact sequencing preserved, obtain leave sequencing and preservation to leave sequencing different, unblock is unsuccessful, and touch-screen still keeps lock-out state.It is in the contact sequencing of acquisition:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to, the 3rd:On the premise of 3 trumpeters refer to, it is assumed that the sequencing that leaves of acquisition is:1st:1 trumpeter refers to, the 2nd:2 trumpeters refer to, the 3rd:3 trumpeters refer to, it is clear that the contact sequencing of acquisition is identical with the contact sequencing preserved, and obtain leave sequencing and preservation to leave sequencing identical, unlock successfully, touch-screen switches to non-locking state by lock-out state.
In another embodiment of the invention, Fig. 5, a kind of flow chart of the method for the touch-screen for unblock electronic equipment that Fig. 5 provides for another embodiment of the present invention be refer to.In another embodiment of the invention, including step 11 is to step 14.Specifically, in execution of step 12, by the touch-screen after the lock-out state switches to released state, can also carry out step 13- steps 14:
Step 13:Judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
Step 14:When judged result is to be, the application is run.
Specifically, the contact sequencing of preservation, and the sequencing that leaves preserved can be corresponding with an application on electronic equipment, is touching screen unlocks success, is being switched to by lock-out state after non-locking state, The application can be run.
Specifically, when touch-screen is in non-locking state, the corresponding relation with an application on electronic equipment can be set up while preserving contact sequencing and leaving sequencing.For the different applications on electronic equipment, the different applications contact sequencing different with preservation can be set up and the corresponding relation of sequencing is left.
For example:The contact sequencing of one preservation and leave sequencing and be:Forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively, corresponding to the contact application on electronic equipment, are touching screen unlocks success, are being switched to by lock-out state after non-locking state, can run contact application.Another contact sequencing preserved and leave sequencing and be:Middle finger, the third finger contact touch-screen successively, and middle finger, the third finger leave touch-screen successively, corresponding to the e-mail applications on electronic equipment, are touching screen unlocks success, are being switched to by lock-out state after non-locking state, can run e-mail applications.
User can set up unlocking pin and the corresponding relation of the application on electronic equipment while unlocking pin is set, and corresponding application just can be directly run after screen unlocks are touched, convenient and swift.For application different on electronic equipment, user can set the corresponding relation between different unlocking pins and different application programs, when touch-screen is in the lock state and user wants a certain application on operation electronic equipment, it can directly use and unlock touch-screen with using corresponding unlocking pin, electronic equipment voluntarily runs the application after unlocking touch-screen.Improve Consumer's Experience.
There is provided a kind of method for unlocking the application on electronic equipment in another embodiment of the present invention.Fig. 6 is refer to, a kind of flow chart of the method for the application on unblock electronic equipment that Fig. 6 provides for another embodiment of the present invention.Comprise the following steps:
Step 61:(it can be understood as being in the lock state) when the application un-activation on electronic equipment, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
Step 62:When the contact sequencing of acquisition is consistent with the contact sequencing that contact with the touch-screen of N number of operating body preserved, and obtain leave sequencing and N number of operating body for preserving and described tactile Touch screen by contact switch to it is non-contacting leave sequencing it is consistent when, run the application.
Wherein, the contact sequencing that N number of operating body of the preservation is contacted with the touch-screen, and N number of operating body and the touch-screen of the preservation non-contacting leave sequencing and the application is corresponding by contacting to switch to.
Multiple applications can be installed on electronic equipment, for each application, unlocking pin (activating pin) can be set, that is, set and preserved contact sequencing and leave sequencing.Different applications can set different unlocking pins or identical unlocking pin.
For example:It is to the unlocking pin that contact application is set:Forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively;It is to the unlocking pin that e-mail applications are set:Middle finger, the third finger contact touch-screen successively, and middle finger, the third finger leave touch-screen successively.
Due to needing to be compared the contact sequencing of acquisition with the contact sequencing that the N number of operating body preserved is contacted with the touch-screen, also need to switch to the non-contacting sequencing that leaves to be compared by contacting with the touch-screen with N number of operating body of preservation the sequencing that leaves of acquisition, so, in the embodiment of the present invention, before being compared, following steps are can also carry out:
Obtain and preserve the contact sequencing that N number of operating body is contacted with the touch-screen, and obtain and N number of operating body and the touch-screen non-contacting leave sequencing by contacting to switch to;
The contact sequencing that N number of operating body of the preservation and the touch-screen are contacted is obtained and preserves, and N number of operating body of the preservation switches to the non-contacting corresponding relation for leaving the application on sequencing and the electronic equipment with the touch-screen by contacting.
Specifically, when application that can be on an electronic device is in running status or is not in running status, obtain the contact sequencing that N number of operating body is contacted with the touch-screen, and obtain N number of operating body and the touch-screen by contact switch to it is non-contacting leave sequencing, then set up and preserve the contact sequencing of acquisition and the corresponding relation for leaving sequencing and being in the application of running status of acquisition.
For example:Contact application on electronic equipment is in running status, and then acquisition, which contacts sequencing and leaves sequencing, is:Forefinger, middle finger, the third finger contact touch-screen successively, forefinger, middle finger, the third finger leave touch-screen successively, then set up and preserve forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the nameless touch-screen that leaves successively are corresponding to contact application.Contact person is set The unlocking pin of application is:Forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively.
In another example:Contact application on electronic equipment is not in running status, but setting interface is shown on the touch-screen of electronic equipment, obtains the operation that user chooses the icon of contact application, and then acquisition, which contacts sequencing and leaves sequencing, is:Forefinger, middle finger, the third finger contact touch-screen successively, forefinger, middle finger, the third finger leave touch-screen successively, then set up and preserve forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the nameless touch-screen that leaves successively are corresponding to contact application.I.e. set contact application unlocking pin be:Forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively.
After the activating pin for setting the application on electronic equipment, step 61 and step 62 can be performed.
The specific implementation for the contact sequencing that N number of operating body is contacted with the touch-screen respectively is obtained in step 61, and acquisition N number of operating body switches to the non-contacting specific implementation for leaving sequencing with the touch-screen by contacting respectively, it may be referred to above, just repeat no more herein.
In execution of step 61, obtain to obtain the contact sequencing that is contacted respectively with touch-screen of N number of operating body, and N number of operating body respectively with touch-screen by contact switch to it is non-contacting leave sequencing after, step 62 can be performed, the contact sequencing that will be obtained compares with the contact sequencing preserved, and the sequencing that leaves for leaving sequencing with preserving of acquisition is compared.
Specifically, due to preservation contact sequencing and preservation leave sequencing be in the lock state application it is corresponding, if so the contact sequencing obtained is consistent with the contact sequencing preserved, and obtain leave sequencing and preservation to leave sequencing consistent, then unlock successfully, operation application;If the contact sequencing and the contact sequencing preserved that obtain are inconsistent, or obtain leave sequencing and inconsistent, the then unblock failure of leaving sequencing preserved, control is using preservation lock-out state.
For example:The contact application of electronic equipment is in the lock state, and is if obtaining contact sequencing and leaving sequencing:Forefinger, middle finger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively, consistent with the unlocking pin of contact application, then unlock successfully, run contact application;It is if obtaining contact sequencing and leaving sequencing:Middle finger, forefinger, the third finger contact touch-screen successively, and forefinger, middle finger, the third finger leave touch-screen successively, with contact application Unlocking pin is inconsistent, then unblock failure, and control contact application keeps lock-out state.
User can set similar and different unlocking pin for application different on electronic equipment, when a certain application on electronic equipment be in the lock state and user want operation this apply when, it can use and unlock the application with using corresponding unlocking pin, the application is voluntarily run using electronic equipment after unlocking successfully.Improve Consumer's Experience.
Embodiment two
Based on same inventive concept, the embodiment of the present invention two also provides a kind of electronic equipment, and Fig. 7 is a kind of functional block diagram of the device of the touch-screen for unblock electronic equipment that the embodiment of the present invention two is provided.The implication for the term that electronic equipment shown in Fig. 7 is related to and implement, may be referred to earlier figures 1 to Fig. 5 and the associated description of embodiment.
As shown in fig. 7, a kind of device for unblock electronic equipment that the embodiment of the present invention two is provided includes:
Obtaining unit 71, for when the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
Processing unit 72, it is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen for the contact sequencing when acquisition, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
Optionally, obtaining unit 71 is specifically included:
Time of contact obtains subelement, the time of contact for obtaining each operating body and the touch-screen in N number of operating body, and N number of time of contact is obtained altogether;
First sequence subelement, carries out priority sequence for N number of time of contact to acquisition, obtains the contact sequencing that N number of operating body is contacted with the touch-screen.
Optionally, it is described first sequence subelement specifically for:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
It is when the time of contact difference determined is less than the first preset difference value, the time of contact is poor It is worth corresponding two time of contact and is defined as identical time of contact;
Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
Optionally, obtaining unit 71 is specifically included:
Departure time obtains subelement, and the departure time of the touch-screen is left for after N number of operating body is contacted with the touch-screen, obtaining each operating body in N number of operating body, N number of departure time is obtained altogether;
Second sequence subelement, for carrying out priority sequence to N number of departure time of acquisition, obtains N number of operating body and the touch-screen and non-contacting leaves sequencing by contacting to switch to.
Optionally, it is described second sequence subelement specifically for:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
Optionally, electronic equipment also includes:
Determining unit, for before obtaining unit obtains contact sequencing and leaves sequencing, determining that the touch-screen is in black state, or determines that the touch-screen is in illuminating state.
Optionally, the electronic equipment also includes:
Judging unit, for the processing unit by the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
Running unit, for when the judged result of the judging unit is is, running the application.
The various change mode and instantiation of electronic equipment implementation procedure described in previous embodiment are same Suitable for the electronic equipment of the present embodiment two, by the foregoing detailed description to electronic equipment implementation procedure, those skilled in the art are clear that the implementation of electronic equipment in the present embodiment two, thus it is succinct for specification, it will not be described in detail herein.
Embodiment three
Based on same inventive concept, the embodiment of the present invention three also provides a kind of electronic equipment, and Fig. 8 is the structure chart for a kind of electronic equipment that the embodiment of the present invention three is provided.
As shown in figure 8, the electronic equipment that the embodiment of the present invention three is provided includes:
Memory 81, for store program codes;
Processor 82, is connected with the memory 81 by bus 83, for reading described program code, to perform:
When the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
Optionally, processor 82 specifically for:
The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
Optionally, processor 82 specifically for:
It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
During in the identical time of contact and N number of time of contact determined except identical contact Other time of contact outside quarter carry out priority sequence, obtain the contact sequencing that N number of operating body is contacted with the touch-screen.
Optionally, processor 82 specifically for:
After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
Optionally, processor 82 specifically for:
It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
Optionally, processor 82 is additionally operable to:
Before obtaining contact sequencing and leaving sequencing, determine that the touch-screen is in black state;Or determine that the touch-screen is in illuminating state.
Optionally, processor 82 is additionally operable to:
By the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;When judged result is to be, the application is run.
Wherein, in fig. 8, bus architecture (is represented) with bus 83, and bus 83 can include the bus and bridge of any number of interconnection, and the various of memory that the one or more processors including being represented by processor 82 and memory 81 are represented are electrically connected to together by bus 83.The various other of such as ancillary equipment, voltage-stablizer and management circuit or the like can also be electrically connected to together by bus 83, and these are all it is known in the art, therefore, no longer it is described further herein.
Processor 82 is responsible for bus 83 and common processing, and memory 81 can be used for storage processor 82 used data when performing operation.
Electronic equipment can be the electronic equipment with the touch-screen for supporting multi-point touch, such as smart mobile phone, tablet personal computer.
The various change mode and instantiation of electronic equipment implementation procedure described in previous embodiment are equally applicable to the electronic equipment of the present embodiment three, pass through the foregoing detailed description to electronic equipment implementation procedure, those skilled in the art are clear that the implementation of electronic equipment in the present embodiment three, so it is succinct for specification, it will not be described in detail herein.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program product.Therefore, the form of the embodiment in terms of the present invention can use complete hardware embodiment or combine software and hardware.Moreover, the present invention can use the form for the computer program product implemented in one or more computer-usable storage mediums (including but is not limited to magnetic disk storage and optical memory etc.) for wherein including computer usable program code.
The present invention is flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program product to describe.It should be understood that can by the flow in each flow and/or square frame and flow chart and/or block diagram in computer program instructions implementation process figure and/or block diagram and/or square frame combination.These computer program instructions can be provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce a machine so that produce the device for being used for realizing the function of specifying in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames by the instruction of the computing device of computer or other programmable data processing devices.
These computer program instructions may be alternatively stored in the computer-readable memory that computer or other programmable data processing devices can be guided to work in a specific way, so that the instruction being stored in the computer-readable memory, which is produced, includes the manufacture of command device, the command device realizes the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that series of operation steps is performed on computer or other programmable devices computer implemented to produce Processing, so that the instruction performed on computer or other programmable devices provides the step of being used to realize the function of specifying in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creative concept, then other change and modification can be made to these embodiments.So, appended claims are intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention without departing from the spirit and scope of the present invention.So, if these modifications and variations of the present invention belong within the scope of the claims in the present invention and its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (21)

  1. A kind of method for the touch-screen for unlocking electronic equipment, it is characterised in that including:
    When the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
    When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
  2. The method as described in claim 1, it is characterised in that obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, specifically include:
    The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
    Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
  3. Method as claimed in claim 2, it is characterised in that carry out priority sequence to N number of time of contact of acquisition, obtains the contact sequencing that N number of operating body is contacted with the touch-screen, specifically includes:
    It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
    When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
    Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
  4. The method as described in claim 1, it is characterised in that obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, specifically include:
    After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
    Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
  5. Method as claimed in claim 4, it is characterised in that priority sequence is carried out to N number of departure time of acquisition, obtain N number of operating body and the touch-screen by contact switch to it is non-contacting leave sequencing, specifically include:
    It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
    When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
    Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
  6. The method as described in claim 1, it is characterised in that before obtaining contact sequencing and leaving sequencing, in addition to:
    Determine that the touch-screen is in black state;Or
    Determine that the touch-screen is in illuminating state.
  7. The method as described in claim 1, it is characterised in that after the lock-out state switches to released state, methods described also includes by the touch-screen:
    Judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
    When judged result is to be, the application is run.
  8. A kind of device for the touch-screen for unlocking electronic equipment, it is characterised in that including:
    Obtaining unit, is touched with described respectively for when the touch-screen of electronic equipment is in the lock state, obtaining the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtaining N number of operating body Screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
    Processing unit, it is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen for the contact sequencing when acquisition, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
  9. Device as claimed in claim 8, it is characterised in that the obtaining unit is specifically included:
    Time of contact obtains subelement, the time of contact for obtaining each operating body and the touch-screen in N number of operating body, and N number of time of contact is obtained altogether;
    First sequence subelement, carries out priority sequence for N number of time of contact to acquisition, obtains the contact sequencing that N number of operating body is contacted with the touch-screen.
  10. Device as claimed in claim 9, it is characterised in that the first sequence subelement specifically for:
    It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
    When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
    Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
  11. Device as claimed in claim 8, it is characterised in that the obtaining unit is specifically included:
    Departure time obtains subelement, and the departure time of the touch-screen is left for after N number of operating body is contacted with the touch-screen, obtaining each operating body in N number of operating body, N number of departure time is obtained altogether;
    Second sequence subelement, for carrying out priority sequence to N number of departure time of acquisition, obtains N number of operating body and the touch-screen and non-contacting leaves sequencing by contacting to switch to.
  12. Device as claimed in claim 11, it is characterised in that the second sequence subelement specifically for:
    It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
    When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
    Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
  13. Device as claimed in claim 8, it is characterised in that described device also includes:
    Determining unit, for before obtaining unit obtains contact sequencing and leaves sequencing, determining that the touch-screen is in black state, or determines that the touch-screen is in illuminating state.
  14. Device as claimed in claim 8, it is characterised in that described device also includes:
    Judging unit, for the processing unit by the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;
    Running unit, for when the judged result of the judging unit is is, running the application.
  15. A kind of electronic equipment, it is characterised in that including:
    Memory, for store program codes;
    Processor, is connected with the memory by bus, for reading described program code, to perform:
    When the touch-screen of electronic equipment is in the lock state, obtain the contact sequencing that N number of operating body is contacted with the touch-screen respectively, and obtain N number of operating body respectively with the touch-screen by contact switch to it is non-contacting leave sequencing, the N is any integer more than or equal to 2;
    When the contact sequencing of acquisition is consistent with the N number of operating body preserved the contact sequencing contacted with the touch-screen, and the N number of operating body and the touch-screen that leave sequencing and preservation obtained by contact switch to it is non-contacting leave sequencing it is consistent when, the touch-screen is switched into released state by the lock-out state.
  16. Electronic equipment as claimed in claim 15, it is characterised in that the processor specifically for:
    The time of contact of each operating body and the touch-screen in N number of operating body is obtained, N number of time of contact is obtained altogether;
    Priority sequence is carried out to N number of time of contact of acquisition, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
  17. Electronic equipment as claimed in claim 16, it is characterised in that the processor specifically for:
    It is determined that the time of contact difference in the N number of time of contact obtained between any two time of contact;
    When the time of contact difference determined is less than the first preset difference value, corresponding two time of contact of the time of contact difference are defined as identical time of contact;
    Priority sequence is carried out to other time of contact in the identical time of contact and N number of time of contact determined in addition to the identical time of contact, the contact sequencing that N number of operating body is contacted with the touch-screen is obtained.
  18. Electronic equipment as claimed in claim 15, it is characterised in that the processor specifically for:
    After N number of operating body is contacted with the touch-screen, the departure time that each operating body in N number of operating body leaves the touch-screen is obtained, N number of departure time is obtained altogether;
    Priority sequence is carried out to N number of departure time of acquisition, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
  19. Electronic equipment as claimed in claim 18, it is characterised in that the processor specifically for:
    It is determined that the departure time difference in the N number of departure time obtained between any two departure times;
    When the departure time difference determined is less than the second preset difference value, the departure time difference corresponding two departure times are defined as the identical departure time;
    Priority sequence is carried out to other departure times in the identical departure time and N number of departure time determined in addition to the identical departure time, N number of operating body and the touch-screen is obtained and non-contacting leaves sequencing by contacting to switch to.
  20. Electronic equipment as claimed in claim 15, it is characterised in that the processor is additionally operable to:
    Before obtaining contact sequencing and leaving sequencing, determine that the touch-screen is in black state;Or determine that the touch-screen is in illuminating state.
  21. Electronic equipment as claimed in claim 15, it is characterised in that the processor is additionally operable to:
    By the touch-screen after the lock-out state switches to released state, judge the contact sequencing that contact with the touch-screen of N number of operating body preserved, and the N number of operating body preserved and the touch-screen by contact switch to it is non-contacting leave sequencing whether with one on the electronic equipment using corresponding;When judged result is to be, the application is run.
CN201480039834.1A 2014-10-14 2014-10-14 Method and apparatus for unlocking touch screen of electronic device, and electronic device Pending CN105706101A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/088562 WO2016058131A1 (en) 2014-10-14 2014-10-14 Method and apparatus for unlocking touch screen of electronic device, and electronic device

Publications (1)

Publication Number Publication Date
CN105706101A true CN105706101A (en) 2016-06-22

Family

ID=55745948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480039834.1A Pending CN105706101A (en) 2014-10-14 2014-10-14 Method and apparatus for unlocking touch screen of electronic device, and electronic device

Country Status (2)

Country Link
CN (1) CN105706101A (en)
WO (1) WO2016058131A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566861A (en) * 2010-12-17 2012-07-11 安徽康佳同创电器有限公司 Electronic terminal, and touch unlocking method and touch unlocking setting method for electronic terminal
CN102609198A (en) * 2012-01-19 2012-07-25 北京三星通信技术研究有限公司 Method and equipment for unlocking and running terminal at the same time
CN102937879A (en) * 2012-11-29 2013-02-20 上海斐讯数据通信技术有限公司 Mobile terminal with two-point touch unlocking system and two-point touch unlocking method
US20130321297A1 (en) * 2012-05-29 2013-12-05 Liang Li Unlocking method for an electronic device with a touch screen
CN103530053A (en) * 2013-10-14 2014-01-22 惠州Tcl移动通信有限公司 Mobile terminal, unlocking method for screen of mobile terminal and locking method for screen of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566861A (en) * 2010-12-17 2012-07-11 安徽康佳同创电器有限公司 Electronic terminal, and touch unlocking method and touch unlocking setting method for electronic terminal
CN102609198A (en) * 2012-01-19 2012-07-25 北京三星通信技术研究有限公司 Method and equipment for unlocking and running terminal at the same time
US20130321297A1 (en) * 2012-05-29 2013-12-05 Liang Li Unlocking method for an electronic device with a touch screen
CN102937879A (en) * 2012-11-29 2013-02-20 上海斐讯数据通信技术有限公司 Mobile terminal with two-point touch unlocking system and two-point touch unlocking method
CN103530053A (en) * 2013-10-14 2014-01-22 惠州Tcl移动通信有限公司 Mobile terminal, unlocking method for screen of mobile terminal and locking method for screen of mobile terminal

Also Published As

Publication number Publication date
WO2016058131A1 (en) 2016-04-21

Similar Documents

Publication Publication Date Title
CN104598134B (en) The fingerprint operating method and system of a kind of mobile terminal
US9041660B2 (en) Soft keyboard control
CN103744604B (en) A kind of information processing method and electronic equipment
US9733822B2 (en) Electronic device and state controlling method
CN105045384A (en) Information processing method and electronic equipment
CN106227520B (en) Application interface switching method and device
CN105867821A (en) Icon arranging method and device and terminal
US20140003681A1 (en) Zero Enrollment
US10372962B2 (en) Zero fingerprint enrollment system for an electronic device
US9218544B2 (en) Intelligent matcher based on situational or spatial orientation
CN101464741A (en) Touch panel and its use method and notebook computer with the same
CN104991721A (en) Fingerprint operation method and apparatus
CN108549518B (en) Music information display method and device and terminal equipment
CN105868593A (en) Terminal unlocking method and terminal
CN105892927A (en) Mobile terminal control method and device
CN104809402A (en) Fuzzy display method for information and terminal
CN106126101A (en) The operational approach of a kind of mobile terminal and mobile terminal
CN109117013A (en) Electronic equipment, false-touch prevention method and system
CN104571531A (en) Method and device for unlocking touch plate
WO2020118491A1 (en) Fingerprint recognition-based interaction method, electronic device and related device
CN107203736A (en) A kind of method, device and the terminal of use fingerprinting operation
CN105824534A (en) Information processing method and electronic equipment
CN106020712B (en) Touch gesture recognition method and device
CN205620969U (en) Wear touch processing system of smart machine and wear smart machine
CN105446576B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622