CN108804907A - Touch-screen equipment unlocking method and system, computer readable storage medium, terminal - Google Patents

Touch-screen equipment unlocking method and system, computer readable storage medium, terminal Download PDF

Info

Publication number
CN108804907A
CN108804907A CN201810607650.0A CN201810607650A CN108804907A CN 108804907 A CN108804907 A CN 108804907A CN 201810607650 A CN201810607650 A CN 201810607650A CN 108804907 A CN108804907 A CN 108804907A
Authority
CN
China
Prior art keywords
decoding
touch
coordinate points
lines
coordinate
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
CN201810607650.0A
Other languages
Chinese (zh)
Other versions
CN108804907B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present invention is disclosed a kind of touch-screen equipment unlocking method and system, computer readable storage medium, terminal, this method includes unlocked step;User's arbitrary region in touch display screen passes through finger or capacitance pen input decoding figure, when during drawing decoding figure, the crosspoint that the sliding trace of finger or capacitance pen will be formed by cross-wise lines and vertical lines, by adjacent coordinate points line and curve connection, you can restore decoding figure;Compare step:Decoding figure is compared with cipher graphic, figure is such as decoded and the coordinate similarity of cipher graphic reaches 80% or 80% or more, then judges that decoding figure meets the requirements, and unlocks successfully.User can be unlocked in releasing process with the arbitrary graphic of oneself setting, release region can be any position on screen, pre-set pattern or character are anywhere inputted in screen, touch-screen equipment identification, which judges can receive, to be then unlocked, keep releasing process more convenient and hommization, improves the safety of touch-screen equipment unlock.

Description

