CN105022576A - Screen unlocking method and apparatus - Google Patents

Screen unlocking method and apparatus Download PDF

Info

Publication number
CN105022576A
CN105022576A CN201410174103.XA CN201410174103A CN105022576A CN 105022576 A CN105022576 A CN 105022576A CN 201410174103 A CN201410174103 A CN 201410174103A CN 105022576 A CN105022576 A CN 105022576A
Authority
CN
China
Prior art keywords
pixel
screen
eigenmatrix
matrix
graphic feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410174103.XA
Other languages
Chinese (zh)
Other versions
CN105022576B (en
Inventor
李特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201410174103.XA priority Critical patent/CN105022576B/en
Publication of CN105022576A publication Critical patent/CN105022576A/en
Application granted granted Critical
Publication of CN105022576B publication Critical patent/CN105022576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a screen unlocking method and apparatus, and relates to the field of touch screens. The screen unlocking method comprises the steps of: acquiring a first graph drawn by a user on a touch screen; mapping the first graph drawn by the user on the touch screen into an input graph feature matrix; performing similarity computation on the input graph feature matrix and a preset unlocking graph feature matrix; and unlocking the screen according to a similarity computation result. Through the scheme, any graph drawn by the user on the touch screen can be mapped into the graph feature matrix, the screen unlocking can be realized by comparing the similarity of two graph feature matrixes, letters, numbers or patterns in any shape can serve as unlocking patterns, and the unlocking patterns are richer in type, difficult to crack and good in security.

Description

Screen unlock method and device
Technical field
The present invention relates to touch-screen field, particularly a kind of screen unlock method and device.
Background technology
The unlocking manner of current smart mobile phone screen is mainly divided three classes:
One, such as Android system, the figure that user uses 9 points fixing on screen to be combined into carries out unlocking screen;
Two, such as apple system, the combination of numbers that user uses numeric keypad input to preset carries out unlocking screen;
Three, by third party software, user can use some key combination to carry out unlocking screen.
There is following problem in above screen unlock method:
On the one hand, unlock pattern types limited, be easily cracked.Such as, for Android system, unlocking pattern can be only the figure that 9 points may combine out; For apple system and third party software, the kind of combination of numbers and key combination is also all limited.
Again on the one hand, user is needed to unlock pattern in assigned address input, otherwise None-identified, lack dirigibility.Such as, for Android system, only pattern can be unlocked at the Position input of 9 points; For apple system and third party software, only combination of numbers or key combination can be inputted at keyboard position.
Summary of the invention
An embodiment of the present invention technical matters to be solved is: unlock pattern types limited, the problem be easily cracked.
The embodiment of the present invention another technical matters to be solved is: the input position unlocking pattern is limited, lacks the problem of dirigibility.
According to an aspect of the embodiment of the present invention, propose a kind of screen unlock method, comprising: gather the first figure that user draws at touch-screen; Be tablet pattern eigenmatrix by user at the first the reflection of graphics that touch-screen is drawn; Tablet pattern eigenmatrix and the unblock graphic feature matrix preset are carried out Similarity measures; According to Similarity measures result, unblock process is carried out to screen.
In an embodiment of screen unlock method, also comprise: gather the second graph that user draws at touch-screen; User is mapped as at the second graph that touch-screen is drawn and unlocks graphic feature matrix.
In an embodiment of screen unlock method, tablet pattern eigenmatrix and the mapping method unlocking graphic feature matrix characteristic of correspondence matrix comprise: figure user drawn at touch-screen is by filling in the blanks pixel intercepting obtains a width square-shaped image; Square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix.
In an embodiment of screen unlock method, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image and comprise: the filling graph blank pixel of user being drawn at touch-screen; The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A; Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B; Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation; Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
In an embodiment of screen unlock method, square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix comprises: n × n image block square-shaped image being divided into decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, wherein, the line number of n representation feature matrix and columns.
In an embodiment of screen unlock method, tablet pattern eigenmatrix is carried out Similarity measures with the unblock graphic feature matrix preset and comprises: the sum of ranks calculating tablet pattern eigenmatrix unlocks graphic feature rank of matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is equal, then tablet pattern eigenmatrix and unblock graphic feature matrix are similar matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is unequal, then tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes.
In an embodiment of screen unlock method, according to Similarity measures result, unblock process is carried out to screen and comprise: if tablet pattern eigenmatrix and unblock graphic feature matrix are similar matrix, screen is unlocked; If tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes, keep screen locking.
In an embodiment of screen unlock method, the first figure and second graph can be the patterns of letter, numeral or arbitrary shape.
According to another aspect of the embodiment of the present invention, propose a kind of screen unlocking device, comprising: map unit, for gathering the first figure that user draws at touch-screen; Be tablet pattern eigenmatrix by user at the first the reflection of graphics that touch-screen is drawn; Unlocking screen unit, for carrying out Similarity measures by tablet pattern eigenmatrix and the unblock graphic feature matrix preset; According to Similarity measures result, unblock process is carried out to screen.
In an embodiment of screen unlocking device, map unit, also for gathering the second graph that user draws at touch-screen; User is mapped as at the second graph that touch-screen is drawn and unlocks graphic feature matrix.
In an embodiment of screen unlocking device, map unit comprises: pattern process module, and for gathering the figure that user draws at touch-screen, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image; Matrix disposal module, carry out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix for square-shaped image pattern process module process obtained; Wherein, eigenmatrix comprises tablet pattern eigenmatrix and unlocks graphic feature matrix.
In an embodiment of screen unlocking device, pattern process module, specifically for: gather the figure that user draws at touch-screen, by the filling graph blank pixel that user draws at touch-screen; The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A; Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B; Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation; Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
In an embodiment of screen unlocking device, matrix disposal module, specifically for comprising: n × n image block square-shaped image being divided into decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, wherein, the line number of n representation feature matrix and columns.
In an embodiment of screen unlocking device, unlocking screen unit when Similarity measures, specifically for: the sum of ranks calculating tablet pattern eigenmatrix unlocks graphic feature rank of matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is equal, then tablet pattern eigenmatrix and unblock graphic feature matrix are similar matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is unequal, then tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes.
In an embodiment of screen unlocking device, unlocking screen unit when carrying out unblock process, specifically for: if tablet pattern eigenmatrix and to unlock graphic feature matrix be similar matrix, screen is unlocked; If tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes, keep screen locking.
In an embodiment of screen unlocking device, the first figure and second graph can be the patterns of letter, numeral or arbitrary shape.
The embodiment of the present invention at least has following beneficial effect:
On the one hand, the arbitrary graphic that user draws at touch-screen can be mapped as graphic feature matrix, by comparing the similarity of two graphic feature matrixes, just can realize unlocking screen process, therefore, the pattern of letter, numeral or arbitrary shape as unblock pattern, can unlock pattern types abundanter, be not easy to be cracked, good confidentiality.
Another aspect, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image, then square-shaped image is carried out piecemeal, and image block is mapped to a certain matrix and obtain eigenmatrix, make user draw the figure similar to preset figure forms in any one position of screen can realize unlocking, unlock more flexible.
By referring to the detailed description of accompanying drawing to exemplary embodiment of the present invention, further feature of the present invention and advantage thereof will become clear.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a screen unlock method of the present invention embodiment.
Fig. 2 is the schematic flow sheet of another embodiment of screen unlock method of the present invention.
Fig. 3 is that user of the present invention draws a leg-of-mutton schematic diagram in the screen upper right corner.
The schematic diagram that the intercepting of figure shown in Fig. 3 is square-shaped image for the present invention by Fig. 4.
Square-shaped image shown in Fig. 4 to be divided into the schematic diagram of 4 × 4 image blocks of decile by Fig. 5 for the present invention.
Fig. 6 is the schematic diagram of Fig. 5 characteristic of correspondence matrix of the present invention.
Fig. 7 is the schematic diagram of user of the present invention in a screen drawing sub-circular.
Fig. 8 is the schematic diagram of the matrix of figure characteristic of correspondence shown in Fig. 7 of the present invention.
Fig. 9 is the leg-of-mutton schematic diagram of user of the present invention in the another kind of shape of screen drawing.
Figure 10 is the schematic diagram of the matrix of figure characteristic of correspondence shown in Fig. 9 of the present invention.
Figure 11 is the structural representation of a screen unlocking device of the present invention embodiment.
Figure 12 is the structural representation of another embodiment of screen unlocking device of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Meanwhile, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not draw according to the proportionate relationship of reality.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part of authorizing instructions.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
Fig. 1 is the schematic flow sheet of a screen unlock method of the present invention embodiment.As shown in Figure 1, the screen unlock method of the present embodiment comprises the following steps:
Step S101, gathers the first figure that user draws at touch-screen;
User is tablet pattern eigenmatrix at the first the reflection of graphics that touch-screen is drawn by step S102;
Step S103, carries out Similarity measures by tablet pattern eigenmatrix and the unblock graphic feature matrix preset;
Step S104, carries out unblock process according to Similarity measures result to screen.
Above-described embodiment, the arbitrary graphic that user draws at touch-screen can be mapped as graphic feature matrix, by comparing the similarity of two graphic feature matrixes, just can realize unlocking screen process, therefore, the pattern (as irregular figure or insignificant figure) of letter, numeral or arbitrary shape as unblock pattern, can unlock pattern types abundanter, be not easy to be cracked, good confidentiality.Further, user only needs to draw the figure approximate with the figure preset, and does not need strictly identical, hommization more.
In an embodiment of screen unlock method, unblock graphic feature matrix can adopt and obtain with tablet pattern eigenmatrix similar approach, that is, gather the second graph that user draws at touch-screen, user is mapped as at the second graph that touch-screen is drawn and unlocks graphic feature matrix.
It should be noted that, first, second is only used for distinguishing different objects in the present invention, is not used for representing the implication such as size, sequential.
In unlocking screen process, first can detect user and whether define unblock graphic feature matrix; Unlock graphic feature matrix if defined, then can carry out similarity relatively and unlock; Unlock graphic feature matrix if do not defined, then need first to define and unlock graphic feature matrix, and then carry out similarity relatively and unlock.The schematic flow sheet of another embodiment of screen unlock method specifically shown in Figure 2.
Step S201, detects user and whether has defined unblock graphic feature matrix; If not definition, performs step S202, if defined, perform step S203;
Step S202, is mapped as user at the second graph that touch-screen is drawn and unlocks graphic feature matrix;
User is tablet pattern eigenmatrix at the first the reflection of graphics that touch-screen is drawn by step S203;
Step S204, carries out Similarity measures by tablet pattern eigenmatrix and the unblock graphic feature matrix preset;
Step S205, carries out unblock process according to Similarity measures result to screen.
In an embodiment of screen unlock method, tablet pattern eigenmatrix and unlock graphic feature matrix characteristic of correspondence matrix following mapping method can be adopted to obtain: figure user drawn at touch-screen is by filling in the blanks pixel intercepting obtains a width square-shaped image; Square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix.Be mapped as example with tablet pattern eigenmatrix, the first figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image; Square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains tablet pattern eigenmatrix.Be mapped as example with what unlock graphic feature matrix, second graph user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image; Square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains unlocking graphic feature matrix.
The mapping method of above-mentioned eigenmatrix, makes user draw the figure similar to preset figure forms in any one position of screen and can realize unlocking, unlock more flexible.
It should be noted that, the generation method of above-mentioned eigenmatrix is only a kind of exemplary generation method, and those skilled in the art can also adopt additive method to generate figure characteristic of correspondence matrix.Such as, enough large square forms are used to travel through whole screen, when namely the image of user's input meets the demands in these square forms, the image in now square forms is carried out piecemeal, and matrix image block being mapped to default ranks obtains unlocking graphic feature matrix.
In an embodiment of screen unlock method, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image and specifically comprise: the filling graph blank pixel of user being drawn at touch-screen; The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A; Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B; Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation; Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
In an embodiment of screen unlock method, square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix specifically comprises: n × n image block square-shaped image being divided into decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, such as, the image block that there is non-blank-white pixel is labeled as 1 in eigenmatrix, to the image block of non-blank-white pixel be there is not (namely, the image block of full blank pixel) in eigenmatrix, be labeled as 0, wherein, the line number of n representation feature matrix and columns.
In embodiments of the present invention, eigenmatrix n × n, wherein, n is natural number and >=2.Such as, the eigenmatrix of 4 × 4, the eigenmatrix etc. of 9 × 9, will not enumerate here.In general, the value of n is larger, is more not easy to crack, and confidentiality is also better.As required, the eigenmatrix of corresponding ranks can be chosen.
In order to make the solution of the present invention clearly, enumerate the application example that a mapping obtains eigenmatrix below.
First user draws the image of an arbitrary shape in screen optional position, such as, user draws a triangle (as shown in Figure 3) in the screen upper right corner, fill in the blanks pixel, then line by line scan from top to bottom, gather first non-blank-white pixel (pixel C) and last non-blank-white pixel (pixel A), scan by column from left to right, gather first non-blank-white pixel (pixel D) and last non-blank-white pixel (pixel B), calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size of comparison level pixel separation and vertical pixel separation, determine that the vertical pixel separation of pixel B and pixel D is maximum pixel interval, the length of side is spaced apart with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, figure after filling is intercepted as square-shaped image (as shown in Figure 4), square-shaped image is divided into 4 × 4 image blocks (as shown in Figure 5) of decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel is labeled as 1 in eigenmatrix, the image block that there is not non-blank-white pixel is labeled as 0 in eigenmatrix, the eigenmatrix then finally obtained as shown in Figure 6.Tablet pattern eigenmatrix and unblock graphic feature matrix all can adopt the method to obtain.
Again such as, user is screen drawing sub-circular (as shown in Figure 7), and this figure characteristic of correspondence matrix as shown in Figure 8.
Again such as, user is at the triangle (as shown in Figure 9) of the another kind of shape of screen drawing, and this figure characteristic of correspondence matrix as shown in Figure 10.
In an embodiment of screen unlock method, " tablet pattern eigenmatrix and the unblock graphic feature matrix preset are carried out Similarity measures " in step 103 or step 204 and specifically comprise: the sum of ranks calculating tablet pattern eigenmatrix unlocks graphic feature rank of matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is equal, then tablet pattern eigenmatrix and unblock graphic feature matrix are similar matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is unequal, then tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes.
Above-mentioned Similarity measures is simple, easily realize, and the efficiency of similarity determination is high.In addition, the scheme of comparison tablet pattern eigenmatrix one by one and each element unlocked in graphic feature matrix can also be adopted such as to determine similarity, when each element in two eigenmatrixes is identical, then judge that two eigenmatrixes are similar.
In an embodiment of screen unlock method, " carry out unblock process according to Similarity measures result to screen " in step 104 or step 205 specifically to comprise: if tablet pattern eigenmatrix and to unlock graphic feature matrix be similar matrix, unlock screen; If tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes, keep screen locking.
Figure 11 is the structural representation of a screen unlocking device of the present invention embodiment.As shown in figure 11, the screen unlocking device 1100 of the present embodiment comprises:
Map unit 1101, for gathering the first figure that user draws at touch-screen; Be tablet pattern eigenmatrix by user at the first the reflection of graphics that touch-screen is drawn;
Unlocking screen unit 1102, for tablet pattern eigenmatrix and the unblock graphic feature matrix preset are carried out Similarity measures, carries out unblock process according to Similarity measures result to screen.
Wherein, create interface 1 between map unit 1101 and screen, map unit 1101 gathers by interface 1 figure that user draws at touch-screen; Create interface 3 between map unit 1101 and unlocking screen unit 1102, eigenmatrix (tablet pattern eigenmatrix and follow-up unblock graphic feature matrix) is sent to unlocking screen unit 1102 by interface 3 by map unit 1101; Create interface 4 between unlocking screen unit 1102 and screen, unlocking screen signal is sent to screen by interface 4 by unlocking screen unit 1102.
In an embodiment of screen unlocking device, map unit 1101, also for gathering the second graph that user draws at touch-screen, being mapped as user at the second graph that touch-screen is drawn and unlocking graphic feature matrix.
In an embodiment of screen unlocking device, as shown in figure 12, map unit 1101 comprises: pattern process module 1201, and for gathering the figure that user draws at touch-screen, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image; Matrix disposal module 1202, carry out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix for pattern process module 1201 is processed the square-shaped image obtained; Wherein, eigenmatrix comprises tablet pattern eigenmatrix and unlocks graphic feature matrix.
Wherein, based on the interface that Figure 11 is arranged, between pattern process module 1201 and matrix disposal module 1202, create interface 2, square-shaped image is sent to matrix disposal module 1202 by interface 2 by pattern process module 1201.
In an embodiment of screen unlocking device, pattern process module 1201, specifically for: gather the figure that user draws at touch-screen, by the filling graph blank pixel that user draws at touch-screen; The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A; Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B; Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation; Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
In an embodiment of screen unlocking device, matrix disposal module 1202, specifically for comprising: n × n image block square-shaped image being divided into decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, wherein, the line number of n representation feature matrix and columns.
In an embodiment of screen unlocking device, unlocking screen unit 1102 when Similarity measures, specifically for: the sum of ranks calculating tablet pattern eigenmatrix unlocks graphic feature rank of matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is equal, then tablet pattern eigenmatrix and unblock graphic feature matrix are similar matrix; If the sum of ranks unblock graphic feature rank of matrix of tablet pattern eigenmatrix is unequal, then tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes.
In an embodiment of screen unlocking device, unlocking screen unit 1102 when carrying out unblock process, specifically for: if tablet pattern eigenmatrix and to unlock graphic feature matrix be similar matrix, screen is unlocked; If tablet pattern eigenmatrix and unblock graphic feature matrix are not similar matrixes, keep screen locking.
In one embodiment, user can be the pattern of letter, numeral or arbitrary shape at the first figure of screen drawing and second graph.
Above-mentioned screen unlocking device has following effect:
On the one hand, the arbitrary graphic that user draws at touch-screen can be mapped as graphic feature matrix, by comparing the similarity of two graphic feature matrixes, just can realize unlocking screen process, therefore, the pattern of letter, numeral or arbitrary shape as unblock pattern, can unlock pattern types abundanter, be not easy to be cracked, good confidentiality.
Another aspect, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image, then square-shaped image is carried out piecemeal, and image block is mapped to a certain matrix and obtain eigenmatrix, make user draw the figure similar to preset figure forms in any one position of screen can realize unlocking, unlock more flexible.
Unlocking screen technology of the present invention can be applied to mobile terminal, such as, and smart mobile phone, panel computer, notebook computer etc.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. a screen unlock method, comprising:
Gather the first figure that user draws at touch-screen;
Be tablet pattern eigenmatrix by user at the first the reflection of graphics that touch-screen is drawn;
Described tablet pattern eigenmatrix and the unblock graphic feature matrix preset are carried out Similarity measures;
According to Similarity measures result, unblock process is carried out to screen.
2. method according to claim 1, is characterized in that, also comprises:
Gather the second graph that user draws at touch-screen;
User is mapped as at the second graph that touch-screen is drawn and unlocks graphic feature matrix.
3. method according to claim 1 and 2, is characterized in that, the mapping method of described tablet pattern eigenmatrix and described unblock graphic feature matrix characteristic of correspondence matrix comprises:
Figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image;
Square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix.
4. method according to claim 3, is characterized in that, described figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image and comprise:
By the filling graph blank pixel that user draws at touch-screen;
The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A;
Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B;
Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation;
Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
5. method according to claim 3, is characterized in that, described square-shaped image is carried out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix comprises:
Square-shaped image is divided into n × n image block of decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, wherein, the line number of n representation feature matrix and columns.
6. method according to claim 1, is characterized in that, described described tablet pattern eigenmatrix and the unblock graphic feature matrix preset are carried out Similarity measures and comprise:
Graphic feature rank of matrix is unlocked described in the sum of ranks calculating described tablet pattern eigenmatrix; If it is equal to unlock graphic feature rank of matrix described in the sum of ranks of described tablet pattern eigenmatrix, then described tablet pattern eigenmatrix and described unblock graphic feature matrix are similar matrix; If it is unequal to unlock graphic feature rank of matrix described in the sum of ranks of described tablet pattern eigenmatrix, then described tablet pattern eigenmatrix and described unblock graphic feature matrix are not similar matrixes.
7. method according to claim 1, is characterized in that, describedly carries out unblock process according to Similarity measures result to screen and comprises:
If described tablet pattern eigenmatrix and described unblock graphic feature matrix are similar matrix, screen is unlocked; If described tablet pattern eigenmatrix and described unblock graphic feature matrix are not similar matrixes, keep screen locking.
8. method according to claim 2, is characterized in that, described first figure and described second graph can be the patterns of letter, numeral or arbitrary shape.
9. a screen unlocking device, comprising:
Map unit, for gathering the first figure that user draws at touch-screen; Be tablet pattern eigenmatrix by user at the first the reflection of graphics that touch-screen is drawn;
Unlocking screen unit, for carrying out Similarity measures by described tablet pattern eigenmatrix and the unblock graphic feature matrix preset; According to Similarity measures result, unblock process is carried out to screen.
10. device according to claim 9, is characterized in that,
Described map unit, also for gathering the second graph that user draws at touch-screen; User is mapped as at the second graph that touch-screen is drawn and unlocks graphic feature matrix.
11. devices according to claim 9 or 10, it is characterized in that, described map unit comprises:
Pattern process module, for gathering the figure that user draws at touch-screen, figure user drawn at touch-screen is by filling in the blanks pixel intercept and obtain a width square-shaped image;
Matrix disposal module, carry out piecemeal, and matrix image block being mapped to default ranks obtains eigenmatrix for square-shaped image pattern process module process obtained;
Wherein, eigenmatrix comprises tablet pattern eigenmatrix and unlocks graphic feature matrix.
12. devices according to claim 11, is characterized in that, described pattern process module, specifically for:
Gather the figure that user draws at touch-screen, by the filling graph blank pixel that user draws at touch-screen;
The figure of lining by line scan from top to bottom after filling, gathers first non-blank-white pixel and last non-blank-white pixel respectively as pixel C and pixel A;
Scan by column the figure after filling from left to right, gather first non-blank-white pixel and last non-blank-white pixel respectively as pixel D and pixel B;
Calculate the horizontal pixel interval of pixel A and pixel C, and the vertical pixel separation of pixel B and pixel D, and the size determination maximum pixel interval of comparison level pixel separation and vertical pixel separation;
Be spaced apart the length of side with maximum pixel, to calculate the pixel at maximum pixel interval for frontier point, the figure after filling intercepted as square-shaped image.
13. devices according to claim 11, is characterized in that, described matrix disposal module, specifically for comprising:
Square-shaped image is divided into n × n image block of decile, judge whether there is non-blank-white pixel in each image block one by one, the image block that there is non-blank-white pixel and the image block that there is not non-blank-white pixel are labeled as different value respectively in eigenmatrix, wherein, the line number of n representation feature matrix and columns.
14. devices according to claim 9, is characterized in that, described unlocking screen unit when Similarity measures, specifically for:
Graphic feature rank of matrix is unlocked described in the sum of ranks calculating described tablet pattern eigenmatrix; If it is equal to unlock graphic feature rank of matrix described in the sum of ranks of described tablet pattern eigenmatrix, then described tablet pattern eigenmatrix and described unblock graphic feature matrix are similar matrix; If it is unequal to unlock graphic feature rank of matrix described in the sum of ranks of described tablet pattern eigenmatrix, then described tablet pattern eigenmatrix and described unblock graphic feature matrix are not similar matrixes.
15. devices according to claim 9, is characterized in that, described unlocking screen unit carry out unblock process time, specifically for:
If described tablet pattern eigenmatrix and described unblock graphic feature matrix are similar matrix, screen is unlocked; If described tablet pattern eigenmatrix and described unblock graphic feature matrix are not similar matrixes, keep screen locking.
16. methods according to claim 10, is characterized in that, described first figure and described second graph can be the patterns of letter, numeral or arbitrary shape.
CN201410174103.XA 2014-04-28 2014-04-28 Unlocking screen method and apparatus Active CN105022576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410174103.XA CN105022576B (en) 2014-04-28 2014-04-28 Unlocking screen method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410174103.XA CN105022576B (en) 2014-04-28 2014-04-28 Unlocking screen method and apparatus

Publications (2)

Publication Number Publication Date
CN105022576A true CN105022576A (en) 2015-11-04
CN105022576B CN105022576B (en) 2018-07-06

Family

ID=54412574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410174103.XA Active CN105022576B (en) 2014-04-28 2014-04-28 Unlocking screen method and apparatus

Country Status (1)

Country Link
CN (1) CN105022576B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674299A (en) * 2009-10-16 2010-03-17 西安电子科技大学 Method for generating key based on amalgamation of multiple features in encryption area
CN102402365A (en) * 2010-09-09 2012-04-04 中兴通讯股份有限公司 Unlocking method and device for portal equipment
CN102508614A (en) * 2011-11-21 2012-06-20 中兴通讯股份有限公司 Screen unlocking method and device
CN103092481A (en) * 2013-01-17 2013-05-08 广东欧珀移动通信有限公司 Method and device for intelligent terminal dynamic gesture unlocking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674299A (en) * 2009-10-16 2010-03-17 西安电子科技大学 Method for generating key based on amalgamation of multiple features in encryption area
CN102402365A (en) * 2010-09-09 2012-04-04 中兴通讯股份有限公司 Unlocking method and device for portal equipment
CN102508614A (en) * 2011-11-21 2012-06-20 中兴通讯股份有限公司 Screen unlocking method and device
CN103092481A (en) * 2013-01-17 2013-05-08 广东欧珀移动通信有限公司 Method and device for intelligent terminal dynamic gesture unlocking

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李薇等: "基于心电信号动态时间序列分析的身份信息识别", 《科研信息化技术与应用》 *

Also Published As

Publication number Publication date
CN105022576B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
KR102167879B1 (en) Test methods, systems, devices and readable storage media
CN101515211B (en) Handwriting input method, device and user terminal
CN102968602A (en) Setting method and device for keyboard
US20120326839A1 (en) Electronic device and password input method thereof
US8823655B2 (en) Touch-point coordinate detecting method
US9285979B2 (en) Computer-implemented methods and systems for multi-touch duplication and swapping interactions
US10346599B2 (en) Multi-function button for computing devices
CN102982272B (en) keyboard layout method and device
CN108280374B (en) Mobile terminal keyboard safety input control method, system and storage medium
US9983764B2 (en) Method, electronic device, and non-transitory storage medium for adjusting icons
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
US11275501B2 (en) Creating tables using gestures
CN103136462B (en) A kind of method and system of password authentification
WO2015120795A1 (en) Touchscreen-based device pairing method and apparatus, and storage medium
CN104881888B (en) Picture clipping method and device
CN104571904A (en) Information processing method and electronic equipment
CN105278751A (en) Method and apparatus for implementing human-computer interaction, and protective case
CN110222478A (en) A kind of method and mobile terminal for protecting document
CN103383630A (en) Method for inputting touch and touch display apparatus
CN103543933A (en) Method for selecting files and touch terminal
US9904397B2 (en) Electronic device and method for switching between text input assistants
US11423587B2 (en) Freeform gradient style blending
CN104298456A (en) Electronic device and display method of virtual keyboard of electronic device
CN105022576A (en) Screen unlocking method and apparatus
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant