CN108804907B - Unlocking method and system for touch screen device, computer readable storage medium and terminal - Google Patents

Unlocking method and system for touch screen device, computer readable storage medium and terminal Download PDF

Info

Publication number
CN108804907B
CN108804907B CN201810607650.0A CN201810607650A CN108804907B CN 108804907 B CN108804907 B CN 108804907B CN 201810607650 A CN201810607650 A CN 201810607650A CN 108804907 B CN108804907 B CN 108804907B
Authority
CN
China
Prior art keywords
unlocking
password
graph
area
decoding
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.)
Active
Application number
CN201810607650.0A
Other languages
Chinese (zh)
Other versions
CN108804907A (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.)
Paijing Network Technology Shanghai Co ltd
Original Assignee
Zhongxin International Electronics Co 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 Zhongxin International Electronics Co ltd filed Critical Zhongxin International Electronics Co ltd
Priority to CN201810607650.0A priority Critical patent/CN108804907B/en
Publication of CN108804907A publication Critical patent/CN108804907A/en
Application granted granted Critical
Publication of CN108804907B publication Critical patent/CN108804907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Abstract

The invention discloses a method and a system for unlocking a touch screen device, a computer readable storage medium and a terminal, wherein the method comprises the unlocking step; a user inputs a decoding graph in any area of the touch display screen through a finger or a capacitance pen, when the decoding graph is drawn, the sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, and adjacent coordinate points are connected through the lines, so that the decoding graph can be restored; and (3) comparison: and comparing the decoding graph with the password graph, and if the coordinate similarity between the decoding graph and the password graph reaches 80% or more than 80%, judging that the decoding graph meets the requirement, and successfully unlocking. The user can unlock by using any figure set by the user in the unlocking process, the unlocking area can be any position on the screen, preset patterns or characters are input at any position of the screen, the screen touch device can receive the patterns or characters through identification and judgment, unlocking is carried out, the unlocking process is more convenient and more humanized, and the unlocking safety of the screen touch device is improved.

Description

