CN104462938A - Intelligent equipment and unlock method thereof - Google Patents

Intelligent equipment and unlock method thereof Download PDF

Info

Publication number
CN104462938A
CN104462938A CN201410748211.3A CN201410748211A CN104462938A CN 104462938 A CN104462938 A CN 104462938A CN 201410748211 A CN201410748211 A CN 201410748211A CN 104462938 A CN104462938 A CN 104462938A
Authority
CN
China
Prior art keywords
rhythm
event
moment
knocking
benchmark
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
Application number
CN201410748211.3A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410748211.3A priority Critical patent/CN104462938A/en
Publication of CN104462938A publication Critical patent/CN104462938A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides intelligent equipment and an unlock method thereof. The unlock method includes when the intelligent equipment, such as an intelligent mobile phone or tablet, is in the interface locked situation, detecting the equipment clicking actions, recording the times and rhymes of the clicking actions, and judging whether the times and rhymes match with preset reference rhymes or not; if the input clicking times are consistent with those of the reference rhymes and the errors of the input clicking rhymes and reference rhymes are in a permitted range, determining the input is correct, unlocking the mobile phone successfully, and switching the interface into the unlocking state; or failing in unlocking, and maintaining the locking state of the user's interface.

Description

Smart machine and unlock method thereof
Technical field
The present invention relates to a kind of electronic equipment, particularly relate to a kind of smart machine and unlock method thereof.
Background technology
Along with the development of the communication technology, such as the purposes of the smart machine such as smart mobile phone, panel computer is more extensive, comprises call, online, browse Domestic News, shopping online, on-line payment etc., the powerful function of smart machine accepts the various aspects of internet and Internet of Things, become instrument indispensable in life, Given this, contain a large amount of personal information of user in smart machine unavoidably, the security of smart machine just seems particularly important.In order to avoid the random touch apparatus of child, produce maloperation and cause unnecessary trouble, or other people open equipment when user does not agree to, protection privacy, guarantee the security of the information stored in equipment, the equipment of being necessary for arranges safety lock.The unblock of smart machine, except safety issue considered by needs, also will facilitate user remember and input.
The method of touch-screen input password common at present has following 4 kinds: (1) is by soft keyboard input numeral; (2) select numeral by soft rotating disk, respectively each soft turntable rotation is selected the numeral preset; (3) pattern unlocks, and skids off fixing pattern realize unlocking by finger on screen; (4) recognition of face unlocks, and utilizes the privacy of the inherent feature protection user of human body.
But all there is certain problem in above-mentioned four kinds of methods:
Method (1) needs clicks keyboard repeatedly, and it is convenient not to operate.If the position of numerical key is fixed, easily broken a code by finger trace by other people, if the position of numerical key is not fixed, be not easy when user inputs to find numeral; Method (2), Password Length is fixed, and can not be applicable to the occasion that security requirement is higher, and each soft rotating disk will rotate selection, and it is convenient not to input; Method (3), in the process of operation, easily leaves finger trace, is decoded by other people on screen; Method (4), the place dark at light cannot use, and also there is a definite limitation discrimination aspect to the method.
For above-mentioned several method Problems existing, need badly and develop one can meet security simultaneously, memory and input convenient and by the unlock method of environmental factor interference.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of smart machine and unlock method thereof, cannot the problem of compromise between security and convenience for solve in prior art, improves security and convenience that smart machine unlocks.
For achieving the above object and other relevant objects, the invention provides a kind of unlock method of smart machine, comprising: under the state that smart machine is in user interface locking, detect gravity sensing event; Detect that described gravity sensing event belongs to deciphering when knocking event, the moment and total number of taps of knocking input in event are each time knocked in record deciphering, form decoding request rhythm; Judge whether described decoding request rhythm matches with the benchmark rhythm preset, if coupling, then described user interface is switched to released state; If do not mate, then keep the state that described user interface locks.
Preferably, the step of described decoding request rhythm comprises: determine that the moment of knocking input is for the first time initial time; According to the described initial time record follow-up moment of knocking input each time; After knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering, and the moment of knocking the total number of taps in event according to described deciphering and knocking input each time forms one as the coded file of decoding request rhythm.
Preferably, describedly judge that the formula adopted in the step whether described decoding request rhythm match with the benchmark rhythm preset is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in deciphering; t k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering; u k(u 1, u 2u n) be n the moment prestored in benchmark rhythm; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as described decoding request rhythm with preset benchmark rhythm match; If described deviate is not less than described preset value, be then judged as that described decoding request rhythm does not mate with the benchmark rhythm preset.
Preferably, the step presetting described benchmark rhythm comprises: under the state that smart machine is in user interface encryption setting, detect encryption and knock event; Determine that the moment of knocking input is for the first time initial time; According to the described initial time record follow-up moment of knocking input each time; After knocking end of input, the total number of taps occurred in event is knocked in statistics encryption, and when described total number of taps is not less than a threshold value, the moment of described encryption being knocked the total number of taps in event and knocking input is each time stored in an array to form the first coded file; Repeat above-mentioned steps, again generate the second coded file, and when first and second coded file of twice formation matches, generate benchmark rhythm and store.
Preferably, judge whether first and second coded file described mates the formula adopted in step and be:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in encryption; t k(t 1, t 2t n) be n the moment of knocking input generation in the second coded file; u k(u 1, u 2u n) be n the moment prestored in the first coded file; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as that first and second coded file described matches; If described deviate is not less than described preset value, be then judged as that first and second coded file described does not mate.
Preferably, unlock method of the present invention also comprises the continuous unmatched number of times of benchmark rhythm calculating described decoding request rhythm and preset, and when matching times does not exceed preset times, then described smart machine is placed in locked state.
The present invention also provides a kind of smart machine, comprising: memory module, stores default benchmark rhythm; Gravity sensing module, during for being in the state of user interface locking at described smart machine, detecting gravity sensing event, and is translated into electric signal; Deciphering module, receives the electric signal that described gravity sensing module exports, for be judged as described gravity sensing event belong to deciphering knock event time, moment of knocking input in event each time and total number of taps are knocked in record deciphering, form decoding request rhythm; Handover module, and judge that whether described decoding request rhythm match with the benchmark rhythm preset in described memory module, if coupling, export and described user interface is switched to released state signal; If do not mate, then export the signal keeping described user interface lock-out state.
Preferably, described deciphering module is initial time for determining that the moment of knocking input in event is for the first time knocked in described deciphering; And according to the described initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering, and the moment of knocking the total number of taps in event according to described deciphering and knocking input each time forms one as the coded file of decoding request rhythm.
Preferably, described handover module judges that the formula that described decoding request rhythm adopts when whether matching with the benchmark rhythm preset is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in deciphering; t k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering; u k(u 1, u 2u n) be n the moment prestored in benchmark rhythm; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as described decoding request rhythm with preset benchmark rhythm match; If described deviate is not less than described preset value, be then judged as that described decoding request rhythm does not mate with the benchmark rhythm preset.
Preferably, also comprise encrypting module, for be at described smart machine user interface encryption arrange state under, when detecting that encryption event of knocking occurs, determine that the moment of knocking input is for the first time initial time, and according to the described initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics encryption, and when described total number of taps is not less than a threshold value, the moment of described encryption being knocked the total number of taps in event and knocking input is each time stored in an array to form the first coded file, and when repetition said process generates the second coded file again, first and second coded file described is mated, generate a benchmark rhythm when the match is successful and transfer to described memory module and stored.
The formula that first and second coded file described carries out adopting in matching process is by described encrypting module:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in encryption; t k(t 1, t 2t n) be n the moment of knocking input generation in the second coded file; u k(u 1, u 2u n) be n the moment prestored in the first coded file; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as that first and second coded file described matches; If described deviate is not less than described preset value, be then judged as that first and second coded file described does not mate.
Preferably, also comprising warning module, for calculating described decoding request rhythm and the continuous unmatched number of times of benchmark rhythm preset, and when matching times does not exceed preset times, then described smart machine being placed in locked state.
As mentioned above, the rhythm unlock method of smart machine of the present invention, has following beneficial effect:
1, safe and reliable, the password of indefinite length can be supported in theory.Knock mobile phone (can knock the front of mobile phone, side and the back side) with finger is rhythmical during unblock, the rhythm knocked and number of times are exactly password.For the sake of security during suggestion input password screen upwards, with the finger tapping mobile phone back side, disguised strong others cannot see your number of taps and rhythm.
2, memory is convenient, and user can using the music rhythm be familiar with as password.
3, input is convenient, directly uses finger tapping mobile phone, can also can multiplely point by single finger, even all need not see and just can input unlock password.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the unlock method of smart machine of the present invention.
Fig. 2 is the step schematic diagram of the formation decoding request rhythm of the unlock method of smart machine of the present invention.
Fig. 3 is the schematic diagram of the coding that the value storage of the number of taps of the unlock method of smart machine of the present invention is formed in array.
Fig. 4 is the step schematic diagram whether decoding request rhythm matches with the benchmark rhythm preset that judges of the unlock method of smart machine of the present invention.
Fig. 5 is the preset procedures of the benchmark rhythm of the unlock method of smart machine of the present invention.
Fig. 6 is the configuration diagram of smart machine of the present invention.
Element numbers explanation
2 smart machines
21 memory modules
22 gravity sensing modules
23 deciphering modules
24 handover modules
25 encrypting modules
S1 ~ S5 step
S21 ~ S23 step
S31 ~ S32 step
S31 ' ~ S36 ' step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The invention provides a kind of unlock method of smart machine, cannot the problem of compromise between security and convenience for solve in prior art, improve security and convenience that smart machine unlocks.To principle and the embodiment of the rhythm unlock method of a kind of smart machine of the present invention be elaborated below, and make those skilled in the art not need creative work can understand the unlock method of a kind of smart machine of the present invention.
Below in conjunction with embodiment and accompanying drawing, the present invention is described in detail.
The present embodiment provides a kind of unlock method of smart machine, and in specific embodiment, described smart machine is such as the portable electric appts such as smart mobile phone, panel computer, in the present embodiment, is smart mobile phone temporarily for example is described with smart machine.The hardware that described smart mobile phone comprises comprises CPU (central processing unit), storer (being such as FLASH memory), gravity sensing device, acceleration sensor, microphone, loudspeaker, touch display screen (also known as touch-sensitive display panel or touching display screen), player, voicefrequency circuit, wireless communication module, system bus and input/output port etc.Refer to Fig. 1, be shown as a kind of embodiment process flow diagram of the unlock method of smart machine of the present invention, as shown in Figure 1, the unlock method of described smart mobile phone comprises the following steps:
S1: under the state that smart machine is in user interface locking, detect gravity sensing event; In the present embodiment, under smart mobile phone is in the state that user interface (gui interface) locks, detect gravity sensing event; Wherein, the gravity sensing module being used for detecting gravity sensing event can be gravity sensor G-sensor (Gravity-sensor), G-sensor can perceive the change of accelerating force, accelerating force is exactly the power acted in accelerator when object on object, such as rock, fall, rise, the various mobile change of lower degradation can be converted into electric signal by G-sensor, then by after the computational analysis of microprocessor, the good function of program design can just be completed.Described gravity sensing event comprises the rocking of smart mobile phone, falls, instantaneous rising, the various mobile variable condition of instantaneous lower degradation.In the implementation process of reality, user presses power key and lights mobile phone screen, and now mobile phone is in screen lock state, and the sensor detecting gravity sensing event is opened.
S2: detect that described gravity sensing event belongs to deciphering when knocking event, the moment and total number of taps of knocking input in event are each time knocked in record deciphering, form decoding request rhythm; In the present embodiment, refer to Fig. 2, the step of described formation decoding request rhythm comprises:
S21: determine that the moment of knocking input is for the first time initial time; In a particular embodiment, described input of knocking is judged by G-sensor.The moment of finger tapping mobile phone, the acceleration ratio of transformation of mobile phone is comparatively large, is just easy to the generation judging whether to knock by this feature.Determine moment that first time knocks input to be initial time be the start time of 0 moment, i.e. timing.
S22: according to the described initial time record follow-up moment of knocking input each time; Particularly, knock for 8 times, first time is knocked and was designated as 0 moment, record the moment of at every turn knocking, be such as 0 millisecond, 700 milliseconds, 1600 milliseconds, 2400 milliseconds, 2700 milliseconds, 3500 milliseconds, 3800 milliseconds, 4500 milliseconds.
S23: the total number of taps occurred in event is knocked in statistics deciphering after knocking end of input, the moment of knocking the total number of taps in event according to described deciphering and knocking input each time forms one as the coded file of decoding request rhythm.Particularly, after knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering is 8 times, and this time of knocking the moment of 8 times is respectively: 0 millisecond, 700 milliseconds, 1600 milliseconds, 2400 milliseconds, 2700 milliseconds, 3500 milliseconds, 3800 milliseconds, 4500 milliseconds.According to above-mentioned information, moment value is put into array according to the order of input, and obtain form as shown in Figure 3, according to Fig. 2, this coded file is 0,700,1600,2400,2700,3500,3800,4500.Using this coded file as decoding request rhythm.
S3: judge whether described decoding request rhythm matches with the benchmark rhythm preset, if coupling, then proceeds to step S4; If do not mate, then proceed to step S5.Particularly, refer to Fig. 4, the above-mentioned step judging that whether described decoding request rhythm match with the benchmark rhythm preset comprises:
S31: whether comparing deciphering, to knock total number of taps of occurring in event identical with the number of taps of default benchmark rhythm, if different, then not think and mate, directly proceed to step 5, if identical, proceed to step S32;
S32: decoding request rhythm matches with the benchmark rhythm preset to adopt following formula to judge:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in deciphering, and in the present embodiment, n is 8 times;
T k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering, decipher in the present embodiment and knock in event 8 moment of knocking input and be respectively 0 millisecond, 700 milliseconds, 1600 milliseconds, 2400 milliseconds, 2700 milliseconds, 3500 milliseconds, 3800 milliseconds, 4500 milliseconds;
U k(u 1, u 2u n) be n the moment prestored in benchmark rhythm, the number of taps of the benchmark rhythm prestored in the present embodiment is 8, and 8 moment prestored are respectively 0 millisecond, 698 milliseconds, 1602 milliseconds, 2403 milliseconds, 2695 milliseconds, 3497 milliseconds, 3804 milliseconds, 4503 milliseconds;
E is t kwith u kdeviate, if deviate is less than preset value δ, be then judged as decoding request rhythm with preset benchmark rhythm match, proceed to step S5 if do not mate, if coupling, then proceed to step S4; If described deviate is not less than preset value δ, be then judged as that decoding request rhythm does not mate with the benchmark rhythm preset.Preset value δ=10 in the present embodiment
In step s 4 which, described user interface is switched to released state
In step s 5, the state keeping described user interface to lock.
In the present embodiment, judge to decipher event of knocking as follows with the process that whether matches of benchmark rhythm preset: first, both total number of taps are identical, so adopt formulae discovery deciphering to knock the deviate of rhythm and benchmark rhythm, be less than preset value 10, so think that decoding request rhythm and benchmark rhythm match, user interface is switched to released state.
In the present embodiment, for guaranteeing that electronic equipment is not used by unauthorized user further, can also comprise in the step S3 of described method: when the described deciphering event of knocking be judged as do not mate with benchmark rhythm time, calculate not matching times (number of times that namely it fails to match), and when matching times does not exceed preset times, then described electronic equipment is placed in locked state, such as, such as, user knocks mobile phone formation deciphering and knocks event, if the match is successful, then unlock and enter user interface, if it fails to match, then prompting mistake 1 time, after accumulative operation reaches 5 times, the locked electronic equipment of system, no longer accept the operation of any input instruction, avoid the subscriber data that stores in this electronic equipment by illegal leakage with this or steal, the locking state removing electronic equipment then can only could accept to input by electronic equipment after replacement (reboot system) or refresh operation system the operation of instruction, but the user data be stored in electronic equipment will be deleted before resetting.
In step S3, the preset procedures of benchmark rhythm, i.e. locking procedure, refer to Fig. 5, comprises the following steps:
S31 ': under the state that smart machine is in user interface encryption setting, detect encryption and knock event; In the present embodiment, smart mobile phone is entered rhythm institute interface, detect encryption and knock event; Wherein, detect encryption event of knocking and realized by gravity sensing module, gravity sensing module can be gravity sensor G-sensor (Gravity-sensor),
S32 ': determine that the moment of knocking input is for the first time initial time; In a particular embodiment, described input of knocking is judged by G-sensor.The moment of finger tapping mobile phone, the acceleration ratio of transformation of mobile phone is comparatively large, is just easy to the generation judging whether to knock by this feature.Determine moment that first time knocks input to be initial time be the start time of 0 moment, i.e. timing.
S33 ': according to the described initial time record follow-up moment of knocking input each time; Particularly, knock for 8 times, first time is knocked and was designated as 0 moment, record the moment of at every turn knocking, be such as 0 millisecond, 698 milliseconds, 1602 milliseconds, 2403 milliseconds, 2695 milliseconds, 3497 milliseconds, 3804 milliseconds, 4503 milliseconds.
S34 ': the total number of taps occurred in event is knocked in statistics encryption after knocking end of input, and when described total number of taps is not less than a threshold value, the moment of described encryption being knocked the total number of taps in event and knocking input is each time stored in an array to form the first coded file; Particularly, after knocking end of input, the total number of taps occurred in event is knocked in statistics encryption is 8 times, and this time of knocking the moment of 8 times is respectively: 0 millisecond, 698 milliseconds, 1602 milliseconds, 2403 milliseconds, 2695 milliseconds, 3497 milliseconds, 3804 milliseconds, 4503 milliseconds.According to above-mentioned information, moment value is put into array according to the order of input.
S35 ': repeat above-mentioned steps S32 ', S33 ', S34 ', again generate the second coded file.
S36 ': judge whether first and second coded file of twice formation matches, if match, generates benchmark rhythm and stores, if do not mate, then returning step S35 ' and again operate.
Particularly, in S36 ' step, judge that the formula of the employing whether first, second coded file matches is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, t k(t 1, t 2t n) be n the moment that second time knocks input generation;
U k(u 1, u 2u n) be n the moment of first time knocking input generation;
E is the deviate of 2 rhythm, if this value is less than the threshold value of setting, just thinks that two rhythm match, password arranges successfully, and locking procedure completes, and in the present embodiment, threshold value is set to 10, when e is less than 10, think that two rhythm match, locking procedure completes.
The present invention also provides a kind of smart machine, in the present embodiment, described smart machine is such as the portable electric appts such as smart mobile phone, panel computer, the hardware that described electronic equipment comprises comprises CPU (central processing unit), storer (being such as FLASH memory), gravity sensing device, acceleration sensor, microphone, loudspeaker, touch display screen (also known as touch-sensitive display panel), player, voicefrequency circuit, wireless communication module, system bus and input/output port etc.Refer to Fig. 6, be shown as smart machine configuration diagram of the present invention, described smart machine 2 comprises: memory module 21, gravity sensing module 22, deciphering module 23, and handover module 24.
Described memory module 21, stores default benchmark rhythm; In the present embodiment, benchmark rhythm is defined as can be used to perform unlocking function.
Described gravity sensing module 22, during for being in the state of user interface locking at described smart machine 2, detecting gravity sensing event, and is translated into electric signal; In the present embodiment, described gravity sensing module 22 can be the gravity sensor G-sensor (Gravity-sensor) for detecting the action of finger tapping mobile phone, G-sensor can perceive the change of accelerating force, accelerating force is exactly the power acted in accelerator when object on object, such as rock, fall, rise, the various mobile change of lower degradation can be converted into electric signal by G-sensor, smart machine 2 produces gravity sensing signal to central processing unit by described gravity sensing device, produces a gravity sensing event by described central processing unit.Described gravity sensing event comprises the rocking of smart mobile phone, falls, instantaneous rising, the various mobile variable condition of instantaneous lower degradation.In the present embodiment, knock and namely judged by G-sensor.The moment of finger tapping mobile phone, the acceleration ratio of transformation of mobile phone is comparatively large, is just easy to the generation judging whether to knock by this feature.
Described deciphering module 23, receive the electric signal that described gravity sensing module 22 exports, for judge described gravity sensing event belong to deciphering knock event time, moment of knocking input in event each time and total number of taps are knocked in record deciphering, form decoding request rhythm.In the present embodiment, described deciphering module 23 comprise for perform with the combination of various softwares of knocking the various operations that mobile phone is associated, described operation is specially user and knocks the rhythm that mobile phone formed.
Described deciphering module 23 knocks input moment for determining to decipher first time in the event of knocking is initial time; And according to the initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering, forms one as the coded file of decoding request rhythm according to deciphering total number of taps of knocking in event and moment of knocking input each time.
Described handover module 24, judge that whether total number of taps of described decoding request rhythm is identical with the number of taps of benchmark rhythm, if different, then not think and mate, output maintenance user interface lock-out state, unlock unsuccessfully, if identical, continue to judge that whether decoding request rhythm match with the benchmark rhythm preset in described memory module 21, if mate, export and described user interface is switched to released state signal; If do not mate, then export the signal keeping described user interface lock-out state.In the present embodiment, described handover module 24 is central processing unit.
Described handover module 24 judges that the formula that decoding request rhythm adopts when whether matching with the benchmark rhythm preset is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein n is that the total number of taps occurred in event is knocked in deciphering; In the present embodiment, n is 8 times;
T k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering, decipher in the present embodiment and knock in event 8 moment of knocking input and be respectively 0 millisecond, 700 milliseconds, 1600 milliseconds, 2400 milliseconds, 2700 milliseconds, 3500 milliseconds, 3800 milliseconds, 4500 milliseconds;
U k(u 1, u 2u n) be n the moment prestored in benchmark rhythm, the number of taps of the benchmark rhythm prestored in the present embodiment is 8, and 8 moment prestored are respectively 0 millisecond, 698 milliseconds, 1602 milliseconds, 2403 milliseconds, 2695 milliseconds, 3497 milliseconds, 3804 milliseconds, 4503 milliseconds;
E is t kwith u kdeviate, if deviate is less than preset value δ, be then judged as decoding request rhythm with preset benchmark rhythm match; If described deviate is not less than preset value δ, be then judged as that decoding request rhythm does not mate with the benchmark rhythm preset.Preset value δ=10 in the present embodiment
To judge in the present embodiment that the process whether event and the benchmark rhythm preset match is knocked in deciphering as follows: first, both total number of taps are identical, so adopt formulae discovery deciphering to knock the deviate of rhythm and benchmark rhythm, =8.25, be less than preset value 10, so think that decoding request rhythm and benchmark rhythm match, user interface is switched to released state.
This smart machine 2 also comprises encrypting module 25, for be at smart machine 2 user interface encryption arrange state under, when detecting that encryption event of knocking occurs, determine that the moment of knocking input is for the first time initial time, and according to the initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics encryption, and when total number of taps is not less than a threshold value, total number of taps that encryption is knocked in event and the moment of being knocked input are each time stored in an array to form the first coded file, and when repetition said process generates the second coded file again, first and second coded file is mated, generate a benchmark rhythm when the match is successful and transfer to memory module 21 and stored.
Particularly, the formula that first and second coded file carries out adopting in matching process by encrypting module 25 is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein n is that the total number of taps occurred in event is knocked in encryption;
T k(t 1, t 2t n) be n the moment of knocking input generation in the second coded file;
U k(u 1, u 2u n) be n the moment of knocking input generation in the first coded file; Particularly, total number of taps n is 8 times, and this time of knocking the moment of 8 times is respectively: 0 millisecond, 698 milliseconds, 1602 milliseconds, 2403 milliseconds, 2695 milliseconds, 3497 milliseconds, 3804 milliseconds, 4503 milliseconds.
E is the deviate of 2 rhythm, if this value is less than the threshold value of setting, just thinks that two rhythm match, password arranges successfully, and locking procedure completes, and in the present embodiment, threshold value is set to 10, when e is less than 10, think that two rhythm match, locking procedure completes.
In addition, in the present embodiment, for guaranteeing that smart machine 2 is not used by unauthorized user further, when the described deciphering event of knocking be judged as do not mate with benchmark rhythm time, calculate not matching times (number of times that namely it fails to match), and when matching times does not exceed preset times, described smart machine 2 is then kept to be in the state of user interface locking, such as, user knocks smart machine 2 with certain rhythm, smart machine 2 carries out the coupling of rhythm and the benchmark architecture inputted, if the match is successful, then unlock and enter user interface, if it fails to match, then prompting mistake 1 time, after accumulative operation reaches 5 times, the locked smart machine 2 of system, no longer accept the operation of any input instruction, avoid the subscriber data of storage in this smart machine 2 by illegal leakage with this or steal.
The unlock method of smart machine of the present invention and smart machine, realize unlocking by the number of times and rhythm that knock equipment, others can be avoided to see operating process, effectively improve the security of releasing process, unlock password can be inputted without the need to seeing by the process of finger tapping mobile phone, easy to operate, and adopt the rhythm be familiar with as password also convenient memory.
In sum, the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (12)