Touch-screen equipment unlocking method and system, computer readable storage medium, terminal
Technical field
It is especially a kind of touch-screen equipment unlocking method and system, computer-readable the present invention relates to field of computer technology Storage medium, terminal.
Background technology
With the gradually development of mobile phone and tablet computer, in recent years, field of mobile terminals of the touch screen technology in mechanics of communication It is widely used, occupation rate also gradually increases the equipment such as touch-screen mobile phone or tablet computer in the market.Touch screen hand The feature of machine maximum is the large screen that it has, and can bring the enjoyment of vision to user, no matter from word or image or Other aspects have all embodied absolute advantage.
The unlock of existing smart mobile phone or tablet computer is generally divided into hardware mode and software mode, and hardware mode can lead to It crosses fingerprint, iris etc. to be unlocked, safety is higher, but needs corresponding hardware device, and cost is higher.Software unlock is not required to Extras are wanted, cost is relatively low, but safety and convenience are inadequate, and the unlock of nine grids pattern is easy to be stolen a glance at by neighbouring people To the unlocking pattern, to be unlocked easily, password unlock needs touch screen number more, such as 6 passwords, at least needs to touch 6 secondary screens input password could unlock, not convenient enough.
Invention content
The purpose of the present invention is exactly to provide a kind of touch-screen equipment solution to solve the above-mentioned problems in the prior art Locking method and system, computer readable storage medium, terminal.
The purpose of the present invention is achieved through the following technical solutions:A kind of touch-screen equipment unlocking method, this method include such as Lower step:
S1:Unlocked step;
By finger or capacitance pen input decoding figure, finger or capacitance pen exist arbitrary region user in touch display screen During drawing decoding figure, the sliding trace of finger or capacitance pen will be by the intersection of cross-wise lines and the formation of vertical lines Point, i.e., a series of coordinate points in plane right-angle coordinate, by adjacent coordinate points line and curve connection, you can restore decoding figure Shape;
S2:Compare step;
Decoding figure is compared with cipher graphic, figure is such as decoded and the coordinate similarity of cipher graphic reaches 80% Or 80% or more, then judge that decoding figure meets the requirements, and unlocks successfully, if phase knowledge and magnanimity are not up to 80%, unlocks failure, follow Ring above-mentioned steps.
The embodiment of the present invention additionally provides a kind of touch-screen equipment unlocking method, and this method comprises the following steps:
S100:User's decoded information that any position inputs in touch display screen is received, and determines the figure of decoded information Shape boundary obtains password image;
S200:When confirming that similarity is not less than setting value after password image and preset standard picture are compared, unlock at Work(, otherwise unlock failure.
Preferably, further include having S10 steps and S20 steps before S1 unlocked steps:
S10:The touch display screen of touch-screen equipment is set;
By equally spacedly dividing a plurality of cross-wise lines and vertical lines in touch display screen, a plurality of cross-wise lines and perpendicular Release region is constituted to lines, any position of the release region random display in touch display screen, cross-wise lines and vertical The spacing of lines is the width of at least one pixel, and the point that cross-wise lines and vertical lines intersect is crosspoint, uppermost The crosspoint of the vertical lines of cross-wise lines and leftmost side intersection is defined as the coordinate origin of plane right-angle coordinate, uppermost Cross-wise lines are defined as the X-axis of plane right-angle coordinate, and the vertical lines of the leftmost side are defined as the Y-axis of plane right-angle coordinate, The crosspoint of all cross-wise lines and vertical lines is demarcated with XY coordinates;
S20:Typing cipher graphic step;
User draws cipher graphic by finger or capacitance pen in touch display screen, which is arbitrary graphic Or character, for user by finger or capacitance pen during drawing cipher graphic, the sliding trace of finger or capacitance pen will be through Cross the crosspoint of cross-wise lines and the formation of vertical lines, i.e., a series of coordinate points in plane right-angle coordinate, by adjacent seat Punctuate line and curve connection, you can restore cipher graphic, find out in the coordinate points of above-mentioned reduction cipher graphic abscissa most Small value X1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、(X2,Y1)、(X1,Y2)、 (X2,Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve in memory.
Preferably, the S1 steps specifically comprise the following steps:
S11:Recording step;
The coordinate for recording decoding figure each point, finds out the minimum value of abscissa in the coordinate points of above-mentioned decoding figure X′1With maximum value X '2, the minimum value Y ' in ordinate1With maximum value Y '2, four coordinate points (X '1,Y′1)、(X′2,Y′1)、 (X′1,Y′2)、(X′2,Y′2) formed rectangular area be decoding figure region;
S12:Spin step;
Geometric center to decode graphics field is rotated as origin by figure is decoded, and record solves again after often rotating 1 ° The coordinate points that code figure is covered, find out the minimum value X " of abscissa in coordinate points1With maximum value X "2, the minimum in ordinate Value Y "1With maximum value Y "2, four coordinate points (X "1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) formed rectangular area It for new decoding graphics field, repeats the above steps, until reaching 360 ° to rotation angle, selects 1 °~360 ° rotation angles pair In all decoding graphics fields answered Aspect Ratio closest to cipher graphic region Aspect Ratio angle, at this time can there are two rotation Aspect Ratio of the corresponding decoding graphics field Aspect Ratio of gyration closest to cipher graphic;
S13:Scaling step;
According to the length and width in the cipher graphic region actually entered, by the corresponding decoding figure of two angles in S12 steps Region zooms in and out along the X direction with Y-direction respectively to consistent with the length in cipher graphic region and width;
S14:Determination step;
Two width decoding graphics field after S13 steps scaling is compared with cipher graphic region respectively, if The corresponding coordinate points of wherein width decoding figure coordinate points similarity corresponding with cipher graphic reaches in two width decoding figure 80% or 80% or more, then judge that decoding figure meets the requirements, and unlocks successfully, otherwise, unlock failure.
Preferably, in the S20 steps, the character is Chinese character or English alphabet or figure or Chinese character, English alphabet And/or the combination of figure.
Preferably, in the S1 steps, the crosspoint of the vertical lines intersection of uppermost cross-wise lines and the leftmost side Refer to positioned at the crosspoint in the touch display screen most upper left corner.
Preferably, the touch-screen equipment is mobile phone or tablet or PDA portable electronic devices.
The embodiment of the present invention additionally provides a kind of touch-screen equipment system for unlocking, and unlocked state is being touched for receiving user The decoded information that any position inputs on display screen, and determine that the graphic limit of decoded information obtains password image;Comparing module, When for confirming that similarity is not less than setting value after comparing password image and preset standard picture, unlock successfully, on the contrary solution Lock failure;Setup module, it is a plurality of for by equally spacedly dividing a plurality of cross-wise lines and vertical lines in touch display screen Cross-wise lines and vertical lines constitute release region, any position of the release region random display in touch display screen;Record Enter cipher graphic module, for user by finger or capacitance pen during drawing cipher graphic, finger or capacitance pen The crosspoint that sliding trace will be formed by cross-wise lines and vertical lines, i.e., a series of coordinates in plane right-angle coordinate Adjacent coordinate points line and curve connection is restored cipher graphic by point, is found out horizontal in the coordinate points of above-mentioned reduction cipher graphic The minimum value X of coordinate1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、(X2,Y1)、 (X1,Y2)、(X2,Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve in memory.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described The step of computer instruction executes any one of them touch-screen equipment unlocking method when running.
The embodiment of the present invention additionally provides a kind of terminal, which includes touch-screen equipment system for unlocking.
The advantages of technical solution of the present invention, is mainly reflected in:User passes through the unlocking method solution in actual use Lock, unlocking manner is freer, and user can be unlocked in releasing process with the arbitrary graphic of oneself setting, and release region can be screen Any position on curtain anywhere inputs pre-set pattern or character in screen, and touch-screen equipment identification judges can receive, then It is unlocked, keeps releasing process more convenient and hommization, greatly increase the safety of touch-screen equipment unlock.
Description of the drawings
Fig. 1 is the flow chart of touch-screen equipment unlocking method of the present invention.
Fig. 2 is the structural schematic diagram of inventive touch display screen.
Fig. 3 is the cipher graphic schematic diagram of the present invention.
Fig. 4 is the cipher graphic schematic diagram of the present invention.
Fig. 5 is the cipher graphic schematic diagram after 1 ° of present invention rotation.
Fig. 6 is the cipher graphic schematic diagram after the present invention is rotated by 360 °.
Fig. 7 is the cipher graphic schematic diagram after present invention scaling.
Fig. 8 is the cipher graphic schematic diagram after present invention scaling.
Specific implementation mode
The purpose of the present invention, advantage and feature, by by the non-limitative illustration of preferred embodiment below carry out diagram and It explains.These embodiments are only the prominent examples using technical solution of the present invention, it is all take equivalent replacement or equivalent transformation and The technical solution of formation, all falls within the scope of protection of present invention.
Present invention is disclosed a kind of touch-screen equipment unlocking methods, as shown in Figure 1, this method comprises the following steps:
S1:Unlocked step;
By finger or capacitance pen input decoding figure, finger or capacitance pen exist arbitrary region user in touch display screen During drawing decoding figure, the sliding trace of finger or capacitance pen will be by the intersection of cross-wise lines and the formation of vertical lines Point, i.e., a series of coordinate points in plane right-angle coordinate, by adjacent coordinate points line and curve connection, you can restore decoding figure Shape;
S2:Compare step:Decoding figure is compared with cipher graphic, such as decodes the coordinate phase of figure and cipher graphic Reach 80% or 80% or more like degree, then judges that decoding figure meets the requirements, and unlocks successfully, if phase knowledge and magnanimity are not up to 80%, Failure is then unlocked, above-mentioned steps are recycled.
Specifically, in embodiments of the present invention, further include having S10 steps and S20 steps before S1 unlocked steps:
S10:The touch display screen of touch-screen equipment is set;
By equally spacedly dividing a plurality of cross-wise lines and vertical lines in touch display screen, a plurality of cross-wise lines and perpendicular Release region is constituted to lines, any position of the release region random display in touch display screen, cross-wise lines and vertical Lines are virtual, and user is invisible, screen into multiple dots, and each point is demarcated with coordinate.
Specifically, cross-wise lines and the width that the spacing of vertical lines is at least one pixel, in the embodiment of the present invention In, the spacing of the cross-wise lines and vertical lines is preferably the width of ten pixels, the cross-wise lines and vertical lines Spacing can be specifically chosen according to practical situations, in the technical program, not between the cross-wise lines and vertical lines It is specifically defined away from doing.
As shown in Fig. 2, cross-wise lines and the point of vertical lines intersection are crosspoint, specifically, in the technical scheme, hand over The density of crunode with can clearly differentiate finger cut or capacitance pen cut be it is suitable, uppermost cross-wise lines and the leftmost side The uppermost cross-wise lines of coordinate origin that the crosspoint of vertical lines intersection is defined as plane right-angle coordinate are defined as plane The X-axis of rectangular coordinate system, the vertical lines of the leftmost side are defined as the Y-axis of plane right-angle coordinate, by all cross-wise lines and erect It is demarcated to the crosspoint of lines with XY coordinates.In the S10 steps, uppermost cross-wise lines and the leftmost side it is vertical The crosspoint of lines intersection refers to the crosspoint positioned at the touch display screen most upper left corner.
S20:Typing cipher graphic step;
User draws cipher graphic by finger or capacitance pen in touch display screen, which is arbitrary graphic Or character, specifically, in embodiments of the present invention, the character is the group of Chinese character or English alphabet or Chinese character and English alphabet It closes, in the technical scheme, the character is preferably Chinese character.
For user by finger or capacitance pen during drawing cipher graphic, the sliding trace of finger or capacitance pen will be through Cross the crosspoint of cross-wise lines and the formation of vertical lines, i.e., a series of coordinate points in plane right-angle coordinate, by adjacent seat Punctuate line and curve connection, you can restore cipher graphic, find out in the coordinate points of above-mentioned reduction cipher graphic abscissa most Small value X1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、(X2,Y1)、(X1,Y2)、 (X2,Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve in memory.With password figure Coordinate points (the X of shape1,Y1) be used as new origin, cipher graphic is regenerated into coordinate, by all coordinate points by X-coordinate, Y coordinate from Small to be numbered to big sequence, formation coordinate 1, coordinate 2, coordinate 3...... coordinates A, A are all coordinates points of cipher graphic Amount.
In embodiments of the present invention, user passes through finger or the signature " Zhang Wanli " of the advance typing of capacitance pen oneself, user By finger or capacitance pen during drawing cipher graphic, the sliding trace of finger or capacitance pen will pass through cross-wise lines and The crosspoint that vertical lines are formed, i.e., a series of coordinate points in plane right-angle coordinate connect adjacent coordinate points lines It connects, you can restore cipher graphic " Zhang Wanli ", find out the minimum value of abscissa in the coordinate points of above-mentioned reduction cipher graphic X1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、(X2,Y1)、(X1,Y2)、(X2, Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve in memory, preserve square region Record in (600*200), this figure are referred to as cipher graphic, as shown in Figure 3.
In embodiments of the present invention, the S1 steps specifically comprise the following steps:
S11:Recording step;
The coordinate for recording decoding figure each point, finds out the minimum value of abscissa in the coordinate points of above-mentioned decoding figure X1' and maximum value X '2, the minimum value Y ' in ordinate1With maximum value Y '2, four coordinate points (X '1,Y′1)、(X′2,Y′1)、 (X′1,Y′2)、(X′2,Y′2) formed rectangular area be decoding figure region, as shown in Figure 4;
S12:Spin step;
Geometric center to decode graphics field is rotated as origin by figure is decoded, and record solves again after often rotating 1 ° The coordinate points that code figure is covered, find out the minimum value X " of abscissa in coordinate points1With maximum value X "2, the minimum in ordinate Value Y "1With maximum value Y "2, four coordinate points (X "1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) formed rectangular area It for new decoding graphics field, repeats the above steps, until reaching 360 ° to rotation angle, selects 1 °~360 ° rotation angles pair In all decoding graphics fields answered Aspect Ratio closest to cipher graphic region Aspect Ratio angle, at this time can there are two rotation Gyration it is corresponding decoding graphics field Aspect Ratio closest to cipher graphic Aspect Ratio, as shown in Figure 5 and Figure 6.Specifically Ground, in embodiments of the present invention, the decoding figure of the two rotation angles is the figure for differing 180 °.
S13:Scaling step;
According to the length and width in the cipher graphic region actually entered, by the corresponding decoding figure of two angles in S12 steps Region zooms in and out along the X direction with Y-direction respectively to consistent with the length in cipher graphic region and width.Specifically, in the present invention In embodiment, with the minimum value X of abscissa in coordinate points1, the minimum value Y in ordinate1It, will be two in S12 steps as origin The corresponding decoding graphics field of a angle zooms in and out along the X direction with Y-direction respectively to the length and width with cipher graphic region Unanimously.
In embodiments of the present invention, the decoding graphics proportion actually entered is such as 700*220, and what this step was done is to incite somebody to action Decoding figure is zoomed in and out in cipher graphic ratio 600*200, and X-direction shorten to 600, and Y-direction shorten to 200, such as Fig. 7 and figure Shown in 8.
S14:Determination step;
Two width decoding graphics field after S13 steps scaling is compared with cipher graphic region respectively, if The corresponding coordinate points of wherein width decoding figure coordinate points similarity corresponding with cipher graphic reaches in two width decoding figure 80% or 80% or more, then judge that decoding figure meets the requirements, and unlocks successfully, otherwise, unlock failure, inside determination step most More there are one can be judged as correctly decoding figure.Specifically, in embodiments of the present invention, the figure (X after scaling1, Y1) As new origin, all coordinate points are numbered by the sequence of X-coordinate, Y coordinate from small to large, form coordinate 1, coordinate 2, sits It is all coordinate points quantity to mark 3...... coordinates B, B, and all coordinates of coordinate points all on figure and cipher graphic are clicked through Row compares.
In embodiments of the present invention, Fig. 7 and Fig. 8 figure coordinates recorded are compared with cipher graphic Fig. 3, if figure The coordinate of figure and the coordinate similarity of cipher graphic Fig. 2 reach 80% or more in 7 or Fig. 8, then judge that decoding figure conforms to It asks, unlocks successfully.If similarity is not up to 80%, failure is unlocked.
The specific comparison process of figure and test pattern after scaling is mainly compared by following two aspects, specifically Ground, 1, coordinate points quantity:The error of the coordinate points quantity B of figure and cipher graphic coordinate points quantity A should be ± 10% after scaling Within;2, error of coordinate:Using cipher graphic as template, the coordinate of coordinate points is compared one by one, and error of coordinate can connect within ± 3 By.Corresponding coordinate (such as cipher graphic coordinate 1 (256,135), contracting are found on the figure of the coordinate 1 of cipher graphic after scaling Coordinate 1 (255,136) on figure after putting, then coordinate 1 meet unlocking requirements), successively by coordinate 2, coordinate 3...... coordinates A It is compared, corresponding coordinate point can be found on the figure of 80% coordinate after scaling by having, then judges to unlock successfully.
The embodiment of the present invention additionally provides a kind of touch-screen equipment unlocking method, and this method comprises the following steps:
S100:User's decoded information that any position inputs in touch display screen is received, and determines the figure of decoded information Shape boundary obtains password image;
S200:When confirming that similarity is not less than setting value after password image and preset standard picture are compared, unlock at Work(, otherwise unlock failure.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer instruction, described The step of touch-screen equipment unlocking method is executed when computer instruction is run.Wherein, the touch-screen equipment unlocking method Method refers to the introduction of preceding sections, and details are not described herein.
This method provides a kind of completely new unlocking manner, user can use the arbitrary graphic oneself set in releasing process Unlock, release region can be any position on screen, and pre-set pattern or character are anywhere inputted in screen.
The embodiment of the present invention additionally provides a kind of touch-screen equipment system for unlocking, which includes
Unlocked state for receiving user's decoded information that any position inputs in touch display screen, and determines decoding The graphic limit of information obtains password image;
Comparing module, for confirming that similarity is not less than setting value after comparing password image and preset standard picture When, it unlocks successfully, on the contrary unlock failure;
Setup module is more for by equally spacedly dividing a plurality of cross-wise lines and vertical lines in touch display screen Cross-wise lines and vertical lines constitute release region, any position of the release region random display in touch display screen;
Typing cipher graphic module, for user by finger or capacitance pen during drawing cipher graphic, finger Or the sliding trace of capacitance pen will be by the crosspoint of cross-wise lines and the formation of vertical lines, i.e. one in plane right-angle coordinate Adjacent coordinate points line and curve connection is restored cipher graphic by serial coordinate points, finds out the coordinate of above-mentioned reduction cipher graphic The minimum value X of abscissa in point1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1, Y1)、(X2,Y1)、(X1,Y2)、(X2,Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve In memory.
The embodiment of the present invention additionally provides a kind of terminal, which includes above-mentioned touch-screen equipment system for unlocking.
The touch-screen equipment is mobile phone or tablet or PDA (Personal Digital Assistant:Individual digital helps Reason) etc. portable electronic devices, the touch-screen equipment can also be the terminal devices such as laptop or desktop computer.
The embodiment of the present invention additionally provides a kind of terminal, including memory, processor and touch display screen, the memory On store the computer instruction that can be run on the processor, the processor executes when running the computer instruction The step of described touch-screen equipment unlocking method, the touch display screen is divided into grid by virtual latitude and longitude.Wherein, described The method of touch-screen equipment unlocking method refers to the introduction of preceding sections, and details are not described herein.The memory can be described The memory of touch-screen equipment itself can also be external storage device, such as smart media card, safe digital card, flash memory cards Deng.
Still there are many embodiment, all technical sides formed using equivalents or equivalent transformation by the present invention Case is within the scope of the present invention.

Claims (10)

1. a kind of touch-screen equipment unlocking method, it is characterised in that:This method comprises the following steps:
S1:Unlocked step;
By finger or capacitance pen input decoding figure, finger or capacitance pen are being drawn arbitrary region user in touch display screen During decoding figure, the crosspoint that the sliding trace of finger or capacitance pen will pass through cross-wise lines and vertical lines are formed, A series of coordinate points i.e. in plane right-angle coordinate, by adjacent coordinate points line and curve connection, you can restore decoding figure;
S2:Compare step;
Will decoding figure be compared with cipher graphic, such as decoding figure and cipher graphic coordinate similarity reach 80% or 80% or more, then judge that decoding figure meets the requirements, and unlocks successfully, if phase knowledge and magnanimity are not up to 80%, then unlocks failure, in cycle State step.
2. a kind of touch-screen equipment unlocking method, it is characterised in that:This method comprises the following steps:
S100:User's decoded information that any position inputs in touch display screen is received, and determines the graph edge of decoded information Boundary obtains password image;
S200:When confirming that similarity is not less than setting value after password image and preset standard picture are compared, unlock successfully, instead Unlock failure.
3. a kind of touch-screen equipment unlocking method according to claim 1, it is characterised in that:It is also wrapped before S1 unlocked steps S10 steps and S20 steps are included:
S10:The touch display screen of touch-screen equipment is set;
By equally spacedly dividing a plurality of cross-wise lines and vertical lines, a plurality of cross-wise lines and vertical line in touch display screen Item constitutes release region, any position of the release region random display in touch display screen, cross-wise lines and vertical lines Spacing be at least one pixel width, cross-wise lines and vertical lines intersection point be crosspoint, uppermost transverse direction The crosspoint of lines and the intersection of the vertical lines of the leftmost side is defined as the coordinate origin of plane right-angle coordinate, uppermost transverse direction Lines are defined as the X-axis of plane right-angle coordinate, and the vertical lines of the leftmost side are defined as the Y-axis of plane right-angle coordinate, by institute There is the crosspoint of cross-wise lines and vertical lines to be demarcated with XY coordinates;
S20:Typing cipher graphic step;
User draws cipher graphic by finger or capacitance pen in touch display screen, which is arbitrary graphic or word Symbol, for user by finger or capacitance pen during drawing cipher graphic, the sliding trace of finger or capacitance pen will pass through cross The crosspoint formed to lines and vertical lines, i.e., a series of coordinate points in plane right-angle coordinate, by adjacent coordinate points With line and curve connection, you can restore cipher graphic, find out the minimum value of abscissa in the coordinate points of above-mentioned reduction cipher graphic X1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、(X2,Y1)、(X1,Y2)、(X2, Y2) formed rectangular area be cipher graphic region, by the cipher graphic region preserve in memory.
4. a kind of touch-screen equipment unlocking method according to claim 1, it is characterised in that:
The S1 steps specifically comprise the following steps:
S11:Recording step;
The coordinate for recording decoding figure each point, finds out the minimum value X ' of abscissa in the coordinate points of above-mentioned decoding figure1Most Big value X '2, the minimum value Y ' in ordinate1With maximum value Y '2, four coordinate points (X '1,Y′1)、(X′2,Y′1)、(X′1,Y′2)、 (X′2,Y′2) formed rectangular area be decoding figure region;
S12:Spin step;
It is rotated as origin by figure is decoded using decoding the geometric center of graphics field, carrying recorded decoding figure again after often rotating 1 ° The coordinate points that shape is covered find out the minimum value X " of abscissa in coordinate points1With maximum value X "2, the minimum value in ordinate Y″1With maximum value Y "2, four coordinate points (X "1,Y″1)、(X″2,Y″1)、(X″1,Y″2)、(X″2,Y″2) formed rectangular area be New decoding graphics field, repeats the above steps, until reaching 360 ° to rotation angle, 1 °~360 ° rotation angles is selected to correspond to All decoding graphics fields in Aspect Ratio closest to cipher graphic region Aspect Ratio angle, at this time can there are two rotation Aspect Ratio of the corresponding decoding graphics field Aspect Ratio of angle closest to cipher graphic;
S13:Scaling step;
According to the length and width in the cipher graphic region actually entered, by the corresponding decoding graphics field of two angles in S12 steps It is zoomed in and out respectively with Y-direction along the X direction to consistent with the length in cipher graphic region and width;
S14:Determination step;
Two width decoding graphics field after S13 steps scaling is compared with cipher graphic region respectively, if two width The corresponding coordinate points of wherein width decoding figure coordinate points similarity corresponding with cipher graphic reaches 80% in decoding figure Or 80% or more, then judge that decoding figure meets the requirements, and unlocks successfully, otherwise, unlock failure.
5. a kind of touch-screen equipment unlocking method according to claim 3, it is characterised in that:It is described in the S20 steps Character is the combination of Chinese character or English alphabet or figure or Chinese character, English alphabet and/or figure.
6. a kind of touch-screen equipment unlocking method according to claim 1, it is characterised in that:It is most upper in the S1 steps The crosspoint of the cross-wise lines in face and the vertical lines intersection of the leftmost side refers to the crosspoint positioned at the touch display screen most upper left corner.
7. a kind of touch-screen equipment unlocking method according to claim 1, it is characterised in that:The touch-screen equipment be mobile phone or Tablet or PDA portable electronic devices.
8. a kind of touch-screen equipment system for unlocking, it is characterised in that:
Unlocked state for receiving user's decoded information that any position inputs in touch display screen, and determines decoded information Graphic limit obtain password image;
Comparing module, when for confirming that similarity is not less than setting value after comparing password image and preset standard picture, solution It locks successfully, on the contrary unlock failure;
Setup module, for by equally spacedly dividing a plurality of cross-wise lines and vertical lines, a plurality of cross in touch display screen Release region, any position of the release region random display in touch display screen are constituted to lines and vertical lines;
Typing cipher graphic module, for user by finger or capacitance pen during drawing cipher graphic, finger or electricity Hold the crosspoint that the sliding trace of pen will be formed by cross-wise lines and vertical lines, i.e., it is a series of in plane right-angle coordinate Adjacent coordinate points line and curve connection is restored cipher graphic by coordinate points, and the coordinate points for finding out above-mentioned reduction cipher graphic are worked as The minimum value X of middle abscissa1With maximum value X2, the minimum value Y in ordinate1With maximum value Y2, four coordinate points (X1,Y1)、 (X2,Y1)、(X1,Y2)、(X2,Y2) formed rectangular area be cipher graphic region, which is stored in and is deposited In reservoir.
9. a kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that:The computer instruction fortune Perform claim requires the step of 1 to 7 any one of them touch-screen equipment unlocking method when row.
10. a kind of terminal, it is characterised in that:The terminal includes touch-screen equipment system for unlocking as claimed in claim 8.
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 true CN108804907A (en) 2018-11-13
CN108804907B 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
CN108804907B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
US10176315B2 (en) Graphical authentication
US9514297B2 (en) Systems and methods for gesture lock obfuscation
CN105335641B (en) A kind of auth method and device based on fingerprint recognition
US20130047236A1 (en) Authentication system and method thereof
US9117068B1 (en) Password protection using pattern
CN104407803B (en) Unlocking screen method, device and the electronic equipment recognized based on person's handwriting
US20110302649A1 (en) System for and method of providing secure sign-in on a touch screen device
WO2016206398A1 (en) Method and apparatus for controlling electronic device, and method and apparatus for unlocking hand-held terminal
CN105068733B (en) A kind of method and device of terminal unlocking
CN105354455B (en) State switching method and electronic equipment
KR101424655B1 (en) Unlocking method for application of mobile terminal, mobile terminal using the unlocking method and login method for service application of mobile terminal
TWI644231B (en) Apparatus and method for enhancing lock screen security
WO2016206558A1 (en) Method of generating completely automated public turing test to tell computers and humans apart (captcha) and device utilizing same
TWI598828B (en) Electronic device and system and method of controlling access to the same
TWI587169B (en) System and method for locking and unlocking an electronic device
CN102929394A (en) Braille input method based on gesture recognition
CN103632070B (en) Any handwriting graphical password method used for payment system
CN108804907A (en) Touch-screen equipment unlocking method and system, computer readable storage medium, terminal
CN104238950B (en) A kind of unlocking method and device based on written handwriting
CN104794392A (en) Equipment unlocking method and device based on grids
KR101054096B1 (en) A method and a computer readable media for secure password input using touchscreen interfaces
KR20180093294A (en) Method and Device for Authenticating using Pressure Information
US10586037B1 (en) Disambiguation of an alphanumeric security code to a user
CN107169339A (en) Unlocking method and device
CN106210341A (en) Terminal unlocking method and terminal unit

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