Unlocking method and system for touch screen device, computer readable storage medium and terminal
Technical Field
The invention relates to the technical field of computers, in particular to a touch screen equipment unlocking method and system, a computer readable storage medium and a terminal.
Background
With the gradual development of mobile phones and tablet computers, in recent years, touch screen technology has been widely applied in the field of mobile terminals of communication technology, and the market share of devices such as touch screen mobile phones or tablet computers has gradually increased. The touch screen mobile phone is characterized in that the touch screen mobile phone has a large screen, can bring visual enjoyment to a user, and has absolute advantages from characters, images or other aspects.
The existing unlocking of the smart phone or the tablet personal computer is generally divided into a hardware mode and a software mode, the hardware mode can be unlocked through fingerprints, irises and the like, the safety is high, corresponding hardware equipment is needed, and the cost is high. Software unlocking does not need extra equipment, cost is low, but safety and convenience are insufficient, the nine-square-grid pattern unlocking is easily realized by nearby people to steal and see the unlocking pattern, so that unlocking is easily realized, the password unlocking needs more times of touching the screen, for example, 6 passwords, the unlocking can be realized only by touching the screen for 6 times at least, and convenience is not realized.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a touch screen device unlocking method and system, a computer readable storage medium and a terminal.
The purpose of the invention is realized by the following technical scheme: a method for unlocking a touch screen device comprises the following steps:
s1: unlocking;
a user inputs a decoding graph in any area of the touch display screen through a finger or a capacitance pen, in the process of drawing the decoding graph by the finger or the capacitance pen, a sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, and adjacent coordinate points are connected through the lines, so that the decoding graph can be restored;
s2: a comparison step;
and comparing the decoding graph with the password graph, if the similarity of the coordinates of the decoding graph and the password graph reaches 80% or more than 80%, judging that the decoding graph meets the requirement, and if the similarity does not reach 80%, failing to unlock, and circulating the steps.
The embodiment of the invention also provides an unlocking method of the touch screen equipment, which comprises the following steps:
s100: receiving decoding information input by a user at any position on the touch display screen, and determining a graphic boundary of the decoding information to obtain a password image;
s200: and after the password image is compared with the preset standard image, the unlocking is successful when the similarity is not lower than the set value, otherwise, the unlocking is failed.
Preferably, the S10 step and the S20 step are further included before the S1 unlocking step:
s10: setting a touch display screen of a touch screen device;
the method comprises the steps that a plurality of transverse lines and vertical lines are divided on a touch display screen at equal intervals, the transverse lines and the vertical lines form an unlocking area, the unlocking area is randomly displayed at any position on the touch display screen, the interval between the transverse lines and the vertical lines is the width of at least one pixel point, the intersection point of the transverse lines and the vertical lines is a cross point, the intersection point of the uppermost transverse line and the leftmost vertical line is defined as the origin of coordinates of a plane rectangular coordinate system, the uppermost transverse line is defined as the X axis of the plane rectangular coordinate system, the leftmost vertical line is defined as the Y axis of the plane rectangular coordinate system, and all the intersection points of the transverse lines and the vertical lines are calibrated by using XY coordinates;
s20: inputting a password graph;
the user draws a password figure on the touch display screen through a finger or a capacitance pen, the password figure is any figure or character, the user draws the password figure through the finger or the capacitance pen in the process of drawing the password figure, the sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, adjacent coordinate points are connected through the lines, the password figure can be restored, and the minimum X of the abscissa in the coordinate points for restoring the password figure is found out1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is an area of the password pattern, and the area of the password pattern is stored in the memory.
Preferably, the step S1 specifically includes the following steps:
s11: recording;
recording coordinates of each point of the decoded picture, and finding a minimum value X 'of abscissa among the coordinate points of the decoded picture'1And a maximum value of X'2Minimum value Y 'in ordinate'1And a maximum value of Y'2Four coordinate points (X'1,Y′1)、(X′2,Y′1)、(X′1,Y′2)、(X′2,Y′2) The formed rectangular area is the area of the decoding graph;
s12: rotating;
rotating the decoded graph by taking the geometric center of the decoded graph area as an origin, recording coordinate points covered by the decoded graph again after rotating for 1 degree, and finding out the minimum value X' of the abscissa in the coordinate points1And maximum value X ″)2Minimum value Y "in ordinate1And maximum value Y ″)2Four coordinate points (X ″)1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) The formed rectangular area is a new decoding graph area, the steps are repeated until the rotation angle reaches 360 degrees, the angle with the length-width ratio closest to the length-width ratio of the code graph area in all the decoding graph areas corresponding to the rotation angles of 1-360 degrees is selected, and at the moment, the length-width ratio of the decoding graph areas corresponding to the two rotation angles is closest to the length-width ratio of the code graph;
s13: zooming;
according to the length and the width of the actually input password graphic area, the decoding graphic areas corresponding to the two angles in the step S12 are respectively zoomed along the X direction and the Y direction to be consistent with the length and the width of the password graphic area;
s14: a judgment step;
and comparing the two decoding graph areas zoomed in the step S13 with the password graph area respectively, if the similarity between the coordinate point corresponding to one of the two decoding graphs and the coordinate point corresponding to the password graph reaches 80% or more than 80%, judging that the decoding graphs meet the requirements, and the unlocking is successful, otherwise, the unlocking is failed.
Preferably, in the step S20, the characters are chinese characters, english letters or figures, or a combination of chinese characters, english letters and/or figures.
Preferably, in the step S1, the intersection point where the uppermost horizontal line and the leftmost vertical line intersect refers to an intersection point located at the leftmost upper corner of the touch display screen.
Preferably, the touch screen device is a mobile phone or a tablet or PDA portable electronic device.
The embodiment of the invention also provides an unlocking system of the touch screen equipment, which comprises an unlocking module, a password processing module and a password processing module, wherein the unlocking module is used for receiving the decoding information input by a user at any position on the touch display screen and determining the graphic boundary of the decoding information to obtain a password image; a comparison module for comparing the password image with the password imageWhen the similarity is not lower than a set value after the set standard images are compared, the unlocking is successful, otherwise, the unlocking is failed; the device comprises a setting module, a display module and a control module, wherein the setting module is used for dividing a plurality of transverse lines and vertical lines at equal intervals on the touch display screen, the plurality of transverse lines and the plurality of vertical lines form an unlocking area, and the unlocking area is randomly displayed at any position on the touch display screen; the password figure inputting module is used for enabling a user to draw a password figure through a finger or a capacitance pen in the process of drawing the password figure, enabling the sliding track of the finger or the capacitance pen to pass through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, connecting adjacent coordinate points through lines, restoring the password figure, and finding out the minimum X of the transverse coordinates in the coordinate points for restoring the password figure1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is an area of the password pattern, and the area of the password pattern is stored in the memory.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer instruction is stored on the computer-readable storage medium, and when the computer instruction runs, the method for unlocking the touch screen device is executed.
The embodiment of the invention also provides a terminal which comprises an unlocking system of the touch screen equipment.
The technical scheme of the invention has the advantages that: the unlocking method has the advantages that the unlocking method is more free when a user is in actual use, the user can unlock the screen by using any set graph, the unlocking area can be any position on the screen, preset patterns or characters are input at any position of the screen, the touch screen equipment can receive the input through identification and judgment, the unlocking is carried out, the unlocking process is more convenient and humanized, and the unlocking safety of the touch screen equipment is greatly improved.
Drawings
Fig. 1 is a flowchart of an unlocking method of a touch screen device according to the present invention.
Fig. 2 is a schematic structural diagram of a touch display screen according to the present invention.
FIG. 3 is a graphical illustration of a password of the present invention.
FIG. 4 is a graphical illustration of a password of the present invention.
Fig. 5 is a schematic diagram of the password pattern after rotating 1 degree according to the present invention.
Fig. 6 is a schematic diagram of the password pattern after the 360 ° rotation of the present invention.
FIG. 7 is a graphical illustration of a scaled password of the present invention.
FIG. 8 is a graphical illustration of a scaled password of the present invention.
Detailed Description
Objects, advantages and features of the present invention will be illustrated and explained by the following non-limiting description of preferred embodiments. The embodiments are merely exemplary for applying the technical solutions of the present invention, and any technical solution formed by replacing or converting the equivalent thereof falls within the scope of the present invention claimed.
The invention discloses an unlocking method of touch screen equipment, which comprises the following steps of:
s1: unlocking;
a user inputs a decoding graph in any area of the touch display screen through a finger or a capacitance pen, in the process of drawing the decoding graph by the finger or the capacitance pen, a sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, and adjacent coordinate points are connected through the lines, so that the decoding graph can be restored;
s2: and (3) comparison: and comparing the decoding graph with the password graph, if the similarity of the coordinates of the decoding graph and the password graph reaches 80% or more than 80%, judging that the decoding graph meets the requirement, and if the similarity does not reach 80%, failing to unlock, and circulating the steps.
Specifically, in the embodiment of the present invention, before the unlocking step of S1, there are further included steps S10 and S20:
s10: setting a touch display screen of a touch screen device;
the method comprises the steps that a plurality of transverse lines and vertical lines are divided on a touch display screen at equal intervals, the transverse lines and the vertical lines form an unlocking area, the unlocking area is randomly displayed at any position on the touch display screen, the transverse lines and the vertical lines are virtual and invisible to a user, the screen is divided into a plurality of small points, and each point is calibrated by using coordinates.
Specifically, the distance between the horizontal line and the vertical line is the width of at least one pixel point, in the embodiment of the present invention, the distance between the horizontal line and the vertical line is preferably the width of ten pixel points, and the distance between the horizontal line and the vertical line can be specifically selected according to the actual application situation.
As shown in fig. 2, the intersection point of the horizontal line and the vertical line is an intersection point, specifically, in the present embodiment, the density of the intersection point is suitable for clearly distinguishing a finger scratch mark or a capacitance pen scratch mark, the intersection point where the uppermost horizontal line and the leftmost vertical line intersect is defined as the X axis of the plane rectangular coordinate system, the uppermost horizontal line is defined as the X axis of the plane rectangular coordinate system, the leftmost vertical line is defined as the Y axis of the plane rectangular coordinate system, and the intersection points of all the horizontal lines and the vertical lines are calibrated by using the XY coordinates. In the step S10, the intersection point where the uppermost horizontal line and the leftmost vertical line intersect refers to the intersection point located at the uppermost left corner of the touch display screen.
S20: inputting a password graph;
the user draws a password figure on the touch display screen through a finger or a capacitive pen, wherein the password figure is any figure or character, specifically, in the embodiment of the invention, the character is a Chinese character or an English letter or a combination of the Chinese character and the English letter, and in the technical scheme, the character is preferably a Chinese character.
When a user draws a password graph through a finger or a capacitance pen, the sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely in a plane rectangular coordinate systemConnecting adjacent coordinate points with lines to restore the password pattern, and finding out the minimum X of the abscissa among the coordinate points of the restored password pattern1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is an area of the password pattern, and the area of the password pattern is stored in the memory. By the coordinate point (X) of the code pattern1,Y1) And as a new origin, regenerating coordinates of the password graph, numbering all coordinate points according to the sequence of the X coordinates and the Y coordinates from small to large to form coordinates 1, 2 and 3.
In the embodiment of the invention, a user inputs a signature Zhang Wanli of the user in advance through a finger or a capacitance pen, when the user draws a password graph through the finger or the capacitance pen, a sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, adjacent coordinate points are connected through the lines, the password graph Zhang Wanli can be restored, and the minimum value X of the transverse coordinates in the coordinate points for restoring the password graph is found out1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is the area of the password pattern, the area of the password pattern is stored in the memory, and the record in the square area (600 × 200) is stored, and the pattern is called the password pattern, as shown in fig. 3.
In the embodiment of the present invention, the step S1 specifically includes the following steps:
s11: recording;
recording the coordinates of each point of the decoded graph, and finding out the minimum X of the abscissa among the coordinate points of the decoded graph1'and maximum value X'2Minimum value Y 'in ordinate'1And a maximum value of Y'2Four coordinate points (X'1,Y′1)、(X′2,Y′1)、(X′1,Y′2)、(X′2,Y′2) The formed rectangular area is the area of the decoded pattern, as shown in fig. 4;
s12: rotating;
rotating the decoded graph by taking the geometric center of the decoded graph area as an origin, recording coordinate points covered by the decoded graph again after rotating for 1 degree, and finding out the minimum value X' of the abscissa in the coordinate points1And maximum value X ″)2Minimum value Y "in ordinate1And maximum value Y ″)2Four coordinate points (X ″)1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) The formed rectangular area is a new decoding pattern area, the above steps are repeated until the rotation angle reaches 360 degrees, an angle with the length-width ratio closest to the length-width ratio of the password pattern area in all the decoding pattern areas corresponding to the rotation angles of 1-360 degrees is selected, and at this time, the length-width ratio of the decoding pattern areas corresponding to two rotation angles is closest to the length-width ratio of the password pattern, as shown in fig. 5 and 6. Specifically, in the embodiment of the present invention, the decoded patterns of the two rotation angles are patterns that are different by 180 °.
S13: zooming;
and scaling the decoded graphic regions corresponding to the two angles in the step S12 along the X direction and the Y direction to be consistent with the length and width of the password graphic region, respectively, according to the length and width of the actually input password graphic region. Specifically, in the embodiment of the present invention, the minimum value X of the abscissa among the coordinate points is taken1Minimum value Y in ordinate1As an origin, the decoded graphic regions corresponding to the two angles in the step S12 are scaled in the X direction and the Y direction to coincide with the length and width of the password graphic region, respectively.
In the embodiment of the present invention, the actual input decoded pattern ratio is, for example, 700 × 220, and what is done in this step is to scale the decoded pattern by the cipher pattern ratio 600 × 200, with the X direction being shortened to 600 and the Y direction being shortened to 200, as shown in fig. 7 and 8.
S14: a judgment step;
and comparing the two decoding graph areas zoomed in the step S13 with the password graph area respectively, if the similarity between the coordinate point corresponding to one of the two decoding graphs and the coordinate point corresponding to the password graph reaches 80% or more than 80%, judging that the decoding graphs meet the requirements, and the unlocking is successful, otherwise, judging that the unlocking is failed, and judging that at most one decoding graph in the judging step is the correct decoding graph. Specifically, in the embodiment of the present invention, the scaled graphics (X)1,Y1) And as a new origin, numbering all coordinate points according to the sequence of the X coordinate and the Y coordinate from small to large to form a coordinate 1, a coordinate 2 and a coordinate 3.
In the embodiment of the invention, the graph coordinates recorded in fig. 7 and 8 are compared with the password graph fig. 3, if the similarity between the graph coordinates in fig. 7 or 8 and the password graph fig. 2 is more than 80%, the decoding graph is judged to meet the requirement, and the unlocking is successful. And if the similarity does not reach 80%, the unlocking fails.
The specific comparison process of the scaled graph and the standard graph is mainly performed through the following two aspects, specifically, 1, the number of coordinate points: the error between the coordinate point quantity B of the zoomed graph and the coordinate point quantity A of the password graph is within +/-10%; 2. coordinate error: and (4) comparing the coordinates of the coordinate points one by taking the password graph as a template, wherein the coordinate error is acceptable within +/-3. The corresponding coordinates (such as the password figure coordinate 1(256,135) are found on the zoomed figure by the coordinate 1 of the password figure, and the unlocking requirement is met by the coordinate 1(255,136) on the zoomed figure), the coordinate 2 and the coordinate 3.
The embodiment of the invention also provides an unlocking method of the touch screen equipment, which comprises the following steps:
s100: receiving decoding information input by a user at any position on the touch display screen, and determining a graphic boundary of the decoding information to obtain a password image;
s200: and after the password image is compared with the preset standard image, the unlocking is successful when the similarity is not lower than the set value, otherwise, the unlocking is failed.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer instruction is stored on the computer-readable storage medium, and the computer instruction executes the steps of the unlocking method of the touch screen device when running. Please refer to the description in the foregoing section, and details are not repeated herein.
The method provides a brand-new unlocking mode, a user can unlock by using any figure set by the user in the unlocking process, the unlocking area can be any position on the screen, and preset patterns or characters are input at any position of the screen.
The embodiment of the invention also provides an unlocking system of the touch screen equipment, which comprises
The unlocking module is used for receiving decoding information input by a user at any position on the touch display screen and determining a graphic boundary of the decoding information to obtain a password image;
the comparison module is used for comparing the password image with a preset standard image and then confirming that the similarity is not lower than a set value, the unlocking is successful, otherwise, the unlocking is failed;
the device comprises a setting module, a display module and a control module, wherein the setting module is used for dividing a plurality of transverse lines and vertical lines at equal intervals on the touch display screen, the plurality of transverse lines and the plurality of vertical lines form an unlocking area, and the unlocking area is randomly displayed at any position on the touch display screen;
the password figure inputting module is used for enabling a user to draw a password figure through a finger or a capacitance pen in the process of drawing the password figure, enabling the sliding track of the finger or the capacitance pen to pass through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, connecting adjacent coordinate points through lines, restoring the password figure, and finding out the password figure restored by the linesMinimum value X of abscissa among coordinate points1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is an area of the password pattern, and the area of the password pattern is stored in the memory.
The embodiment of the invention also provides a terminal which comprises the unlocking system for the touch screen equipment.
The touch screen device is a portable electronic device such as a mobile phone, a tablet, a Personal Digital Assistant (PDA) and the like, and the touch screen device can also be a terminal device such as a notebook computer or a desktop computer.
The embodiment of the invention also provides a terminal which comprises a memory, a processor and a touch display screen, wherein the memory is stored with a computer instruction capable of running on the processor, the processor executes the step of the touch screen equipment unlocking method when running the computer instruction, and the touch display screen is divided into grids by virtual longitude and latitude lines. Please refer to the description in the foregoing section, and details are not repeated herein. The memory may be a memory of the touch screen device itself, or may be an external storage device, such as a smart media card, a secure digital card, a flash memory card, or the like.
The invention has various embodiments, and all technical solutions formed by adopting equivalent transformation or equivalent transformation are within the protection scope of the invention.