1. a unlock method for smart machine, is characterized in that, described unlock method comprises:
Under the state that smart machine is in user interface locking, detect gravity sensing event;
Detect that described gravity sensing event belongs to deciphering when knocking event, the moment and total number of taps of knocking input in event are each time knocked in record deciphering, form decoding request rhythm;
Judge whether described decoding request rhythm matches with the benchmark rhythm preset, if coupling, then described user interface is switched to released state; If do not mate, then keep the state that described user interface locks.
2. the unlock method of smart machine according to claim 1, is characterized in that, the step of described decoding request rhythm comprises:
Determine that the moment of knocking input is for the first time initial time;
According to the described initial time record follow-up moment of knocking input each time;
After knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering, and the moment of knocking the total number of taps in event according to described deciphering and knocking input each time forms one as the coded file of decoding request rhythm.
3. the unlock method of smart machine according to claim 1, is characterized in that, described judges that the formula adopted in the step whether described decoding request rhythm match with the benchmark rhythm preset is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in deciphering;
T k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering;
U k(u 1, u 2u n) be n the moment prestored in benchmark rhythm; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as described decoding request rhythm with preset benchmark rhythm match; If described deviate is not less than described preset value, be then judged as that described decoding request rhythm does not mate with the benchmark rhythm preset.
4. the unlock method of smart machine according to claim 1, is characterized in that, the step presetting described benchmark rhythm comprises:
Under the state that smart machine is in user interface encryption setting, detect encryption and knock event;
Determine that the moment of knocking input is for the first time initial time;
According to the described initial time record follow-up moment of knocking input each time;
After knocking end of input, the total number of taps occurred in event is knocked in statistics encryption, and when described total number of taps is not less than a threshold value, the moment of described encryption being knocked the total number of taps in event and knocking input is each time stored in an array to form the first coded file;
Repeat above-mentioned steps, again generate the second coded file, and when first and second coded file of twice formation matches, generate benchmark rhythm and store.
5. the unlock method of smart machine according to claim 1, is characterized in that, judges whether first and second coded file described mates the formula adopted in step and be:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in encryption;
T k(t 1, t 2t n) be n the moment of knocking input generation in the second coded file;
U k(u 1, u 2u n) be n the moment prestored in the first coded file;
E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as that first and second coded file described matches; If described deviate is not less than described preset value, be then judged as that first and second coded file described does not mate.
6. the unlock method of smart machine according to claim 1, it is characterized in that, also comprise and calculate described decoding request rhythm and the continuous unmatched number of times of benchmark rhythm preset, and when matching times does not exceed preset times, then described smart machine is placed in locked state.
7. a smart machine, is characterized in that, comprising:
Memory module, stores default benchmark rhythm;
Gravity sensing module, during for being in the state of user interface locking at described smart machine, detecting gravity sensing event, and is translated into electric signal;
Deciphering module, receives the electric signal that described gravity sensing module exports, for judge described gravity sensing event belong to deciphering knock event time, moment of knocking input in event each time and total number of taps are knocked in record deciphering, form decoding request rhythm;
Handover module, and judge that whether described decoding request rhythm match with the benchmark rhythm preset in described memory module, if coupling, export and described user interface is switched to released state signal; If do not mate, then export the signal keeping described user interface lock-out state.
8. smart machine according to claim 7, is characterized in that, described deciphering module is initial time for determining that the moment of knocking input in event is for the first time knocked in described deciphering; And according to the described initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics deciphering, and the moment of knocking the total number of taps in event according to described deciphering and knocking input each time forms one as the coded file of decoding request rhythm.
9. smart machine according to claim 7, is characterized in that, described handover module judges that the formula that described decoding request rhythm adopts when whether matching with the benchmark rhythm preset is:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in deciphering;
T k(t 1, t 2t n) be that n the moment of knocking input and occurring is knocked in event in deciphering;
U k(u 1, u 2u n) be n the moment prestored in benchmark rhythm; E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as described decoding request rhythm with preset benchmark rhythm match; If described deviate is not less than described preset value, be then judged as that described decoding request rhythm does not mate with the benchmark rhythm preset.
10. smart machine according to claim 7, it is characterized in that, also comprise encrypting module, for be at described smart machine user interface encryption arrange state under, when detecting that encryption event of knocking occurs, determine that the moment of knocking input is for the first time initial time, and according to the described initial time record follow-up moment of knocking input each time, after knocking end of input, the total number of taps occurred in event is knocked in statistics encryption, and when described total number of taps is not less than a threshold value, the moment of described encryption being knocked the total number of taps in event and knocking input is each time stored in an array to form the first coded file, and when repetition said process generates the second coded file again, first and second coded file described is mated, generate a benchmark rhythm when the match is successful and transfer to described memory module and stored.
11. smart machines according to claim 10, is characterized in that, the formula that first and second coded file described carries out adopting in matching process is by described encrypting module:
e = 1 n Σ k = 1 n ( t k - u k ) 2 ;
Wherein, n is that the total number of taps occurred in event is knocked in encryption;
T k(t 1, t 2t n) be n the moment of knocking input generation in the second coded file;
U k(u 1, u 2u n) be n the moment prestored in the first coded file;
E is t kwith u kdeviate, if described deviate is less than a preset value, be then judged as that first and second coded file described matches; If described deviate is not less than described preset value, be then judged as that first and second coded file described does not mate.
12. smart machines according to claim 7, it is characterized in that, also comprise warning module, for calculating described decoding request rhythm and the continuous unmatched number of times of benchmark rhythm preset, and when matching times does not exceed preset times, then described smart machine is placed in locked state.
CN201410748211.3A 2014-12-09 2014-12-09 Intelligent equipment and unlock method thereof Pending CN104462938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410748211.3A CN104462938A (en) 2014-12-09 2014-12-09 Intelligent equipment and unlock method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410748211.3A CN104462938A (en) 2014-12-09 2014-12-09 Intelligent equipment and unlock method thereof

