Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of mobile terminal touch screen unlock method and system, be intended to solve the changeless unlocking operation of current release scheme and reduce user's release release interest, the problem that causes touch area sensor accuracy to reduce.
Technical scheme of the present invention is as follows:
A kind of mobile terminal touch screen unlock method, wherein, said method comprising the steps of:
A, mobile terminal receive user's operational order and light mobile phone screen demonstration release interface, and the image that comprises release pattern that random call prestores is presented on this release interface;
B, reception user draw operational order at the pattern at release interface, obtain pattern that user draws and it are carried out to similarity with the release pattern showing and compare, and draw plesiomorphism degree value;
Plesiomorphism degree value and predetermined threshold value that C, utilization draw compare, if the plesiomorphism degree value drawing is more than or equal to threshold value, touch-screen carries out release.
Described mobile terminal touch screen unlock method, wherein, also comprises before described steps A:
In mobile terminal, storage is used for the image that comprises release pattern of touch screen unlocking in advance, and sets in advance the threshold value of judging for release.
Described mobile terminal touch screen unlock method, wherein, described in comprise release pattern image in the pattern contour line of release pattern highlight so that there is apparent contour border between release pattern and image background.
Described mobile terminal touch screen unlock method, wherein, described step B is specially:
B1, periodic scan release interface, to obtain user's operational order, when receiving user within first schedule time in the time that the pattern at release interface is drawn operational order, obtain user's the track of drawing;
B2, utilize track that user draws to form to draw the pattern contour of pattern, the pattern contour of drawing the pattern contour of pattern and the release pattern of demonstration is carried out to similarity and compare, draw plesiomorphism degree value.
Described mobile terminal touch screen unlock method, wherein, when not receiving user within first schedule time in the time that the pattern at release interface is drawn operational order, exits release interface and closes touch-screen.
Described mobile terminal touch screen unlock method, wherein, in the time that drawn plesiomorphism degree value is less than threshold value, touch-screen shows release failure information and within second schedule time, waits for that again receiving user draws operational order at the pattern at release interface.
Described mobile terminal touch screen unlock method, wherein, described threshold value is set according to the shown complexity of release pattern and user's operating habit.
Described mobile terminal touch screen unlock method, wherein, in described mobile terminal, be provided with the threshold value of different numerical values recited, there is corresponding relation in the release pattern image of the threshold value of this difference numerical values recited and differing complexity, wherein, the more complicated corresponding threshold value of release pattern image of pattern contour is less.
Described mobile terminal touch screen unlock method, wherein, multiple plesiomorphism degree values that mobile terminal records draws the repeatedly touch screen unlocking process of same release pattern, utilize multiple plesiomorphism degree value values of averaging calculating of recording, and utilize this mean value to reset threshold value that should release pattern image.
A kind of mobile terminal touch screen system for unlocking, wherein, described system comprises the following steps:
Figure library module, comprises the image of release pattern for prestoring;
Display module, receive user's operational order for mobile terminal and light mobile phone screen demonstration release interface, and the image that comprises release pattern prestoring in random call figure library module is presented on this release interface, and draw operational order to obtain pattern that user is drawn for receiving user at the pattern at release interface;
Checking module, carries out similarity for the release pattern of pattern that user draws that display module is obtained and demonstration and compares, and draws plesiomorphism degree value;
Judge module, for utilizing plesiomorphism degree value and the predetermined threshold value that checking module draws to compare, carries out release according to comparative result to touch-screen.
Beneficial effect: the invention provides a kind of mobile terminal touch screen unlock method and system, unlock method of the present invention adopts user to realize the mode of random display pattern plotter, thereby make the each releasing process of mobile terminal all different, feeling of freshness and the interest of releasing process under the simple prerequisite of unlocking operation, are increased, the problem of simultaneously having avoided existing release fixedly to cause sensor accuracy to reduce due to release region.Extend the serviceable life of touch-screen, improved user's Product Experience degree.
Embodiment
The invention provides a kind of mobile terminal touch screen unlock method and system, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
A kind of mobile terminal touch screen unlock method as shown in Figure 1, wherein, said method comprising the steps of:
S100, mobile terminal receive user's operational order and light mobile phone screen demonstration release interface, and the image that comprises release pattern that random call prestores is presented on this release interface.
Before execution release, need in mobile terminal, store the image that comprises release pattern for touch screen unlocking, wherein, described in comprise release pattern image in the pattern contour line of release pattern highlight so that there is apparent contour border between release pattern and image background.The simple and easy pattern that release pattern is preferably made up of lines, for example desk lamp string diagram as shown in Figure 2, line image border svelteness, facilitates follow-up the drawing of user.
In mobile terminal, go out in advance the release pattern image of multiple similar Fig. 1 of storage, and, in releasing process, choose at random, thereby realize the release pattern difference (repetition rate is low in other words) that each releasing process shows, promote user's feeling of freshness, avoid same touch area repeatedly to carry out unlocking operation.In addition, the present invention can upgrade the release pattern image of storing in mobile terminal, and user can customize release pattern image, also can specify cloud server to download corresponding release pattern image to upgrade bag release pattern image is upgraded by being connected to.
S200, reception user draw operational order at the pattern at release interface, obtain pattern that user draws and it are carried out to similarity with the release pattern showing and compare, and draw plesiomorphism degree value.
Further, above-mentioned steps specifically as shown in Figure 3, the steps include:
S210, periodic scan release interface, to obtain user's operational order, when receiving user within first schedule time in the time that the pattern at release interface is drawn operational order, obtain user's the track of drawing.And when not receiving user within first schedule time in the time that the pattern at release interface is drawn operational order, exit release interface and close touch-screen.Concrete pattern is drawn step as shown in Figure 4, and Fig. 4 draws the release pattern of the desk lamp string diagram shown in Fig. 2, and as shown in the figure, user describes along the lines of release pattern on touch-screen.
Release pattern image is presented at behind release interface, and touch-screen detects touch screen operation within first schedule time, when receiving user within first schedule time in the time that the pattern at release interface is drawn operational order, obtains user's the track of drawing.This first schedule time can by User Defined, for example, be set to 10s, and after release pattern west shows, release interface keeps 10 waiting statuss, in the time touch screen event not detected at 10s, illustrates that user does not need release, closes touch-screen.
User draws determining that track completes and can judge by user's touch action stand-by time, in this technological means, arrange and judge an effective time, for example, when detecting that user's pattern draws operation while stopping, start timing, what user within effective time, do not detected draws operation again, thinks that user has drawn complete, obtains user's the track of drawing, if what user again detected within effective time draws operation again, continue the track of drawing of recording user.Certainly, also can take other modes to realize the confirmation of user being drawn to track, for example, draw pattern interface user and show " whether completing " cue button, and the performance level of confirming to draw track by receiving user's click commands.
S220, utilize track that user draws to form to draw the pattern contour of pattern, the pattern contour of drawing the pattern contour of pattern and the release pattern of demonstration is carried out to similarity and compare, draw plesiomorphism degree value.
About the algorithm of the at present existing multiple maturation of pattern contour similarity comparison is realized, the present invention adopts general algorithm at present to realize this comparison procedure, this process is not repeated, plesiomorphism degree value is the value of a number percent form, and the similarity degree between pattern and release pattern is described in its expression.The present invention carries out release based on this similarity degree of describing pattern and release pattern.
Plesiomorphism degree value and predetermined threshold value that S300, utilization draw compare, and whether the plesiomorphism degree value drawing is more than or equal to threshold value, if, illustrate and meet unlocking condition, perform step S400, if not, illustrate and do not reach unlocking condition, perform step S500.
Described threshold value for presetting before release step is carried out, and preferably, described threshold value is set according to the shown complexity of release pattern and user's operating habit.Particularly, in described mobile terminal, be provided with the threshold value of different numerical values recited, there is corresponding relation in the release pattern image of the threshold value of this difference numerical values recited and differing complexity, wherein, the more complicated corresponding threshold value of release pattern image of pattern contour is less.In prioritization scheme, in mobile terminal, divide different files to store the release pattern image of the different threshold size of correspondence, the release pattern image in identical file has identical threshold size.So just avoid because release pattern is compared with the complicated and repeatedly phenomenon of release failure of the too high user who causes of threshold value setting.
For the setting of threshold value, also comprise further, multiple plesiomorphism degree values that mobile terminal records draws the repeatedly touch screen unlocking process of same release pattern, utilize multiple plesiomorphism degree value values of averaging calculating of recording, and utilize this mean value to reset threshold value that should release pattern image.Above-mentioned technological means has just reached the object that releasing process is set according to user operation habits, due to the operating habit difference of different user releasing process, the user habit for example having is drawn roughly pattern operation, some users habituation accurately draw pattern, draw roughly so the user of operation for custom, if threshold value is unalterable and for its numerical value, the too high operating habit that will cause such user need to repeatedly carry out unlocking operation or change oneself is set, this just may cause puzzlement to user, therefore, the plesiomorphism degree value obtaining in the each unlocking operation process of unlock method meeting recording user of the present invention, and utilize the historical Appearance similarity value recording to reset threshold value, specifically can get average to historical Appearance similarity value, utilize average setting threshold.The mean value that user next time, unlocking operation was drawn the plesiomorphism degree of unlocking operation before its that the plesiomorphism degree of pattern only need to reach like this can meet unlocking condition.Thereby realize the effect that meets user habit for different user adjustment unlocking condition by mobile terminal self study.Certainly, mobile terminal can utilize the historical Appearance similarity value of corresponding every release pattern image to reset the threshold value corresponding for this release pattern image, and specific aim is stronger like this, and effect is better.
S400, touch-screen carry out release.And perform step S600.
S500, within second schedule time, whether receive user's operational order, if so, return to step S200, if not, perform step S600.
In the time that drawn plesiomorphism degree value is less than threshold value, touch-screen shows release failure information and within second schedule time, waits for that again receiving user draws operational order at the pattern at release interface.If receive user's operational order again within second schedule time, illustrate that user has carried out again drawing pattern operation, return to step S200, again release, here also can return to step S100, be mobile terminal random call release pattern image again, what user drew again will be another width release pattern image.Second schedule time here can be set as the identical time period with described first schedule time.
S600, end.
A kind of mobile terminal touch screen system for unlocking as shown in Figure 5, wherein, described system comprises the following steps:
Figure library module 100, comprises the image of release pattern, specifically as described in step S100 for prestoring.
Display module 200, receive user's operational order for mobile terminal and light mobile phone screen demonstration release interface, and the image that comprises release pattern prestoring in random call figure library module is presented on this release interface, and draw operational order to obtain pattern that user is drawn for receiving user at the pattern at release interface, specifically as described in step S200.
Checking module 300, carries out similarity for the release pattern of pattern that user draws that display module is obtained and demonstration and compares, and draws plesiomorphism degree value, specifically as described in step S200.In preferred embodiment, as shown in Figure 6, described checking module 300 specifically comprises the first storage unit 310 for storing release pattern image, draws the second storage unit 320 of pattern and for the former figure to the first storage unit and the second storage unit with draw the comparing unit 330 that pattern compares for storing.
Judge module 400, for utilizing plesiomorphism degree value and the predetermined threshold value that checking module draws to compare, carries out release according to comparative result to touch-screen, specifically as described in step S300.
Be illustrated in figure 7 utilize that the present invention's system described above realizes the specific embodiment of touch screen unlocking method, its step is as follows:
S1, user light screen and trigger unlocking program.
S2, unlocking program are chosen at random release pattern from picture library.Calling graph library module is chosen the wherein release pattern image of storage at random.Perform step afterwards S3, perform step S5 simultaneously.
S3, release pattern are displayed on release interface.
S4, reception user draw figure.Display module obtains the figure that user draws, be stored in the second storage unit of checking module after execution step S6
S5, release pattern are stored in the first storage unit.Be stored in the first storage unit of checking module for carrying out similarity comparison procedure.And after executing, S4 performs step S6.
S6, comparison module are relatively drawn figure and stored pattern and are exported comparative result plesiomorphism degree.The comparing unit of comparison module compares the generating writing pattern in release pattern and the second storage unit in the first storage unit, calculates plesiomorphism degree value and performs step S7
Whether S7, plesiomorphism degree are more than or equal to threshold value, if so, perform step S8,
S8, release success.Touch-screen is carried out to release.
S9, release failure.Show the user that is prompted to of release failure.
The invention provides a kind of mobile terminal touch screen unlock method and system, unlock method of the present invention adopts user to realize the mode of random display pattern plotter, thereby make the each releasing process of mobile terminal all different, feeling of freshness and the interest of releasing process under the simple prerequisite of unlocking operation, are increased, the problem of simultaneously having avoided existing release fixedly to cause sensor accuracy to reduce due to release region.Extend the serviceable life of touch-screen, improved user's Product Experience degree.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.