Content of the invention
The technical scheme that the present invention provides is as follows:
A kind of unlocking method of mobile terminal that the present invention provides, comprises the following steps:S20, acquisition are on a terminal screen
The unblock writing being inputted in release region;S40, the feature of analysis described unblock writing, identify described unblock writing with pre-
If the similarity of unblock writing;Whether S50, the similarity of checking described unblock writing reach pre-set threshold value;When described unblock word
When the similarity of mark reaches pre-set threshold value, then jump to step S60;Otherwise, jump to step S61;S60, described terminal screen
Unlock successfully;S61, described terminal screen unlock unsuccessfully.
Further, described step S40 further includes:S41, the order of starting to write of analysis described unblock writing, identify institute
State start to write order and first similarity of the order of starting to write of described default unblock writing of unblock writing;S42, the described unblock of analysis
The character feature of writing, identifies the character feature and the second of the character feature of described default unblock writing of described unblock writing
Similarity;S43, according to described first similarity, the second similarity, and described first similarity, the second similarity each account for
Preset percentage, calculate comprehensive similarity as described unblock writing similarity.
Further, also include before described step S20:S10, the operational order of parsing user, obtain described terminal screen
Current operation mode under screen lock state;S11, identify described current operation mode be latching mode or note pattern;
When described current operation mode is latching mode, then jump to step S20;When described current operation mode is note pattern
When, then jump to step S12;S12, the writing preserving in note on described terminal screen.
Further, also include before described step S40:S30, judge that described unblock writing unlocks writing and is whether with default
Same Chinese character;When described unblock writing is same Chinese character with default unblock writing, then jump to step S40;Otherwise, jump to
Step S61.
Further, the unlocking method of this mobile terminal, further comprising the steps of:S21, basis solve on described terminal screen
The unblock writing of input in lock region, and default hiding stroke, show described unblock writing on described terminal screen.
Further, also include before described step S20:Latching mode and/or note on S01, the described terminal screen of setting
The backstyle of pattern.
Further, also include before described step S20:The pen that S02, setting user are used in input unblock writing
Type, and described unblock writing or default unblock display color on described terminal screen for the writing.
The present invention also provides a kind of mobile terminal of the unlocking method comprising mobile terminal, including:Acquisition module, is used for obtaining
Take the interior unblock writing being inputted of release region on a terminal screen;Analysis identification module, described analysis identification module with described
Acquisition module electrically connects, and for analyzing the feature of described unblock writing, identifies described unblock writing and default unblock writing
Similarity;Authentication module, described authentication module is electrically connected with described analysis identification module, for verifying the phase of described unblock writing
Whether reach pre-set threshold value like degree;Intelligent unlocking module, described intelligent unlocking module is electrically connected with described authentication module, for working as
When the similarity of described unblock writing reaches pre-set threshold value, then described terminal screen unlocks successfully;Otherwise, described terminal screen solution
Lock unsuccessfully.
Further, also include:Described analysis identification module, is additionally operable to analyze the order of starting to write of described unblock writing, identification
Go out start to write order and first similarity of the order of starting to write of described default unblock writing of described unblock writing;Described analysis identification
Module, is additionally operable to analyze the character feature of described unblock writing, identifies that the character feature of described unblock writing is default with described
Second similarity of the character feature of unblock writing;Computing module, described computing module is electrically connected with described analysis identification module,
For according to described first similarity, the second similarity, and described first similarity, the second similarity each account for default hundred
Divide ratio, calculate comprehensive similarity as the similarity of described unblock writing.
Further, also include:Described acquisition module, is additionally operable to parse the operational order of user, obtains described terminal screen
Current operation mode under screen lock state;Described analysis identification module, is additionally operable to identify that described current operation mode is solution
Latching mode or note pattern;Memory module, for when described current operation mode is note pattern, then preserving in note
Writing on described terminal screen.
Compared with prior art, the present invention provides a kind of unlocking method of mobile terminal and mobile terminal, have following
Beneficial effect:
According to realizing terminal unlocking by the person's handwriting of identifying user in the present invention, people can form certainly in writing process
Oneself unique, writing style of various criterion, is slightly different because the word that everyone writes every time looks, but writing style is still not
Can change, be unlocked by the similarity comparing person's handwriting, the safety of unblock can be made because person's handwriting is difficult to imitate big
Big increase is moreover it is possible to meet the difference occurring in everyone each writing process.Additionally, the present invention also have low cost, safe,
Many advantages, such as intention is strong, practicality is high.
Pass through analysis unblock writing and start to write order, the character feature of default unblock writing in the present invention, calculate corresponding
The first similarity, the second similarity;Further according to the preset percentage each accounting for, COMPREHENSIVE CALCULATING goes out similarity.Thus, from multi-party
Unblock writing and the similarity of default unblock writing are investigated in face, to avoid leading to recognition result inaccurate because of single factors.
When terminal is in screen lock state in the present invention, in addition to unlocked state, it is additionally provided with note pattern, it is possible to achieve
In the state of phone lock, handwriting or drawing figure, and it is saved in note, facilitate user record important affair.According to user
Operational order, changeable both of which.
Acceptable self-defined setting in the present invention, user can be according to the custom of oneself and expectation, self-defined latching mode
Pre-set threshold value, board pattern, font color, the type of pen etc., increased variation and the interest of unblock scheme.
Specific embodiment
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, brief description will be compareed below
The specific embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
For making simplified form, each in figure only schematically show part related to the present invention, and they do not represent
It is as the practical structures of product.In addition, so that simplified form readily appreciates, there is identical structure or function in some in figures
Part, only symbolically depicts one of, or has only marked one of.Herein, " one " not only represents
" only this " is it is also possible to represent the situation of " more than one ".
As shown in figure 1, according to one embodiment of present invention, a kind of unlocking method of mobile terminal, comprises the following steps:
S20, the acquisition interior unblock writing being inputted of release region on a terminal screen;
Preferably, also include S30, judge whether described unblock writing is same Chinese character with default unblock writing;When described
When unblock writing is same Chinese character with default unblock writing, then jump to step S40;Otherwise, jump to step S61.
S40, the feature of analysis described unblock writing, identify the similarity of described unblock writing and default unblock writing;
Whether S50, the similarity of checking described unblock writing reach pre-set threshold value, such as pre-set threshold value is set to 70%,
80%;
When the similarity of described unblock writing reaches pre-set threshold value, then jump to step S60;Otherwise, jump to step
S61;S60, described terminal screen unlock successfully;S61, described terminal screen unlock unsuccessfully.
Specifically, when terminal screen is chronically at and goes out screen state, after lighting terminal screen, terminal screen is in screen locking shape
State;User's release region input unblock writing on a terminal screen, by identifying to the acquisition of unblock writing, analysis, obtains
The similarity of unblock writing and default unblock writing, unblock writing can be individual Chinese character, can also be multiple Chinese characters, acceptable
It is other countries' font;Verify whether the similarity obtaining reaches pre-set threshold value, after reaching pre-set threshold value, terminal screen solution
Lock;Otherwise terminal screen unlocks unsuccessfully;Thus avoiding the error producing because of same user when writing font every time, and lead to no
The situation of method unblock occurs.
As shown in Figure 1 and Figure 2, according to another embodiment of the invention, a kind of unlocking method of mobile terminal, including with
Lower step:S20, the acquisition interior unblock writing being inputted of release region on a terminal screen;
Preferably, also include S30, judge whether described unblock writing is same Chinese character with default unblock writing;When described
When unblock writing is same Chinese character with default unblock writing, then jump to step S40;Otherwise, jump to step S61.
S40, the feature of analysis described unblock writing, identify the similarity of described unblock writing and default unblock writing;
Described step S40 further includes:S41, the order of starting to write of analysis described unblock writing, identify described unblock word
Start to write order and first similarity of the order of starting to write of described default unblock writing of mark;
S42, the character feature of analysis described unblock writing, identify that the character feature of described unblock writing is default with described
Second similarity of the character feature of unblock writing;
S43, according to described first similarity, the second similarity, and described first similarity, the second similarity each account for
Preset percentage, the such as first similarity accounts for 50%, and the second similarity accounts for 50%;Or, the first similarity accounts for 30%, second
Similarity accounts for 40%;Calculate comprehensive similarity as the similarity of described unblock writing.
Whether S50, the similarity of checking described unblock writing reach pre-set threshold value, such as pre-set threshold value is set to 70%,
80%;
When the similarity of described unblock writing reaches pre-set threshold value, then jump to step S60;Otherwise, jump to step
S61;S60, described terminal screen unlock successfully;S61, described terminal screen unlock unsuccessfully.
Specifically, analysis unlocks start to write order, the character feature of writing respectively, identifies and presets starting to write of unblock writing
Sequentially, the first similarity of character feature, the second similarity;Accounted for comprehensive similar respectively according to the first similarity, the second similarity
The preset percentage of degree, this preset percentage can be configured according to the demand of user, calculates comprehensive similarity as solution
The similarity of lock writing.In addition, character feature includes the Song typeface, regular script, running hand, and even feature etc..Consider many-sided
Factor, to judge to unlock the similarity of writing and default unblock writing, to be conducive to the accuracy of evaluation result.
As shown in figure 3, according to still another embodiment of the invention, a kind of unlocking method of mobile terminal, walks including following
Suddenly:S10, the operational order of parsing user, obtain current operation mode under screen lock state for the described terminal screen;
S11, identify described current operation mode be latching mode or note pattern;When described current operation mode is
During latching mode, then jump to step S20;When described current operation mode is note pattern, then jump to step S12;
S12, the writing preserving in note on described terminal screen.
S20, the acquisition interior unblock writing being inputted of release region on a terminal screen;
Preferably, also include S30, judge whether described unblock writing is same Chinese character with default unblock writing;When described
When unblock writing is same Chinese character with default unblock writing, then jump to step S40;Otherwise, jump to step S61.
S40, the feature of analysis described unblock writing, identify the similarity of described unblock writing and default unblock writing;
Preferably, described step S40 further includes:S41, the order of starting to write of analysis described unblock writing, identify institute
State start to write order and first similarity of the order of starting to write of described default unblock writing of unblock writing;
S42, the character feature of analysis described unblock writing, identify that the character feature of described unblock writing is default with described
Second similarity of the character feature of unblock writing;
S43, according to described first similarity, the second similarity, and described first similarity, the second similarity each account for
Preset percentage, the such as first similarity accounts for 50%, and the second similarity accounts for 50%;Or, the first similarity accounts for 30%, second
Similarity accounts for 40%;Calculate comprehensive similarity as the similarity of described unblock writing.
Whether S50, the similarity of checking described unblock writing reach pre-set threshold value, such as pre-set threshold value is set to 70%,
80%;
When the similarity of described unblock writing reaches pre-set threshold value, then jump to step S60;Otherwise, jump to step
S61;S60, described terminal screen unlock successfully;S61, described terminal screen unlock unsuccessfully.
Specifically, terminal screen is under screen lock state, and its release region, except providing human-computer interaction interface for unblock, supplies
User input unlocks writing;This release region is also used as note input area, for user under screen locking pattern, fast recording thing
Part information.
As shown in Figure 4, Figure 5, according to still a further embodiment, a kind of unlocking method of mobile terminal, including with
Lower step:The backstyle of latching mode and/or note pattern on S01, the described terminal screen of setting.
The pen type that S02, setting user are used in input unblock writing, and described unblock writing or default unblock word
Display color on described terminal screen for the mark.
S10, the operational order of parsing user, obtain current operation mode under screen lock state for the described terminal screen;
S11, identify described current operation mode be latching mode or note pattern;
When described current operation mode is latching mode, then jump to step S20;When described current operation mode is just
During label pattern, then jump to step S12;
S12, the writing preserving in note on described terminal screen.
S20, the acquisition interior unblock writing being inputted of release region on a terminal screen;
S21, the unblock writing according to input in release region on described terminal screen, and default hiding stroke,
Described unblock writing is shown on described terminal screen.
Preferably, also include S30, judge whether described unblock writing is same Chinese character with default unblock writing;When described
When unblock writing is same Chinese character with default unblock writing, then jump to step S40;Otherwise, jump to step S61.
S40, the feature of analysis described unblock writing, identify the similarity of described unblock writing and default unblock writing;
Preferably, described step S40 further includes:S41, the order of starting to write of analysis described unblock writing, identify institute
State start to write order and first similarity of the order of starting to write of described default unblock writing of unblock writing;
S42, the character feature of analysis described unblock writing, identify that the character feature of described unblock writing is default with described
Second similarity of the character feature of unblock writing;
S43, according to described first similarity, the second similarity, and described first similarity, the second similarity each account for
Preset percentage, the such as first similarity accounts for 50%, and the second similarity accounts for 50%;Or, the first similarity accounts for 30%, second
Similarity accounts for 40%;Calculate comprehensive similarity as the similarity of described unblock writing.
Whether S50, the similarity of checking described unblock writing reach pre-set threshold value, such as pre-set threshold value is set to 70%,
80%;
When the similarity of described unblock writing reaches pre-set threshold value, then jump to step S60;Otherwise, jump to step
S61;S60, described terminal screen unlock successfully;S61, described terminal screen unlock unsuccessfully.
Specifically, user can according to the hobby of oneself, on a terminal screen setting release region in latching mode and/or
The backstyle of note pattern, for example:The backstyle that release region is in latching mode is style of missing old times or old friends, and release region is in
The backstyle of note pattern is pastoralism;The interest of unblock can be increased.User can also according to the hobby of oneself,
Setting pen type, the display color of writing on terminal screen, pen type includes fine rule stripe shape, thick line stripe shape etc.;Unblock can be increased
Interesting.User can also arrange writing in display, the stroke hidden;The unlocking pin of user can be protected.
According to one embodiment of present invention, a kind of mobile terminal, including:Acquisition module 20, for when described current work
When operation mode is latching mode, then obtain the interior unblock writing being inputted of release region on a terminal screen;Analysis identification module
30, for when described unblock writing is same Chinese character with default unblock writing, then analyzing the feature of described unblock writing, identification
Go out the similarity of described unblock writing and default unblock writing;Authentication module 50, for verifying the similarity of described unblock writing
Whether reach pre-set threshold value, such as pre-set threshold value is set to 70%, 80%;Intelligent unlocking module 60, for when described unblock word
When the similarity of mark reaches pre-set threshold value, then described terminal screen unlocks successfully;Otherwise, described terminal screen unlocks unsuccessfully.
As shown in Figure 6, Figure 7, according to still a further embodiment, a kind of mobile terminal, including:Setup module 10,
For arranging the backstyle of latching mode and/or note pattern on described terminal screen.
Setup module 10, is additionally operable to arrange the pen type that user is used in input unblock writing, and described unblock word
Mark or default unblock display color on described terminal screen for the writing.
Acquisition module 20, for parsing the operational order of user, obtains described terminal screen current under screen lock state
Mode of operation;
Analysis identification module 30, is used for identifying that described current operation mode is latching mode or note pattern;
Memory module 40, for when described current operation mode is note pattern, then preserving described terminal in note
Writing on screen.
Acquisition module 20, for when described current operation mode is latching mode, then obtaining and unlocking on a terminal screen
The unblock writing being inputted in region;
Display module 21, for the unblock writing according to input in release region on described terminal screen and default
Hiding stroke, shows described unblock writing on described terminal screen.
Preferably, also include judge module 22, for judging whether described unblock writing is same with default unblock writing
Chinese character;
Analysis identification module 30, for when described unblock writing is same Chinese character with default unblock writing, then analyzing institute
State the feature of unblock writing, identify the similarity of described unblock writing and default unblock writing;
Preferably, described analysis identification module 30 further includes:For analyzing the order of starting to write of described unblock writing, know
Do not go out start to write order and first similarity of the order of starting to write of described default unblock writing of described unblock writing;
For analyzing the character feature of described unblock writing, identify that the character feature of described unblock writing is default with described
Second similarity of the character feature of unblock writing;
Computing module 31, for according to described first similarity, the second similarity, and described first similarity, second
The preset percentage that similarity each accounts for, the such as first similarity accounts for 50%, and the second similarity accounts for 50%;Or, first is similar
Degree accounts for 30%, and the second similarity accounts for 40%;Calculate comprehensive similarity as the similarity of described unblock writing.
Authentication module 50, whether the similarity for verifying described unblock writing reaches pre-set threshold value, such as pre-set threshold value
It is set to 70%, 80%;
Intelligent unlocking module 60, for when described unblock writing similarity reach pre-set threshold value when, then described end panel
Curtain unlocks successfully;Otherwise, described terminal screen unlocks unsuccessfully.
As shown in Fig. 8, Fig. 9, Figure 10, according to one embodiment of present invention, a kind of mobile terminal, including:Storage module
500, for storing the handwriting characteristic of user preset hand-written script.User's hand-written Chinese character on board 300, identifies this
Chinese character, and obtain user's determination;And, record the order of starting to write of handwriting, connect feature etc.;And the default handwritten form of storage
Chinese character is template.
Handwriting characteristic in comparison module 200, the current hand-written script obtaining on board 300 and storage module 500
Compare, it is determined whether for same Chinese character;If identical, continue to compare;If it is different, then unlocking unsuccessfully;According to default handwritten word
Order of starting to write in body person's handwriting, even a feature and template, current hand-written script are mated with default hand-written script, also may be used
To include shape and the comparative information such as profile;Comprehensively obtain a similarity according to respective algorithms.
Unlocked state 100, by comparison module 200 similarity calculating and the default valve arranging in setup module 10
Value item contrast;If similarity is less than pre-set threshold value, unlock unsuccessfully;If similarity is more than or equal to pre-set threshold value, unlock successfully.
Setup module 10, coupling of identifying the handwriting system for unlocking carries out self-defined setting, hides, writes including pre-set threshold value, person's handwriting
Letter stencil 300 pattern, font color, type of pen etc. are arranged.
Board 300, the background of user's writing Chinese characters on the touchscreen, can in setup module 10 self-defined pattern.?
In note pattern, the Chinese character on board 300 or drawing directly can be stored.
Note module 400, is defaulted as latching mode after lighting the screen being under screen lock state, with finger on screen to
Horizontally slip, enter note pattern, directly can write the word needing record or drawing in board 300, be stored in just
Sign in module 400, facilitate user record important affair.
Specifically, the present invention is by carrying out unlocking terminal equipment to the identification of user handwriting.Because person's handwriting is difficult to imitate, make
Unlocking function has higher safety.And it is possible to the pre-set threshold value of setting latching mode, do not need current institute writing of Chinese characters
Person's handwriting is absolutely mated with template Chinese character handwriting, and this also to some extent solves same user unblock when operating correct
Unsuccessful situation.The present invention can carry out self-defined setting with the type to board 300 pattern, font color, pen, makes screen locking
More diversified and interesting.The design can arrange person's handwriting when writing and hide, and also will not when other people see user's unblock
Sudden and violent missing release information, improves screen locking safety.The present invention is provided with latching mode and note pattern, can swipe by about finger
Curtain switching both of which, note pattern facilitates user to record important affair under screen lock state.
It should be noted that above-described embodiment all can independent assortment as needed.The above is only the preferred of the present invention
Embodiment it is noted that for those skilled in the art, in the premise without departing from the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.