Publications (1)

Publication Number Publication Date
CN104462938A true CN104462938A (en) 2015-03-25

Family

ID=52908963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410748211.3A Pending CN104462938A (en) 2014-12-09 2014-12-09 Intelligent equipment and unlock method thereof

Country Status (1)

Country Link
CN (1) CN104462938A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992086A (en) * 2015-06-23 2015-10-21 上海卓易科技股份有限公司 Method for unlocking key function by defining keystroke rhythm by user and intelligent terminal
CN105357011A (en) * 2015-10-22 2016-02-24 上海斐讯数据通信技术有限公司 Encryption and decryption methods and systems, and terminal
CN105847451A (en) * 2016-06-12 2016-08-10 深圳益强信息科技有限公司 Method and system for controlling intelligent access control unit by using mobile terminal
CN105872104A (en) * 2016-06-12 2016-08-17 深圳益强信息科技有限公司 Method and system for managing intelligent entrance guard by combining mobile terminal
CN106919109A (en) * 2017-03-27 2017-07-04 杭州世创电子技术股份有限公司 A kind of intelligent electric power lock based on internet
CN107491947A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
WO2020251558A1 (en) * 2019-06-12 2020-12-17 Hewlett-Packard Development Company, L.P. Pattern-based power buttons
CN112990261A (en) * 2021-02-05 2021-06-18 清华大学深圳国际研究生院 Intelligent watch user identification method based on knocking rhythm
CN113313859A (en) * 2021-05-18 2021-08-27 连洁 Intelligent lock system and method based on rhythm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102663311A (en) * 2012-03-31 2012-09-12 惠州Tcl移动通信有限公司 Method for releasing screen locking and device thereof
CN103024201A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for operating mobile terminal
CN103019612A (en) * 2013-01-09 2013-04-03 王建民 Touch screen unlocking method and touch screen terminal
US20140143859A1 (en) * 2012-11-16 2014-05-22 Mario Linge Unlock touch screen using touch password
US20140181958A1 (en) * 2012-12-26 2014-06-26 Christopher A. Nosack Secure and convenient authentication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102663311A (en) * 2012-03-31 2012-09-12 惠州Tcl移动通信有限公司 Method for releasing screen locking and device thereof
US20140143859A1 (en) * 2012-11-16 2014-05-22 Mario Linge Unlock touch screen using touch password
US20140181958A1 (en) * 2012-12-26 2014-06-26 Christopher A. Nosack Secure and convenient authentication
CN103024201A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for operating mobile terminal
CN103019612A (en) * 2013-01-09 2013-04-03 王建民 Touch screen unlocking method and touch screen terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992086A (en) * 2015-06-23 2015-10-21 上海卓易科技股份有限公司 Method for unlocking key function by defining keystroke rhythm by user and intelligent terminal
CN105357011A (en) * 2015-10-22 2016-02-24 上海斐讯数据通信技术有限公司 Encryption and decryption methods and systems, and terminal
CN105847451A (en) * 2016-06-12 2016-08-10 深圳益强信息科技有限公司 Method and system for controlling intelligent access control unit by using mobile terminal
CN105872104A (en) * 2016-06-12 2016-08-17 深圳益强信息科技有限公司 Method and system for managing intelligent entrance guard by combining mobile terminal
CN105847451B (en) * 2016-06-12 2018-10-16 深圳益强信息科技有限公司 A kind of method and system controlling intelligent entrance guard using mobile terminal
CN106919109A (en) * 2017-03-27 2017-07-04 杭州世创电子技术股份有限公司 A kind of intelligent electric power lock based on internet
CN107491947A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN107491947B (en) * 2017-08-24 2020-06-02 维沃移动通信有限公司 Resource transfer method, related equipment and system
WO2020251558A1 (en) * 2019-06-12 2020-12-17 Hewlett-Packard Development Company, L.P. Pattern-based power buttons
CN112990261A (en) * 2021-02-05 2021-06-18 清华大学深圳国际研究生院 Intelligent watch user identification method based on knocking rhythm
CN112990261B (en) * 2021-02-05 2023-06-09 清华大学深圳国际研究生院 Intelligent watch user identification method based on knocking rhythm
CN113313859A (en) * 2021-05-18 2021-08-27 连洁 Intelligent lock system and method based on rhythm

