CN110321692A - Cipher-code input method, device and storage medium - Google Patents
Cipher-code input method, device and storage medium Download PDFInfo
- Publication number
- CN110321692A CN110321692A CN201910627583.3A CN201910627583A CN110321692A CN 110321692 A CN110321692 A CN 110321692A CN 201910627583 A CN201910627583 A CN 201910627583A CN 110321692 A CN110321692 A CN 110321692A
- Authority
- CN
- China
- Prior art keywords
- touch
- password
- control operation
- touch control
- drawing area
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Abstract
The present invention provides a kind of cipher-code input method, device and storage medium, graphic user interface is obtained by executing software application on the processor of terminal and rendering on the display of the terminal, the graphic user interface includes at least password drawing area, which comprises receives the first touch control operation for acting on the password drawing area;Determine that first touch control operation removes the touch point of the password drawing area;If the touch point is located in predeterminable area, current event is cancelled, and controls the current event and is not counted in Password Input error event, the current event is the corresponding Password Input event of first touch control operation.Cipher-code input method, device and storage medium provided by the invention, can be more to avoid the errors number because of input password, leads to the account locking for logging in terminal device or application software, in turn results in the bad problem of user experience.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of cipher-code input methods, device and storage medium.
Background technique
Increasingly developed with internet, the use of terminal device or application software is more and more frequent, and user sets terminal
The requirement of standby or application software application experience is also higher and higher.
Currently, the login page of privacy or information security in order to protect individual, terminal device or application software would generally
Password is set, for example, Fig. 1 is the input process schematic diagram of graphical passwords in the prior art.As shown in Figure 1, terminal device or answering
With nine operating points of display in the interface for password input of software, which is distributed with the mode of nine grids, and user passes through
The mode of sliding line draws out figure in the nine grids, once the figure that user draws is identical as preset graphical passwords,
Then user can enter in terminal device or application software;If the figure and preset graphical passwords that user draws be not identical,
Then the secondary Password Input event will be included in Password Input number.
But in the prior art, if the errors number that user inputs password is more than maximum input number, it will to stepping on
The account of land terminal device or application software is locked, at this point, puzzlement will be brought to user, causes the experience of user very not
It is good.
Summary of the invention
To solve problems of the prior art, the present invention provides a kind of cipher-code input method, device and storage medium,
Can be more to avoid the errors number because of input password, lead to the account locking for logging in terminal device or application software, Jin Erzao
At the bad problem of user experience.
In a first aspect, the embodiment of the present invention provides a kind of cipher-code input method, this method passes through on the processor of terminal
It executes software application and is rendered on the display of the terminal and obtain graphic user interface, the graphic user interface at least wraps
Include password drawing area, which comprises
Receive the first touch control operation for acting on the password drawing area;
Determine that first touch control operation removes the touch point of the password drawing area;
If the touch point is located in predeterminable area, cancel current event, and control the current event be not counted in it is close
In code input error event, the current event is the corresponding Password Input event of first touch control operation.
Optionally, if the touch point is located in the predeterminable area, after cancelling current event, the method
Further include:
Current interface display is restored to the initial display of the graphic user interface, is repainted with receiving the user
The operation of password, the current interface are shown as executing interface display shown by the current event.
Optionally, the predeterminable area is located in the graphic user interface, and not be overlapped with the password drawing area.
Optionally, first touch control operation is sliding touch operation.
Optionally, the method also includes:
If the touch point not in the predeterminable area, according to first touch control operation, generates the current thing
Part corresponding first touch control operation track;
First touch control operation track and default unlocking pin track are matched;
If first touch control operation track and the success of default unlocking pin path matching, execute unlock operation.
Optionally, the determination first touch control operation removes the touch point of the password drawing area, comprising:
According to first touch control operation, the touch-control pressure that first touch control operation generates is detected;
According to the touch-control pressure, judge whether the corresponding touch-control pressure of first touch control operation is less than or equal to first
Preset value;
If the touch-control pressure is less than or equal to first preset value, it is determined that the corresponding touching of first touch control operation
Control point is the touch point for removing the password drawing area.
Optionally, the determination first touch control operation removes the touch point of the password drawing area, further includes:
According to first touch control operation, the voltage that first touch control operation generates is detected;
According to the voltage, judge whether the corresponding voltage of first touch control operation is less than or equal to the second preset value;
If the voltage is less than or equal to second preset value, it is determined that the corresponding touch point of first touch control operation
For the touch point for removing the password drawing area.
Optionally, the method also includes:
Receive the second touch control operation for acting on the graphic user interface;
According to second touch control operation, the predeterminable area is activated.
Second aspect, the embodiment of the present invention provide a kind of cipher input, soft by executing on the processor of terminal
Part is applied and rendering obtains graphic user interface on the display of the terminal, and the graphic user interface includes at least password
Drawing area, the device include:
Receiving module, for receiving the first touch control operation for acting on the password drawing area;
Determining module, for determining that first touch control operation removes the touch point of the password drawing area;
Processing module for cancelling current event when the touch point is located in predeterminable area, and controls described current
Event is not counted in Password Input error event, and the current event is the corresponding Password Input thing of first touch control operation
Part.
Optionally, described device further include: module is repainted,
It is described to repaint module, for restoring current interface display to the initial display of the graphic user interface,
To receive the operation that the user repaints password, the current interface is shown as executing boundary shown by the current event
Face is shown.
Optionally, the predeterminable area is located in the graphic user interface, and not be overlapped with the password drawing area.
Optionally, first touch control operation is sliding touch operation.
Optionally, the processing module, is specifically used for:
If the touch point not in the predeterminable area, according to first touch control operation, generates the current thing
Part corresponding first touch control operation track;
First touch control operation track and default unlocking pin track are matched;
If first touch control operation track and the success of default unlocking pin path matching, execute unlock operation.
Optionally, the determining module, is specifically used for:
According to first touch control operation, the touch-control pressure that first touch control operation generates is detected;
According to the touch-control pressure, judge whether the corresponding touch-control pressure of first touch control operation is less than or equal to first
Preset value;
If the touch-control pressure is less than or equal to first preset value, it is determined that the corresponding touching of first touch control operation
Control point is the touch point for removing the password drawing area.
Optionally, the determining module, is specifically used for:
According to first touch control operation, the voltage that first touch control operation generates is detected;
According to the voltage, judge whether the corresponding voltage of first touch control operation is less than or equal to the second preset value;
If the voltage is less than or equal to second preset value, it is determined that the corresponding touch point of first touch control operation
For the touch point for removing the password drawing area.
Optionally, the receiving module is also used to receive the second touch control operation for acting on the graphic user interface;
The processing module is also used to activate the predeterminable area according to second touch control operation.
The third aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
Processor;
Memory, for storing the computer program of the processor;And
Wherein, the processor is configured to executing password described in first aspect by executing the computer program
Input method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
Matter is stored with computer program, and the computer program makes terminal device execute cipher-code input method described in first aspect.
Cipher-code input method, device and storage medium provided by the invention, by executing software on the processor of terminal
Using and on the display of the terminal rendering obtain graphic user interface, the graphic user interface is drawn including at least password
Region processed, which comprises receive the first touch control operation for acting on the password drawing area;And determine first touching
Control operation removes the touch point of the password drawing area;If the touch point is located in predeterminable area, current event is cancelled,
And control the current event and be not counted in Password Input error event, the current event is corresponding for first touch control operation
Password Input event.Due to then cancelling current event in predeterminable area when touch point, and controls current event and be not counted in
It in Password Input error event, therefore, can make user when inputting password in this way, avoid the errors number because inputting password
It is more, lead to the locking for logging in terminal device or application software account, in turn results in the bad problem of user experience.
Detailed description of the invention
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 technical 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 any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is the input process schematic diagram of graphical passwords in the prior art;
Fig. 2 is a kind of present invention flow diagram of cipher-code input method shown according to an exemplary embodiment;
Fig. 3 is a kind of cipher-code input method graphic user interface flow diagram provided by the invention;
Fig. 4 is a kind of flow diagram for cipher-code input method that the present invention is shown according to another exemplary embodiment;
Fig. 5 is a kind of flow diagram for cipher-code input method that the present invention is shown according to a further exemplary embodiment;
Fig. 6 is a kind of present invention block diagram of cipher input shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram for cipher input that the present invention is shown according to another exemplary embodiment;
Fig. 8 is a kind of present invention terminal device structural schematic diagram shown according to an exemplary embodiment.
Specific embodiment
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 description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to
Here the sequence other than those of diagram or description is implemented.In addition, term " includes " and " having " and their any deformation,
Be intended to cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, product or setting
It is standby those of to be not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these mistakes
The intrinsic other step or units of journey, method, product or equipment.
Cipher-code input method provided by the invention can be applied to user and need just to get enter into terminal by inputting password
Equipment operation interface enters in the scene of software interface.Since in the prior art, terminal device or application software can be set
The maximum input number of password is set, therefore, user is when inputting password, if being more than maximum input number, terminal device or application
Software will lock the account, bring puzzlement to user.
In view of above-mentioned technical problem, the invention proposes a kind of cipher-code input method, this method passes through at the place of terminal
Software application is executed on reason device and is rendered on a display of the terminal and obtains graphic user interface, and graphic user interface includes at least
Password drawing area, method include: to receive the first touch control operation for acting on password drawing area;And determine the first touch control operation
Remove the touch point of password drawing area;If touch point is located in predeterminable area, current event is cancelled, and control current event
It is not counted in Password Input error event, current event is the corresponding Password Input event of the first touch control operation.If due to touch-control
Point is in predeterminable area, so that it may current event is cancelled, and control current event to be not counted in Password Input error event, because
This, can make user when inputting password in this way, be avoided the number because of input error password more, cause to log in terminal device
Or the locking of application program account, in turn result in the bad problem of user experience.
Technical solution of the present invention is described in detail with specific embodiment below.These specific implementations below
Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 2 is a kind of present invention flow diagram of cipher-code input method shown according to an exemplary embodiment, wherein
Graphic user interface is obtained by executing software application on the processor of terminal and rendering on a display of the terminal, figure is used
Family interface includes at least password drawing area.As shown in Fig. 2, the embodiment of the present invention mentions on the basis of application scenarios shown in Fig. 1
The cipher-code input method of confession includes the following steps:
Step 201: receiving the first touch control operation for acting on password drawing area.
Terminal device includes but is not limited to mobile station (MS, Mobile Station), mobile terminal (Mobile
Terminal), mobile phone (Mobile Telephone), mobile phone (handset) and portable equipment (portable
Equipment) etc., which can be through wireless access network (RAN, Radio Access Network) and one or more
Core net is communicated, and has touch screen, and user can manipulate terminal device by touch screen, for example, terminal is set
It is standby can be can touch-control mobile phone (or for " honeycomb " phone), with wireless communication function and can touch-control computer
It can also be portable, pocket, hand-held or vehicle-mounted mobile device or equipment Deng, terminal device, as long as can carry out
Touch control operation.
Wherein, the first touch control operation refers to that user grasps the touch-control that the password drawing area in graphic user interface carries out
Make, for example, user gets first touch-control behaviour by carrying out the first touch control operation, terminal device in password drawing area
Make, it will shown in the password drawing area of graphic user interface, the first touch control operation is sliding touch operation, example
Such as, user can unlock terminal device or application software by carrying out sliding touch operation to password drawing area.
Password drawing area refers to when user enters application software or terminal device, needs to carry out the area of account verifying
Domain, user can be by carrying out touch control operation to password drawing area, and then logs in application software or terminal device.Password is drawn
Region may include multiple elements, for example, forming password drawing area by nine numbers, user can be by wherein at least
The combination of two digital elements passes through verifying.It is of course also possible to form password drawing area, Yong Hutong by way of nine grids
It crosses and sliding trace is slidably connected and formed to wherein at least two element, and then whether verify password correct.It is right in the present embodiment
Any restrictions are not done in element setting in password drawing area.
Step 202: determining that the first touch control operation removes the touch point of password drawing area.
In the present embodiment, further to determine according to the first touch control operation to password drawing area in step 201
The first touch control operation removes the touch point of password drawing area out.A kind of possible implementation are as follows: when user draws password
When region carries out sliding touch operation, terminal device can pass through real-time or timing the touching that detects password drawing area and receive
Governor pressure to judge whether the sliding touch operation of user stops and left password drawing area, and then determines user's
Sliding touch operation removes the touch point of password drawing area.
Exemplary, for user when password drawing area draws password, user forgets the password or user misoperation of oneself,
At this point, user, which can choose, stops sliding touch operation, at this point, terminating if sliding touch is operated in A point, and password drafting is left
Region, then, A point is the touch point for removing cryptographic zone.Continue to slide alternatively, user is also an option that, completes this password
Input operation leaves drafting cryptographic zone if sliding touch operation terminates in B point, then, B point is to remove password drawing area
Touch point.
The touch point of removal password drawing area is determined according to step 201 and step 202, can be to judge the touch point
Whether provided in predeterminable area basic.
Step 203: if touch point is located in predeterminable area, cancel current event, and control current event be not counted in it is close
In code input error event, current event is the corresponding Password Input event of the first touch control operation.
Wherein, current event is the event that user inputs password by sliding touch operation in password drawing area, that is,
During a Password Input, to the event that sliding touch operation terminates since sliding touch operation.After above-mentioned example, use
Family starts to A touch point to terminate in sliding touch operation, is a Password Input event, alternatively, user operates in sliding touch
Start to terminate to B touch point, is also a Password Input event.When user is when inputting password, input error, then this password is defeated
Incoming event is Password Input error event.In general, the maximum input number of password, example can be arranged in terminal device or application software
Such as, the maximum input number of password is 3,4 or 5 etc., can according to the actual situation depending on.It, will when user inputs password mistake
It will record a Password Input error event, and Password Input error event added up.
In the present embodiment, however, it is determined that go out touch point in predeterminable area, then will cancel current event, terminal device will
Control current event is not counted in Password Input error event namely Password Input wrong time does not add up the current event.
After above-mentioned example, user slides into A point when password drawing area carries out sliding touch operation, as user, moves
Password drawing area out, terminal device judges A touch point whether in predeterminable area, if judging A touch point in predeterminable area
Interior, then terminal device will cancel current event, can't be included in the current event in Password Input error event.Fig. 3 is
A kind of cipher-code input method graphic user interface flow diagram provided by the invention, as shown in figure 3, defeated completing a password
It, will not be in the secondary Password Input event Password Input error event during incoming event.
In the present embodiment, according to above-mentioned mode, user is when password drawing area inputs password, when user forgets certainly
Own password, can be by sliding into predeterminable area namely touch point is in predeterminable area sliding touch operation, in this way can be with
This Password Input event is cancelled, which can't be included in into Password Input error event, and then subtract
The number of few Password Input error event, strives for the number of Password Input event for user.
In a kind of achievable mode, predeterminable area is located in graphic user interface, and does not weigh with password drawing area
It is folded.
In the present embodiment, it is not provided only with password drawing area in graphical user interfaces, is additionally provided with predeterminable area,
Also, the predeterminable area and password drawing area be not be overlapped.By the way that predeterminable area is arranged in graphical user interfaces, can make
User cancels current event when inputting password, and then reduces the number of Password Input error event, certainly, the predeterminable area
It is not be overlapped with password drawing area, meanwhile, predeterminable area and password drawing area are respectively provided in graphical user interfaces, it is more square
Just the use of user.
When password drawing area carries out Password Input, predeterminable area can be used for user in graphical user interface displays
User is reminded, for example, release is revocable to wait wordings as shown in figure 3, can remind user by text in predeterminable area.When
It so can also be by reminding user in other modes such as predeterminable area light flash.For the sake of security, predeterminable area can be with
The fixation position of graphic user interface is set in hiding form, which can be set by user when being configured password
It is fixed.
It needs first to activate predeterminable area before using predeterminable area, optionally, reception acts on graphical user
Second touch control operation at interface;According to the second touch control operation, predeterminable area is activated.
Wherein, for the second touch control operation for activating predeterminable area, the second touch-control touch control operation can be click, long-pressing, touching
Touch or again by etc. operation.
In the present solution, concrete implementation mode can be, after user enters to graphic user interface, user by pair
Graphic user interface carries out the second touch control operation, activates predeterminable area.Wherein, activate predeterminable area method can be a variety of,
For example, user can encrypt predeterminable area by way of password is arranged, when user enters to graphic user interface,
Password can be inputted on a graphical user interface, and then activates predeterminable area.Or certain on user's long-pressing graphic user interface
A region or control, carry out active region, and certain region may be predeterminable area.
With continued reference to Fig. 3, after activating predeterminable area, if user forgets Password when password draws interface input password,
User can slide into predeterminable area, namely remove password and draw the touch point at interface in predeterminable area, at this point, terminal device
Current event will be cancelled, meanwhile, current event will not be included in Password Input error event.
After cancelling current event, in a kind of achievable mode, terminal device restores current interface display to figure
The initial display of shape user interface, to receive the operation that user repaints password, current interface is shown as executing current event
Shown interface display.That is, user input password mistake when, can by the way that predeterminable area is cancelled current event,
And restore from current interface display into the initial display of graphic user interface, wherein the initial of user interface is shown as user not
The interface display of Password Input operation is carried out to wooden horse input area in graphic user interface.For example, there are also input user three times
The chance of password, also wrong during user inputs password next time, user can slide into predeterminable area, and revocation is current
Event is restored into the initial display of graphic user interface at this point, terminal device can control current interface display, so that user's weight
New input password, before re-entering password, there are also the chances for inputting password three times by user, that is to say, that will not be above-mentioned
Input password event contribute in Password Input error event.
It is worth noting that, judge touch point in predeterminable area, will not to input password correctness carry out
Verifying.For example, after lawless people takes mobile phone, it is intended to want to be unlocked by password drawing area, even if predeterminable area without
Meaning is activated, and still, in Password Input event, terminal device will not verify the accuracy of password, reduces Password Input with this
The chance of event, can be improved safety in this way.
Cipher-code input method provided by the invention, by executing software application on the processor of terminal and in the aobvious of terminal
Show that rendering obtains graphic user interface on device, graphic user interface includes at least password drawing area, makees this method comprises: receiving
The first touch control operation for password drawing area;And determine that the first touch control operation removes the touch point of password drawing area;If
Touch point is located in predeterminable area, then cancels current event, and controls current event and be not counted in Password Input error event, when
Preceding event is the corresponding Password Input event of the first touch control operation.Since touch point is in predeterminable area, then current event is cancelled,
And it controls current event to be not counted in Password Input error event, therefore, can make user when inputting password in this way, keep away
Exempt to cause the account for logging in terminal device or application software to be locked because the errors number of input password is more, in turn result in
The bad problem of user experience.
On the basis of the above embodiments, for the touch point for the removal password drawing area determined not in preset areas
When domain, how terminal device is controlled again, will the detailed introduction in next embodiment.
Fig. 4 is a kind of flow diagram for cipher-code input method that the present invention is shown according to a further exemplary embodiment, such as
Shown in Fig. 4, cipher-code input method provided in an embodiment of the present invention includes the following steps:
Step 401: receiving the first touch control operation for acting on password drawing area.
Step 402: determining that the first touch control operation removes the touch point of password drawing area.
Step 401- step 402 is similar with step 201- step 202, and details are not described herein again.
Step 403: if not in predeterminable area, according to the first touch control operation, it is corresponding to generate current event for touch point
First touch control operation track.
Wherein, the first touch trajectory is to be generated according to the first touch control operation, for example, being with nine palaces in password drawing area
The form of lattice is presented, and user is operated by sliding touch wherein at least two element connecting the track to be formed.
In conjunction with a upper embodiment, however, it is determined that when the touch point gone out is not in predeterminable area, then will be grasped according to the first touch-control
Make, it will generate corresponding first touch trajectory, and shown in current interface.For example, user is grasped by continuously slipping touch-control
Make, successively connect 2,5,6 and 9 elements, when determining touch point 9 not in predeterminable area, at this point, terminal device can root
It is operated according to sliding touch, generates the track 2-5-6-9 of sliding touch operation.
Step 404: the first touch control operation track and default unlocking pin track are matched.
Wherein, presetting unlocking pin is that user is pre-set when being configured password, and is stored in terminal device,
Terminal device inputs password by user and matches with default unlocking pin, and to verify password, certainly, default unlocking pin is
Trace graphics, and corresponding track is generated according to the touch control operation of user, and then determined by the way that whether verifying track identical
Whether accurate input password.
Step 405: if the first touch control operation track and the success of default unlocking pin path matching, execute unlock operation.
Exemplary, if default unlocking pin track is 2-5-6-9 in nine grids, and user is the first of password drawing area
Touch control operation, the track of generation be also 2-5-6-9 namely the first touch control operation track and default unlocking pin path matching at
Function, at this point, unlocking successfully, user can be logged in terminal device or application software.
In the present embodiment, when judging touch point no longer predeterminable area, according to the first touch control operation, current thing is generated
Part corresponding first touch control operation track is verified the correctness of input password with this, can user be passed through in this way
That verifies password inputs password correctness as a result, improving.
Fig. 5 is a kind of flow diagram for cipher-code input method that the present invention is shown according to a further exemplary embodiment,
On the basis of Fig. 2, to how to determine that the first touch control operation removes the detailed process of the touch point of password drawing area, carry out detailed
It introduces, as shown in figure 5, cipher-code input method provided in an embodiment of the present invention includes the following steps:
Step 501: receiving the first touch control operation for acting on password drawing area.
Step 502: according to the first touch control operation, detecting the touch-control pressure that the first touch control operation generates.
In this step, when touch-control pressure refers to that user touches touch screen by finger, the pressure that terminal device receives,
For user when password drawing area executes the first touch control operation, terminal device can in real time or the first touch control operation of detection of timing produces
Raw touch-control pressure.Certainly, it for the method for detection, can be realized according to common technological means.
Step 503: according to touch-control pressure, judging whether the corresponding touch-control pressure of the first touch control operation is less than or equal to first
Preset value.
Step 504: if touch-control pressure is less than or equal to the first preset value, it is determined that the corresponding touch point of the first touch control operation
For the touch point for removing password drawing area.
It in this step, can be according to touch-control pressure, to determine that user removes the touch point of password drawing area, example
, according to touch-control pressure, judge whether the corresponding touch-control pressure of the first touch control operation is less than or equal to the first preset value;If touch-control
Pressure is less than or equal to the first preset value, it is determined that the corresponding touch point of the first touch control operation is the touching for removing password drawing area
Control point.
Exemplary, if it is detected that the first touch-control pressure is a, the first preset value is b, that is, judging that the first touch-control pressure a is
No to be less than or equal to the first preset value b, if judging, the first touch-control pressure a is less than or equal to the first preset value b, illustrates, Yong Huyi
Password drawing area out, and be the touch point for removing password drawing area by the corresponding touch point of the first touch control operation.
In a kind of achievable mode, determine that the first touch control operation removes the mode of the touch point of password drawing area,
It can also be realized by following mode:
According to the first touch control operation, the voltage that the first touch control operation generates is detected;According to voltage, the first touch control operation is judged
Whether corresponding voltage is less than or equal to the second preset value;If voltage is less than or equal to the second preset value, it is determined that the first touch-control
Operating corresponding touch point is the touch point for removing password drawing area.
It is exemplary, if the touch screen of the terminal device is capacitance plate, it can be generated by the first touch control operation of detection
Voltage a, if voltage a less than the second predeterminated voltage b, then, then illustrate, user removes password drawing area, and by the first touch-control
Operating corresponding touch point is the touch point for removing password drawing area.Step 505: if touch point is located in predeterminable area,
Current event is cancelled, and controls current event and is not counted in Password Input error event, current event is the first touch control operation pair
The Password Input event answered.
Step 505 is similar with step 203, and details are not described herein again.
In the present embodiment, according to the first touch control operation, and by judge the corresponding touch-control pressure of the first touch control operation and
The relationship of first preset value or by judge the first touch control operation generate voltage and the second preset value relationship, come determine shifting
The touch point of password drawing area out, the touch point determined in this way is more acurrate, only accurately determines touch point, is just able to
Accurately judge the touch point whether in predeterminable area.
Fig. 6 is a kind of present invention block diagram of cipher input shown according to an exemplary embodiment, as shown in fig. 6,
The device includes: receiving module 11, determining module 12 and processing module 13, in which:
Receiving module 11, for receiving the first touch control operation for acting on password drawing area;
Determining module 12, for determining that the first touch control operation removes the touch point of password drawing area;
Processing module 13, for cancelling current event, and control current event not when touch point is located in predeterminable area
It is included in Password Input error event, current event is the corresponding Password Input event of the first touch control operation.
Optionally, predeterminable area is located in graphic user interface, and not be overlapped with password drawing area.
Optionally, first touch control operation is sliding touch operation.
Optionally, receiving module 11 are also used to receive the second touch control operation for acting on graphic user interface;
Processing module 13 is also used to activate predeterminable area according to the second touch control operation.
The invention proposes a kind of cipher inputs, by executing software application on the processor of terminal and in terminal
Display on rendering obtain graphic user interface, graphic user interface includes at least password drawing area, which includes: to connect
It receives module 11 and receives the first touch control operation for acting on password drawing area;Determining module 12 simultaneously determines that the first touch control operation removes
The touch point of password drawing area;If touch point is located in predeterminable area, processing module 13 cancels current event, and controls and work as
Preceding event is not counted in Password Input error event, and current event is the corresponding Password Input event of the first touch control operation.Due to
Touch point then cancels current event in predeterminable area, and controls current event and be not counted in Password Input error event, because
This, can make user when inputting password in this way, avoid the errors number because of input password more, cause to log in terminal device
Or the account locking of application software, and then the problem of bring puzzlement to user.
Optionally, described device further include: module 14 is repainted, as shown in fig. 7,
Module is repainted, for restoring current interface display to the initial display of graphic user interface, to receive use
Family repaints the operation of password, and current interface is shown as executing interface display shown by current event.
Optionally, processing module 13 are specifically used for:
If touch point not in predeterminable area, according to the first touch control operation, generates corresponding first touch-control of current event
Operation trace;
First touch control operation track and default unlocking pin track are matched;
If the first touch control operation track and the success of default unlocking pin path matching, execute unlock operation.
Optionally, determining module 12 are specifically used for:
According to the first touch control operation, the touch-control pressure that the first touch control operation generates is detected;
According to touch-control pressure, judge whether the corresponding touch-control pressure of the first touch control operation is less than or equal to the first preset value;
If touch-control pressure is less than or equal to the first preset value, it is determined that the corresponding touch point of the first touch control operation is that removal is close
The touch point of code drawing area.
Optionally, determining module 12 are specifically used for:
According to the first touch control operation, the voltage that the first touch control operation generates is detected;
According to voltage, judge whether the corresponding voltage of the first touch control operation is less than or equal to the second preset value;
If voltage is less than or equal to the second preset value, it is determined that the corresponding touch point of the first touch control operation is to remove password to draw
The touch point in region processed.
Above-mentioned apparatus can be used for executing the method that above-mentioned corresponding method embodiment provides, specific implementation and technical effect
Similar, which is not described herein again.
The above processing module may be configured to implement above method one or more integrated circuits, such as: one or
Multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one or
Multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field-programmable gate array
Arrange (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing element
When the form of scheduler program code is realized, which can be general processor, such as central processing unit (Central
Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate
Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Fig. 8 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.The terminal device that Fig. 8 is shown is only
An example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, the terminal device may include transmitter 60, processor 61, memory 62 and at least one communication
Bus 63.Communication bus 63 is for realizing the communication connection between element.Memory 62 may include high speed RAM memory,
It may further include non-volatile memories NVM, a for example, at least magnetic disk storage can store various programs in memory 62,
For completing various processing functions and realizing the method and step of the present embodiment.In addition, the terminal device can also include receiving
Device 64, receiver 64 in the present embodiment with communication function and can receive the input interface of informational function to be corresponding, this
Transmitter 60 in embodiment can be the corresponding output interface with communication function and transmission informational function.Optionally, should
Transmitter 60 and receiver 64 can integrate in a communication interface, can also be independent two communication interfaces respectively.
In addition, being stored with computer program in memory 62, and it is configured as being executed by processor 61, the computer journey
Sequence includes for executing the instruction such as figure 2 above and Fig. 4-embodiment illustrated in fig. 5 method or executing such as figure 2 above and Fig. 4-Fig. 5
The instruction of the method for illustrated embodiment.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, computer program quilt
The cipher-code input method that any implementation provides in preceding method embodiment is realized when processor executes.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair
The part steps of bright each embodiment method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (English:
Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as:
RAM), the various media that can store program code such as magnetic or disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (11)
1. a kind of cipher-code input method, which is characterized in that by executing software application on the processor of terminal and at the end
Rendering obtains graphic user interface on the display at end, and the graphic user interface includes at least password drawing area, the side
Method includes:
Receive the first touch control operation for acting on the password drawing area;
Determine that first touch control operation removes the touch point of the password drawing area;
If the touch point is located in predeterminable area, current event is cancelled, and controls the current event to be not counted in password defeated
Enter in error event, the current event is the corresponding Password Input event of first touch control operation.
If 2. the method according to claim 1, wherein the touch point is located in the predeterminable area,
After then cancelling current event, the method also includes:
Current interface display is restored to the initial display of the graphic user interface, repaints password to receive the user
Operation, the current interface is shown as executing interface display shown by the current event.
3. the method according to claim 1, wherein the predeterminable area is located in the graphic user interface,
And it is not be overlapped with the password drawing area.
4. method according to claim 1-3, which is characterized in that first touch control operation is sliding touch behaviour
Make.
5. method according to claim 1-3, which is characterized in that the method also includes:
If the touch point not in the predeterminable area, according to first touch control operation, generates the current event pair
The the first touch control operation track answered;
First touch control operation track and default unlocking pin track are matched;
If first touch control operation track and the success of default unlocking pin path matching, execute unlock operation.
6. the method according to claim 1, wherein determining that first touch control operation removes the password and draws
The touch point in region, comprising:
According to first touch control operation, the touch-control pressure that first touch control operation generates is detected;
According to the touch-control pressure, it is default to judge whether the corresponding touch-control pressure of first touch control operation is less than or equal to first
Value;
If the touch-control pressure is less than or equal to first preset value, it is determined that the corresponding touch point of first touch control operation
For the touch point for removing the password drawing area.
7. the method according to claim 1, wherein the determination first touch control operation removes the password
The touch point of drawing area, further includes:
According to first touch control operation, the voltage that first touch control operation generates is detected;
According to the voltage, judge whether the corresponding voltage of first touch control operation is less than or equal to the second preset value;
If the voltage is less than or equal to second preset value, it is determined that the corresponding touch point of first touch control operation is to move
The touch point of the password drawing area out.
8. method according to claim 1-3, which is characterized in that the method also includes:
Receive the second touch control operation for acting on the graphic user interface;
According to second touch control operation, the predeterminable area is activated.
9. a kind of cipher input, which is characterized in that by executing software application on the processor of terminal and at the end
Rendering obtains graphic user interface on the display at end, and the graphic user interface includes at least password drawing area, the dress
It sets and includes:
Receiving module, for receiving the first touch control operation for acting on the password drawing area;
Determining module is used for, and determines that first touch control operation removes the touch point of the password drawing area;
Processing module, for cancelling current event, and control the current event when the touch point is located in predeterminable area
It is not counted in Password Input error event, the current event is the corresponding Password Input event of first touch control operation.
10. a kind of terminal device characterized by comprising
Processor;
Memory, for storing the computer program of the processor;And
Wherein, the processor is configured to being required described in 1 to 8 any one by executing the computer program come perform claim
Cipher-code input method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Claim 1 to 8 described in any item cipher-code input methods are realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627583.3A CN110321692A (en) | 2019-07-12 | 2019-07-12 | Cipher-code input method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627583.3A CN110321692A (en) | 2019-07-12 | 2019-07-12 | Cipher-code input method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110321692A true CN110321692A (en) | 2019-10-11 |
Family
ID=68122087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910627583.3A Pending CN110321692A (en) | 2019-07-12 | 2019-07-12 | Cipher-code input method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321692A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007832A (en) * | 2013-02-25 | 2014-08-27 | 上海触乐信息科技有限公司 | Method for continuously inputting texts by sliding, system and equipment |
CN104182668A (en) * | 2014-09-02 | 2014-12-03 | 北京元心科技有限公司 | Screen unlock based identity identification method |
CN104346085A (en) * | 2013-07-25 | 2015-02-11 | 北京三星通信技术研究有限公司 | Control object operation method and device and terminal device |
CN105117638A (en) * | 2015-07-29 | 2015-12-02 | 努比亚技术有限公司 | Unlocking apparatus and method |
CN106445087A (en) * | 2015-07-21 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Method and device for canceling input operation |
CN106682481A (en) * | 2016-12-13 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Concealed unlocking method and system |
CN106778225A (en) * | 2017-01-24 | 2017-05-31 | 北京小米移动软件有限公司 | The method and apparatus for processing password |
CN106775210A (en) * | 2016-11-29 | 2017-05-31 | 北京小米移动软件有限公司 | The method and apparatus that wallpaper is changed |
CN108052269A (en) * | 2017-11-28 | 2018-05-18 | 深圳市金立通信设备有限公司 | Unlocking screen optimization method, terminal device and computer-readable medium |
CN108108112A (en) * | 2017-12-15 | 2018-06-01 | 珠海市魅族科技有限公司 | A kind of cipher-code input method and device, computer installation, readable storage medium storing program for executing |
-
2019
- 2019-07-12 CN CN201910627583.3A patent/CN110321692A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007832A (en) * | 2013-02-25 | 2014-08-27 | 上海触乐信息科技有限公司 | Method for continuously inputting texts by sliding, system and equipment |
CN104346085A (en) * | 2013-07-25 | 2015-02-11 | 北京三星通信技术研究有限公司 | Control object operation method and device and terminal device |
CN104182668A (en) * | 2014-09-02 | 2014-12-03 | 北京元心科技有限公司 | Screen unlock based identity identification method |
CN106445087A (en) * | 2015-07-21 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Method and device for canceling input operation |
CN105117638A (en) * | 2015-07-29 | 2015-12-02 | 努比亚技术有限公司 | Unlocking apparatus and method |
CN106775210A (en) * | 2016-11-29 | 2017-05-31 | 北京小米移动软件有限公司 | The method and apparatus that wallpaper is changed |
CN106682481A (en) * | 2016-12-13 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Concealed unlocking method and system |
CN106778225A (en) * | 2017-01-24 | 2017-05-31 | 北京小米移动软件有限公司 | The method and apparatus for processing password |
CN108052269A (en) * | 2017-11-28 | 2018-05-18 | 深圳市金立通信设备有限公司 | Unlocking screen optimization method, terminal device and computer-readable medium |
CN108108112A (en) * | 2017-12-15 | 2018-06-01 | 珠海市魅族科技有限公司 | A kind of cipher-code input method and device, computer installation, readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105320864A (en) | Method and apparatus for processing event operation | |
CN105825382B (en) | Mobile payment method and electronic equipment | |
CN104580125B (en) | A kind of payment verification methods, devices and systems | |
CN105929974B (en) | A kind of Password Input management method and mobile terminal | |
EP2936277B1 (en) | Method and apparatus for information verification | |
CN104615927A (en) | Multisystem safe verification method, multisystem safe verification device and terminal | |
CN104883293B (en) | Method for message interaction and relevant apparatus and communication system | |
JP2012073724A (en) | Portable terminal, user authentication method and program | |
US11631079B2 (en) | Settlement system, user terminal and method executed therein, settlement device and method executed therein, and program | |
CN105045618B (en) | The method and mobile terminal that a kind of application starts | |
CN103971048A (en) | Method and system for entering password | |
CN101676926A (en) | Touch type electronic equipment and its authority control method | |
CN105354455B (en) | State switching method and electronic equipment | |
CN105608357A (en) | Fingerprint verification method, fingerprint verification device and terminal | |
CN104063639A (en) | Authentication Processing Device For Performing Authentication Processing | |
CN110155084A (en) | Motorcycle intelligent ignition control system and method, apparatus | |
JP5776007B1 (en) | Payment terminal device, payment processing method, payment processing program, and recording medium | |
CN105989485A (en) | Business management method and device | |
CN107769928A (en) | A kind of terminal and computer-readable recording medium | |
CN103034442B (en) | Electronic equipment and the unblock of screen thereof, unlocking information device and method is set | |
CN108572779A (en) | A kind of combination gesture authentication method, system and mobile terminal | |
CN110321692A (en) | Cipher-code input method, device and storage medium | |
CN109829279B (en) | Unlocking event processing method and related equipment | |
CN109063455B (en) | Unlocking method, unlocking device and electronic equipment | |
CN106066960A (en) | A kind of replacement cryptographic methods and replacement encryption apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191011 |