Claims (6)

1. A method for unlocking a touch screen device is characterized by comprising the following steps: the method comprises the following steps:
s1: unlocking;
a user inputs a decoding graph in any area of the touch display screen through a finger or a capacitance pen, in the process of drawing the decoding graph by the finger or the capacitance pen, a sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, and adjacent coordinate points are connected through the lines, so that the decoding graph can be restored;
the step S1 specifically includes the following steps:
s11: recording;
recording coordinates of each point of the decoded picture, and finding a minimum value X 'of abscissa among the coordinate points of the decoded picture'1And a maximum value of X'2Minimum value Y 'in ordinate'1And a maximum value of Y'2Four coordinate points (X'1,Y′1)、(X′2,Y′1)、(X′1,Y′2)、(X′2,Y′2) The formed rectangular area is the area of the decoding graph;
s12: rotating;
rotating the decoded graph by taking the geometric center of the decoded graph area as an origin, recording coordinate points covered by the decoded graph again after rotating for 1 degree, and finding out the minimum value X' of the abscissa in the coordinate points1And maximum value X ″)2Minimum value Y "in ordinate1And maximum value Y ″)2Four coordinate points (X ″)1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) The formed rectangular area is a new decoding graph area, the steps are repeated until the rotation angle reaches 360 degrees, the angle with the length-width ratio closest to the length-width ratio of the code graph area in all the decoding graph areas corresponding to the rotation angles of 1-360 degrees is selected, and at the moment, the length-width ratio of the decoding graph areas corresponding to the two rotation angles is closest to the length-width ratio of the code graph;
s13: zooming;
according to the length and the width of the actually input password graphic area, the decoding graphic areas corresponding to the two angles in the step S12 are respectively zoomed along the X direction and the Y direction to be consistent with the length and the width of the password graphic area;
s2: a comparison step;
and comparing the two decoding graph areas zoomed in the step S13 with the password graph area respectively, if the similarity between the coordinate point corresponding to one of the two decoding graphs and the coordinate point corresponding to the password graph reaches 80% or more than 80%, judging that the decoding graphs meet the requirements, and the unlocking is successful, otherwise, the unlocking is failed.
2. The unlocking method of the touch screen device according to claim 1, wherein: before the unlocking step of S1, the method also comprises the steps of S10 and S20:
s10: setting a touch display screen of a touch screen device;
the method comprises the steps that a plurality of transverse lines and vertical lines are divided on a touch display screen at equal intervals, the transverse lines and the vertical lines form an unlocking area, the unlocking area is randomly displayed at any position on the touch display screen, the interval between the transverse lines and the vertical lines is the width of at least one pixel point, the intersection point of the transverse lines and the vertical lines is a cross point, the intersection point of the uppermost transverse line and the leftmost vertical line is defined as the origin of coordinates of a plane rectangular coordinate system, the uppermost transverse line is defined as the X axis of the plane rectangular coordinate system, the leftmost vertical line is defined as the Y axis of the plane rectangular coordinate system, and all the intersection points of the transverse lines and the vertical lines are calibrated by using XY coordinates;
s20: inputting a password graph;
the user draws a password figure on the touch display screen through a finger or a capacitance pen, the password figure is any figure or character, the user draws the password figure through the finger or the capacitance pen in the process of drawing the password figure, the sliding track of the finger or the capacitance pen passes through a cross point formed by a transverse line and a vertical line, namely a series of coordinate points in a plane rectangular coordinate system, adjacent coordinate points are connected through the lines, the password figure can be restored, and the minimum X of the abscissa in the coordinate points for restoring the password figure is found out1And maximum value X2Minimum value Y in ordinate1And maximum value Y2Four coordinate points (X)1,Y1)、
(X2,Y1)、(X1,Y2)、(X2,Y2) The rectangular area formed is an area of the password pattern, and the area of the password pattern is stored in the memory.
3. The unlocking method of the touch screen device according to claim 2, wherein: in the step S20, the characters are chinese characters, english letters, or figures, or a combination of chinese characters, english letters, and/or figures.
4. The unlocking method of the touch screen device according to claim 1, wherein: in the step S1, the intersection point where the uppermost horizontal line and the leftmost vertical line intersect refers to the intersection point located at the uppermost left corner of the touch display screen.
5. The unlocking method of the touch screen device according to claim 1, wherein: the touch screen device is a mobile phone or a tablet or PDA portable electronic device.
6. A computer-readable storage medium having stored thereon computer instructions, characterized in that: the computer instructions when executed perform the steps of the touch screen device unlocking method of any one of claims 1 to 5.
CN201810607650.0A 2018-06-13 2018-06-13 Unlocking method and system for touch screen device, computer readable storage medium and terminal Active CN108804907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810607650.0A CN108804907B (en) 2018-06-13 2018-06-13 Unlocking method and system for touch screen device, computer readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810607650.0A CN108804907B (en) 2018-06-13 2018-06-13 Unlocking method and system for touch screen device, computer readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108804907A CN108804907A (en) 2018-11-13
CN108804907B true CN108804907B (en) 2020-06-30