Similar Documents

Publication Publication Date Title
CN104462938A (en) Intelligent equipment and unlock method thereof
AU2019229343B2 (en) Secure mobile user interface and mobile device case
CN104598783B (en) The unlocking method and device of a kind of intelligent terminal
CN103870744B (en) A kind of method and electronic equipment for verifying password
CN104049897B (en) Touch panel device unlock method and device
CN104503569B (en) Electronic equipment and its awakening method
US9571621B2 (en) Dynamic unlocking method and electronic apparatus using the same
CN107862194A (en) A kind of method, device and mobile terminal of safety verification
CN105450405A (en) Password setting and authentication method and system
CN104463039B (en) The unlocking method and device of smart machine
CN105447360B (en) A kind of device with fingerprint sensing function
CN106503997A (en) A kind of method of payment authorization and mobile terminal
CN105118119A (en) Intelligent lock system, intelligent lock thereof, and intelligent unlocking method based on Bluetooth
CN107895268A (en) A kind of method that safety input PIN is realized on intelligent payment terminal
CN104820795A (en) Intelligent device and unlocking method thereof
US20180349592A1 (en) Beat assisted temporal pressure password
KR101319941B1 (en) User authentication system by using touch pattern
CN107423644B (en) Peep-proof touch feedback password input system and method
CN203204635U (en) Digital random distribution code inputting device
CN107958167B (en) Peep-proof password input keyboard and control method thereof
CN105426737A (en) Unlocking method and apparatus for mobile terminal convenient to operate by single hand
CN204215402U (en) A kind of touch-screen mobile phone tripper
CN105868618A (en) Screen unlocking method and mobile terminal
CN106951770A (en) A kind of terminal unlock method and terminal
CN115544492A (en) Universal unlocking method for touch screen coded lock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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: 20150325