CN108319843A - A kind of unlocking method and device based on gesture password - Google Patents

A kind of unlocking method and device based on gesture password Download PDF

Info

Publication number
CN108319843A
CN108319843A CN201710037655.XA CN201710037655A CN108319843A CN 108319843 A CN108319843 A CN 108319843A CN 201710037655 A CN201710037655 A CN 201710037655A CN 108319843 A CN108319843 A CN 108319843A
Authority
CN
China
Prior art keywords
parameter
dial plate
user
gesture
pointer
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
CN201710037655.XA
Other languages
Chinese (zh)
Other versions
CN108319843B (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201710037655.XA priority Critical patent/CN108319843B/en
Publication of CN108319843A publication Critical patent/CN108319843A/en
Application granted granted Critical
Publication of CN108319843B publication Critical patent/CN108319843B/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

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)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of unlocking method and a devices based on gesture password, including:Mobile terminal desktop is opened in response to user or opens the operation of application program, and the dial plate seized can be compiled by showing one on the mobile terminal, wherein the dial plate indicates the initial value of the first parameter;In response to the unlock gesture that the user inputs above-mentioned dial plate, first parameter of the dial plate instruction is updated;Obtain first parameter that the dial plate currently indicates;Inquiry the second parameter corresponding with pre-set gesture password;And compare first parameter and second parameter, if first parameter is consistent with second parameter, unlock the mobile terminal desktop or the application program;If first parameter and second parameter are inconsistent, user is prompted to unlock gesture input mistake.

Description

