Summary of the invention
The application provides a kind of unlock method and touch screen terminal of touch screen terminal, to take into account the simplicity of security and operation of terminal, reaches the object of information in protection touch screen terminal.
A unlock method for touch screen terminal, comprising:
A, generate release interface, described release interface comprises the tie point of setting number, and a described each tie point character of correspondence and described character comprise the character in the unlocking pin that user arranges;
B, on the screen of touch screen terminal, show generated release interface;
C, the input of detection user on release interface, in the time of user's end of input, judge whether the line pattern that user marks on the shown tie point in release interface mates with the unlocking pin of user's setting, if coupling enters the interface after release.
Preferably, generate release interface and specifically comprise: according to the number of tie point in the figure place of unlocking pin and release interface, a line pattern of random selection from all possible line pattern; According to selected line pattern, each character of unlocking pin is inserted to tie point corresponding in release interface successively according to sequencing, and insert at random character at all the other tie points at release interface.
Preferably, in all possible line pattern, in same level line or same vertical curve, and there is not intersection point in any one line pattern in any two the adjacent tie points on any one line pattern on release interface.
Preferably, before generating release interface, the method further comprises: according to the number of tie point in release interface, obtain the corresponding relation of all possible line pattern of different unlocking pin figure places and its correspondence, and store described corresponding relation;
Described according to the number of tie point in the figure place of unlocking pin and release interface, from all possible line pattern, a line pattern of random selection is: according to the figure place of unlocking pin, from stored corresponding relation, determine all possible line pattern of answering in contrast, and therefrom select at random a line pattern.
Preferably, the release interface that described demonstration generates comprises:
At each tie point at release interface, adopt outer ring sleeve inner ring, and the mode that character is placed in inner ring shows described character;
Or, at each tie point at release interface, adopting outer ring sleeve inner ring, outer ring is different from the color of inner ring, and the mode that character is placed in inner ring shows described character;
Or, at each tie point at release interface, show described character with less font size.
Preferably, the release interface that described demonstration generates further comprises:
For the corresponding tie point of the first character of unlocking pin, adopt the color setting in advance to show, and, do not show the first character of described unlocking pin;
Or, the first unlocking pin character is presented to the tie point setting in advance in release interface.
Preferably, judge whether the line pattern that user marks on the shown tie point in release interface mates further and comprise with the unlocking pin of user's setting:
Judge that whether unlocking pin that line pattern that user marks on the shown tie point in release interface arranges with user corresponding line pattern on the release interface generating is identical; Or
Judge that whether the character string that tie point that line pattern that user marks on the shown tie point in release interface comprises is corresponding is identical with the unlocking pin that user arranges.
Preferably, the method further comprises: in the process of user's input, the character in the tie point that user has been streaked is hidden.
The application provides a kind of touch screen terminal, and this touch screen terminal provides touch screen unlocking function, and this touch screen terminal comprises: release interface generation module, display module are conciliate lock module; Wherein:
Release interface generation module, for generating release interface, described release interface comprises the tie point of setting number, the corresponding character of described each tie point and described character comprise the character in the unlocking pin that user arranges;
Release interface generation module sends to generated release interface the display module of touch screen terminal, and described display module for showing described release interface on the screen of touch screen terminal;
Separate lock module, input for detection of user on release interface, in the time of user's end of input, judges the line pattern unlocking pin coupling whether user arranges that user marks on the shown tie point in release interface, in the time of coupling, on screen, show the interface after release.
Preferably, described release interface generation module, is further used for according to the number of tie point in the figure place of unlocking pin and release interface, a line pattern of random selection from all possible line pattern; According to selected line pattern, each character of unlocking pin is inserted to tie point corresponding in release interface successively according to sequencing, and insert at random character at all the other tie points at release interface.
Preferably, described release interface generation module is in the time determining all possible line pattern, according to any two the adjacent tie points on any one line pattern on release interface in same level line or same vertical curve, and in any one line pattern, do not exist the principle of intersection point to carry out.
Preferably, in this touch screen terminal, also comprise: pretreatment module;
Described pretreatment module, for according to the number of release interface tie point, obtains the corresponding relation of all possible line pattern of different unlocking pin figure places and its correspondence, and stores described corresponding relation;
Described release interface generation module is further used for the figure place according to unlocking pin, determines all possible line pattern of answering in contrast the corresponding relation of first storing from pretreatment module, then therefrom selects at random a line pattern.
Preferably, described display module, at each tie point at release interface, adopts outer ring sleeve inner ring, and the mode that character is placed in inner ring shows described character;
Or described display module, at each tie point at release interface, adopts outer ring sleeve inner ring, outer ring is different from the color of inner ring, and the mode that character is placed in inner ring shows described character;
Or described display module, for each tie point at release interface, shows described character with less font size.
Preferably, for the corresponding tie point of the first character of unlocking pin, described display module adopts the color setting in advance to show, and, do not show the first character of described unlocking pin;
Or described display module is for being presented at by the first unlocking pin character the tie point that release interface sets in advance.
Preferably, described solution lock module, is further used for judging that whether unlocking pin that line pattern that user marks on the shown tie point in release interface arranges with user corresponding line pattern on the release interface generating is identical; Or
Be further used for judging that whether the character string that tie point that line pattern that user marks on the shown tie point in release interface comprises is corresponding is identical with the unlocking pin that user arranges.
Preferably, described display module is further used in the process of user's input, and the character in the tie point that user has been streaked is hidden.
As seen from the above technical solution, the unlock method of the touch screen terminal that the application provides and touch screen terminal, because the release interface that generated is each time all the line patterns based on random selection, the position of the line at every turn marking while making user's release and shape all can be different, even if therefore certain is once spied upon release pattern at that time by other people, because this people cannot be known unlocking pin, only use line pattern cannot be on upper release interface once release success, thereby the security that has improved touch screen terminal.
In addition, the application passes through the measures such as the number of restriction connection mode, control linkage point, has reduced the key space of touch screen terminal, has realized the compromise of touch screen terminal unlocking convenience and security, relatively meets the original intention that touch screen terminal unlocking arranges.Touch screen terminal lock just plays basic secret protection object; too high of the security of unlocking pin increases trouble can to user's operation; the purposes of touch screen terminal lock is for preventing that people at one's side from stealing a glance at the content of touch screen terminal substantially; therefore; the application's unlocking pin intensity can meet basic requirement completely, is applicable to very much the demand of popular colony.
Embodiment
For making the application's object, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the application is described in further detail.
Draw for considering with the analysis of practicality of this application of unlocking screen, the security of unlocking screen does not need with common unlocking pin high like that, but must possess certain security, and the feature that will make full use of touch screen terminal makes releasing process simple as best one can.Based on above-mentioned analysis, the application has proposed a kind of security that had both possessed digital solution lock cipher, also take into account the technical scheme of the continuity of touch screen terminal slip release, the release rule of this technical scheme is: in the time detecting that user marks the line pattern corresponding with the unlocking pin setting in advance on the shown tie point in release interface, the unlocking pin of judging user's input is correct, thereby make the release of touch screen terminal safe and efficient, and easy and simple to handle.Another kind of optional release rule is: in the time detecting that character string that tie point that line pattern that user marks on the shown tie point in release interface comprises is corresponding is identical with the unlocking pin setting in advance, judge that the unlocking pin that user inputs is correct.Be that user marks after line pattern at release interface, the tie point that can comprise according to this line pattern corresponding character respectively, determines that the password whether character string that these character combinations obtain arrange with user is identical.Wherein, preferably, the character string that character combination obtains is that the order of streaking according to user combines the character string obtaining successively.
Embodiment below mainly describes as an example of the former example in describing.
Fig. 1 is the schematic flow sheet of the unlock method of the application's touch screen terminal.Referring to Fig. 1, the method comprises:
Step 101: generate release interface.
The release interface that this step generates as shown in Figure 2, comprises the tie point of setting number, and each tie point character of correspondence and these characters comprise the character in the unlocking pin that user arranges.
This step specifically comprises: according to the number of tie point in the figure place of unlocking pin and release interface, and a line pattern of random selection from all possible line pattern; According to selected line pattern, each character of unlocking pin is inserted to tie point corresponding in release interface successively according to sequencing, and insert at random character at all the other tie points at release interface.
Preferably, in the time inserting character at random, if ensure to carry out line according to the sequencing of unlocking pin on release interface, can only mark selected line pattern.
Step 102: show on the screen of touch screen terminal and generate the release interface obtaining.
Step 103: detect the input of user on screen, in the time of user's end of input, whether the line pattern marking according to above-mentioned release rule judgment user is identical with selected line pattern, if identical, enters the interface after release.
In this step, detect the input of user on screen, detect the input of user on release interface.
When the line pattern that marks as user is not identical with selected line pattern, can point out user's unlocking pin mistake, and require user to re-enter, now, can reselect according to the method described above line pattern, and generate corresponding release interface display to user, certainly, also can continue the release interface before using.
Fig. 2 is the release interface schematic diagram of touch screen terminal in the application's one example.The interface of release shown in Fig. 2 has adopted the pattern of 9 traditional tie points, the respectively corresponding numeral of each tie point, and according to the difference of unlocking pin, shown numeral is also by different.In the present embodiment, unlocking pin is only supported numeral input, and numeral can repeat, but the figure place of unlocking pin can not exceed the number of tie point.In actual applications, the application also can support to use letter as unlocking pin, or alphabetical and digital combination in any.
In order to improve security, can improve the display mode of character in release interface, for example:
Can be at each tie point at release interface, adopt outer ring sleeve inner ring, and the mode that character is placed in inner ring shows character;
Or, also can be at each tie point at release interface, adopt outer ring sleeve inner ring, outer ring is different from the color of inner ring, and the mode that character is placed in inner ring shows character; Make eyes be not easy to observe the character in inner ring by a kind of aberration;
Or, can also, at each tie point at release interface, directly show each character with less font size.
Adopt above-mentioned several mode all can reduce the probability of knowing unlocking pin when other people peep screen.
Taking the release interface of 9 tie points shown in Fig. 2 as example, if the mode of line is not limited, by making, the possibility of line pattern is too much, and cause the implementation complexity of scheme to increase, for this reason, the application proposes following connection mode: any two the adjacent tie points on any one line pattern in same level line or same vertical curve, and do not exist intersection point in any one line pattern on release interface.So, make user's input convenient fast.For example: supposing increases oblique line, will make user in the time slidably inputing, face more selection, and speed will be slack-off; Secondly, increase oblique line and can make the kind change of randomized patterns many, also can make the generation of unlocking pin pattern become relative complex.Fig. 3 is the schematic diagram of correct connection mode and wrong connection mode.
In order to raise the efficiency, can be under the unlocking pin figure place of different length, the line pattern likely occurring carries out pre-service.Particularly: can be according to the number of tie point in release interface, obtain the corresponding relation of all possible line pattern of different unlocking pin figure places and its correspondence, and store this corresponding relation; Like this, when in the time generating release interface, need to be according to the number of tie point in the figure place of unlocking pin and release interface, select one at random from all possible line pattern time, just can be according to the figure place of unlocking pin, from stored corresponding relation, determine all possible line pattern of answering in contrast, and therefrom select at random a line pattern.Below still taking the release interface of 9 tie points shown in Fig. 2 as example describes.
For example, in the time that unlocking pin is 1, possible line pattern has 9 (1 unlocking pin does not have direction); In the time that unlocking pin is 2, possible line pattern has 24 (unlocking pin is greater than 1 has just had directivity, and non-directional is 12), etc., until unlocking pin is 9.To unlocking pin figure place and with it corresponding all possible line pattern store, just can generate the mapping table of a unlocking pin figure place and line pattern.In the time generating release interface, according to user's unlocking pin figure place, first in line pattern corresponding to random from then on figure place, choose at random one, the line pattern of release has just been determined like this, then according to the method for step 101 by user's unlocking pin according to sequencing be arranged in order with corresponding each tie point of this line pattern on.For remaining tie point in release interface, can insert at random as previously mentioned character, and need to, in the time inserting character at random, if ensure to carry out line according to the sequencing of unlocking pin on release interface, can only mark selected line pattern.Below with reference to Fig. 4, this is illustrated.
Each point from the off meets in likely putting of line specification to the next one, the next bit numeral that the numeral that only has a point is unlocking pin.For example, in Fig. 4, suppose that unlocking pin is that in 9426, figure, the point of arrow points represents the next tie point that current point is possible.According to Fig. 4:
The first character of unlocking pin is 9, and its next possible tie point is 6 or 4, owing to 4 being correct second unlocking pins, therefore, only allows to occur one 4 in 6 and 4 these two tie points;
The possible tie point of the next one of second unlocking pin 4 is 2 or 8, owing to 2 being the 3rd correct unlocking pins, therefore, only allows to occur one 2 in 2 and 8 these two tie points;
The possible tie point of the next one of the 3rd unlocking pin 2 is 5,6,7, and owing to 6 being the 4th correct unlocking pins, therefore, 5,6,7 these three tie points only allow to occur one 6.
Consider that the first character of unlocking pin need to find from all tie points, may be not easy to find, for this reason, the application proposes two kinds of feasible improvement projects:
The first scheme: in the time showing release interface, adopt the color setting in advance to show (for example: can show by eye-catching color) the first unlocking pin character, now, this tie point is without showing the first character of this unlocking pin again.
First scheme: in the time showing release interface, the first unlocking pin character is presented to the tie point setting in advance in release interface.This tie point can set in advance by terminal, can be a definite tie point, can be also several tie points in a region.
The problem that the first difficulty of unlocking pin is looked for like this can solve.
Above-mentioned two kinds of improvement projects can be by two options are provided in touch screen terminal, and the mode of selecting with user realizes.
For the unlocking pin of protecting better user is not revealed, in the process of user's input, the character in the tie point that user can have been streaked is hidden, thereby the risk that unlocking pin is revealed is down to minimum.
In addition, a kind of simple unlock mode and the above-mentioned unlocking screen method of the application can also be set to be used in conjunction with, simple unlocking manner is applicable to there is no other people and the occasion that need to frequently carry out terminal unlocking operation, such as, prevailing slip release can be set.Fig. 5 shows the concise and to the point realization flow of this mode, and this realization flow comprises:
Step 501: judge whether user has enabled simple unlock mode, if so, method ends flow process, otherwise, continue execution step 502.
Step 502: show release interface according to the application's method on screen, and detect the input of user on screen.
Step 503: whether the hand that judges user has left screen judges whether user's input finishes that is:, if do not finished, returns to step 502, continues to show release interface; Otherwise, enter step 504.
Step 504: judge that whether unlocking pin is correct, that is: judge that whether the line pattern that user marks is identical with selected line pattern, if identical, execution step 505, otherwise, return to step 502.
Step 505, enters the interface after release.
On the basis of technique scheme, for fear of other people trial solution lock cipher mala fide, time input error of unlocking pin N continuous can lock touch screen terminal, and the unlocking pin that need to input user preset carries out release, unlocking pin input now can be that the common higher full keyboard of security is inputted.So, can play comparatively comprehensively protection to touch screen terminal.
Corresponding to said method, the application provides a kind of touch screen terminal as shown in Figure 6.This touch screen terminal provides touch screen unlocking function, and this touch screen terminal comprises: release interface generation module 610, display module 620 are conciliate lock module 630; Wherein:
Release interface generation module 610, for generating release interface, described release interface comprises the tie point of setting number, the corresponding character of described each tie point and described character comprise the character in the unlocking pin that user arranges;
Release interface generation module 610 sends to generated release interface the display module 620 of touch screen terminal, and display module 620 users show described release interface on the screen of touch screen terminal;
Separate lock module 630, input for detection of user on release interface, in the time of user's end of input, judges whether the line pattern that user marks on the shown tie point in release interface mates with the unlocking pin of user's setting, in the time of coupling, on display module 620, show the interface after release.
Preferably, release interface generation module 610, is further used for according to the number of tie point in the figure place of unlocking pin and release interface, a line pattern of random selection from all possible line pattern; According to selected line pattern, each character of unlocking pin is inserted to tie point corresponding in release interface successively according to sequencing, and insert at random character at all the other tie points at release interface.
Preferably, release interface generation module 610 is in the time determining all possible line pattern, according to any two the adjacent tie points on any one line pattern on release interface in same level line or same vertical curve, and in any one line pattern, do not exist the principle of intersection point to carry out.
In the terminal of touch screen shown in Fig. 6, can also comprise: pretreatment module 640, for according to the number of release interface tie point, obtains the corresponding relation of all possible line pattern of different unlocking pin figure places and its correspondence, and store this corresponding relation;
Now, the figure place that release interface generation module 610 is further used for according to unlocking pin, determines all possible line pattern of answering in contrast the corresponding relation of first storing from pretreatment module 640, then therefrom select at random a line pattern.
Display module 620, can be according to following preferred mode in the time showing unlocking pin character:
At each tie point at release interface, can adopt outer ring sleeve inner ring, and the mode that character is placed in inner ring shows character;
Or, at each tie point at release interface, adopting outer ring sleeve inner ring, outer ring is different from the color of inner ring, and the mode that character is placed in inner ring shows character;
Or, at each tie point at release interface, show character with less font size.
Preferably, for the corresponding tie point of the first character of unlocking pin, display module 620 can adopt the color setting in advance to show, and, can not show the first character of this unlocking pin;
Or display module 620 also can be presented at the tie point setting in advance in release interface by the first unlocking pin character.
Preferably, separate lock module 630, can be further used for judging that whether unlocking pin that line pattern that user marks on the shown tie point in release interface arranges with user corresponding line pattern on the release interface of generation is identical; Or
Can be further used for judging that whether the character string that tie point that line pattern that user marks on the shown tie point in release interface comprises is corresponding is identical with the unlocking pin that user arranges.
Display module 620 can be further used in the process of user's input, and the character in the tie point that user has been streaked is hidden.
Below by a specific embodiment, present techniques scheme is further elaborated.
In this embodiment, the figure place of supposing unlocking pin is 6, and unlocking pin is the schematic diagram that 201206, Fig. 7 left side and right side illustrate respectively two kinds of possible release line patterns (also can be described as release path), in the present embodiment, used the first unlocking pin prompt facility.Taking the release line pattern 1 in left side as example, actual release step and effect are as shown in Figure 8.
From the application's technique scheme, because the release interface that generated is each time all the line patterns based on random selection, the position of the line at every turn marking while making user's release and shape all can be different, even if therefore certain is once spied upon release pattern at that time by other people, because this people cannot be known unlocking pin, only use line pattern cannot be on upper release interface once release success, thereby the security that has improved touch screen terminal.
The application passes through the measures such as the number of restriction connection mode, control linkage point, has reduced the key space of touch screen terminal, has realized the compromise of touch screen terminal unlocking convenience and security, relatively meets the original intention that touch screen terminal unlocking arranges.Touch screen terminal lock just plays basic secret protection object; too high of the security of unlocking pin increases trouble can to user's operation; the purposes of touch screen terminal lock is for preventing that people at one's side from stealing a glance at the content of touch screen terminal substantially; therefore; the application's unlocking pin intensity can meet basic requirement completely, is applicable to very much the demand of popular colony.
In the time of concrete enforcement present techniques scheme, also should be noted that following problem:
Owing to having adopted unlocking pin must sequentially be arranged in a principle on continuous broken line, although support at most 9 bit digital unlocking pins in Fig. 2 example shown, but in the time that unlocking pin figure place approaches 9, the security performance of unlocking pin can reduce on the contrary, therefore, suggestion unlocking pin arranges moderately.
In addition, although the application supports the repetition of character in unlocking pin, but should avoid unlocking pin character just the same as far as possible, if do not open so the first prompt facility of unlocking pin, the first unlocking pin will become very difficult looking for, and there will be the 2 groups of unlocking pins that can unblank (a undirected broken line is opened first unlocking pin prompting and can be avoided this problem), the application only supports to have the unlocking pin of uniqueness.
The foregoing is only the application's preferred embodiment, not in order to limit the application, all within the application's spirit and principle, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of the application's protection.