Specific embodiment
For the application is further described, the following example is provided:
Fig. 1 is according to a kind of flow chart of the method for user interface of one exemplary embodiment of the application unlock, such as Fig. 1 institute
Show, it may include following step that this method, which is applied to terminal:
Step 102, when unlock interface is triggered, the preset password for being applied to the interface, the preset password packet are obtained
Include multiple cryptoparts.
In the present embodiment, there are corresponding application programs for each unlock interface, and the unlock interface is for limiting user
Access the permission of the data or information in the application program, such as desktop loading procedure (corresponding to mobile phone locking screen interface) or terminal
Any APP of such as " Alipay " of interior installation (Application, using).
Step 104, the characteristic parameter of the clicking operation detected according to touch screen generates real-time unlocking pin;Wherein, institute
Stating characteristic parameter includes: the double hit number operated corresponding to the adopting consecutive click chemical reaction of each cryptopart.
In the present embodiment, when by adopting consecutive click chemical reaction operation as Password Input means, by corresponding to multiple cryptoparts
Double hit number is combined, and effective real-time unlocking pin can be obtained.
In the present embodiment, the characteristics of being operated due to adopting consecutive click chemical reaction, so that user is executed on a terminal screen by finger
When touching clicking operation, it is also difficult to differentiate between specific double hit number even if being pried through by others, there is high safety and secret
Property.
Step 106, when the real-time unlocking pin and the preset password match, interface lock state is released.
As can be seen from the above embodiments, the application is detected and is verified by the adopting consecutive click chemical reaction operation to user, can be kept away
Exempt from user interface arbitrarily to be checked, it is ensured that the privacy of user information.Simultaneously as each click in adopting consecutive click chemical reaction operation
Interval time between operation is short and without the features such as changing click location, even if being pried through by others, it is also difficult to distinguish, facilitate
Promote the safety and privacy of unlocking screen.
Below with reference to specific application scenarios, the technical solution of the application is described in detail.Fig. 2 is according to the application
The flow chart of the method for another user interface unlock of one exemplary embodiment, as shown in Fig. 2, this method is applied to terminal,
May include following step:
It step 202, is any UI Preferences screen-lock password in terminal.
In the present embodiment, for carrying out password setting for terminal screen lock interface, user can switch first to Fig. 3 institute
" password locking " interface shown, is configured the relevant option of password.As shown in figure 3, default can be set " simply in terminal
Password " and " click type password ", wherein " simple password " can be number or gesture password, " click type password " is based on this Shen
The password of technical solution please;When user needs to enable click type password, then pass through the " sliding of sliding click type password rear
Block " icon can switch to " setting click type password " interface shown in Fig. 4.
As shown in figure 4, click type password includes multiple cryptoparts, user can pass through " annulus " the type region on interface
It is interior, each cryptopart is set by adopting consecutive click chemical reaction operation.It, can in setting screen-lock password or when inputting password on locking screen interface
To show Password Input frame in the setting of the password of response or unlock interface, which includes corresponding with cryptopart
Sub- input frame corresponding three are then shown below interface than as in Fig. 4, screen-lock password includes three cryptoparts altogether
Sub- input frame.
In addition, can also show each click for corresponding to and having detected that in the corresponding sub- input frame of each cryptopart
The identification information of operation, using as correspond to current Password Input situation displaying information.For example password shown in Fig. 4 is defeated
Enter in frame, the sub- input frame of the leftmost side corresponds to first group of password, wherein three black dots shown represent double hit number as
3;Intermediate sub- input frame corresponds to second group of password, but can not only pass through the quantity of black dot since double hit number is more
It is shown, thus shows that double hit number is 5 by " × 5 ".
It should be understood that the technical solution of the application generates based on the characteristic parameter of clicking operation and verifies password,
And this feature parameter may include adopting consecutive click chemical reaction operation double hit number, also may include more other parameters, for example, with down toward
It is one of few: the pressing dynamics of clicking operation, compressing time length, in predeterminable area (such as " annulus " type region shown in Fig. 4)
Interior relative position.Meanwhile the feature of each clicking operation can be shown by the improvement to identification information shown in Fig. 4
Parameter.It is as shown in Figure 5:
Fig. 5 (a) shows the detection mode based on " pressing dynamics ", then right when pressing dynamics not up to default dynamics
Black dot on the left of Ying Yu, the black large circle point when pressing dynamics reach default dynamics, corresponding to right side.
Fig. 5 (b) shows the detection mode based on " compressing time ", then when pushed between not up to preset duration when, it is right
Black dot on the left of Ying Yu, the black lines when pressing dynamics reach default dynamics, corresponding to right side.
Fig. 5 (c) shows the detection mode based on " relative position in predeterminable area ", when click location is preset areas
When left side in domain, corresponding to the identification information in left side, black dot therein is located at the left frame of rectangle frame, when clicking position
When being set to the top of predeterminable area, corresponding to the identification information on right side, black dot therein is located at the upper side frame of rectangle frame.
Step 204, unlock interface is triggered.
In the present embodiment, by taking terminal screen lock interface as an example, " power key " in terminal, " volume can detected
The various physical buttons such as key ", " homepage key " are pressed and trigger, and can also detect light variation, spatial position change etc.
It is triggered when parameter meets parameter preset, is embodied in terminal screen by not showing that state (i.e. " blank screen ") is switched to display shape
State.By taking the APP in terminal as an example, corresponding unlock interface can be triggered when detecting that corresponding program icon is pressed.
Step 206, if detecting the clicking operation on terminal touch screen, it is transferred to step 208, is otherwise continued waiting for.
In the present embodiment, clicking operation can be located at any position on terminal touch screen;Alternatively, can be by solving
Display one is exclusively used in receiving the predeterminable area of the clicking operation on lock interface, than " annulus " type region as shown in FIG. 6, thus only
When on terminal touch screen corresponding to clicking operation is detected at the predeterminable area, it is just transferred to step 208.
Step 208, the characteristic parameter of clicking operation is obtained.
When in the present embodiment, according to screen-lock password is arranged in step 202, the class of the collected characteristic parameter of terminal
Type determines the type of the characteristic parameter of the clicking operation obtained in step 208.
As an illustrative embodiments, characteristic parameter only includes the double hit number of adopting consecutive click chemical reaction operation, then terminal needs
The adopting consecutive click chemical reaction operation for corresponding to each cryptopart is distinguished, and obtains corresponding double hit number.It is continuous in order to effectively distinguish
Corresponding time threshold can be set in corresponding relationship between clicking operation and cryptopart, such as: it is operated in each adopting consecutive click chemical reaction
In, interval duration between adjacent clicking operation is less than or equal to the first preset duration, and the corresponding continuity point of adjacent cryptopart
The time interval hit between operation is greater than or equal to the second preset duration, wherein the second preset duration is greater than the first preset duration.
Meanwhile in order to make Password Input process control, Password Input frame, the Password Input can be shown in unlock interface
Frame include with cryptopart sub- input frame correspondingly, for example shown in Fig. 6 (a) defeated corresponding to three sons of three cryptoparts
Enter frame.Wherein, according to the currently detected corresponding cryptopart of clicking operation, input can be shown in corresponding sub- input frame
Prompt mark, for example in Fig. 6 (a), by showing input prompt mark " ▲ " below sub- input frame, user is prompted to work as
The corresponding cryptopart of preceding clicking operation, for example Fig. 6 (a) shows that user inputs first cryptopart.Certainly, no matter
Why is characteristic parameter, can be shown with antithetical phrase input frame and input prompt mark, for example Fig. 6 (b) shows that user is right
Third cryptopart is inputted.
In addition, the case where having inputted password is understood for the ease of user, it can also be according to current Password Input situation, in advance
Estimate the corresponding cryptopart of next clicking operation and password position, and corresponds to the password position in the corresponding sub- input frame of the cryptopart
Position, display input prompt mark.Such as when characteristic parameter is only double hit number, as shown in Fig. 6 (a), by left side
Sub- input frame in show two black dots, the double hit number corresponding to first password section for showing that terminal has been detected by is
2, if terminal is detecting in the first preset duration after second of clicking operation, third time clicking operation is detected, then
It is shown as three black dot (not shown)s in the sub- input frame in left side, the double hit number of first password section will be corresponded to
It is upgraded to 3;If terminal is detecting in the second preset duration after second of clicking operation, third time is not detected and clicks behaviour
Make, then it is assumed that the input of first password section finishes, and input prompt mark " ▲ " will be moved to below intermediate sub- input frame (in figure
It is not shown), and using the clicking operation subsequently detected as the input to the second cryptopart.
Property embodiment as another example, characteristic parameter can also include each click in the operation of each adopting consecutive click chemical reaction
The characteristic information of operation, this feature information can specifically include at least one of: the pressing dynamics of clicking operation, compressing time
Length, the relative position in the predeterminable area, this is corresponding to the setting up procedure of screen-lock password with step 202.
So, user in " annulus " type predeterminable area shown in Fig. 6 (b) by clicking, and controls clicking operation
Double hit number, pressing dynamics, pressing duration, one or more features in pressing position, realize the defeated of each clicking operation
Entering, then the password of each password position in the real-time unlocking pin generated includes the characteristic information of corresponding clicking operation, thus
Promote the complexity and safety of password.For the difference of the characteristic parameter of clicking operation, the correspondence shown in sub- input frame
Also can produce variation in the identification information for each clicking operation having detected that, for example, make the display pattern of identification information with
The characteristic parameter of corresponding clicking operation matches, in order to which user checks the testing result of each clicking operation.Wherein:
Such as in the sub- input frame in left side in Fig. 6 (b), the double hit number of adopting consecutive click chemical reaction operation is 3, wherein first time point
The click that operation is " in intermediate, light pressure, the short-press of predeterminable area " is hit, corresponding identification information is " ⊙ ", the circle of outer layer
Corresponding to predeterminable area, and the black dot of inside shows the compressing time of first time clicking operation short (i.e. " short-press "), dot
The smaller pressing dynamics small (i.e. " light pressure ") for showing first time clicking operation, dot are located at the circular centre of outer layer and show to press position
It is set to the centre of predeterminable area.
Second of clicking operation is the click of " in the centre of predeterminable area, weight, short-press ", in corresponding identification information
In: the black dot of inside shows that the compressing time of second of clicking operation short (i.e. " short-press "), dot are larger and shows second
The pressing dynamics of clicking operation big (i.e. " weight "), dot are located at the circular centre of outer layer and show that pressing position is predeterminable area
It is intermediate.
Third time clicking operation is the click of " in intermediate, the light pressure of predeterminable area, long-pressing ", in corresponding identification information
In: the compressing time of the bright third time clicking operation of the black line segment form of inside long (i.e. " long-pressing "), line segment more carefully show third time
The pressing dynamics of clicking operation small (i.e. " light pressure "), line segment are located at the circular centre of outer layer and show that pressing position is predeterminable area
It is intermediate.
Such as in the sub- input frame in centre in Fig. 6 (b), the double hit number of adopting consecutive click chemical reaction operation is 3, corresponds to the 4th
Secondary, the 5th time and the 6th clicking operation.Wherein, the 4th clicking operation is " in the inside front of predeterminable area, light pressure, short
By " click, in corresponding identification information: the black dot of inside shows that the compressing time of the 4th clicking operation is short (i.e.
" short-press "), the smaller pressing dynamics small (i.e. " light pressure ") for showing the 4th clicking operation of dot, that dot is located at outer layer is circular interior
Upper side shows that pressing position is the inside front of predeterminable area.
5th clicking operation is the click of " in the inside left of predeterminable area, weight, short-press ", is believed in corresponding mark
In breath: the black dot of inside shows that the compressing time of the 5th clicking operation short (i.e. " short-press "), dot is larger shows the 5th
The pressing dynamics of secondary clicking operation big (i.e. " weight "), dot are located at the circular inside left of outer layer and show that pressing position is default
The inside left in region.
6th clicking operation is the click of " interior side-lower, light pressure, long-pressing in predeterminable area ", is believed in corresponding mark
In breath: the compressing time of bright 6th clicking operation of the black line segment form of inside long (i.e. " long-pressing "), line segment more carefully show the 6th
The pressing dynamics of secondary clicking operation small (i.e. " light pressure "), line segment are located at the circular interior side-lower of outer layer and show that pressing position is default
The interior side-lower in region.
Step 210, according to characteristic parameter, real-time unlocking pin is generated.
Step 212, if unlocking pin and the screen-lock password of setting match in real time, success is unlocked, otherwise unlock failure.
Fig. 7 shows the schematic configuration diagram of the electronic equipment of the exemplary embodiment according to the application.Referring to FIG. 7,
In hardware view, which includes processor, internal bus, network interface, memory and nonvolatile memory, certainly
It is also possible that hardware required for other business.Processor read from nonvolatile memory corresponding computer program to
It is then run in memory, forms the device of user interface unlock on logic level.Certainly, other than software realization mode,
Other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded in the application, that is to say, that following
The executing subject of process flow is not limited to each logic unit, is also possible to hardware or logical device.
Referring to FIG. 8, the device of user interface unlock may include acquiring unit, generate in Software Implementation
Unit and unlocking unit.Wherein:
Acquiring unit obtains the preset password for being applied to the interface, the preset password packet when unlock interface is triggered
Include multiple cryptoparts;
Generation unit generates real-time unlocking pin according to the characteristic parameter for the clicking operation that touch screen detects;Wherein,
The characteristic parameter includes: the double hit number operated corresponding to the adopting consecutive click chemical reaction of each cryptopart;
Unlocking unit releases interface lock state when the real-time unlocking pin matches with the preset password.
Optionally, further includes:
Duration acquiring unit obtains the interval duration between adjacent clicking operation;
Operation determination unit determines the adjacent click when the interval duration is less than or equal to the first preset duration
Operation belongs to same adopting consecutive click chemical reaction operation;When the interval duration is greater than or equal to the second preset duration, determine described adjacent
Clicking operation belongs to different adopting consecutive click chemical reaction operations;Wherein, the second preset duration is greater than the first preset duration.
Optionally, the characteristic parameter further include: the feature of each clicking operation in each adopting consecutive click chemical reaction operation
Information;Wherein, the password of each password position in the real-time unlocking pin includes the characteristic information of corresponding clicking operation;With
And described device further include:
Judging unit is matched, when the corresponding double hit time of each cryptopart of the real-time unlocking pin and the preset password
Number is equal, and when the password characteristic information that includes in same password position is all the same, determine the real-time unlocking pin with
The preset password matches.
Optionally, the characteristic information includes at least one of:
The pressing dynamics of clicking operation, compressing time length, the relative position in the predeterminable area.
Optionally, further includes:
Input frame display unit shows that Password Input frame, the Password Input frame include and institute in the unlock interface
State cryptopart sub- input frame correspondingly;
Prompt mark display unit estimates the corresponding cryptopart of next clicking operation according to current Password Input situation
With password position, and in the corresponding sub- input frame of the cryptopart correspond to the password position position, display input prompt mark.
Optionally, further includes:
Parameter identification display unit, in the corresponding sub- input frame of each cryptopart, display is every corresponding to having detected that
The identification information of one clicking operation, using as correspond to the current Password Input situation displaying information;
Wherein, the display pattern of the identification information matches with the characteristic parameter of corresponding clicking operation.
Optionally, further includes:
Region display unit shows predeterminable area in the unlock interface;
Wherein, the clicking operation is located in the predeterminable area.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.