A kind of method and device of touch pad unblockTechnical field
The present invention relates to unlocking technology, more particularly to a kind of touch pad (TP:Touch Panel) unblock method and dressPut.
Background technology
Trackpad is without portable mechanism member, can ensure during use durable with reliable, and use range is wider, power consumptionIt is few.Trackpad is a kind of slide using finger come the input unit of moving cursor, when the finger of user is close to touchingIt can change capacitance during plate, touch pad itself will detect that capacitance change, be converted into coordinate.
Traditional notebook computer is unlocked by input through keyboard character, but experience property is poor, and in existing mobile terminalIn, the operation of slip gesture realization unblock is obtained using Trackpad, it is convenient, fast without keyboard operation, function.But utilizeThe technical scheme of Trackpad unblock is excessively single, and such as character unblock or nine grids unblock, flexibility and experience property are poor.CauseThis, the technical problem that the unblock operation of traditional notebook computer or mobile terminal is completed using Trackpad is solved still without correspondingScheme.
The content of the invention
It is an object of the invention to provide a kind of method and device of touch pad unblock, can solve the problem that character unblock or nineThe problem of experience sense of palace lattice unblock is poor.
According to an aspect of the invention, there is provided a kind of method of touch pad unblock, including:
Whether mobile terminal in screen lock state determines mobile terminal by being detected to the touch event of touch padStart unlocking function;
When it is determined that mobile terminal needs to start unlocking function, the user gesture letter that user touches the touch pad is obtainedNumber;
Using the unblock hand signal to prestore, the user gesture signal is verified, and after described be verified,Mobile terminal unblock is performed, and shows the operation interface of mobile terminal screen.
Preferably for the touch pad as mobile terminal screen, the mobile terminal passes through the finger to starting unlocking functionOrder is detected, and determines whether mobile terminal starts unlocking function.
Preferably, the step of user gesture signal of the described acquisition user touch touch pad includes:
The capacitance change of touch pad is detected, coordinate information of the collection corresponding to the capacitance change;
According to the coordinate information collected, obtain unlocking image as the first user of unlock instruction.
Preferably, the user gesture signal that user touches the touch pad specific region is obtained, the specific region refers toPreset release region.
Preferably, also include before the step of described collection corresponds to the coordinate information of the capacitance change:
By being detected to the capacitance change of touch pad, it is determined that being corresponding to the touch area of the capacitance changeNo is preset release region;
If it is determined that being preset release region, then collection corresponds to the coordinate information of the capacitance change.
Preferably, the unblock hand signal that described utilization prestores, the step of checking to the user gesture signalIncluding:
Image is unlocked to first user to parse, and judge that first user unlocks image using matching algorithmWhether reach the first preset percentage with the matching degree of preset unblock image;
If the matching degree that first user unlocks image and preset unblock image reaches the first preset percentage, instituteState the first user and unlock image authentication by not passing through conversely, then verifying.
Preferably, the unblock hand signal that described utilization prestores, the step of checking to the user gesture signalAlso include:
If the matching degree that first user unlocks image and preset unblock image is not up to the first preset percentage,Continue the second user unblock image to receiving and the 3rd user unblock image is verified;
If first user unlocks image, second user unblock image and the 3rd user and unlocks image and preset unblockThe matching degree of image reaches the second preset percentage, then is verified, and does not pass through conversely, then verifying.
According to another aspect of the present invention, there is provided a kind of device of touch pad unblock, including:
Detection module, for the mobile terminal in screen lock state by being detected to the touch event of touch pad, reallyDetermine whether mobile terminal starts unlocking function;
Acquisition module, for when it is determined that mobile terminal needs to start unlocking function, obtaining user and touching the touch padUser gesture signal;
Unlocked state, for utilizing the unblock hand signal to prestore, the user gesture signal is verified, and in instituteState after being verified, perform mobile terminal unblock, and show the operation interface of mobile terminal screen.
Preferably, the acquisition module further comprises:
Coordinate submodule, for being detected to the capacitance change of touch pad, collection corresponds to the capacitance changeCoordinate information;
Image submodule, for according to the coordinate information collected, obtaining the first user unblock as unlock instructionImage.
Preferably, the unlocked state further comprises:
Analyzing sub-module, parsed for unlocking image to first user using matching algorithm, and described in judgementWhether the matching degree that the first user unlocks image and preset unblock image reaches the first preset percentage;
Matched sub-block, if the matching degree that image and preset unblock image are unlocked for first user reaches firstPreset percentage, then the first user unblock image authentication conversely, then verifying by not passing through.
Compared with prior art, the beneficial effects of the present invention are:It can be unlocked by providing a kind of images match degreeMethod, reach the effect flexibly unlocked, strengthen user experience.
Brief description of the drawings
Fig. 1 is the method schematic of touch pad unblock provided in an embodiment of the present invention;
Fig. 2 is the structure drawing of device of touch pad unblock provided in an embodiment of the present invention;
Fig. 3 is the unlocking pattern schematic diagram of touch pad unblock provided in an embodiment of the present invention;
Fig. 4 is the unblock flow chart of touch pad unblock provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellentSelect embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the method schematic of touch pad unblock provided in an embodiment of the present invention, as shown in figure 1, comprising the following steps that:
Step S1:Mobile terminal in screen lock state to the touch event of touch pad by detecting, it is determined that mobileWhether terminal starts unlocking function.
In step sl, pass through for the touch pad as mobile terminal screen, the mobile terminal to starting unlocking functionInstruction detected, determine whether mobile terminal starts unlocking function.
Step S2:When it is determined that mobile terminal needs to start unlocking function, the user that user touches the touch pad is obtainedHand signal.
In step s 2, the step of user gesture signal of the described acquisition user touch touch pad includes:
The capacitance change of touch pad is detected, coordinate information of the collection corresponding to the capacitance change;
According to the coordinate information collected, obtain unlocking image as the first user of unlock instruction.
Further, the user gesture signal that user touches the touch pad specific region is obtained, the specific region isRefer to preset release region.
Further, also include before the step of described collection corresponds to the coordinate information of the capacitance change:
By being detected to the capacitance change of touch pad, it is determined that being corresponding to the touch area of the capacitance changeNo is preset release region;
If it is determined that being preset release region, then collection corresponds to the coordinate information of the capacitance change.
Step S3:Using the unblock hand signal to prestore, the user gesture signal is verified, and in the checkingBy rear, execution mobile terminal unblock, and show the operation interface of mobile terminal screen.
In step s 2, the unblock hand signal that described utilization prestores, the user gesture signal is verifiedStep includes:
Image is unlocked to first user to parse, and judge that first user unlocks image using matching algorithmWhether reach the first preset percentage with the matching degree of preset unblock image;
If the matching degree that first user unlocks image and preset unblock image reaches the first preset percentage, instituteState the first user and unlock image authentication by not passing through conversely, then verifying.
Further, the unblock hand signal that described utilization prestores, the step verified to the user gesture signalSuddenly also include:
If the matching degree that first user unlocks image and preset unblock image is not up to the first preset percentage,Continue the second user unblock image to receiving and the 3rd user unblock image is verified;
If first user unlocks image, second user unblock image and the 3rd user and unlocks image and preset unblockThe matching degree of image reaches the second preset percentage, then is verified, and does not pass through conversely, then verifying.
Fig. 2 is the structure drawing of device of touch pad unblock provided in an embodiment of the present invention, as shown in Fig. 2 including:Detect mouldBlock, acquisition module and unlocked state.
The detection module is used for the mobile terminal in screen lock state by being detected to the touch event of touch pad,Determine whether mobile terminal starts unlocking function.
The acquisition module is used to when it is determined that mobile terminal needs to start unlocking function, obtain user and touch the touchThe user gesture signal of plate.Wherein, the coordinate submodule of the acquisition module is used to examine the capacitance change of touch padSurvey, coordinate information of the collection corresponding to the capacitance change.The image submodule of the acquisition module is used for according to being gatheredThe coordinate information arrived, obtain unlocking image as the first user of unlock instruction.
The unlocked state is used to utilize the unblock hand signal to prestore, and the user gesture signal is verified, andAfter described be verified, mobile terminal unblock is performed, and show the operation interface of mobile terminal screen.Wherein, the unblockThe analyzing sub-module of module is used to parse first user unblock image using matching algorithm, and judges described firstWhether the matching degree that user unlocks image and preset unblock image reaches the first preset percentage.The matching of the unlocked stateIf submodule is used for, first user unlocks image and the matching degree of preset unblock image reaches the first preset percentage,First user unlocks image authentication by not passing through conversely, then verifying.
Fig. 3 is the unlocking pattern schematic diagram of touch pad unblock provided in an embodiment of the present invention, and Fig. 4 is that the embodiment of the present invention carriesThe unblock flow chart of the touch pad unblock of confession.As shown in Figure 3, Figure 4, the specific implementation flow of feature unblock sequence is as follows:
(1) terminal screen lock state.Mobile terminal is in screen lock state.
(2) finger is placed in TP regions (touch pad area), and system starts TP unlocking functions.If mobile terminal detects useFamily finger touches TP regions, determines that mobile terminal needs to start unlocking function, then the os starting TP solutions of mobile terminalLock function.
(3) unblock gesture, optimization unblock gesture are slided.Typing for gesture in mobile terminal Trackpad unblock scheme,Include the collection of TP gestures, handle, optimization etc..Acceleration of the TP in finger sliding process, deceleration equi-time point factor, pauseDeng being optimized to user gesture so that user gesture can be identified in an operating system.
(4) made comparisons with typing gesture, if identical.In releasing process, TP record gestures are slided, optimization processing gestureAfterwards, matched on backstage with user-defined unblock gesture.
(5) system unlocks, into desktop.If the gesture after optimization matches with background data base, operating system will unlockScreen, if the gesture after optimization mismatches with background data base, user is prompted to input the unblock gesture of normal solution.
In summary, the present invention has following technique effect:A kind of method that can be unlocked by providing images match degree,Reach the effect flexibly unlocked, strengthen user experience.
Although the present invention is described in detail above, the invention is not restricted to this, those skilled in the art of the present techniqueVarious modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood toFall into protection scope of the present invention.