Family

ID=64087043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810607650.0A Active CN108804907B (en) 2018-06-13 2018-06-13 Unlocking method and system for touch screen device, computer readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108804907B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508614A (en) * 2011-11-21 2012-06-20 中兴通讯股份有限公司 Screen unlocking method and device
CN104898981A (en) * 2015-06-29 2015-09-09 安一恒通(北京)科技有限公司 Gesture recognizing method, device and terminal
CN105426741A (en) * 2015-12-21 2016-03-23 小米科技有限责任公司 Screen unlocking method, device and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508614A (en) * 2011-11-21 2012-06-20 中兴通讯股份有限公司 Screen unlocking method and device
CN104898981A (en) * 2015-06-29 2015-09-09 安一恒通(北京)科技有限公司 Gesture recognizing method, device and terminal
CN105426741A (en) * 2015-12-21 2016-03-23 小米科技有限责任公司 Screen unlocking method, device and terminal

Also Published As

Publication number Publication date
CN108804907A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN107438846B (en) Authenticating a user and launching an application based on a single intentional user gesture
US10176315B2 (en) Graphical authentication
CN103336658B (en) The unlock method of the touch-screen of terminal device and device
US8947367B2 (en) Character input apparatus and character input method
US20150123925A1 (en) Method, apparatus, and device for touch screen verification
US8925072B2 (en) Unlocking schemes
US20150033329A1 (en) Password entry using 3d image with spatial alignment
US10572715B2 (en) Segment block-based handwritten signature authentication system and method
US10503960B2 (en) Segment-based handwritten signature authentication system and method
US20110302649A1 (en) System for and method of providing secure sign-in on a touch screen device
TWI644231B (en) Apparatus and method for enhancing lock screen security
CN107977659A (en) A kind of character recognition method, device and electronic equipment
US8494277B2 (en) Handwritten character recognition based on frequency variations in characters
WO2016206398A1 (en) Method and apparatus for controlling electronic device, and method and apparatus for unlocking hand-held terminal
US20140104201A1 (en) Electronic apparatus and handwritten document processing method
US20160062637A1 (en) Method, apparatus and non-transitory storage medium for processing punctuation mark
TWI587169B (en) System and method for locking and unlocking an electronic device
CN108804907B (en) Unlocking method and system for touch screen device, computer readable storage medium and terminal
JP2014130554A (en) Information apparatus, authentication method, and authentication system
CN110989880B (en) Interface element processing method and device and readable storage medium
US20160349980A1 (en) Handwriting recognition method, system and electronic device
KR20180093294A (en) Method and Device for Authenticating using Pressure Information
CN104238950A (en) Unlocking method and device based on handwriting
KR102232597B1 (en) Authentication method and system using relative position of cross points
KR20150023963A (en) Authentication method and system using graphical pass points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230301

Address after: Room 101-3, building 36, no.258, Xinzhuan Road, Xinqiao Town, Songjiang District, Shanghai, 201612

Patentee after: Paijing Network Technology (Shanghai) Co.,Ltd.

Address before: 618-2 Gonggong Road West, Jiaojiang District, Taizhou City, Zhejiang Province 318001

Patentee before: ZHONGXIN INTERNATIONAL ELECTRONICS Co.,Ltd.

TR01 Transfer of patent right