CN104951690A - Terminal device unlocking method and terminal device unlocking device - Google Patents

Terminal device unlocking method and terminal device unlocking device Download PDF

Info

Publication number
CN104951690A
CN104951690A CN201410387129.2A CN201410387129A CN104951690A CN 104951690 A CN104951690 A CN 104951690A CN 201410387129 A CN201410387129 A CN 201410387129A CN 104951690 A CN104951690 A CN 104951690A
Authority
CN
China
Prior art keywords
character
doctrine
terminal device
conversion formula
data bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410387129.2A
Other languages
Chinese (zh)
Other versions
CN104951690B (en
Inventor
刘华忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410387129.2A priority Critical patent/CN104951690B/en
Publication of CN104951690A publication Critical patent/CN104951690A/en
Application granted granted Critical
Publication of CN104951690B publication Critical patent/CN104951690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a terminal device unlocking method and a terminal device unlocking device. The terminal device unlocking method includes: displaying a first character generated randomly and an input box when a terminal device is in a screen locked state, wherein the first character includes one or more bits; receiving an inputted second character through the input box; comparing the second character with a third character obtained by converting the first character according to a preset conversion formula; if the second character is consistent with the third character, the terminal device is switched from the screen locked state into an unlocking state. The terminal device unlocking method and the terminal device unlocking device have the advantage that the technical problem of low safety of password unlocking in the prior art is solved, so that safety of password unlocking is improved.

Description

For unlock method and the device of terminal device
Technical field
The present invention relates to data processing field, in particular to a kind of unlock method for terminal device and device.
Background technology
The method that existing most of terminal device or application program all employ numeral unblock or gesture slip pattern unlocks, the numerical ciphers needing input to set when unlocking or gesture pattern, as shown in Figure 1 to Figure 3.Fig. 1 shows and utilizes the numeric keypad input password that screen shows to unlock, and the input frame input password that Fig. 2 shows directly on screen unlocks, and Fig. 3 shows the nine grids input gesture pattern shown on screen and unlocks.But when above-mentioned unlocking manner uses in public, unlocking pin is easy to, by other people record, cause the leakage of unlocking pin, causes the potential safety hazard of personal information.
For the problem that the security of the unlocking pin of prior art is lower, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of unlock method for terminal device and device, with the technical matters that the security of the unlocking pin at least solving prior art is lower.
According to an aspect of the embodiment of the present invention, provide a kind of unlock method for terminal device, comprising: under terminal device is in screen lock state, show stochastic generation the first character and input frame, wherein, described first character comprises one or more character; The second character of input is received by described input frame; Described second character is compared the three-character doctrine that described first character is converted to using the conversion formula pre-set; If described second character is consistent with described three-character doctrine, then described terminal device is transformed into released state from described screen lock state.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of tripper for terminal device, comprising: display unit, for being created on the first character and the input frame that show stochastic generation under terminal device is in screen lock state, wherein, described first character comprises one or more character; Receiving element, for receiving the second character of input by described input frame; Comparing unit, for comparing described second character the three-character doctrine that described first character is converted to using the conversion formula pre-set; Separate lock unit, for when described second character is consistent with described three-character doctrine, described terminal device is transformed into released state from described screen lock state.
In embodiments of the present invention, under terminal device is in screen lock state, show stochastic generation the first character and input frame is adopted; The second character of input is received by input frame; Second character is compared the three-character doctrine that the first character is converted to using the conversion formula pre-set; If the second character is consistent with three-character doctrine, then terminal device is transformed into released state from screen lock state.Mode, by stochastic generation first character, the second character and three-character doctrine is obtained again according to the conversion formula pre-set, unlocking pin is made to become dynamic password by traditional fixed password, even if unlocking pin is revealed to others so in public, because unlocking pin is dynamic password, other people also cannot carry out the unblock of terminal device, thus the technical matters that the security solving the unlocking pin of prior art is lower, and then reach the technique effect of the security improving unlocking pin.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram utilizing numerical ciphers to unlock according to prior art;
Fig. 2 is another schematic diagram utilizing numerical ciphers to unlock according to prior art;
Fig. 3 is the schematic diagram utilizing gesture unlock password according to prior art;
Fig. 4 is the schematic diagram of a kind of optional terminal according to the embodiment of the present invention;
Fig. 5 is the process flow diagram of the method for unlocking terminal equipment according to this law inventive embodiments;
Fig. 6 is the schematic diagram showing the first character and input frame on the terminal device according to the embodiment of the present invention;
Fig. 7 is the schematic diagram showing the first character and input frame on the terminal device according to further embodiment of this invention;
Fig. 8 is the schematic diagram of the unblock for terminal device according to the embodiment of the present invention; And
Fig. 9 is the schematic diagram of the terminal of the unlock method for terminal device for implementing the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide a kind of unlock method for terminal device.Alternatively, in the present embodiment, the above-mentioned unlock method for terminal device can be applied to mobile phone as shown in Figure 4.Certainly, the method that the embodiment of the present invention provides can also be used in the unshowned panel computer of Fig. 4, PC.
Embodiments provide a kind of unlock method for terminal device.Fig. 5 is the process flow diagram of the unlock method of terminal device according to the embodiment of the present invention.As shown in the figure, the unlock method of this terminal device comprises the steps:
Step S502, under terminal device is in screen lock state, show the first character and the input frame of stochastic generation, wherein, the first character comprises one or more character.
Terminal device is in screen lock state, and can be that the intelligent terminals such as mobile phone, panel computer, PC are in lock state of screen, screen display be black, or pattern of only having powerful connections but cannot operate terminal, and namely screen is in the lock state.Such as, panel computer needs to light screen after dormancy and unlock screen just can wake panel computer up to carry out the operation to panel computer, after the physical button or virtual key of touch screen or touch terminal equipment, the screen of panel computer is lighted, but the now inputting interface of screen display unlocking pin, shown in traditional unlocking pin inputting interface Fig. 1 to Fig. 3, also can the inputting interface of Explicit solutions lock cipher after waking screen up in the present embodiment, but the first character of inputting interface display stochastic generation of the present invention and input frame, as shown in Figure 6.
When terminal device is in screen lock state, also comprises the application program that terminal device is installed and be in screen lock state.Such as, confidential folder mobile phone installed.The file stored in file is classified document, if need to check that these files first will input password, so, also can show the inputting interface of unlocking pin as shown in Figure 6 when opening this application program.
The inputting interface of the unlocking pin shown in Fig. 6 not only shows the input frame of password, also shows the first character of stochastic generation.First character of stochastic generation can comprise a character or multiple character.First character of stochastic generation can be letter, also can be numeral.If what generate is letter, the first character so generated can comprise multiple letter, and owing to being the letter of stochastic generation, the letter so generated can have the letter of repetition.Similarly, the numeral of stochastic generation also can comprise multiple numeral, certainly, also can have the numeral of repetition.
Such as, the first character of generation is 1,23,456, and wherein, 1,23 and 456 are a character, and these three characters form the first character.Each character comprises again one or more data bit, and " 2 " and " 3 " as character 23 are respectively a data bit.
Step S504, receives the second character of input by input frame.
Second character is the character that user is inputted by input frame, i.e. the unlocking pin of user's input.Second character is the transformation result that user obtains according to the conversion formula pre-set.
Step S506, compares the second character the three-character doctrine that the first character is converted to using the conversion formula pre-set.
Step S508, if the second character is consistent with three-character doctrine, is then transformed into released state by terminal device from screen lock state.
After stochastic generation first character, according to the conversion formula pre-set, the first character is changed, obtain three-character doctrine.The unlocking pin that three-character doctrine and terminal device calculate according to conversion formula, therefore, when the second character of user's input is identical with the three-character doctrine that terminal device calculates, determines that the unlocking pin that user inputs is correct.
The conversion formula pre-set can be arranged by user, therefore, when user sees the character of stochastic generation, can calculate the second character according to conversion formula.Terminal device also calculates three-character doctrine according to the conversion formula preset.After stochastic generation first character, terminal device and user calculate unlocking pin according to the conversion formula pre-set respectively, the formula of terminal device and user's foundation is identical, so, should be identical according to the result of same transitions formulae discovery, that is according to show first character calculate three-character doctrine and the second character should be identical, terminal device so just can be made to be converted to released state from screen lock state.
All need when unlocking to regenerate the first new character at every turn, because the first character is stochastic generation, each the first character generated is all different, therefore, also be dynamic according to the unlocking pin that the first character and conversion formula calculate, namely each unlocking pin generated is all different.
Such as, conversion formula is y=a+b+c, wherein, y represents three-character doctrine, a, b, c is variable, and when the first character of stochastic generation is 4,6,2, user is 12 according to the second character that conversion formula calculates, terminal device is also 12 according to the three-character doctrine that conversion formula calculates, therefore, when terminal device receives the second character from user by input frame, identical with three-character doctrine by comparing discovery second character, be 12, then terminal device be converted to released state by screen lock state.
Certainly, conversion formula can also be y=min (a, b, c, d), wherein, y represents three-character doctrine, a, b, c, d is variable, the character of stochastic generation is 12, 46, 15, 20, terminal device is 12 according to conversion formula determination unlocking pin, if detect that being input to unlocking pin by input frame is also 12, then determine that the unlocking pin inputted is correct, can unlock, if detect that being input to unlocking pin by input frame is not 12, then determine the unlocking pin mistake inputted, the unlock password of input cannot be utilized, namely released state can not be converted to by screen lock state.
Conversion formula can also be select capitalization in the first character of display, and such as, the first character of generation is a, b, c, D and e, and capitalization is D, then user is converted to released state by terminal device by screen lock state by input frame input alphabet D.
When utilizing above-described embodiment to carry out unlocking screen, due to stochastic generation during the first character, each unlocking pin obtained according to stochastic generation first character conversion when unlocking is also different, like this, even if unlocking pin is by other people record in public, as long as other people do not know conversion formula, also cannot unlock screen.In addition, conversion formula only just can be seen by user when arranging password, and do not show conversion formula when unlock screen, other people also cannot know conversion formula, thus avoid the leakage of unlocking pin, and then reaches the effect of the security improving unlocking pin.
Alternatively, before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, method also comprises: using the first character as entering the variable assignments of ginseng to conversion formula, obtain three-character doctrine, wherein, in first character, the number of character is identical with the number of variable, the corresponding variable of each character in the first character.
When utilizing conversion formula to change the first character, in the first character of display, the number of character is identical with the number of variable in conversion formula, like this when changing, only the first character need be brought in conversion formula.
Such as, the conversion formula pre-set is y=f (x1, x2, x3, x4), wherein, y represents three-character doctrine, x1, x2, x3, x4 are variable, and the variable in this conversion formula is four, i.e. x1, x2, x3, x4, accordingly, in the first character of display, the number of character is also four, and the first character of display is four constants a, b, c, d, a, b, c, d and x1, x2, x3, x4 are brought into one to one conversion formula y=f (x1, x2, x3, x4) in, the three-character doctrine obtained is f (a, b, c, d).
Alternatively, in order to improve the speed of unlocking operation, when showing the first character and the input frame of stochastic generation under terminal device is in screen lock state, also comprise: use conversion formula to be converted to three-character doctrine to the first character.
Use conversion formula to be converted to three-character doctrine to the first character when showing the first character of stochastic generation, just the first character conversion is become three-character doctrine before can certainly receiving the second character, can also be three-character doctrine by the first character conversion while reception second character, like this when comparing the second character and three-character doctrine, do not need again spended time to carry out the conversion of the first character to three-character doctrine, directly compare and just can determine whether the second character that user inputs is unlocking pin.
Certainly, in order to avoid the system resources consumption (such as, the consumption of internal memory or taking of storage space) that terminal device is unnecessary, the conversion of the first character to three-character doctrine can be carried out again after receiving the second character.After the second character being received input by input frame, and before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, also comprise: use conversion formula to be converted to three-character doctrine to the first character.
Such as, the screen that user lights terminal device is in order to the time of seeing, instead of in order to unlock screen, although show the first character of stochastic generation like this on screen, inputs the second character in the input frame that user can't show on screen.In such a scenario, can't be three-character doctrine by the first character conversion when terminal device shows the first character of stochastic generation on screen, but be three-character doctrine by the first character conversion again after by the time receiving the second character, the system resources consumption produced owing to calculating three-character doctrine can be reduced like this.Especially consume the larger application program of internal memory for the less terminal device of internal memory or itself, after reception second character, carry out the first character more proper to the conversion of three-character doctrine.
Alternatively, before the first character showing stochastic generation under terminal device is in screen lock state and input frame, method also comprises: receive and be used for requesting terminal equipment is switched to released state request instruction by screen lock state; According to request instruction stochastic generation first character.
Usual terminal device is in black state when screen lock state, or only shows Background Picture.Receive at terminal device and be used for after requesting terminal equipment to be switched to the request instruction of released state by screen lock state, generating the first character according to request instruction.
Such as, when the terminal such as mobile phone or panel computer is unlocked, the terminal device being in black state is waken up into illuminating state, after screen is lit, namely occur the unlock interface for pointing out input unlocking pin, the instruction that the action of now lighting screen produces in terminal device can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.Certainly, can not be there is the unlock interface for pointing out input password in some situation, also need to perform relevant operation (such as according to the activity operations that the icon of " please slide to unlock " that screen shows performs) and could occur above-mentioned unlock interface after screen is lit.In such a scenario, perform and relevant operate in the instruction produced in terminal device and can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.After receiving request instruction, generate the first character, the unlock interface of display shows the first character of generation.
Such as, when application program in terminal is unlocked, the interface of terminal device display application program, when clicking the file checked and need input password just can check, eject the unlock interface of input password, now, the action clicking file can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.After receiving request instruction, generate the first character, the unlock interface of display shows the first character of generation.
Alternatively, the first character showing stochastic generation under terminal device is in screen lock state comprises: repeat following steps until display the first character: judge whether the number of data bit in the three-character doctrine be converted to according to the first character and the conversion formula of stochastic generation is less than or equal to the number of display box in input frame; If the number of data bit is less than or equal to the number of display box in three-character doctrine, then show the first character; And if the number of data bit is greater than the number of display box in three-character doctrine, then stochastic generation first character again.
When the number of display box is fixed in input frame, when generation the first character, the number of data bit in the three-character doctrine considering to be converted to according to conversion formula is needed whether to be less than or equal to the number of display box.When the number of data bit is less than or equal to the number of display box in three-character doctrine, the code error inputted may be caused, or unlocking program is made mistakes.Therefore, when generation the first character, need to judge whether the number of data bit in the three-character doctrine the first character conversion obtained according to conversion formula is less than the number of display box, if judged result is yes, then show the first character, if judged result is no, then stochastic generation first character again.
As shown in Figure 7, generate the first character and comprise four, be four 9, and input frame is four input frames, conversion formula is y=a 2× b × c × d, wherein, y represents three-character doctrine, a, b, c, d are variable, be 59049 by the three-character doctrine obtained after the first character conversion, each display box of input frame can only show a data bit, and obvious four display boxes cannot meet the requirement of five data bit of three-character doctrine.Therefore, when in the three-character doctrine be converted to, the number of data bit is greater than the number of display box, will stochastic generation first character again, until the number of data bit is less than or equal to the number of display box in the three-character doctrine obtained via the first character conversion of stochastic generation.
Such as, input frame has 4 display boxes, and conversion formula is y=a+b, and wherein, y represents three-character doctrine, and a, b are variable.In order to the number of the data bit making the three-character doctrine be converted to is less than or equal to 4, can limit y=a+b<10000, the data bit of the three-character doctrine utilizing the first character to calculate like this is less than or equal to 4.
Pass through above-described embodiment, can judge before display first character whether the number of data bit in the three-character doctrine after changing is less than or equal to the number of display box, if the number of data bit is less than or equal to the number of display box in three-character doctrine, then directly show the first character generated, if the number of data bit is greater than the number of display box in three-character doctrine, then again stochastic generation first character until in three-character doctrine after conversion the number of data bit be less than or equal to the number of display box.According to above-described embodiment, can to ensure the first character conversion of display according to conversion formula to be three-character doctrine, and in three-character doctrine, the number of data bit is less than or equal to the number of display box, thus avoids unlocking pin to report an error.
Alternatively, in order to make the range of choice of dynamic password larger, the number of data bit in the three-character doctrine be converted to can not also be limited, when the number of data bit in three-character doctrine is less than the number of display box or is greater than the number of display box, use conversion formula to be converted to three-character doctrine to the first character to comprise: whether the number comparing data bit in three-character doctrine is less than the number of the display box of input frame, wherein, each display input character; If the number of data bit is less than the number of display box in three-character doctrine, then three-character doctrine below supplement predetermined symbol until in three-character doctrine the number of data bit identical with the number of display box; If the number of data bit is greater than the number of display box in three-character doctrine, then extract the predetermined number of three-character doctrine according to position, wherein, predetermined number is identical with the number of display box according to the number of position.
Unlocking pin is as shown in Figure 7 on inputting interface, input frame has four display boxes, each display box can receive a data bit of the second character, when not limiting the number of data bit of the result the first character conversion obtained, when the number of the data bit of the result be converted to is greater than the number of display box, the predetermined number of the result be converted to can be extracted according to position, and receive predetermined number according to position by display box; When the number of the data bit of the result be converted to is less than the number of display box, book character can be supplemented, to make the number of the data bit of three-character doctrine identical with the number of display box in input frame.
Such as, input frame has four display boxes, and the first character of stochastic generation is 2,3,4,5, and conversion formula is y=a+b+c+d, and wherein, y represents three-character doctrine, and a, b, c, d are variable.The three-character doctrine be converted to is 15, but input frame has four display boxes, then can in the zero padding below of three-character doctrine, namely unlocking pin is 1500, when the second character of user's input is 1500, terminal device can be converted to released state by screen lock state.
Such as, input frame has four display boxes, and the first character of stochastic generation is 2,3,4,5, and conversion formula is y=a 2× b 2× c 2× d 2, wherein, y represents three-character doctrine, and a, b, c, d are variable.Passing through and being converted to three-character doctrine is 14400, and so, can extract rear four data bit of 14400 as unlocking pin, namely unlocking pin is 4400, when the second character of user's input is 4400, terminal device can be converted to released state by screen lock state.
In the above example, when in three-character doctrine, the number of data bit is less than the display box of input frame, predetermined numeral or letter can be supplemented after three-character doctrine or above, when the number of data bit is greater than the display box of input frame in three-character doctrine, several data bit below of three-character doctrine can be intercepted or start several data bit as unlocking pin.Certainly, user, when input second character unlocks, also carries out input second character according to above-mentioned rule, is convenient to the comparison of the second character and three-character doctrine.
Certainly, input frame also can not limit the number of input data bit, according to conversion formula, the three-character doctrine that the first character conversion obtains being had how many data bit can as unlocking pin, user is not needed supplementary book character yet or intercepts book character, as long as input the character that calculates according to conversion formula being inputted the second character by input frame.
Pass through above-described embodiment, the unlocking pin of three-character doctrine as terminal device can be dynamically generated by the first character of stochastic generation, thus solve the problem that in prior art, unlocking pin security is lower, in addition, by judging the number of data bit and the number relation of input frame of the unlocking pin generated, can not make mistakes when can ensure unlock screen, to make, when unlocking pin is correct, terminal device is converted to released state by screen lock state.
Alternatively, conversion formula comprises following any one or multiple operational symbol: add, subtract, multiplication and division, get minimum value, get maximal value, delivery, take absolute value, connector and bracket.
Conversion formula can comprise multiple operational symbol, and multiple operational symbol can be used in combination.Except the additive operation in above-mentioned example, multiplying and square operation, the computing such as maximal value, minimum value can also be got.
When getting maximal value, user can select maximum numeral as the second character from the first character of display, and by the maximum number in the first character as unlocking pin, certainly, three-character doctrine is also numeral maximum in the first character.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform the method for each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind of tripper for terminal device.The unlock method for terminal device that this device provides for implementing the embodiment of the present invention.
Fig. 8 is the schematic diagram of the unblock for terminal device according to the embodiment of the present invention.As shown in the figure, this device comprises: display unit 10, receiving element 30, comparing unit 50 conciliate lock unit 70.
Display unit 10 shows the first character and the input frame of stochastic generation under terminal device is in screen lock state for being created on, wherein, the first character comprises one or more character.
Terminal device is in screen lock state, and can be that the intelligent terminals such as mobile phone, panel computer, PC are in lock state of screen, screen display be black, or pattern of only having powerful connections but cannot operate terminal, and namely screen is in the lock state.Such as, panel computer needs to light screen after dormancy and unlock screen just can wake panel computer up to carry out surely operating panel computer, after the physical button or virtual key of touch screen or touch terminal equipment, the screen of panel computer is lighted, but the now inputting interface of screen display unlocking pin, shown in traditional unlocking pin inputting interface Fig. 1 to Fig. 3, also can the inputting interface of Explicit solutions lock cipher after waking screen up in the present embodiment, but the first character of inputting interface display stochastic generation of the present invention and input frame, as shown in Figure 6.
When terminal device is in screen lock state, also comprises the application program that terminal device is installed and be in screen lock state.Such as, confidential folder mobile phone installed.The file stored in file is classified document, if need to check that these files first will input password, so, also can show the inputting interface of unlocking pin as shown in Figure 6 when opening this application program.
The inputting interface of the unlocking pin shown in Fig. 6 not only shows the input frame of password, also shows the first character of stochastic generation.First character of stochastic generation can comprise a character or multiple character.First character of stochastic generation can be letter, also can be numeral.If what generate is letter, the first character so generated can comprise multiple letter, and owing to being the letter of stochastic generation, the letter so generated can have the letter of repetition.Similarly, the numeral of stochastic generation also can comprise multiple numeral, certainly, also can have the numeral of repetition.
Such as, the first character of generation is 1,23,456, and wherein, 1,23 and 456 are a character, and these three characters form the first character.Each character comprises again one or more data bit, and " 2 " and " 3 " as character 23 are respectively a data bit.
Receiving element 30 is for receiving the second character of input by input frame.
Comparing unit 50 is for comparing the second character the three-character doctrine that the first character is converted to using the conversion formula pre-set.
Separate lock unit 70 for when the second character is consistent with three-character doctrine, terminal device is transformed into released state from screen lock state.
Second character is the character that user is inputted by input frame, i.e. the unlocking pin of user's input.Second character is the transformation result that user obtains according to the conversion formula pre-set.
After stochastic generation first character, according to the conversion formula pre-set, the first character is changed, obtain three-character doctrine.The unlocking pin that three-character doctrine and terminal device calculate according to conversion formula, therefore, when the second character of user's input is identical with the three-character doctrine that terminal device calculates, determines that the unlocking pin that user inputs is correct.
The conversion formula pre-set can be arranged by user, therefore, when user sees the character of stochastic generation, can calculate the second character according to conversion formula.Terminal device also calculates three-character doctrine according to the conversion formula preset.After stochastic generation first character, terminal device and user calculate unlocking pin according to the conversion formula pre-set respectively, the formula of terminal device and user's foundation is identical, so, should be identical according to the result of same transitions formulae discovery, that is according to show first character calculate three-character doctrine and the second character should be identical, terminal device so just can be made to be converted to released state from screen lock state.
All need when unlocking to regenerate the first new character at every turn, because the first character is stochastic generation, each the first character generated is all different, therefore, also be dynamic according to the unlocking pin that the first character and conversion formula calculate, namely each unlocking pin generated is all different.
Such as, conversion formula is y=a+b+c, wherein, y represents three-character doctrine, a, b, c is variable, and when the character of stochastic generation is 4,6,2, user is 12 according to the second character that conversion formula calculates, terminal device is also 12 according to the three-character doctrine that conversion formula calculates, therefore, when terminal device receives the second character from user by input frame, identical with three-character doctrine by comparing discovery second character, be 12, then terminal device be converted to released state by screen lock state.
Certainly, conversion formula can also be y=min (a, b, c, d), wherein, y represents three-character doctrine, a, b, c, d is variable, the character of stochastic generation is 12, 46, 15, 20, terminal device is 12 according to conversion formula determination unlocking pin, if detect that the unlocking pin inputted by input frame is also 12, then determine that the unlocking pin inputted is correct, can unlock, if detect that the unlocking pin inputted by input frame is not 12, then determine the unlocking pin mistake inputted, the unlock password of input cannot be utilized, namely released state can not be converted to by screen lock state.
When utilizing above-described embodiment to carry out unlocking screen, due to stochastic generation during the first character, each unlocking pin obtained according to stochastic generation first character conversion when unlocking is also different, like this, even if unlocking pin is by other people record in public, as long as other people do not know conversion formula, also cannot unlock screen.In addition, conversion formula only just can be seen by user when arranging password, and do not show conversion formula when unlock screen, other people also cannot know conversion formula, thus avoid the leakage of unlocking pin, and then reaches the effect of the security improving unlocking pin.
Alternatively, device also comprises: assignment unit, before the three-character doctrine that the first character is converted to being compared at the conversion formula that the second character and use are pre-set, using the first character as entering the variable assignments of ginseng to conversion formula, obtain three-character doctrine, wherein, in the first character, the number of character is identical with the number of variable, the corresponding variable of each character in the first character.
When utilizing conversion formula to change the first character, in the first character of display, the number of character is identical with the number of variable in conversion formula, like this when changing, only the first character need be brought in conversion formula.
Such as, the conversion formula pre-set is y=f (x1, x2, x3, x4), wherein, y represents three-character doctrine, x1, x2, x3, x4 are variable, and the variable in this conversion formula is four, i.e. x1, x2, x3, x4, accordingly, in the first character of display, the number of character is also four, and the first character of display is four constants a, b, c, d, a, b, c, d and x1, x2, x3, x4 are brought into one to one conversion formula y=f (x1, x2, x3, x4) in, the three-character doctrine obtained is f (a, b, c, d).
Alternatively, in order to improve the speed of unlocking operation, device also comprises: the first converting unit, during for showing the first character and the input frame of stochastic generation under being in screen lock state at terminal device, uses conversion formula to be converted to three-character doctrine to the first character.
Use conversion formula to be converted to three-character doctrine to the first character when showing the first character of stochastic generation, just the first character conversion is become three-character doctrine before can certainly receiving the second character, can also be three-character doctrine by the first character conversion while reception second character, like this when comparing the second character and three-character doctrine, do not need again spended time to carry out the conversion of the first character to three-character doctrine, directly compare whether just can determine that user is input to the second character be unlocking pin.
Certainly, in order to avoid the unnecessary system resources consumption of terminal device (such as, the consumption of internal memory, or the taking of storage space), the conversion of the first character to three-character doctrine can be carried out again after receiving the second character.Alternatively, device also comprises: the second converting unit, for after the second character being received input by input frame, and before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, use conversion formula to be converted to three-character doctrine to the first character.
Such as, the screen of the bright terminal device of user's electricity is in order to the time of seeing, instead of in order to unlock screen, although show the first character of stochastic generation like this on screen, inputs the second character in the input frame that user can not show on screen.In such a scenario, when terminal device shows the first character of stochastic generation on screen, the first character conversion can not be three-character doctrine by disease, but etc. receive the second character after be three-character doctrine by the first character conversion again, the system resources consumption produced owing to calculating three-character doctrine can be reduced like this.Especially consume the larger application program of internal memory for the less terminal device of internal memory or itself, after reception second character, carry out the first character more proper to the conversion of three-character doctrine.
Alternatively, in order to make the range of choice of dynamic password larger, the number of data bit in the three-character doctrine be converted to can not also be limited, when the number of data bit in three-character doctrine is less than the number of display box or is greater than the number of display box, first converting unit or the second converting unit comprise: comparison module, whether the number for comparing data bit in three-character doctrine is less than the number of the display box of input frame, and wherein, each display box inputs a character; Complementary module, when the number for data bit in three-character doctrine is less than the number of display box, three-character doctrine below supplement predetermined symbol until in three-character doctrine the number of data bit identical with the number of display box; Extraction module, when the number for data bit in three-character doctrine is greater than the number of display box, extracts the predetermined number of three-character doctrine according to position, and wherein, predetermined number is identical with the number of display box according to the number of position.
Unlocking pin is as shown in Figure 7 on inputting interface, input frame has four display boxes, each display box can receive a data bit of the second character, when not limiting the number of data bit of the result the first character conversion obtained, when the number of the data bit of the result be converted to is greater than the number of display box, the predetermined number of the result be converted to can be extracted according to position, and receive predetermined number according to position by display box; When the number of the data bit of the result be converted to is less than the number of display box, book character can be supplemented, to make the number of the data bit of three-character doctrine identical with the number of display box in input frame.
Such as, input frame has four display boxes, and the first character of stochastic generation is 2,3,4,5, and conversion formula is y=a+b+c+d, and wherein, y represents three-character doctrine, and a, b, c, d are variable.The three-character doctrine be converted to is 15, but input frame has four display boxes, then can in the zero padding below of three-character doctrine, namely unlocking pin is 1500, when the second character of user's input is 1500, terminal device can be converted to released state by screen lock state.
Such as, input frame has four display boxes, and the first character of stochastic generation is 2,3,4,5, and conversion formula is y=a 2× b 2× c 2× d 2, wherein, y represents three-character doctrine, and a, b, c, d are variable.Passing through and being converted to three-character doctrine is 14400, and so, can extract rear four data bit of 14400 as unlocking pin, namely unlocking pin is 4400, when the second character of user's input is 4400, terminal device can be converted to released state by screen lock state.
In the above example, when in three-character doctrine, the number of data bit is less than the display box of input frame, predetermined numeral or letter can be supplemented after three-character doctrine or above, when the number of data bit is greater than the display box of input frame in three-character doctrine, several data bit below of three-character doctrine can be intercepted or start several data bit as unlocking pin.Certainly, user, when input second character unlocks, also carries out input second character according to above-mentioned rule, is convenient to the comparison of the second character and three-character doctrine.
Certainly, input frame also can not limit the number of input data bit, according to conversion formula, the three-character doctrine that the first character conversion obtains being had how many data bit can as unlocking pin, user is not needed supplementary book character yet or intercepts book character, as long as input the character that calculates according to conversion formula being inputted the second character by input frame.
Pass through above-described embodiment, the unlocking pin of three-character doctrine as terminal device can be dynamically generated by the first character of stochastic generation, thus solve the problem that in prior art, unlocking pin security is lower, in addition, by judging the number of data bit and the number relation of input frame of the unlocking pin generated, can not make mistakes when can ensure unlock screen, to make, when unlocking pin is correct, terminal device is converted to released state by screen lock state.
Alternatively, this device also comprises the first generation unit, for stochastic generation first character, wherein, display unit comprises: display module, for repeating following steps until display the first character: judge whether the number of data bit in the three-character doctrine be converted to according to the first character and the conversion formula of stochastic generation is less than or equal to the number of display box in input frame; When the number of data bit is less than or equal to the number of display box in three-character doctrine, show the first character; And when in three-character doctrine, the number of data bit is greater than the number of display box, stochastic generation first character again.
When the number of display box is fixed in input frame, when generation the first character, whether identically the number of data bit in the three-character doctrine considering to be converted to according to conversion formula is needed whether to be less than or equal to the number of display box.When the number of data bit is less than or equal to the number of display box in three-character doctrine, the code error inputted may be caused, or unlocking program is made mistakes.Therefore, when generation the first character, need to judge whether the number of data bit in the three-character doctrine the first character conversion obtained according to conversion formula is less than or equal to the number of display box, if judged result is yes, then show the first character, if judged result is no, then stochastic generation first character again.
As shown in Figure 7, generate the first character and comprise four, be four 9, and input frame is four input frames, conversion formula is y=a 2× b × c × d, wherein, y represents three-character doctrine, a, b, c, d are variable, be 59049 by the three-character doctrine obtained after the first character conversion, each display box of input frame can only show a data bit, and obvious four display boxes cannot meet the requirement of five data bit of three-character doctrine.Therefore, when the number of the three-character doctrine total data position be converted to is greater than the number of display box, will stochastic generation first character again, until the number of data bit is less than or equal to the number of display box in the three-character doctrine obtained via the first character conversion of stochastic generation.
Such as, input frame has 4 display boxes, and conversion formula is y=a+b, and wherein, y represents three-character doctrine, and a, b are variable.In order to the number of the data bit making the three-character doctrine be converted to is less than or equal to 4, can limit the value of a and b, make y<10000, the data bit of the three-character doctrine utilizing the first character to calculate like this is less than or equal to 4.
Pass through above-described embodiment, can judge before display first character whether the number of data bit in the three-character doctrine after changing is less than or equal to the number of display box, if the number of data bit is less than or equal to the number of display box in three-character doctrine, then directly show the first character generated, if the number of three-character doctrine is greater than the number of display box, then again stochastic generation first character until the number of three-character doctrine after conversion is less than or equal to the number of display box.According to above-described embodiment, can to ensure the first character conversion of display according to conversion formula to be three-character doctrine, and in three-character doctrine, the number of data bit is less than or equal to the number of display box, thus avoids unlocking pin to report an error.
Alternatively, device also comprises: receiving element, before the first character of showing stochastic generation under being in screen lock state at terminal device and input frame, receives and is used for requesting terminal equipment is switched to released state request instruction by screen lock state; Second generation unit, for according to request instruction stochastic generation first character.
Usual terminal device is in black state when screen lock state, or only shows Background Picture.Receive at terminal device and be used for after requesting terminal equipment to be switched to the request instruction of released state by screen lock state, generating the first character according to request instruction.
Such as, when the terminal such as mobile phone or panel computer is unlocked, the terminal device being in black state is waken up into illuminating state, after screen is lit, namely occur the unlock interface for pointing out input unlocking pin, the instruction that the action of now lighting screen produces in terminal device can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.Certainly, can not be there is the unlock interface for pointing out input password in some situation, also need to perform relevant operation (such as according to the activity operations that the icon of " please slide to unlock " that screen shows performs) and could occur above-mentioned unlock interface after screen is lit.In such a scenario, perform and relevant operate in the instruction produced in terminal device and can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.After receiving request instruction, generate the first character, the unlock interface of display shows the first character of generation.
Such as, when application program in terminal is unlocked, the interface of terminal device display application program, when clicking the file checked and need input password just can check, eject the unlock interface of input password, now, the action clicking file can be considered as requesting terminal equipment is switched to released state request instruction by screen lock state.After receiving request instruction, generate the first character, the unlock interface of display shows the first character of generation.
Alternatively, conversion formula comprises following any one or multiple operational symbol: add, subtract, multiplication and division, get minimum value, get maximal value, delivery, take absolute value, connector and bracket.
Conversion formula can comprise multiple operational symbol, and multiple operational symbol can be used in combination.Except the additive operation in above-mentioned example, multiplying and square operation, the computing such as maximal value, minimum value can also be got.
When getting maximal value, user can select maximum numeral as the second character from the first character of display, and by the maximum number in the first character as unlocking pin, certainly, three-character doctrine is also numeral maximum in the first character.
Embodiment 3
According to the embodiment of the present invention, additionally provide a kind of terminal for implementing the above-mentioned unlock method for terminal device, as shown in Figure 9, this terminal mainly comprises: processor 601, user interface 602, display 603, microphone 604, loudspeaker 605, storer 606, network interface 607, coupling mechanism 608 and antenna 609.
Storer 606 is mainly used in the program code storing the above-mentioned unlock method for terminal device, and stores conversion formula.
User interface 602 is for connection handling device 601 and display 603, microphone 604 and loudspeaker 605.
Display 603 is mainly used for obtaining the user cipher of input and the first character of display stochastic generation.
Network interface 607 can be Ethernet interface and wireless network interface, and network interface 607 is connected with coupling mechanism 608, and coupling mechanism 608 is connected with antenna 609, and antenna 609 is for Received signal strength.
Processor 601 is mainly used in performing following operation:
Under terminal device is in screen lock state, show the first character and the input frame of stochastic generation, wherein, described first character comprises one or more character; The second character of input is received by input frame; Second character is compared the three-character doctrine that the first character is converted to using the conversion formula pre-set; If the second character is consistent with three-character doctrine, then terminal device is transformed into released state from screen lock state.
Processor 601 also for by the second character with use before the conversion formula that pre-sets compares the three-character doctrine that the first character is converted to, using the first character as entering the variable assignments of ginseng to conversion formula, obtain three-character doctrine, wherein, in first character, the number of character is identical with the number of variable, the corresponding variable of each character in the first character.
When processor 601 is also for showing the first character and the input frame of stochastic generation under being in screen lock state at terminal device, conversion formula is used to be converted to three-character doctrine to the first character.
Processor 601 is also for after the second character being received input by input frame, and before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, use conversion formula to be converted to three-character doctrine to the first character.
Whether the number of processor 601 also for comparing character in three-character doctrine is less than the number of the display box of input frame, and wherein, each display box is for receiving a data bit in the second character; If the number of data bit is less than the number of display box in three-character doctrine, then three-character doctrine below supplement predetermined symbol until in three-character doctrine the number of data bit identical with the number of display box; If the number of data bit is greater than the number of display box in three-character doctrine, then extract the predetermined number of three-character doctrine according to position, wherein, predetermined number is identical with the number of display box according to the number of position.
Processor 601 is also for judging whether the number of data bit in the three-character doctrine that is converted to according to the first character and the conversion formula of stochastic generation is less than or equal to the number of display box in input frame; If the number of data bit is less than or equal to the number of display box in three-character doctrine, then show the first character; And if the number of data bit is greater than the number of display box in three-character doctrine, then stochastic generation first character again.
Processor 601 also for before the first character of showing stochastic generation under being in screen lock state at terminal device and input frame, receives and is used for requesting terminal equipment is switched to released state request instruction by screen lock state; According to request instruction stochastic generation first character.
Processor 601 is also for calculating in conversion formula following any one or multiple operational symbol: add, subtract, multiplication and division, get minimum value, get maximal value, delivery, take absolute value, connector and bracket.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 1 and embodiment 2, and the present embodiment does not repeat them here.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium may be used for the program code storing the unlock method for terminal device that the embodiment of the present invention provides.
Alternatively, in the present embodiment, above-mentioned storage medium can be arranged at least one network equipment of multiple network equipments of the network of wide area network, Metropolitan Area Network (MAN) or LAN (Local Area Network).
Alternatively, in the present embodiment, storage medium is set to store the program code for performing following steps:
S1, under terminal device is in screen lock state, show the first character and the input frame of stochastic generation, wherein, the first character comprises one or more character.
S2, receives the second character of input by input frame.
S3, compares the second character the three-character doctrine that the first character is converted to using the conversion formula pre-set.
S4, if the second character is consistent with three-character doctrine, is then transformed into released state by terminal device from screen lock state.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium: before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, method also comprises: using the first character as entering the variable assignments of ginseng to conversion formula, obtain three-character doctrine, wherein, in the first character, the number of character is identical with the number of variable, the corresponding variable of each character in the first character.
Alternatively, storage medium is also set to store the program code for performing following steps: when showing the first character and the input frame of stochastic generation under terminal device is in screen lock state, also comprise: use conversion formula to be converted to three-character doctrine to the first character.
Alternatively, after the second character being received input by input frame, and before the conversion formula the second character and use pre-set compares the three-character doctrine that the first character is converted to, also comprise: use conversion formula to be converted to three-character doctrine to the first character.
Alternatively, use conversion formula to be converted to three-character doctrine to the first character to comprise: whether the number comparing data bit in three-character doctrine is less than the number of the display box of input frame, and wherein, each display box inputs a character; If the number of data bit is less than the number of display box in three-character doctrine, then three-character doctrine below supplement predetermined symbol until in three-character doctrine the number of data bit identical with the number of display box; If the number of data bit is greater than the number of display box in three-character doctrine, then extract the predetermined number of three-character doctrine according to position, wherein, predetermined number is identical with the number of display box according to the number of position.
Alternatively, under terminal device is in screen lock state, show stochastic generation the first character and input frame comprise: judge whether the number of data bit in the three-character doctrine be converted to according to the first character and the conversion formula of stochastic generation is less than or equal to the number of display box; If to be less than or equal to the number of display box identical for the number of data bit in three-character doctrine, then show the first character; And if the number of data bit is greater than the number of display box in three-character doctrine, then stochastic generation first character again.
Alternatively, before the first character showing stochastic generation under terminal device is in screen lock state and input frame, method also comprises: receive and be used for requesting terminal equipment is switched to released state request instruction by screen lock state; According to request instruction stochastic generation first character.
Alternatively, conversion formula comprises following any one or multiple operational symbol: add, subtract, multiplication and division, get minimum value, get maximal value, delivery, take absolute value, connector and bracket.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 1 and embodiment 2, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in the storage medium that above computer can read.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in storage medium, comprises all or part of step of some instructions in order to make one or more computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (14)

1. for a unlock method for terminal device, it is characterized in that, comprising:
Under terminal device is in screen lock state, show the first character and the input frame of stochastic generation, wherein, described first character comprises one or more character;
The second character of input is received by described input frame;
Described second character is compared the three-character doctrine that described first character is converted to using the conversion formula pre-set;
If described second character is consistent with described three-character doctrine, then described terminal device is transformed into released state from described screen lock state.
2. method according to claim 1, is characterized in that, before the conversion formula described second character and use pre-set compares the three-character doctrine that described first character is converted to, described method also comprises:
Using described first character as entering the variable assignments of ginseng to described conversion formula, obtain described three-character doctrine, wherein, in described first character, the number of character is identical with the number of described variable, the corresponding described variable of each character in described first character.
3. method according to claim 1, it is characterized in that, when described terminal device is in the first character and input frame that show stochastic generation under screen lock state, also comprise: use described conversion formula to be converted to described three-character doctrine to described first character.
4. method according to claim 1, it is characterized in that, after the second character being received input by described input frame, and before the conversion formula described second character and use pre-set compares the three-character doctrine that described first character is converted to, also comprise: use described conversion formula to be converted to described three-character doctrine to described first character.
5. the method according to claim 3 or 4, is characterized in that, uses described conversion formula to be converted to described three-character doctrine to described first character and comprises:
In more described three-character doctrine, whether the number of data bit is less than the number of the display box of described input frame, and wherein, each described display box is for receiving a data bit in described second character;
If the number of data bit is less than the number of described display box in described three-character doctrine, then described three-character doctrine below supplement predetermined symbol until in described three-character doctrine the number of data bit identical with the number of described display box;
If the number of data bit is greater than the number of described display box in described three-character doctrine, then extract the predetermined number of described three-character doctrine according to position, wherein, described predetermined number is identical with the number of described display box according to the number of position.
6. method according to claim 1, is characterized in that, the first character showing stochastic generation under terminal device is in screen lock state comprises: repeat following steps until show described first character:
Judge whether the number of data bit in the described three-character doctrine be converted to according to described first character and the described conversion formula of stochastic generation is less than or equal to the number of display box in described input frame;
If the number of data bit is less than or equal to the number of described display box in described three-character doctrine, then show described first character; And
If in described three-character doctrine data bit number be greater than the number of described display box, then the first character described in stochastic generation again.
7. method according to claim 1, is characterized in that, before the first character showing stochastic generation under terminal device is in screen lock state and input frame, described method also comprises:
Receive for asking described terminal device to be switched to the request instruction of described released state by described screen lock state;
The first character according to described request instruction stochastic generation.
8. for a tripper for terminal device, it is characterized in that, comprising:
Display unit, for being created on the first character and the input frame that show stochastic generation under terminal device is in screen lock state, wherein, described first character comprises one or more character;
Receiving element, for receiving the second character of input by described input frame;
Comparing unit, for comparing described second character the three-character doctrine that described first character is converted to using the conversion formula pre-set;
Separate lock unit, for when described second character is consistent with described three-character doctrine, described terminal device is transformed into released state from described screen lock state.
9. device according to claim 8, is characterized in that, described device also comprises:
Assignment unit, before the three-character doctrine that described first character is converted to being compared at the conversion formula that described second character and use are pre-set, using described first character as entering the variable assignments of ginseng to described conversion formula, obtain described three-character doctrine, wherein, in described first character, the number of character is identical with the number of described variable, the corresponding described variable of each character in described first character.
10. device according to claim 8, it is characterized in that, described device also comprises: the first converting unit, during for being in the first character and input frame that show stochastic generation under screen lock state at described terminal device, described conversion formula is used to be converted to described three-character doctrine to described first character.
11. devices according to claim 8, it is characterized in that, described device also comprises: the second converting unit, for after the second character being received input by described input frame, and before the conversion formula described second character and use pre-set compares the three-character doctrine that described first character is converted to, use described conversion formula to be converted to described three-character doctrine to described first character.
12. devices according to claim 10 or 11, it is characterized in that, the first converting unit or described second converting unit comprise:
Whether comparison module, be less than the number of the display box of described input frame for the number of data bit in more described three-character doctrine, and wherein, each described display box is for receiving a data bit in described second character;
Complementary module, the number for data bit in described three-character doctrine be less than the number of described display box identical time, described three-character doctrine supplement predetermined symbol below until in described three-character doctrine the number of data bit identical with the number of described display box;
Extraction module, when the number for data bit in described three-character doctrine is greater than the number of described display box, extracts the predetermined number of described three-character doctrine according to position, and wherein, described predetermined number is identical with the number of described display box according to the number of position.
13. devices according to claim 8, is characterized in that, also comprise: the first generation unit, for the first character described in stochastic generation;
Wherein, described display unit comprises:
Display module, for repeating following steps until show described first character: whether identically judge whether the number of data bit in the described three-character doctrine be converted to according to described first character of stochastic generation and described conversion formula is less than or equal to the number of display box in described input frame; When the number of data bit is less than or equal to the number of described display box in described three-character doctrine, show described first character; And when in described three-character doctrine, the number of data bit is greater than the number of described display box, the first character described in stochastic generation again.
14. devices according to claim 8, is characterized in that, described device also comprises:
Receiving element, before the first character of showing stochastic generation under being in screen lock state at terminal device and input frame, receives for asking described terminal device to be switched to the request instruction of described released state by described screen lock state;
Second generation unit, for the first character according to described request instruction stochastic generation.
CN201410387129.2A 2014-08-07 2014-08-07 Unlocking method and a device for terminal device Active CN104951690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410387129.2A CN104951690B (en) 2014-08-07 2014-08-07 Unlocking method and a device for terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410387129.2A CN104951690B (en) 2014-08-07 2014-08-07 Unlocking method and a device for terminal device

Publications (2)

Publication Number Publication Date
CN104951690A true CN104951690A (en) 2015-09-30
CN104951690B CN104951690B (en) 2018-05-04

Family

ID=54166343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410387129.2A Active CN104951690B (en) 2014-08-07 2014-08-07 Unlocking method and a device for terminal device

Country Status (1)

Country Link
CN (1) CN104951690B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335633A (en) * 2015-10-08 2016-02-17 广东欧珀移动通信有限公司 Mobile terminal anti-peeping method and mobile terminal
CN105631295A (en) * 2015-12-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Method and device for decrypting based on voice print information
CN106529235A (en) * 2016-10-24 2017-03-22 深圳市金立通信设备有限公司 Unlocking method and terminal
CN110175449A (en) * 2019-05-20 2019-08-27 维沃移动通信有限公司 Cipher-code input method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155189A (en) * 2004-11-29 2006-06-15 Sony Corp Information processing system, device and method for processing information, recording medium, and program
US20120110663A1 (en) * 2010-11-03 2012-05-03 Electronics And Telecommunications Research Institute Apparatus and method for inputting user password
CN103024142A (en) * 2012-11-14 2013-04-03 广东欧珀移动通信有限公司 Method and device for unlocking mobile terminal
CN103065075A (en) * 2013-01-11 2013-04-24 广东欧珀移动通信有限公司 Method for unlocking touch screen mobile terminal
CN103530582A (en) * 2013-10-15 2014-01-22 广东欧珀移动通信有限公司 Method and system for unlocking dynamic password of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155189A (en) * 2004-11-29 2006-06-15 Sony Corp Information processing system, device and method for processing information, recording medium, and program
US20120110663A1 (en) * 2010-11-03 2012-05-03 Electronics And Telecommunications Research Institute Apparatus and method for inputting user password
CN103024142A (en) * 2012-11-14 2013-04-03 广东欧珀移动通信有限公司 Method and device for unlocking mobile terminal
CN103065075A (en) * 2013-01-11 2013-04-24 广东欧珀移动通信有限公司 Method for unlocking touch screen mobile terminal
CN103530582A (en) * 2013-10-15 2014-01-22 广东欧珀移动通信有限公司 Method and system for unlocking dynamic password of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335633A (en) * 2015-10-08 2016-02-17 广东欧珀移动通信有限公司 Mobile terminal anti-peeping method and mobile terminal
CN105335633B (en) * 2015-10-08 2018-01-26 广东欧珀移动通信有限公司 A kind of mobile terminal glance prevention method and mobile terminal
CN105631295A (en) * 2015-12-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Method and device for decrypting based on voice print information
CN106529235A (en) * 2016-10-24 2017-03-22 深圳市金立通信设备有限公司 Unlocking method and terminal
CN110175449A (en) * 2019-05-20 2019-08-27 维沃移动通信有限公司 Cipher-code input method and mobile terminal
CN110175449B (en) * 2019-05-20 2023-12-19 维沃移动通信有限公司 Password input method and mobile terminal

Also Published As

Publication number Publication date
CN104951690B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN102880398B (en) A kind of mobile phone unlock method and mobile phone based on random digit array
CN104536686A (en) Screen unlocking method and device
CN103065080B (en) A kind of application program login method and device
CN104917612B (en) Auth method and device
CN102843686A (en) Wireless network system and portable electronic device
WO2016188405A1 (en) Password setting method and equipment therefor
CN104361271A (en) Screen unlocking method and screen unlocking device for mobile terminals
CN101296457A (en) Screen operation method and device
CN106209886A (en) Web interface data encryption is endorsed method, device and server
CN104951690A (en) Terminal device unlocking method and terminal device unlocking device
CN105574437A (en) Method and device for protecting privacy information and electronic equipment
CN104660688A (en) Method and device for acquiring login information
CN103019608A (en) Unlocking method of touch screen terminal and touch screen terminal
CN102819701A (en) Method and device for prompting password security of form filling component
CN105354455B (en) State switching method and electronic equipment
CN104407803A (en) Screen unlocking method and device based on handwriting recognition and electronic equipment
CN103885772A (en) Unlocking method and electronic device
CN103324875A (en) Data protection system and method
CN104915128A (en) Logo-combined screen unlocking method and device
CN106656471B (en) A kind of guard method and system of user sensitive information
US10628031B2 (en) Control instruction identification method and apparatus, and storage medium
CN104915588A (en) Privacy protection method and device for electronic equipment
CN104834867A (en) Method and system for realizing electronic device privacy protection based on Bluetooth
CN104836794A (en) Method and system for achieving private protection of electronic devices based on WIFI hotspot
CN101236581A (en) Information safety apparatus and its processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant