CN107704736A - Unlocking method and a device, computer equipment, computer-readable recording medium - Google Patents
Unlocking method and a device, computer equipment, computer-readable recording medium Download PDFInfo
- Publication number
- CN107704736A CN107704736A CN201710901490.6A CN201710901490A CN107704736A CN 107704736 A CN107704736 A CN 107704736A CN 201710901490 A CN201710901490 A CN 201710901490A CN 107704736 A CN107704736 A CN 107704736A
- Authority
- CN
- China
- Prior art keywords
- unlocking
- dynamic
- default
- unlocking pin
- user
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The application is related to a kind of unlocking method and a device, computer equipment, computer-readable recording medium, and unlocking method includes:Obtain user's default unlocking pin set in advance;Calculated according to default dynamic algorithm to obtain dynamic unlocking password presetting at least one character in unlocking pin;Obtain the real-time unlocking pin that user inputs in unlock interface;When real-time unlocking pin and dynamic unlocking password are completely the same, then unlock successfully.Above-mentioned unlocking method can combine user's default unlocking pin set in advance, and the unlocking pin of user is adjusted according to dynamic unlocking algorithm dynamic, improve the security of unlocking pin, it can be ensured that the information security of user.
Description
Technical field
The application is related to field of information security technology, more particularly to unlocking method and a device, computer equipment, computer
Readable storage medium storing program for executing.
Background technology
As mobile payment is more and more wider, the information in terminal (smart mobile phone, tablet personal computer etc.) is more and more, Yong Huye
Increasingly focus on individual privacy.Screen-lock password can be typically set in terminal.Wherein, unlocking method mainly has password unblock, referred to
Line unblock, pattern unblock.Wherein, password unblock is unlocked by the way of stationary digital or letter, close in no change unblock
Before code, fixation is unlocked using the unlocking pin, still, if unlocking pin is known by other people, easily causes password to be revealed,
Security is poor, and loss may be brought to the information of user.
The content of the invention
The embodiment of the present application provides a kind of unlocking method and a device, computer equipment, computer-readable recording medium, can be with
Dynamic adjusts the unlocking pin of user, improves the security of unlocking pin.
A kind of unlocking method, including:Obtain user's default unlocking pin set in advance;
At least one character in the default unlocking pin is calculated according to default dynamic algorithm to obtain dynamic
Unlocking pin;
Obtain the real-time unlocking pin that user inputs in unlock interface;
When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
A kind of tripper, including:
First acquisition module, for obtaining user's default unlocking pin set in advance;
Processing module, based on being carried out according to default dynamic algorithm at least one character in the default unlocking pin
Calculate to obtain dynamic unlocking password;
Second acquisition module, the real-time unlocking pin inputted for obtaining user in unlock interface;
Unlocked state, for when it is described unlocking pin and the dynamic unlocking password are completely the same in real time when, then unblock into
Work(.
A kind of computer equipment, including memory and processor, computer-readable instruction are stored in the memory, institute
When stating instruction by the computing device so that the computing device following steps:
Obtain user's default unlocking pin set in advance;
At least one character in the default unlocking pin is calculated according to default dynamic algorithm to obtain dynamic
Unlocking pin;
Obtain the real-time unlocking pin that user inputs in the unlock interface;
When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor
Following steps are realized during row:
Obtain user's default unlocking pin set in advance;
At least one character in the default unlocking pin is calculated according to default dynamic algorithm to obtain dynamic
Unlocking pin;
Obtain the real-time unlocking pin that user inputs in the unlock interface;
When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
Above-mentioned unlocking method, it is at least one in default dynamic algorithm default unlocking pin set in advance to user
Character is calculated to obtain dynamic unlocking password;Obtain the real-time unlocking pin that user inputs in unlock interface;Used when obtaining
Family then unlocks successfully when the real-time unlocking pin that unlock interface inputs is completely the same with dynamic unlocking password.Above-mentioned unblock side
Method can combine user's default unlocking pin set in advance, close according to the default unblock of dynamic unlocking algorithm dynamic adjustment user
Code, improve the security of unlocking pin, it can be ensured that the information security of user.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of unlocking method in one embodiment;
Fig. 2 is that at least one character in the default unlocking pin is entered according to default dynamic algorithm in one embodiment
Row is calculated to obtain the flow chart of dynamic unlocking password figure;
Fig. 3 is the flow chart of unlocking method in another embodiment;
Fig. 4 is the flow chart of unlocking method in further embodiment;
Fig. 5 is the inner frame schematic diagram of tripper in one embodiment;
Fig. 6 is the inner frame schematic diagram of tripper in another embodiment;
Fig. 7 is the inner frame schematic diagram of tripper in further embodiment;
Fig. 8 is the block diagram of the part-structure of the related mobile phone of computer equipment.
Embodiment
In order that the object, technical solution and advantage of the application are more clearly understood, it is right below in conjunction with drawings and Examples
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, and
It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein,
But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes
Say, in the case where not departing from scope of the present application, the first acquisition module can be referred to as the second acquisition module, and similarly,
Second acquisition module can be referred to as the first acquisition module.First acquisition module and the second acquisition module both acquisition module,
But it is not same acquisition module.
As shown in figure 1, the embodiment of the present application provides a kind of unlocking method, unlocking method includes:
Step 102:Obtain user's default unlocking pin set in advance.
When before being unlocked using password, user can preset a fixed unlocking pin, namely default unlocking pin, its
In preset unlocking pin include 4-8 positions character, each of which character can be Arabic numerals, or English alphabet.It is default
Unlocking pin can be that the combination of numeral, letter is formed.
When terminal, which is in screen lock state user, to be needed to be unlocked terminal, user's default unblock set in advance is obtained
Password.
Step 104:At least one character in the default unlocking pin is calculated according to default dynamic algorithm with
Obtain dynamic unlocking password.
In order to increase the security of unlocking pin, user can be calculated on the basis of default unlocking pin by default dynamic
Method obtains dynamic unlocking password and processing is unlocked to unlock interface.
Wherein, default dynamic algorithm can be mathematical algorithm, can use and add in mathematical algorithm, subtract, multiplication and division method pair
At least one character is calculated in default unlocking pin, to obtain dynamic unlocking password.For example, if default unlocking pin is
" 6 *, *, *, *, *, * " characters, and 6 characters are Arabic numerals, its default dynamic algorithm can be to default unblock
Odd bits character in password carries out add operation, and each odd bits character respectively adds " 2 ";To presetting the even bit in unlocking pin
Character carries out subtraction, and each odd bits character respectively subtracts " 1 " to form dynamic unlocking password, i.e. " *+2, * -1, *+2, * -1, *
+2、*-1”.If numerical value corresponding to a certain character bit is double figures after add operation, corresponding character in the dynamic unlocking password
Units is taken, if numerical value corresponding to a certain character bit is negative after subtraction, corresponding character in the dynamic unlocking password
Take absolute value.If first " *+2 " of dynamic unlocking password is " 10 " after calculating, first of the dynamic unlocking password is
“0”;If the second " 0 " of dynamic unlocking password is " -1 " after calculating, the second of the dynamic unlocking password is " 1 ".
If it is English alphabet to have a character in default unlocking pin, enter line label by the order of English alphabet, letter
" a~z " corresponds digital " 1-26 " respectively, wherein, numeral then only takes corresponding units if double figures corresponding to letter
Corresponding numeral.
It should be noted that unlock interface can be terminal unlock interface or private space, file or
The unlock interface of application program.
Step 106:Obtain the real-time unlocking pin that user inputs in the unlock interface.
When user needs unblock, according to default unlocking pin, dynamic unlocking password is obtained by default dynamic algorithm, and
Position corresponding to dynamic unlocking Password Input to the unlock interface that the calculating is obtained.When user needs unblock, on unblock circle
The unlocking pin of face input is defined as real-time unlocking pin.Terminal obtains the real-time unlocking pin that user inputs in unlock interface.
Step 108:When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
Obtain user input real-time unlocking pin, and by the real-time unlocking pin of acquisition with according to default unlocking pin,
The dynamic unlocking password that default dynamic algorithm obtains is compared, when each character in real-time unlocking pin and dynamic unlocking password
Each character correspond it is identical when, then unlock successfully, into unlock interface.
Above-mentioned unlocking method, it is at least one in default dynamic algorithm default unlocking pin set in advance to user
Character is calculated to obtain dynamic unlocking password;Obtain the real-time unlocking pin that user inputs in unlock interface;Used when obtaining
Family then unlocks successfully when the real-time unlocking pin that unlock interface inputs is completely the same with dynamic unlocking password.Above-mentioned unblock side
Method can combine user's default unlocking pin set in advance, and the unlocking pin of user is adjusted according to dynamic unlocking algorithm dynamic, is carried
The high security of unlocking pin, it can be ensured that the information security of user.
As shown in Fig. 2 in one embodiment, according to default dynamic algorithm at least one in the default unlocking pin
Individual character is calculated to obtain dynamic unlocking password, including:
Step 202:In preset time period, the sequence number of current triggering unblock event is obtained.
The total degree that daily user needs to unlock can be likely to be breached dozens or even hundreds of time.When it is according to the work and rest of user
Between, from daily 00:00:00, start to calculate the number of triggering unblock event, wherein, current triggering times can use sequence number
To represent, if 7:00:00 user triggers unblock event, then obtains the total degree n for including current triggering unblock event, then currently
The sequence number of triggering unblock event is represented with " n-th ".
Specifically, preset time period can divide different preset time periods according to working day, day off, can also root
According to the customized division preset time period of the demand of user.For example, on weekdays, 00 can be divided into by 24 hours one day:00:
00~7:00:00 is the first preset time period, 7:00:00-9:00:00 is the second preset time period;9:00:00-18:00 is
Three preset time periods;18:00:00-24:00 is the 4th preset time period.In each preset time period, current triggering solution is obtained
The sequence number of lock event, and this preset time period last moment to sequence number reset process, reset to 0.
It should be noted that when terminal is in screen lock state, when user need to be unlocked to terminal, user can be by fast
Prompt key, screen or gesture operation etc. are touched to trigger unblock event.When terminal monitoring is to the trigger event of terminal unlocking, eventually
End shows unlock interface.
Step 204:According to the sequence number of current triggering unblock event at least one character in the default unlocking pin
Method perform mathematical calculations to obtain dynamic unlocking password, wherein, the mathematical algorithm is one kind in the preset algorithm.
The sequence number of the current triggering unblock event of acquisition is analyzed and processed, the units of sequence number is only obtained, if sequence number
For the units " 8 " of " 28 ", " 288 " or " 2178 ", then acquisition sequence number.According to the units of sequence number in default unlocking pin
At least one character performs mathematical calculations method to obtain dynamic unlocking password.Wherein, mathematical algorithm can be add, subtract, multiplication and division
At least one of method.If default unlocking pin is " 6 *, *, *, *, *, * " characters, and 6 characters are Arabic number
Word, can carry out adding at least one character in 6 characters in default unlocking pin, subtract, multiplying or division arithmetic.For example, can be with
Add operation is carried out to the front three preset in unlocking pin, rear three progress subtraction to presetting unlocking pin, to obtain
Take dynamic unlocking password " *+8, *+8, *+8, * -8, * -8, * -8 ".If numerical value corresponding to a certain character bit is two after add operation
Digit, then corresponding character takes units in the dynamic unlocking password, if numerical value corresponding to a certain character bit is after subtraction
Negative, then corresponding character is the absolute value of the negative in the dynamic unlocking password.When preset password is " 870503 ", then dynamic
Unlocking pin is " 658385 ".
In one embodiment, in preset time period, after the sequence number for obtaining current triggering unblock event, in addition to:
Step 203:The sequence number of current triggering unblock event is shown in the unlock interface.
It should be noted that user may have forgotten the sequence number that current puerpera pacifies unblock event, current touch can obtained
After the sequence number for sending out unblock event, the current sequence number for repeating unblock event, such as " the 15th time " are shown in unlock interface.
In the embodiment of the present invention, in preset time period, according to the sequence number of current triggering unblock event, using dynamic unlocking
Algorithm enters Mobile state adjustment to default unlocking pin, you can dynamically adjust each unlocking pin, even if when current dynamic unlocking
Password is revealed, and also ensures that the information security of user.
As shown in figure 3, in one embodiment, including at least two kinds of different default dynamic algorithms, unlocking method is also wrapped
Include:
Step 302:Push list is formed according to the default dynamic algorithm, it is default that the push list includes at least two
The option of dynamic algorithm.
Obtain storage default dynamic algorithm type quantity, wherein, default dynamic algorithm can be mathematical algorithm,
Odd number even number displacement method, alphabetical transformation approach, time transformation approach etc..Wherein, mathematical algorithm is to presetting in unlocking pin extremely
A few character add, subtracted, multiplication and division or hybrid operation are to obtain dynamic unlocking password;Position displacement method is to default unblock
At least one character in password carries out location swap to obtain dynamic unlocking password;Alphabetical transformation approach, when default unlocking pin
In character in have alphabetical presence, then enter line label by the order of English alphabet, " a~z " corresponds numeral " 1- to letter respectively
26 ", wherein, numeral corresponding to letter then only takes the numeral corresponding to corresponding units if double figures;Time transformation approach,
At the time of obtaining current, according to it is current at the time of to preset unlocking pin at least one character calculated to obtain dynamic resolution
Lock cipher.
By the default dynamic algorithm of acquisition, arrangement form pushes list in a certain order, that is, push list is at least
Include the option of two default dynamic algorithms allowed hand over.Terminal is shown the push list of formation.
Specifically, pushing the display mode of list can be shown in the way of the column of a column one, a default dynamic
Algorithm takes a message display field.
Step 304:Obtain the option that the target that user selects in the push list presets dynamic algorithm.
When terminal shows push list, user can carry out selection behaviour to the option for the default dynamic algorithm for pushing list
Make.Specifically, user can be by shortcut, touching screen or gesture operation come at least one default dynamic in push list
The option of state algorithm is selected.
Further, the option that the target that user selects in the push list presets dynamic algorithm, specific bag are obtained
Include:Interactive operation of the user for the push list is detected, and determines that the target that user selects is pre- according to the interactive operation
If the option of dynamic algorithm.Specifically, the default dynamic of target that can be according to selected by the position of contact action determines user is calculated
The option of method.
Further, the target that can also be selected user, which presets dynamic algorithm, to be included, in unlock interface, prompting user to make
Dynamic algorithm is preset with target, and Mobile state processing is entered to default unlocking pin to obtain corresponding dynamic unlocking password.
Step 306:Dynamic algorithm is preset according to the target to enter at least one character in the default unlocking pin
Row is calculated to obtain dynamic unlocking password.
Target according to selected by user presets dynamic algorithm, is counted to presetting at least one character in unlocking pin
Calculate, with the dynamic unlocking password of acquisition.
Further, dynamic algorithm is preset according to the target to enter at least one character in the default unlocking pin
Row is calculated to obtain dynamic unlocking password, can also be comprised the following steps:
In preset time period, the sequence number of current triggering unblock event is obtained.
Preset according to the sequence number of current triggering unblock event to presetting at least one character in unlocking pin according to target
Dynamic algorithm is to obtain dynamic unlocking password.
User can select target known to oneself to preset according to the use habit of oneself from multiple default dynamic algorithms
Dynamic algorithm, and Mobile state adjustment is entered to obtain dynamic unlocking password to default unlocking pin, improve the Experience Degree of user.
As shown in figure 4, in one embodiment, before obtaining user's default unlocking pin set in advance, in addition to:
Step 402:Gather the human body physiological characteristics information of user.
Specifically, human body physiological characteristics information is included in facial information, finger print information, iris information, voiceprint extremely
Few one kind.Terminal can gather the facial information or iris information of user by camera.Terminal can also be known by fingerprint
Other module gathers the finger print information of user;Terminal can also gather voiceprint of user etc. by microphone.
Step 404:Judge the human body physiological characteristics information of collection is with the human body physiological characteristics information prestored
No matching.
The physiological characteristic information that user is used to unlock is stored in advance in lane terminal, when user needs unblock, collection in real time
The current human body physiological characteristics information of user, and judge, whether the human body physiological characteristics information prestored is used with collection in real time
Whether the current human body physiological characteristics information in family matches.If human body physiological parameter information is finger print information, summer using terminal
During, if the sweat of finger is relatively more, fingerprint recognition may be insensitive, causes the finger print information of collection and prestores
Finger print information mismatches, and even, can not collect finger print information, now, then performs step 406:According to default dynamic algorithm pair
At least one character in default unlocking pin is calculated to obtain dynamic unlocking password.
, can also be according to default dynamic algorithm to default solution when user can not be unlocked with human body physiological parameter information
At least one character in lock cipher is calculated to obtain dynamic unlocking password, and unlock interface is entered using dynamic unlocking password
Row unblock is handled, and improves the Experience Degree of user, while improve security.
As shown in figure 5, the application also provides a kind of tripper, tripper includes:
First acquisition module 510, for obtaining user's default unlocking pin set in advance;
Processing module 520, for being entered according to default dynamic algorithm at least one character in the default unlocking pin
Row is calculated to obtain dynamic unlocking password;
Second acquisition module 530, the real-time unlocking pin inputted for obtaining user in the unlock interface;
Unlocked state 540, for when the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlocking
Success.
Above-mentioned tripper, processing module can be according to default dynamic algorithm default unlocking pins set in advance to user
In at least one character calculated to obtain dynamic unlocking password;Unlocked state is obtaining what user inputted in unlock interface
When real-time unlocking pin and completely the same dynamic unlocking password, processing is unlocked to unlock interface.Above-mentioned tripper can be tied
Family default unlocking pin set in advance is shared, the unlocking pin of user is adjusted according to dynamic unlocking algorithm dynamic, improves and understands
The security of lock cipher, it can be ensured that the information security of user.
In one embodiment, processing module 520, including:
Detection unit 522, in preset time period, obtaining the sequence number of current triggering unblock event;
Processing unit 524, for the sequence number according to current triggering unblock event in the default unlocking pin at least
One character performs mathematical calculations method to obtain dynamic unlocking password, wherein, the mathematical algorithm is in the preset algorithm
It is a kind of.
Tripper in the present embodiment, according to the sequence number of current triggering unblock event, can be adopted in preset time period
Enter Mobile state to default unlocking pin with dynamic unlocking algorithm to adjust, can also dynamically adjust each unlocking pin, even if when work as
Preceding dynamic unlocking password leakage, also ensure that the information security of user.
As shown in fig. 6, in one embodiment, the type of default dynamic algorithm is at least two kinds.Default dynamic algorithm can
Think mathematical algorithm, odd number even number displacement method, alphabetical transformation approach, time transformation approach etc..Wherein, mathematical algorithm is to default
At least one character in unlocking pin add, subtracted, multiplication and division or hybrid operation are to obtain dynamic unlocking password;Replace position
Method is to carry out location swap at least one character preset in unlocking pin to obtain dynamic unlocking password;Alphabetical transformation approach,
When having alphabetical presence in the character in default unlocking pin, then enter line label by the order of English alphabet, " a~z " is respectively for letter
Digital " 1-26 " is corresponded, wherein, numeral corresponding to letter then only takes the number corresponding to corresponding units if double figures
Word;Time transformation approach, at the time of obtaining current, according to it is current at the time of to preset unlocking pin at least one character count
Calculate to obtain dynamic unlocking password.
Tripper including the first acquisition module 610 in previous embodiment, processing module 620, second except obtaining mould
Block 630, unlocked state 640, in addition to:
Pushing module 650, for forming push list according to the default dynamic algorithm, the push list is included at least
The option of two kinds of default dynamic algorithms;
Interactive module 660, the option of dynamic algorithm is preset for obtaining the target that user selects in the push list;
Processing module 620, be additionally operable to according to the target preset dynamic algorithm in the default unlocking pin at least
One character is calculated to obtain dynamic unlocking password,.
By above-mentioned tripper, user can select according to the use habit of oneself from multiple default dynamic algorithms
Target known to oneself presets dynamic algorithm, and enters Mobile state adjustment to default unlocking pin to obtain dynamic unlocking password, carries
The high Experience Degree of user.
As shown in fig. 7, in one embodiment, tripper includes the first acquisition module 710, processing module 720, second
Acquisition module 730, unlocked state 740, in addition to:
Acquisition module 770, for gathering the human body physiological characteristics information of user;
Judge module 780, the physiological characteristic for judging the human body physiological characteristics information of collection and prestoring are believed
Whether breath matches;If it is not, then perform the step of obtaining user's default unlocking pin set in advance.
, can also be according to pre- when user can not be unlocked with human body physiological parameter information by above-mentioned tripper
If dynamic algorithm is calculated to obtain dynamic unlocking password, using dynamic resolution presetting at least one character in unlocking pin
Lock cipher is unlocked processing to unlock interface, improves the Experience Degree of user, while improves security.
The division of modules is only used for for example, in other embodiments, can fill unblock in above-mentioned tripper
Put and be divided into different modules as required, to complete all or part of function of above-mentioned tripper.
The embodiment of the present application additionally provides a kind of computer-readable recording medium.One or more can perform comprising computer
The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors
When so that the computing device following steps:
Obtain user's default unlocking pin set in advance;
At least one character in the default unlocking pin is calculated according to default dynamic algorithm to obtain dynamic
Unlocking pin;
Obtain the real-time unlocking pin that user inputs in unlock interface;
When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
When the computer executable instructions are executed by one or more processors, according to default dynamic algorithm to user
At least one character in default unlocking pin set in advance is calculated to obtain dynamic unlocking password;User is obtained to solve
Lock the real-time unlocking pin of interface input;When the real-time unlocking pin and dynamic unlocking password that acquisition user inputs in unlock interface
When completely the same, then unlock successfully.Above-mentioned unlocking method can combine user's default unlocking pin set in advance, according to dynamic resolution
The unlocking pin that algorithm dynamic adjusts user is locked, improves the security of unlocking pin, it can be ensured that the information security of user.
A kind of computer program product for including instruction, when run on a computer so that computer performs unblock
Method.
The embodiment of the present application additionally provides a kind of computer equipment.As shown in figure 8, for convenience of description, illustrate only with
The related part of the embodiment of the present application, particular technique details do not disclose, refer to the embodiment of the present application method part.The calculating
Machine equipment can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant),
Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using computer equipment as
Exemplified by mobile phone:
Fig. 8 is the block diagram of the part-structure of the mobile phone related to the computer equipment of the embodiment of the present application offer.Reference chart
8, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840,
Sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880 and
The grade part of power supply 890.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 does not form the restriction to mobile phone, can
With including than illustrating more or less parts, either combining some parts or different parts arrangement.
Wherein, RF circuits 810 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations
After downlink information receives, handled to processor 880;Up data can also be sent to base station.Generally, RF circuits include but
Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuits 810 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio
Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code
Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email,
Short Message Service (Short Messaging Service, SMS) etc..
Memory 820 can be used for storage software program and module, and processor 880 is stored in memory 820 by operation
Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 820 can mainly include
Program storage area and data storage area, wherein, program storage area can storage program area, the application journey needed at least one function
Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root
Created data (such as voice data, address list etc.) etc. are used according to mobile phone.In addition, memory 820 can be included at a high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
Input block 830 can be used for the numeral or character information for receiving input, and produces and set with the user of mobile phone 800
And the key signals input that function control is relevant.Specifically, input block 830 may include contact panel 831 and other inputs
Equipment 832.Contact panel 831, alternatively referred to as touch-screen, collect touch operation (such as user of the user on or near it
Use the operation of any suitable object such as finger, stylus or annex on contact panel 831 or near contact panel 831),
And corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 831 may include to touch inspection
Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation
The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 880, and the order sent of reception processing device 880 and can be performed.In addition,
The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 831.Except touch surface
Plate 831, input block 830 can also include other input equipments 832.Specifically, other input equipments 832 can be included but not
The one or more being limited in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 840 can be used for display by user input information or be supplied to user information and mobile phone it is various
Menu.Display unit 840 may include display panel 841.In one embodiment, liquid crystal display (Liquid can be used
Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 841.In one embodiment, contact panel 831 can cover display panel 841, when contact panel 831 is examined
After measuring the touch operation on or near it, processor 880 is sent to determine the type of touch event, is followed by subsequent processing device
880 provide corresponding visual output according to the type of touch event on display panel 841.Although in fig. 8, contact panel
831 and display panel 841 are the parts independent as two to realize the input of mobile phone and input function, but in some implementations
In example, contact panel 831 and display panel 841 can be integrated and realize input and the output function of mobile phone.
Mobile phone 800 may also include at least one sensor 850, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 841, and proximity transducer can close display panel when mobile phone is moved in one's ear
841 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions
The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture
Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity
Other sensors such as meter, thermometer, infrared ray sensor etc..
Voicefrequency circuit 860, loudspeaker 861 and microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data received conversion can be transferred to loudspeaker 861, sound is converted to by loudspeaker 861 by road 860
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860
Voice data is changed to, then after voice data output processor 880 is handled, another mobile phone can be sent to through RF circuits 810, or
Person exports voice data to memory 820 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 8 is shown
WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone 800, can omit as needed.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform the software program and/or module being stored in memory 820, and call and be stored in memory 820
Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.In one embodiment, handle
Device 880 may include one or more processing units.In one embodiment, processor 880 can integrate application processor and modulation
Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc.;Modulation /demodulation is handled
Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 880.
Mobile phone 800 also includes the power supply 890 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity
Management system and processor 880 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
In one embodiment, mobile phone 800 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 880 included by the terminal performs the computer journey of storage on a memory
Following steps are realized during sequence:
Obtain user's default unlocking pin set in advance;
At least one character in the default unlocking pin is calculated according to default dynamic algorithm to obtain dynamic
Unlocking pin;
Obtain the real-time unlocking pin that user inputs in unlock interface;
When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
, can be according to default dynamic algorithm to user when processor 880 performs the computer program of storage on a memory
At least one character in default unlocking pin set in advance is calculated to obtain dynamic unlocking password;User is obtained to solve
Lock the real-time unlocking pin of interface input;When the real-time unlocking pin and dynamic unlocking password that acquisition user inputs in unlock interface
When completely the same, then unlock successfully.Above-mentioned unlocking method can combine user's default unlocking pin set in advance, according to dynamic resolution
The unlocking pin that algorithm dynamic adjusts user is locked, improves the security of unlocking pin, it can be ensured that the information security of user.
Any reference to memory, storage, database or other media used in this application may include non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only storage (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Embodiment described above only expresses the several embodiments of the application, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the application the scope of the claims can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application
Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (12)
- A kind of 1. unlocking method, it is characterised in that including:Obtain user's default unlocking pin set in advance;At least one character in the default unlocking pin is calculated to obtain dynamic unlocking according to default dynamic algorithm Password;Obtain the real-time unlocking pin that user inputs in unlock interface;When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
- 2. unlocking method according to claim 1, it is characterised in that the basis presets dynamic algorithm to the default solution At least one character in lock cipher is calculated to obtain dynamic unlocking password, including:In preset time period, the sequence number of current triggering unblock event is obtained;At least one character in the default unlocking pin is performed mathematical calculations according to the sequence number of current triggering unblock event Method with dynamic unlocking password, wherein, the mathematical algorithm be the preset algorithm in one kind.
- 3. unlocking method according to claim 2, it is characterised in that in preset time period, obtain current triggering unblock After the sequence number of event, in addition to:The sequence number of current triggering unblock event is shown in the unlock interface.
- 4. unlocking method according to claim 1, it is characterised in that the type of the default dynamic algorithm is at least two Kind, methods described also includes:Push list is formed according to the default dynamic algorithm, the push list includes the choosing of at least two default dynamic algorithms ;Obtain the option that the target that user selects in the push list presets dynamic algorithm;Dynamic algorithm is preset according to the target to calculate at least one character in the default unlocking pin to obtain Dynamic unlocking password.
- 5. unlocking method according to claim 1, it is characterised in that obtain user's default unlocking pin set in advance Before, in addition to:Gather the human body physiological characteristics information of user;Judge whether the human body physiological characteristics information of collection matches with the human body physiological characteristics information prestored;At least one character in the default unlocking pin is calculated to obtain according to default dynamic algorithm if it is not, then performing The step of taking dynamic unlocking password.
- 6. unlocking method according to claim 1, it is characterised in that the default unlocking pin includes 4-8 positions character.
- A kind of 7. tripper, it is characterised in that including:First acquisition module, for obtaining user's default unlocking pin set in advance;Processing module, for according to default dynamic algorithm at least one character in the default unlocking pin is calculated with Obtain dynamic unlocking password;Second acquisition module, the real-time unlocking pin inputted for obtaining user in unlock interface;Unlocked state, for when the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlocking successfully.
- 8. tripper according to claim 7, it is characterised in that the processing module, including:Detection unit, in preset time period, obtaining the sequence number of current triggering unblock event;Processing unit, the sequence number for the current triggering unblock event of basis is at least one character in the default unlocking pin Method perform mathematical calculations to obtain dynamic unlocking password, wherein, the mathematical algorithm is one kind in the preset algorithm.
- 9. tripper according to claim 8, it is characterised in that the type of the default dynamic algorithm is at least two Kind, the tripper also includes:Pushing module, for forming push list according to the default dynamic algorithm, it is pre- that the push list includes at least two If the option of dynamic algorithm;Interactive module, the option of dynamic algorithm is preset for obtaining the target that user selects in the push list;Dynamic algorithm is preset according to the target to calculate at least one character in the default unlocking pin to obtain Dynamic unlocking password;The processing module, it is additionally operable to preset dynamic algorithm at least one in the default unlocking pin according to the target Character is calculated to obtain dynamic unlocking password..
- 10. tripper according to claim 8, it is characterised in that also include:Acquisition module, for gathering the human body physiological characteristics information of user;Judge module, the human body physiological characteristics information for judging to gather are with the human body physiological characteristics information prestored No matching;At least one character in the default unlocking pin is calculated according to default dynamic algorithm if it is not, then performing The step of to obtain dynamic unlocking password.
- 11. a kind of computer equipment, including memory and processor, computer-readable instruction is stored in the memory, institute When stating instruction by the computing device so that the computing device following steps:Obtain user's default unlocking pin set in advance;At least one character in the default unlocking pin is calculated to obtain dynamic unlocking according to default dynamic algorithm Password;Obtain the real-time unlocking pin that user inputs in the unlock interface;When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
- 12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program Following steps are realized when being executed by processor:Obtain user's default unlocking pin set in advance;At least one character in the default unlocking pin is calculated to obtain dynamic unlocking according to default dynamic algorithm Password;Obtain the real-time unlocking pin that user inputs in the unlock interface;When the real-time unlocking pin and the dynamic unlocking password are completely the same, then unlock successfully.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710901490.6A CN107704736A (en) | 2017-09-28 | 2017-09-28 | Unlocking method and a device, computer equipment, computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710901490.6A CN107704736A (en) | 2017-09-28 | 2017-09-28 | Unlocking method and a device, computer equipment, computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107704736A true CN107704736A (en) | 2018-02-16 |
Family
ID=61176147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710901490.6A Pending CN107704736A (en) | 2017-09-28 | 2017-09-28 | Unlocking method and a device, computer equipment, computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704736A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321680A (en) * | 2019-06-26 | 2019-10-11 | 维沃移动通信有限公司 | Auth method and terminal device |
CN110881699A (en) * | 2018-08-17 | 2020-03-17 | 深圳市艾维普思科技有限公司 | Unlocking method and device of electronic cigarette and computer readable storage medium |
CN111222107A (en) * | 2018-11-23 | 2020-06-02 | 奇酷互联网络科技(深圳)有限公司 | Unlocking method, intelligent terminal and computer readable storage medium |
CN111369717A (en) * | 2020-03-05 | 2020-07-03 | 吉舵物联科技有限公司 | Intelligent door lock management method and management system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877636A (en) * | 2009-04-30 | 2010-11-03 | 李强 | Equation password encryption method |
CN103248477A (en) * | 2013-04-27 | 2013-08-14 | 深圳创维-Rgb电子有限公司 | Dynamic encryption method and device |
CN103530582A (en) * | 2013-10-15 | 2014-01-22 | 广东欧珀移动通信有限公司 | Method and system for unlocking dynamic password of mobile terminal |
CN105101191A (en) * | 2014-05-23 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for WLAN security mechanism setup |
CN105678159A (en) * | 2016-01-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Unlocking method and device |
CN106504369A (en) * | 2015-09-07 | 2017-03-15 | 封楠林 | Electronic coding lock system and encryption method |
CN106529235A (en) * | 2016-10-24 | 2017-03-22 | 深圳市金立通信设备有限公司 | Unlocking method and terminal |
-
2017
- 2017-09-28 CN CN201710901490.6A patent/CN107704736A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877636A (en) * | 2009-04-30 | 2010-11-03 | 李强 | Equation password encryption method |
CN103248477A (en) * | 2013-04-27 | 2013-08-14 | 深圳创维-Rgb电子有限公司 | Dynamic encryption method and device |
CN103530582A (en) * | 2013-10-15 | 2014-01-22 | 广东欧珀移动通信有限公司 | Method and system for unlocking dynamic password of mobile terminal |
CN105101191A (en) * | 2014-05-23 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for WLAN security mechanism setup |
CN106504369A (en) * | 2015-09-07 | 2017-03-15 | 封楠林 | Electronic coding lock system and encryption method |
CN105678159A (en) * | 2016-01-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Unlocking method and device |
CN106529235A (en) * | 2016-10-24 | 2017-03-22 | 深圳市金立通信设备有限公司 | Unlocking method and terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110881699A (en) * | 2018-08-17 | 2020-03-17 | 深圳市艾维普思科技有限公司 | Unlocking method and device of electronic cigarette and computer readable storage medium |
CN111222107A (en) * | 2018-11-23 | 2020-06-02 | 奇酷互联网络科技(深圳)有限公司 | Unlocking method, intelligent terminal and computer readable storage medium |
CN110321680A (en) * | 2019-06-26 | 2019-10-11 | 维沃移动通信有限公司 | Auth method and terminal device |
CN111369717A (en) * | 2020-03-05 | 2020-07-03 | 吉舵物联科技有限公司 | Intelligent door lock management method and management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106022290B (en) | A kind of fingerprint template update method and terminal device | |
CN106293751B (en) | Method for displaying information on terminal equipment and terminal equipment | |
US10530921B2 (en) | Method for unlocking terminal screen and terminal | |
CN106127481B (en) | A kind of fingerprint method of payment and terminal | |
CN107704736A (en) | Unlocking method and a device, computer equipment, computer-readable recording medium | |
CN105912919B (en) | A kind of unlocked by fingerprint method and terminal | |
CN107292235B (en) | fingerprint acquisition method and related product | |
CN108171037A (en) | Using startup method, terminal and computer storage media | |
CN107437009A (en) | Authority control method and related product | |
CN106778175A (en) | A kind of interface locking means, device and terminal device | |
CN106203034B (en) | A kind of unlocked by fingerprint method and terminal | |
CN107451450B (en) | Biometric identification method and related product | |
CN106920307A (en) | Gate inhibition's open method, device and mobile terminal | |
CN107590375A (en) | Unlocking method and related product | |
CN106874725A (en) | A kind of unlocked by fingerprint method and mobile terminal | |
CN107025395A (en) | A kind of fingerprint identification method and mobile terminal | |
CN107491673A (en) | Biometric discrimination method and Related product | |
CN107025434A (en) | A kind of fingerprint register method and mobile terminal | |
CN108537058A (en) | The polygonal color application method and device, computer readable storage medium, terminal of terminal | |
CN107426439A (en) | Screen starts method, device and mobile terminal | |
CN107451546A (en) | Iris identification method and related product | |
CN107715449A (en) | A kind of account login method and relevant device | |
CN107403148A (en) | Iris identification method and related product | |
CN107317918A (en) | Parameter setting method and related product | |
CN107862189A (en) | Unlocking method and related product |
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: 20180216 |