A kind of unlocking method and device based on gesture password
Technical field
This application involves the information technology field (IT) more particularly to a kind of unlocking methods and device based on gesture password.
Background technology
With the fast development of intelligent mobile terminal, the use of gesture password in the terminal is more and more extensive.For example, User can need when the desktop of mobile terminal is opened in setting in the operating system of mobile terminal or opens some application program The gesture password of input.In this way, into the desktop of mobile terminal or opening some in application, mobile terminal meeting in user's request A gesture password input interface is shown first.And after user's input gesture password, mobile terminal can input user Gesture password verified, can be with if gesture password input by user and the pre-set gesture password of user are thought together Into mobile terminal desktop or open some application homepage.
Compared with traditional password input mode, gesture password mode is novel in design, operates conveniently, therefore, very More occasions are all designed instead of traditional password.
Invention content
Present applicant proposes a kind of unlocking methods based on gesture password.This method includes:
Mobile terminal desktop is opened in response to user or opens the operation of application program, shows one on the mobile terminal A dial plate, wherein the dial plate indicates the initial value of the first parameter;
In response to the user to the unlock gesture of the input of the dial plate, first ginseng of the dial plate instruction is updated Number;
Obtain first parameter that the dial plate currently indicates;
Inquire pre-set the second parameter corresponding with gesture password;And
First parameter and second parameter are compared, if first parameter and second parameter one It causes, then unlocks the mobile terminal desktop or the application program;If first parameter and second parameter are inconsistent, User is prompted to unlock gesture input mistake.
The application also proposed a kind of tripper based on gesture password, which includes:
Display module, the operation for opening mobile terminal desktop or application program in response to user, displaying one can compile The dial plate collected, wherein the dial plate indicates the initial value of the first parameter;
Update module, for, to the unlock gesture of the input of the dial plate, updating the dial plate in response to the user and referring to First parameter shown;
Acquisition module, first parameter currently indicated for obtaining the dial plate, and inquire pre-set and hand Corresponding second parameter of gesture password;And
Authentication module, for first parameter and second parameter to be compared, if first parameter and Second parameter is consistent, then unlocks the mobile terminal desktop or the application program;And if first parameter and institute It is inconsistent to state the second parameter, then user is prompted to unlock gesture input mistake.
Above-mentioned method and apparatus provided by the present application provide gesture password setting and unlocking type based on dial plate, can be with Gesture password is effectively prevented to be cracked.Meanwhile it being on the one hand more close to the users day in a manner of dial plate gesture password is arranged Often life improves user experience, on the other hand can also greatly reduce user and be brought because hardly possible is differentiated or indigestibility gesture password It is secondary or request unlock mobile terminal or application program is repeated several times, the hardware resource of user terminal can be greatlyd save, carried High efficiency.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart of the unlocking method based on gesture password of one example of the application;
Fig. 2 is the example for showing clock face in one example of the application on mobile terminals;
Fig. 3 is the example for updating dial plate in one example of the application by taking clock face as an example and indicating parameter;
Fig. 4 is the method flow diagram of the setting gesture password of one example of the application;
Fig. 5 is the example that gesture password is arranged by numeric display area of one example of the application;
Fig. 6 is the tripper structure chart based on gesture password of one example of the application;
Fig. 7 is the unlocker device hardware structure diagram based on gesture password of one example of the application.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It is succinct and intuitive in order to what is described, hereafter by describing several representative embodiments come to the solution of the present invention It is illustrated.A large amount of details is only used for helping to understand the solution of the present invention in embodiment.However, it will be apparent that the technology of the present invention Scheme can be not limited to these details when realizing.In order to avoid unnecessarily having obscured the solution of the present invention, some embodiment party Formula is not described meticulously, but only gives frame.Hereinafter, " comprising " refers to " including but not limited to ", " root According to ... " refer to " according at least to ..., but be not limited to according only to ... ".Hereinafter it is not specifically stated the quantity of an ingredient When, it is meant that the ingredient is either one or more, or can be regarded as at least one.
Existing gesture password is mainly to be realized by way of dot matrix.Namely it is set in the operating system of mobile terminal When setting gesture password, mobile terminal can show a gesture password setting interface.If gesture password setting can be shown on interface Do a point, such as the dot matrix of 3 х 3.User continuously streaks wherein several points by finger, draws a pattern.The figure Case is arranged to gesture password.After provided with gesture password, if user want open mobile terminal desktop or Some application is opened, then needs to draw according to original mode on the gesture password input interface that mobile terminal is shown identical Pattern.If mobile terminal determines that the pattern that user draws is identical as pattern is pre-set by verification, user is allowed to continue Operation.Otherwise, mobile terminal will be prompted to user gesture Password Input mistake.However, the design interface of above-mentioned dot matrix is excessively single, It is difficult to provide more diversified, more attractive user interface;Secondly, latticed form is for certain groups, such as mistake for the elderly It in strange, is not easy to remember, this can cause some difficulties to the operation of these users.
In view of this, present applicant proposes a kind of unlocking method based on gesture password, this method is by can compile the table seized Disk completes the setting of gesture password and the unlock of mobile terminal or application program, can be applied to the operating system of mobile terminal Or in application program.
In some examples of the application, the form of dial plate may be used to be arranged, show and solve in this gesture password Lock, thus, it is possible to diversified gesture password input interface is provided, while more closeness to life, facilitate user to remember and grasp Make, improves user experience.This gesture password is due to being easy to memory and operation therefore also avoiding unnecessary to mobile terminal Locking, to save the resource of mobile terminal, and improves efficiency.
In some examples of the application, above-mentioned mobile terminal can be mobile phone, iPad, tablet computer and it is on knee just Take the terminal devices such as computer.These mobile terminals usually have touch screen, to support the setting and input of gesture password.
Based on gesture password to mobile terminal or to the premise that application program is unlocked be need in mobile terminal Operating system password setting function choosing-item in or application program password setting function choosing-item in pre-set a hand Gesture password, and the gesture password of setting is saved in the operating system of above-mentioned mobile terminal or the data of application program.This Some examples of application also give the specific setting method of gesture password, and will be described in detail hereinafter.Initially below in detail Describe the bright unlocking method based on gesture password in detail.
Fig. 1 shows the flow of the unlocking method based on gesture password described in present application example.As shown in Figure 1, the party Method includes following steps:
Step 101:The operation that mobile terminal desktop or application program are opened in response to user shows one in mobile terminal Editable dial plate, wherein the dial plate indicates the initial value of the first parameter.
Under normal conditions, in terms of the information security, open mobile terminal enter mobile terminal desktop or When person enters some application program, it usually needs input gesture password carries out the verification of user identity.
Wherein, above-mentioned gesture password can be that user is defeated by touch screen etc. at the gesture password setting interface of operating system Enter certain pattern that equipment is drawn on mobile terminal screen, is tested for opening mobile terminal desktop or when entering application program Demonstrate,prove the identity of user.
In some examples of the application, above-mentioned mobile terminal either application program receive user open desktop or When the request of login application program, an editable can be shown in the display equipment (for example, touch screen) of above-mentioned mobile terminal Dial plate.The dial plate may include dial and at least one moveable pointer.Above-mentioned dial plate can also include dial plate background. Above-mentioned at least one pointer can be dragged by user or movement, surrounds dial plate center rotating, wishes its meaning to be directed toward user To some scale in disk-read of quarter.Above-mentioned first parameter is the scale value represented in dial plate pointed by pointer.First parameter It is one-to-one with the scale value pointed by least one pointer on dial plate.That is, if user to the pointer on dial plate into It has gone dragging or moving operation, the scale value that it is directed toward is made to be changed, then, above-mentioned first parameter will also occur therewith Variation.
In some examples of the application, in order to ensure the accuracy of user's operation, can also in above-mentioned dial plate or Dial plate is displayed next to a numeric display area, and the scale value being currently pointed at for showing the pointer that is to say above-mentioned The numerical value for the first parameter that dial plate currently indicates.In this case, user can utilize the content that numeric display area is shown The operation of itself is calibrated, to move the pointer to the position of anticipation.
In some examples of the application, above-mentioned dial plate can be a clock.Therefore, in some examples wherein, Above-mentioned first parameter can include three fields, three fields correspond to respectively chronomere when, divide and the second.For example, if The time that hand of dial currently indicates be 03 point 00 second 01 minute, then the value for the first parameter that the dial plate currently indicates is 03:01: 00.In other examples, above-mentioned first parameter can also be that hand of dial currently indicates time conversion into the numerical value after the second, Hour hands meaning scale value on dial plate is multiplied by 3600, in addition minute hand meaning scale value is multiplied by 60 on dial plate, along on dial plate The scale value of second hand meaning.For example, if the time that hand of dial currently indicates be 03 point 00 second 01 minute, dial plate currently indicates The first parameter value be 10860 (3*3600+1*60+0).
If above-mentioned clock face includes numeric display area, the content shown by the numeric display area is exactly current Always the time that each pointer indicates on dial plate.
It should be noted that the initial value of the first parameter of above-mentioned editable dial plate instruction can be arbitrary value, such as 00: 00:00 or 0.The value can be set by programming personnel in writing phase.
Wherein, the shape of above-mentioned editable dial plate, background color, pointer pattern etc. can be preset, can also be from upper It states and is randomly choosed in the dial plate element database of mobile terminal, to complete the drafting of above-mentioned dial plate.The application is to this without any tool The restriction of body.
Fig. 2 shows an example that dial plate is shown on mobile phone screen by taking clock face as an example.Above-mentioned mobile phone in response to User solves the operation of lock screen, shows that a clock face 201, the clock face 201 include dial 202 and 3 on the screen A pointer 203, meanwhile, further include a time figure display area 204 and a calendar 205.Here, make clock face 201 Pointer 203 indicates that the initial value of the first parameter is 00:00:00, while the finger of 204 read clock dial plate 201 of numeric display area The initial value for the first parameter that needle 203 indicates.
Step 102:In response to user to the unlock gesture of above-mentioned editable dial plate input, the first of dial plate instruction is updated Parameter.
In some instances, in order to complete unlock gesture, user will refer to above-mentioned dial plate by input equipments such as touch screens At least one pointer, is moved to specified position by the moving operation that needle carries out.In order to complete mobile terminal or application program Unlock, which should be identical with the position corresponding to pre-set gesture password.
Above-mentioned mobile terminal moves the operation of above-mentioned pointer by user is received, then the scale pointed by the pointer Value updates first parameter.
Fig. 3 after showing that a mobile phone inputs unlock gesture in response to user, updates hand of dial by taking clock face as an example The example of the first parameter indicated.
Above-mentioned mobile phone shows a clock face 301 on the screen in response to the unlock screen operator of user in Fig. 3, and The clock face pointer 302 is set to be directed toward the initial value 00 of the first parameter:00:00, numeric display area 303 shows above-mentioned dial plate The current instruction parameter 00 of pointer 302:00:00.
Assuming that user is in password setup phase, the gesture password of setting be 03 point 00 second 01 minute, then in this step, user It can be according to unlock gesture by the way that the hour hands in three hand of dial to be moved to 3 points of position and are moved to minute hand 01 minute The input of gesture password is completed in position.In the process, mobile terminal will be in real time according to pointed by each pointer 302 on dial plate Scale value update the content of above-mentioned numeric display area 303.Therefore, user can according to shown in numeric display area when Between the operation of itself is calibrated.For example, in mobile minute hand, point shown in numeric display area can be observed simultaneously, It can stop moving if it is 01.After completing to the moving operation of above-mentioned pointer and minute hand, above-mentioned mobile terminal will respond Unlock gesture input by user updates the first parameter indicated by above-mentioned dial plate, such as 03:01:00 or 10860.
Step 103:The first parameter that above-mentioned editable dial plate currently indicates is read, and inquires the gesture password pair of preservation The second parameter answered.
In this step, above-mentioned mobile terminal can be somebody's turn to do by reading the location determination of each hand of dial on editable dial plate The value for the first parameter that dial plate currently indicates.It is above-mentioned if statistics have shown region on dial plate in some examples of the application Mobile terminal can also obtain the first parameter by reading the content that above-mentioned editable dial digital display area is currently shown. As previously mentioned, read the first parameter can include diversified forms, e.g. include when, three fields of minute, second parameter, also may be used To be the parameter comprising a field (by dial plate currently signified time conversion at the parameter after the second).
After the value for having read above-mentioned first parameter, further inquiry is also stored in by mobile terminal in password setup phase Corresponding second parameter of gesture password in above-mentioned mobile terminal.In some examples of the application, above-mentioned second parameter is to protect There are in the encryption file of mobile terminal, therefore, after having read encryption file, it is also necessary to encryption file be decrypted from And obtain the second parameter.
Corresponding, the second parameter and the first parameter will use identical format.For example, if the first parameter is to include When, three fields of minute, second parameter, then the second parameter also will be comprising when, three fields of minute, second parameter.If first Parameter is to include the parameter of a field, then the second parameter also will be the parameter for including a field.
Step 104:Above-mentioned first parameter and above-mentioned second parameter are compared, if above-mentioned first parameter and above-mentioned Two parameters are consistent, then authentication success, execute step 105;If above-mentioned first parameter and above-mentioned second parameter are inconsistent, Authentication fails, and executes step 106.
Step 105:Mobile phone desktop or application program are unlocked, user is allowed to enter the desktop or application program of mobile terminal Homepage continues to operate.
Step 106:It prompts user to unlock gesture input mistake, unlock gesture need to be inputted again and carry out authentication.
By taking clock face as an example, it is assumed that user in password setup phase, the gesture password of setting be 03 point 00 second 01 minute, then The value of second parameter should be 03:01:00 or 10860.In a step 102, if user inputs unlock gesture, dragging is above-mentioned The pointer of dial plate makes it be directed toward 01 minute and 00 second at 03 point, while above-mentioned digital display area area update shows that content is 03:01:00, then Above-mentioned mobile terminal reads the content that above-mentioned numeric display area is shown, i.e. the first parameter, and value is 03:01:00 or 10860.Then, mobile terminal is by the value of the first parameter the second parameter 03 corresponding with the gesture password pre-saved:01:00 or 10860 are compared, by comparison, it may be determined that the two is consistent, then it is assumed that authentication success.
If user inputs unlock gesture, dragging the pointer of above-mentioned dial plate makes it be directed toward 00 minute and 00 second at 03 point, while above-mentioned Digital display area area update shows that content is 03:00:00, then above-mentioned mobile terminal read above-mentioned numeric display area show it is interior Hold, i.e. the first parameter, its value is 03 at this time:00:00 or 10800.Then, mobile terminal by the first parameter with pre-save Corresponding second parameter of gesture password 03:01:00 or 10860 are compared, by comparison, it is believed that the two is inconsistent, then recognizes Fail for authentication.
Further, the maximum allowable frequency of failure can also be set, while verification number counter is set, and will be at the beginning of it Initial value is set as 0.If user's checking failure is primary, above-mentioned verification number counter adds 1.If verification number counter value reaches To the above-mentioned maximum allowable frequency of failure, then above-mentioned mobile terminal or application program are locked, and waits for that preset time allows again later User carries out authentication.Wherein, which can be any time period, for example, 3 minutes or 10 minutes etc..
The method that setting gesture password is described in detail below in conjunction with attached drawing.Fig. 4 shows that one example of the application provides Setting gesture password method, as shown in figure 4, this approach includes the following steps:
Step 401:In response to the setting gesture password operation of user, an editable dial plate is shown on mobile terminals.
In some instances, the operating system or application program of above-mentioned mobile terminal are to receive user setting gesture close When the request of code, an editable dial plate can be shown on the screen (for example, touch screen) of above-mentioned mobile terminal.The dial plate can To include dial and at least one moveable pointer.Wherein, the scale value on the dial plate pointed by each pointer is second Parameter.Gesture password, namely setting second can be arranged to scheduled position by dragging above-mentioned at least one pointer in user Parameter.It can be arbitrary position in the initial position of the original state of dial plate, each pointer namely above-mentioned editable dial plate refers to Show that the initial value of the second parameter can be arbitrary value, such as 0 or 00:00:00.The initial value can write rank by programming personnel Section setting.
Can also include numeric display area to ensure the accuracy of user's operation in some examples of the application, Numerical value for showing the scale value that the pointer is currently pointed at namely the second parameter that above-mentioned hand of dial currently indicates. In the setting up procedure of gesture password, user can utilize the content that shows of numeric display area to itself volume to above-mentioned dial plate It collects operation to be calibrated, each pointer is made to be directed toward the scale value of user's anticipation.
In some examples of the application, the editable dial plate that is shown on above-mentioned mobile terminal screen can and Fig. 2 Shown in dial plate 201 it is identical.
Step 402:Edit operation in response to user to above-mentioned editable dial plate updates the second ginseng indicated by dial plate Number.
Above-mentioned edit operation can be user to be dragged or mobile above-mentioned hand of dial by input equipments such as touch screens, so that Above-mentioned hand of dial is directed toward the position of the gesture password of user's anticipation.Therefore, in this step, above-mentioned mobile terminal will be received and be used The operation of above-mentioned pointer is moved at family, and then the scale value pointed by the pointer updates second parameter.
If further including that numeric display area then exists for showing the scale value pointed by above-mentioned hand of dial in dial plate In numeric display area is shown in this step, in the scale value that be also further currently pointed at according to pointer update dial plate Hold.
As shown in figure 3, above-mentioned mobile terminal drags the operation of above-mentioned hand of dial 302 in response to user, above-mentioned table is updated The display content of disk 301 and numeric display area 303.
Further, in order to increase simplicity, above-mentioned edit operation, can also be can click directly on number in above-mentioned dial plate Block domain, sliding selects or directly inputs the gesture password numerical value to be set, while above-mentioned mobile terminal receives above-mentioned cunning After dynamic operation or input operation, updates above-mentioned dial plate and show that content and above-mentioned numeric display area show content.
As shown in figure 5, above-mentioned mobile terminal receives the numeric area 503 that user clicks above-mentioned dial plate 501 by touch screen, Numeric area 503 pops up the sliding block 504 with time figure, and the gesture password numerical value for wanting setting, such as 3 are selected for user; The gesture password numerical value for wanting setting can be directly inputted.In response to the above-mentioned edit operation of user, on above-mentioned mobile terminal to update State numeric area 503 in the display content (namely scale value pointed by each pointer) and above-mentioned dial plate 501 of dial plate 501 Show content.
Step 403:In response to the confirmation that user gesture password is provided with, the second ginseng indicated by above-mentioned dial plate is obtained Number, and preserved second parameter as gesture password.
Hand of dial drags to the position of anticipation in user, or in setting numeric display area every numerical value to envisioning Value after, the acknowledgement key that gesture password is provided with can be clicked, at this point, mobile terminal by obtain indicated by current dial plate Two parameters, and preserved second parameter as gesture password.
In some implementations of the application, if in dial plate further including numeric display area, for showing that above-mentioned dial plate refers to Scale value pointed by needle, then in this step, the current display content in numeric display area and the numerical value of the second parameter are pair It answers.
As previously mentioned, above-mentioned second parameter can be comprising when, three fields of minute, second parameter either only include one The parameter of field.It should be noted that the format about above-mentioned first parameter and the second parameter, by system or can apply journey The developer of sequence sets, and the application is to this without limiting.
In some examples of the application, above-mentioned second parameter can be cryptographically preserved, such as the second parameter is protected In the presence of in encryption file.Here, encrypted form can be more commonly used data encryption, be by Encryption Algorithm and encryption key Ciphertext will be changed into plain text.
It, can be with by above technical scheme as can be seen that using the unlocking method provided by the present application based on gesture password It is arranged in the form of dial plate and is shown, thus, it is possible to provide diversified gesture password input interface, while is more sticked on Nearly life facilitates user to remember and operate, improves user experience.Simultaneously because this gesture password is easy memory and behaviour Make, therefore, also avoids locking unnecessary to mobile terminal and operate repeatedly, save mobile terminal hardware resource, and carry High efficiency.
Based on above each example, present invention also provides a kind of trippers based on gesture password, wherein above-mentioned be based on The tripper of gesture password may be mounted on above-mentioned mobile terminal.
In some examples of the application, the structure chart that the above-mentioned tripper based on gesture password can be as shown in Figure 6 is real It is existing, including:Display module 601, update module 602, acquisition module 603 and authentication module 604.
In some instances, each functions of modules is as follows:
Display module 601, the operation for opening mobile terminal desktop or application program in response to user, displaying one can The dial plate of editor, wherein dial plate indicates the initial value of the first parameter.
Update module 602, for, to the unlock gesture of the input of above-mentioned dial plate, updating the dial plate in response to above-mentioned user First parameter indicated.
Acquisition module 603, for obtaining first parameter and the advance guarantor of inquiry that above-mentioned editable dial plate currently indicates The second parameter corresponding with gesture password deposited.
Authentication module 604, for above-mentioned first parameter and above-mentioned second parameter to be compared, if above-mentioned first parameter Consistent with above-mentioned second parameter, then authentication success unlocks mobile terminal desktop or application program, user is allowed to enter movement The desktop of terminal or the homepage of application program continue to operate;If above-mentioned first parameter and above-mentioned second parameter are inconsistent, Authentication fails, and user is prompted to unlock gesture input mistake, need to input unlock gesture again and carry out authentication.
In some examples of the application, above-mentioned unlock gesture needs to be arranged in advance, in order to realize that work(is arranged in gesture password Can, above-mentioned gesture password verification device can also include:Setup module 606 and preserving module 607, each functions of modules are as follows:
Setup module 605 operates for the selection setting gesture password in response to user, shows an editable dial plate, Wherein, dial plate indicates the initial value of the second parameter;And the edit operation in response to user to above-mentioned dial plate, update dial plate are signified The content for the second parameter shown.
Preserving module 606, the confirmation for being provided in response to user gesture password obtain indicated by above-mentioned dial plate Second parameter, and preserved the second parameter as gesture password.
In some examples of the application, the number that user attempts input unlock gesture can also be arranged in above-mentioned apparatus, with The people that mobile terminal or some application program are obtained by improper channel is avoided to open.Above-mentioned gesture password verification device is also May include:
Second setup module, for the maximum allowable frequency of failure to be arranged;
Number counter is verified, the number inconsistent for first parameter and second parameter, initial value is set It is 0, and when first parameter and inconsistent second parameter, the verification number counter adds 1;
Locking module, for when the verification number counter value reaches the maximum allowable frequency of failure, locking institute Mobile terminal or application program are stated, waits for that preset time allows the user to re-enter unlock gesture again later.
In some examples of the application, above-mentioned identifying code data processing equipment may operate at any for verifying yardage According in the computing device of processing, and load in the memory of the computing device.As shown in fig. 7, the computing device is in addition to including Modules in above-mentioned control device, may also include:Memory 701, processor 703, bus 702, port 704.Processor 703 and memory 701 interconnected by bus 702.Processor 703 can send and receive data to realize network by port 704 Communication and/or local communication.601~606 and second setup module of above-mentioned each module, verification number counter and locking module It can be the machine-executable instruction module stored in memory 701.Processor 703 is by executing each module in memory 701 601~606 and second setup module, verification number counter and locking module in include machine-executable instruction, in turn The function that can be realized 601~606 and second setup module of above-mentioned each module, verify number counter and locking module.
Above-mentioned modules realize that the specific method of various functions and principle are described above, and which is not described herein again.
In addition, the device and each module in each example of the application can be integrated in a processing unit, it can also It is that modules physically exist alone, it can also be during two or more devices or module be integrated in one unit.Above-mentioned collection At unit both may be used hardware form realize, can also be realized in the form of SFU software functional unit.
Above-mentioned method and apparatus provided by the present application provide gesture password setting and unlocking type based on dial plate, can be with Gesture password is effectively prevented to be cracked.Meanwhile it being on the one hand more close to the users day in a manner of dial plate gesture password is arranged Often life improves user experience, on the other hand can also greatly reduce user and be brought because hardly possible is differentiated or indigestibility gesture password It is secondary or request unlock mobile terminal or application program is repeated several times, the hardware resource of user terminal can be greatlyd save, carried High efficiency.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (13)

1. a kind of unlocking method based on gesture password, wherein the method includes:
Mobile terminal desktop is opened in response to user or opens the operation of application program, and displaying one can on the mobile terminal The dial plate of editor, wherein the dial plate indicates the initial value of the first parameter;
In response to the unlock gesture that the user inputs the dial plate, first parameter of the dial plate instruction is updated;
Obtain first parameter that the dial plate currently indicates;
Inquire pre-set the second parameter corresponding with gesture password;And
First parameter and second parameter are compared, if first parameter is consistent with second parameter, Unlock the mobile terminal desktop or the application program;If first parameter and second parameter are inconsistent, prompt User unlocks gesture input mistake.
2. according to the method described in claim 1, wherein, the dial plate includes at least one moveable pointer and scale Disk;First parameter represents the scale value pointed by the pointer;Wherein,
The dial plate indicates that the initial value of the first parameter includes:Scale value pointed by the pointer is the first of first parameter Initial value.
3. according to the method described in claim 2, wherein, the unlock gesture that above-mentioned dial plate is inputted in response to user, more Newly first parameter of the dial plate instruction includes:
Receive the operation that the user moves the pointer;And
Scale value pointed by the pointer updates first parameter.
4. according to the method described in claim 3, wherein, the dial plate further comprises:Numeric display area, for showing State the scale value pointed by pointer;And
When updating first parameter of the dial plate instruction, the method further includes:Pointed by the pointer Scale value update the display content of the numeric display area.
5. according to the method described in claim 1, wherein, the pre-set gesture password is arranged as follows:
It is operated in response to the selection setting gesture password of user, shows an editable dial plate on the mobile terminal;Its In, the dial plate indicates the initial value of second parameter;
Edit operation in response to user to above-mentioned dial plate updates the second parameter indicated by the dial plate;
It is set the completion confirmation in response to user gesture password, obtains the second parameter indicated by the dial plate;And
Second parameter is preserved as the gesture password.
6. according to the method described in claim 5, wherein, the dial plate includes at least one moveable pointer and scale Disk;Second parameter represents the scale value pointed by the pointer;Wherein,
The dial plate indicates that the initial value of the second parameter includes:Scale value pointed by the pointer is the first of second parameter Initial value;And
The second parameter indicated by the update dial plate includes:
Receive the operation that the user moves the pointer;And
Scale value pointed by the pointer updates second parameter.
7. according to the method described in claim 6, wherein, the dial plate further comprises:Numeric display area, for showing State the scale value of pointer direction;And
When updating second parameter of the dial plate instruction, the method further includes:Pointed by the pointer Scale value update the display content of the numeric display area.
8. according to the method described in claim 7, wherein, the user includes to the edit operation of above-mentioned dial plate:User moves The operation of the pointer or user edit the operation of the display content of the numeric display area.
9. according to the method described in claim 5, wherein, described preserve second parameter as the gesture password is wrapped It includes:Second parameter described in encrypting storing.
10. according to the method described in claim 1, it is characterized in that, further comprising:
The maximum allowable frequency of failure is set;
Setting verification number counter, and its initial value is set as 0;
When first parameter and inconsistent second parameter, the verification number counter is added 1;
If the verification number counter value reaches the maximum allowable frequency of failure, the mobile terminal or application are locked Program waits for that preset time allows the user to re-enter unlock gesture again later.
11. a kind of tripper based on gesture password, wherein including:
Display module, the operation for opening mobile terminal desktop or application program in response to user, displaying one are editable Dial plate, wherein the dial plate indicates the initial value of the first parameter;
Update module, for, to the unlock gesture of the input of the dial plate, updating the dial plate instruction in response to the user First parameter;
Acquisition module, first parameter currently indicated for obtaining the dial plate, and inquire pre-set close with gesture Corresponding second parameter of code;
Authentication module, for first parameter and second parameter to be compared, if first parameter and described Second parameter is consistent, then unlocks the mobile terminal desktop or the application program;If first parameter and described second Parameter is inconsistent, then user is prompted to unlock gesture input mistake.
12. according to the devices described in claim 11, wherein described device further comprises:
Setup module operates for the selection setting gesture password in response to user, shows an editable dial plate, wherein institute State the initial value that dial plate indicates the second parameter;And the edit operation in response to user to the dial plate, update the dial plate institute The second parameter indicated;
Preserving module, the confirmation for being provided in response to user gesture password obtain the second ginseng indicated by the dial plate Number, and second parameter is preserved as the gesture password.
13. according to the devices described in claim 11, wherein described device further comprises:
Second setup module, for the maximum allowable frequency of failure to be arranged;
Number counter is verified, the number inconsistent for first parameter and second parameter, initial value is set as 0, And when first parameter and inconsistent second parameter, the verification number counter adds 1;And
Locking module, for when the verification number counter value reaches the maximum allowable frequency of failure, locking the shifting Dynamic terminal or application program wait for that preset time allows the user to re-enter unlock gesture again later.
CN201710037655.XA 2017-01-18 2017-01-18 Unlocking method and device based on gesture password Active CN108319843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710037655.XA CN108319843B (en) 2017-01-18 2017-01-18 Unlocking method and device based on gesture password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710037655.XA CN108319843B (en) 2017-01-18 2017-01-18 Unlocking method and device based on gesture password

Publications (2)

Publication Number Publication Date
CN108319843A true CN108319843A (en) 2018-07-24
CN108319843B CN108319843B (en) 2021-10-26

Family

ID=62892054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710037655.XA Active CN108319843B (en) 2017-01-18 2017-01-18 Unlocking method and device based on gesture password

Country Status (1)

Country Link
CN (1) CN108319843B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816381A (en) * 2019-02-15 2019-05-28 广东小天才科技有限公司 Payment method of smart watch and smart watch
CN110309643A (en) * 2019-05-30 2019-10-08 苏宁云计算有限公司 A kind of picture verification method and system based on rotation matching
CN112416232A (en) * 2020-11-18 2021-02-26 维沃移动通信有限公司 Shortcut function starting method, device, equipment and storage medium
CN113253601A (en) * 2021-05-17 2021-08-13 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium
CN115089127A (en) * 2022-08-24 2022-09-23 深圳市心流科技有限公司 Sleep recording method and system and sleep monitoring system
WO2023284739A1 (en) * 2021-07-14 2023-01-19 维沃移动通信有限公司 Screen unlocking method and apparatus, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929542A (en) * 2012-10-19 2013-02-13 广东欧珀移动通信有限公司 Intelligent terminal unlocking method and device
CN104598125A (en) * 2014-12-30 2015-05-06 深圳市金立通信设备有限公司 Terminal unlocking method
CN104598101A (en) * 2014-12-30 2015-05-06 深圳市金立通信设备有限公司 Terminal
CN105607457A (en) * 2014-11-20 2016-05-25 中兴通讯股份有限公司 Method and device for unlocking screen of intelligent watch and intelligent watch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929542A (en) * 2012-10-19 2013-02-13 广东欧珀移动通信有限公司 Intelligent terminal unlocking method and device
CN105607457A (en) * 2014-11-20 2016-05-25 中兴通讯股份有限公司 Method and device for unlocking screen of intelligent watch and intelligent watch
CN104598125A (en) * 2014-12-30 2015-05-06 深圳市金立通信设备有限公司 Terminal unlocking method
CN104598101A (en) * 2014-12-30 2015-05-06 深圳市金立通信设备有限公司 Terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王泽生: "《钟表营销与维修技术》", 31 July 2015, 中国轻工业出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816381A (en) * 2019-02-15 2019-05-28 广东小天才科技有限公司 Payment method of smart watch and smart watch
CN110309643A (en) * 2019-05-30 2019-10-08 苏宁云计算有限公司 A kind of picture verification method and system based on rotation matching
CN112416232A (en) * 2020-11-18 2021-02-26 维沃移动通信有限公司 Shortcut function starting method, device, equipment and storage medium
CN113253601A (en) * 2021-05-17 2021-08-13 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium
WO2023284739A1 (en) * 2021-07-14 2023-01-19 维沃移动通信有限公司 Screen unlocking method and apparatus, and electronic device
CN115089127A (en) * 2022-08-24 2022-09-23 深圳市心流科技有限公司 Sleep recording method and system and sleep monitoring system

Also Published As

Publication number Publication date
CN108319843B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN108319843A (en) A kind of unlocking method and device based on gesture password
AU2020204256B2 (en) Implementation of biometric authentication
US10395128B2 (en) Implementation of biometric authentication
CN107278313A (en) Means of payment operate support method and the electronic equipment for supporting this method
CN103577082B (en) Icon response method, device and electronic equipment
CN104715178A (en) Electronic device unlocking system and method
CN106211048A (en) The password unlocking method of smart lock, Apparatus and system
CN107465701B (en) Method and device for inputting password into interface at dynamic position
CN105447927B (en) Control method, access controller and the access control system that gate inhibition's electric lock is opened
CN106610776A (en) Electronic device and method for executing application or service
WO2022089431A1 (en) Device control method and apparatus, and electronic device
CN106951159A (en) A kind of terminal unlocking rapidly enters the method and terminal of application program
CN109472122A (en) A kind of multimedia messages reminding method and system
CN105930702B (en) A kind of terminal control method and device
CN107256353A (en) Possesses the display methods of privacy protection function
CN109144377A (en) Operating method, smartwatch and the computer readable storage medium of smartwatch
CN106156596B (en) Setting method, device and the terminal of pattern lock
CN107255941B (en) The control method and medicine box of medicine box
CN103034442B (en) Electronic equipment and the unblock of screen thereof, unlocking information device and method is set
CN103034441B (en) Unlocking method and device
CN105892819A (en) Method and device for locking application program
CN105972762B (en) Remote controller and control method and device thereof
CN104715185B (en) A kind of unlocking processing method and system based on mobile terminal
CN105138220A (en) Pattern unlocking method and device
CN107563162A (en) A kind of concealed unlocking method and system

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