CN106210240A - A kind of encryption and decryption method and system based on intelligent terminal's gyroscope - Google Patents
A kind of encryption and decryption method and system based on intelligent terminal's gyroscope Download PDFInfo
- Publication number
- CN106210240A CN106210240A CN201610605575.5A CN201610605575A CN106210240A CN 106210240 A CN106210240 A CN 106210240A CN 201610605575 A CN201610605575 A CN 201610605575A CN 106210240 A CN106210240 A CN 106210240A
- Authority
- CN
- China
- Prior art keywords
- deciphering
- encryption
- submodule
- gyroscope
- intelligent terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000008569 process Effects 0.000 claims abstract description 26
- 238000012544 monitoring process Methods 0.000 claims abstract description 18
- 208000011580 syndromic disease Diseases 0.000 claims abstract description 8
- 238000013524 data verification Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000007689 inspection Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 9
- 241001269238 Data Species 0.000 abstract description 3
- 238000011161 development Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of encryption and decryption method and system based on intelligent terminal's gyroscope, relate to intelligent terminal's encryption technology field.This encrypting and deciphering system includes encrypting module and deciphering module.Wherein, encrypting module includes that encrypted initialization submodule, encryption pre-operation submodule, encryption are monitored submodule, added confidential information and generate submodule and encryption flow and judge submodule;Deciphering module includes that deciphering initialization submodule, deciphering pre-operation submodule, deciphering monitoring submodule, decryption information generation submodule, decryption information syndrome module and deciphering flow process judges submodule.The present invention utilizes the gyroscope some spatial datas of acquirement as the basic data of encryption and decryption, according to these basic datas, in conjunction with the random time of staying, dynamically generates gyro data;Again with the software key preset, gyro data being carried out Hybrid Encryption, generate the real confidential information that adds and realize encryption, not only can be prevented effectively from Brute Force, safety is higher, and easy to operate, quick.
Description
Technical field
The present invention relates to intelligent terminal's encryption technology field, be specifically a kind of based on intelligent terminal's gyroscope to add solution
Decryption method and system.
Background technology
Along with development of Mobile Internet technology and the development of mobile device technology, the volume of holding of Mobile portable formula intelligent terminal by
Year increases.At present, the volume of holding of China intelligent terminal is sure to occupy the first in the world, and this illustrates that intelligent terminal has become people's day undoubtedly
Often requisite life instrument in life.Meanwhile, along with the fast development of the technology such as mobile payment so that intelligent terminal
More and more prominent etc. the safety problem of mobile device, encrypting and decrypting method is then the core of security fields.
Present stage, the encrypting and decrypting mode of intelligent terminal has a lot, and such as: Password Input, pattern identification etc., i.e. in encryption
In decrypting process, the password directly inputted by user or the pattern being depicted as carry out encryption and decryption in plain text.But, existing these
Encrypting and decrypting mode is all the most relevant to clear-text passwords, and cryptography infrastructure data volume based on character and pattern is limited, complexity
Not high enough, easily by Brute Force;Further, since limited by intelligent terminal's screen size and interaction capabilities so that Yong Hu
Key input process exists inconvenient operation, the problem such as loaded down with trivial details, especially for the input of some long key, needs input
Time is longer, brings the biggest inconvenience to user.
Summary of the invention
The invention aims to overcome the deficiency of above-mentioned background technology, it is provided that a kind of based on intelligent terminal's gyroscope
Encryption and decryption method and system, not only encryption data amount is big, complexity is high, can be prevented effectively from Brute Force;And during encryption and decryption without
Need to input for a long time, convenient to operation.
For reaching object above, the present invention adopts the technical scheme that: provides a kind of and based on intelligent terminal's gyroscope adds
Decryption method, this encipher-decipher method includes encryption flow and deciphering flow process.Wherein, encryption flow includes: A1, when user enter add
Behind close interface, initialize the gyroscope information on intelligent terminal, proceed to A2;A2, will initialize successfully after gyroscope information show
Show on intelligent terminal interface, and one time of staying corresponding with this encryption data of stochastic generation, proceed to A3;A3, to intelligence
Can monitor by terminal gyroscope, rotate intelligent terminal to expecting position and after stopping operating when listening to user, it is judged that stop
Whether rotation time reaches the described time of staying, if so, reads and records current gyro data, proceeding to A4;Otherwise, return
Return A3, continue to monitor;A4, current gyro data is carried out Hybrid Encryption with the software key preset, generate the character of MD5
String, adds confidential information using this character string as one and preserves in the lump with the described time of staying.
On the basis of technique scheme, described decoding process includes: B1, after user enters decryption interface, initially
Change the gyroscope information on intelligent terminal, proceed to B2;B2, will initialize successfully after gyroscope information be shown to intelligent terminal circle
On face, and obtain the time of staying corresponding with this decryption oprerations, proceed to B3;B3, intelligent terminal's gyroscope is monitored, when
Listen to user and rotate intelligent terminal to expecting position and after stopping operating, it is judged that whether the time that stops operating reaches corresponding stopping
Stay the time, if so, read and record current gyro data, proceed to B4;Otherwise, return B3, continue to monitor;B4, ought
Front gyro data carries out hybrid combining with the software key preset, and generates a decryption information, proceeds to B5;B5, judgement are worked as
It is consistent whether front decryption information adds confidential information with the correspondence preserved, and if so, deciphering flow process terminates;Otherwise, return B2, again open
Begin to decipher.
On the basis of technique scheme, in step A1 of described encryption flow, if the gyroscope letter on intelligent terminal
Breath initializes unsuccessful, then show input through keyboard interface or figure inputting interface, carry out character encryption or figure encryption for user
Operation;In step B1 of described deciphering flow process, if the gyroscope information initializing on intelligent terminal is unsuccessful, then show that keyboard is defeated
Enter interface or figure inputting interface, carry out character deciphering or figure decryption oprerations for user.
On the basis of technique scheme, between step A3 of described encryption flow, A4, also include that gyro data is tested
Card operation: judge whether current gyro data reaches the requirement of encryption data, if so, proceed to A4;Otherwise, A2, weight are returned
The newly-generated random time of staying and gyro data;Between step B3 of described deciphering flow process, B4, the most also include gyroscope
Data verification operation: judge whether current gyro data reaches to solve the requirement of ciphertext data, if so, proceeds to B4;Otherwise, return
B2, reacquires the corresponding time of staying and gyro data.
On the basis of technique scheme, also include following operation after step A4 of described encryption flow: judgement is
No also need generation to add confidential information, if so, return step A2, continue to generate another and add confidential information;If it is not, encryption flow terminates;
Following operation is also included: judge whether also to need to proceed decryption oprerations, if so, return after step B5 of described deciphering flow process
Step B2, proceeds decryption oprerations;If it is not, deciphering flow process terminates.
The present invention also provides for a kind of encrypting and deciphering system based on intelligent terminal's gyroscope, and this encrypting and deciphering system includes encrypting mould
Block and deciphering module.Wherein, described encrypting module includes that encrypted initialization submodule, encryption pre-operation submodule, encryption are monitored
Submodule generates submodule with adding confidential information.Described encrypted initialization submodule is used for: initial after user enters encrypted interface
Change the gyroscope information on intelligent terminal, and send encryption pre-operation letter to encryption pre-operation submodule after successful initialization
Number;Described encryption pre-operation submodule is used for: after receiving encryption pre-operation signal, the gyroscope information after initializing successfully shows
Show on intelligent terminal interface;And one time of staying corresponding with this encryption data of stochastic generation, monitor submodule to encryption
Send encryption monitoring signal;Described encryption is monitored submodule and is used for: after receiving encryption monitoring signal, enter intelligent terminal's gyroscope
Row is monitored, and rotates intelligent terminal to expecting position and after stopping operating when listening to user, it is judged that whether the time that stops operating reaches
To the described time of staying, if so, read and record current gyro data, generating submodule transmission encryption to adding confidential information
Information generates signal;Otherwise, send encryption monitoring signal, continue to monitor;Described add confidential information generate submodule for: receive and add
After confidential information generates signal, current gyro data is carried out Hybrid Encryption with the software key preset, generate the character of MD5
String, adds confidential information using this character string as one and preserves in the lump with the described time of staying.
On the basis of technique scheme, described deciphering module includes deciphering initialization submodule, deciphering pre-operation
Module, deciphering monitor submodule, decryption information generates submodule and decryption information syndrome module.Described deciphering initializes submodule
Block is used for: initialize the gyroscope information on intelligent terminal after user enters decryption interface, and after successful initialization to solution
Close pre-operation submodule sends deciphering pre-operation signal;Described deciphering pre-operation submodule is used for: receive deciphering pre-operation signal
After, the gyroscope information after initializing successfully is shown on intelligent terminal interface;And obtain corresponding with this decryption oprerations
The time of staying, monitor submodule to deciphering and send deciphering monitoring signal;Described deciphering is monitored submodule and is used for: receives deciphering and monitors
After signal, intelligent terminal's gyroscope is monitored, rotate intelligent terminal to expecting position and stopping operating when listening to user
After, it is judged that whether the time that stops operating reaches the corresponding time of staying, if so, reads and records current gyro data,
Generate submodule to decryption information and send decryption information generation signal;Otherwise, send deciphering monitoring signal, continue to monitor;Described
Decryption information generates submodule and is used for: after receiving decryption information generation signal, by current gyro data and the software preset
Key carries out hybrid combining, generates a decryption information, and sends deciphering inspection signal to decryption information syndrome module;Described
Decryption information syndrome module is used for: after receiving deciphering inspection signal, it is judged that current decryption information is the most corresponding with preserve
Add confidential information consistent, if so, terminate deciphering;Otherwise, send deciphering pre-operation signal to deciphering pre-operation submodule, restart
Deciphering.
On the basis of technique scheme, described encrypted initialization submodule is unsuccessful at gyroscope information initializing
Time, display input through keyboard interface or figure inputting interface, carry out character encryption or figure encryption operation for user;At the beginning of described deciphering
Beginning beggar's module, when gyroscope information initializing is unsuccessful, shows input through keyboard interface or figure inputting interface, enters for user
Line character deciphering or figure decryption oprerations.
On the basis of technique scheme, described encrypting module also includes encrypting gyro data checking submodule, uses
The requirement of encryption data whether is reached, if so, to adding secret letter in the current gyro data judging encryption monitoring submodule record
Breath generates submodule transmission and adds confidential information generation signal;Otherwise, encryption pre-operation signal, weight are sent to encryption pre-operation submodule
The newly-generated random time of staying and gyro data;Described deciphering module also includes deciphering gyro data checking submodule,
For judging whether the current gyro data of deciphering monitoring submodule record reach to solve the requirement of ciphertext data, if so, to deciphering
Information generates submodule and sends decryption information generation signal;Otherwise, send deciphering pre-operation signal to deciphering pre-operation submodule,
Reacquire the corresponding time of staying and gyro data.
On the basis of technique scheme, described encrypting module also includes that encryption flow judges submodule, is used for judging
The most also need to generate and other add confidential information, if so, send encryption pre-operation signal to encryption pre-operation submodule, continue to generate
Another adds confidential information;If it is not, end encryption flow;Described deciphering module also includes that deciphering flow process judges submodule, is used for sentencing
Break and the most also need to proceed decryption oprerations, if so, send deciphering pre-operation signal to deciphering pre-operation submodule, proceed
Decryption oprerations;If it is not, terminate deciphering flow process.
The beneficial effects of the present invention is:
1, the present invention uses a kind of encryption and decryption technology based on intelligent terminal's gyroscope to solve in tradition encryption and decryption mode
Exist easily crack, the problem of difficult input.The present invention utilizes gyroscope to obtain some spatial datas basic number as encryption and decryption
According to, according to the basic data that these are relevant, in conjunction with the random time of staying, dynamically generate gyro data;Again by gyroscope
Data carry out Hybrid Encryption with the software key preset, and generate the real confidential information that adds and realize encryption.This by multiple data
Being combined the confidential information that adds of generation, for more traditional character encryption or figure encryption, its cryptography infrastructure data volume is quite big,
Complexity is the highest, strong by Brute Force, anti-crack when can effectively prevent from deciphering.It addition, user is using adding of the present invention
When decryption technology (encryption and decryption technology based on gyroscope) inputs password, it is only necessary to the direction adjusting intelligent terminal (i.e. uses
Gyroscope generates encryption data) can be carried out the input of encryption and decryption, input the easiest, better user experience.
2, in the present invention, in order to the effectiveness of the gyro data of encryption and deciphering gyro data effective are effectively ensured
Property, in encryption flow and deciphering flow process, all include gyro data verification operation, can improve in encryption process further
Accuracy and reliability, reduce mistake generation.
3, the present invention is when carrying out encryption and decryption, if occurring, intelligent terminal's gyroscope initializes unsuccessful situation (likely
This intelligent terminal does not support gyroscope function), then can use traditional input through keyboard interface or figure inputting interface accordingly instead, for
Family carries out character encryption and decryption or the operation of figure encryption and decryption, can meet the needs of various service condition, practicality and the suitability good.
4, the use scene using the present invention to carry out encryption and decryption includes being not limited to: intelligent terminal unlocks, and software unlocks, and one
Cut the use scene of required Password Input, applied widely.
Accompanying drawing explanation
Fig. 1 is encryption flow schematic diagram based on intelligent terminal's gyroscope in the embodiment of the present invention;
Fig. 2 is deciphering schematic flow sheet based on intelligent terminal's gyroscope in the embodiment of the present invention;
Fig. 3 is the structured flowchart of encrypting and deciphering system based on intelligent terminal's gyroscope in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Seeing shown in Fig. 1 and Fig. 2, the embodiment of the present invention provides a kind of encipher-decipher method based on intelligent terminal's gyroscope,
The method includes encryption flow and deciphering two steps of flow process;
Wherein, encryption flow specifically includes following steps (as shown in Figure 1):
Step A1, after user is by clicking through encrypted interface, initialize the gyroscope information on intelligent terminal, if just
Begin chemical conversion merit, proceeds to step A2;If initializing unsuccessful, then showing traditional input through keyboard interface or figure inputting interface, supplying
User carries out character encryption or figure encryption operation.
Step A2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, prompting user start to make
Encryption data is generated with gyroscope;And one time of staying corresponding with this encryption data of stochastic generation, proceed to step A3.
It is understood that the described time of staying refers to when user uses gyroscope to generate encryption data, need to stop
Time.When encryption, only after waiting the described time of staying, just read gyro data and generate encryption data;?
During deciphering, the most only after having waited the described time of staying, just read gyro data and be decrypted operation.It is to say,
The time of staying of this stochastic generation can improve the complexity of encryption data further, can be prevented effectively from Brute Force during deciphering,
Improve safety.In the present embodiment, within the value of the time of staying of stochastic generation is 10 seconds, preferably 2 seconds, the time can met
While requirement, also allow for user's practical operation.
Step A3, intelligent terminal's gyroscope is monitored, rotate intelligent terminal to expecting position also when listening to user
After stopping operating, it is judged that whether the time that stops operating reaches the described time of staying, if so, read and record current gyroscope
Data, proceed to step A4;Otherwise, return step A3, continue to monitor.
During practical operation, in order to the effectiveness of gyro data is effectively ensured, after step A3, also include gyroscope number
According to verification operation: judge whether current gyro data reaches the requirement of encryption data, if so, proceed to step A4;Otherwise, return
It is back to step A2, regenerates the random time of staying and gyro data.Wherein, it is judged that whether current gyro data reaches
During to the requirement of encryption data, its basis for estimation is: whether current gyro data is the initialization of intelligent terminal's gyroscope
Data (i.e. active user take intelligent terminal just to direction), if so, show that user does not arrange the password of non-initial, then
Judge that current gyro data is not up to the requirement of encryption data;If it is not, show the password of user setup non-initial, then
Judge that current gyro data has reached the requirement of encryption data.
Step A4, current gyro data is carried out Hybrid Encryption with the software key preset, generate the character of MD5
String, adds confidential information using this character string as one and preserves in the lump with the described time of staying, proceed to step A5.
Step A5, judge whether also to need generation to add confidential information, if so, return step A2, continue prompting user and generate another
Individual add confidential information;If it is not, encryption flow terminates.
Deciphering flow process specifically includes following steps (as shown in Figure 2):
Step B1, after user enters decryption interface, initialize the gyroscope information on intelligent terminal, if being initialized to
Merit, proceeds to step B2;If initializing unsuccessful, then show traditional input through keyboard interface or figure inputting interface, enter for user
Line character deciphering or figure decryption oprerations.
Step B2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, prompting user start to make
It is decrypted operation with gyroscope;And obtain the time of staying corresponding with this decryption oprerations, proceed to step B3.
Step B3, intelligent terminal's gyroscope is monitored, rotate intelligent terminal to expecting position also when listening to user
After stopping operating, it is judged that whether the time that stops operating reaches the corresponding described time of staying, if so, reads and records current
Gyro data, proceeds to step B4;Otherwise, return step B3, continue to monitor.
It can also be appreciated that the effectiveness of gyro data during in order to deciphering be effectively ensured, after step B3
The most also include gyro data verification operation: judge whether current gyro data reaches to solve the requirement of ciphertext data, if so, turn
Enter step B4;Otherwise, it is back to step B2, reacquires the corresponding time of staying and gyro data.Judge current gyro
Whether instrument data reach to solve the requirement of ciphertext data, and its basis for estimation is consistent with the requirement of encryption data, does not repeats.
Step B4, by current gyro data with preset software key carry out hybrid combining, generates one solution secret letter
Breath, proceeds to step B5.
Step B5, to judge that whether current decryption information adds confidential information with the correspondence preserved consistent, if so, prompting user solution
Close success, proceeds to step B6;Otherwise, prompting user deciphers failure, returns step B2, restarts deciphering.
Step B6, judge whether also to need to proceed decryption oprerations (i.e. also having other decryption informations to need to generate), if so,
Returning step B2, prompting user proceeds decryption oprerations;If it is not, deciphering flow process terminates.
Shown in Figure 3, present invention also offers a kind of encrypting and deciphering system based on intelligent terminal's gyroscope, including encryption
Module and deciphering module.Specifically, described encrypting module includes encrypted initialization submodule, encryption pre-operation submodule, adds
Close monitoring submodule, add confidential information and generate submodule and encryption flow and judge submodule.Due in the present embodiment, encrypting module
The function of above-mentioned submodule is to operate one to one with encryption flow, therefore, does not repeats and (specifically can be found in summary of the invention
The corresponding contents of part).It addition, described deciphering module includes deciphering initialization submodule, deciphering pre-operation submodule, deciphering prison
Listen submodule, decryption information to generate submodule, decryption information syndrome module and deciphering flow process and judge submodule.Similarly, since
In the present embodiment, the function of the above-mentioned submodule of deciphering module is with deciphering flow operations one to one, therefore, the most not
Repeat (specifically can be found in the corresponding contents of Summary).
Further, during practical operation, the gyro of effectiveness and deciphering in order to the gyro data of encryption is effectively ensured
The effectiveness of instrument data, therefore, also has additional encryption gyro data checking submodule in the inside of encrypting module;At deciphering mould
The inside of block also has additional deciphering gyro data checking submodule.Wherein, described encryption gyro data checking submodule is used
In: judge whether the current gyro data of encryption monitoring submodule record reach the requirement of encryption data, if so, to adding secret letter
Breath generates submodule transmission and adds confidential information generation signal;Otherwise, encryption pre-operation signal, weight are sent to encryption pre-operation submodule
The newly-generated random time of staying and gyro data.Described deciphering gyro data checking submodule is used for: judge deciphering prison
Whether the current gyro data listening submodule record reach to solve the requirement of ciphertext data, if so, generate submodule to decryption information
Send decryption information and generate signal;Otherwise, send deciphering pre-operation signal to deciphering pre-operation submodule, reacquire correspondence
The time of staying and gyro data.
It should be understood that the encrypting and deciphering system based on intelligent terminal's gyroscope that above-described embodiment provides adds solution carrying out
Time close, only it is illustrated with the division of above-mentioned each functional module, in actual application, can as required above-mentioned functions be distributed
Completed by different functional modules, the internal structure of system will be divided into different functional modules, described above to complete
All or part of function.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from
On the premise of the principle of the invention, it is also possible to make some improvements and modifications, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. an encipher-decipher method based on intelligent terminal's gyroscope, this encipher-decipher method includes encryption flow and deciphering flow process,
It is characterized in that, described encryption flow includes:
A1, after user enters encrypted interface, initialize the gyroscope information on intelligent terminal, proceed to A2;
A2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, and stochastic generation one adds with this
The time of staying that ciphertext data is corresponding, proceed to A3;
A3, intelligent terminal's gyroscope is monitored, rotate intelligent terminal to expecting position and stopping operating when listening to user
After, it is judged that whether the time that stops operating reaches the described time of staying, if so, reads and records current gyro data, turns
Enter A4;Otherwise, return A3, continue to monitor;
A4, current gyro data is carried out Hybrid Encryption with the software key preset, generate the character string of MD5, by this word
Symbol string adds confidential information as one and preserves in the lump with the described time of staying.
2. encipher-decipher method based on intelligent terminal's gyroscope as claimed in claim 1, it is characterised in that described decoding process
Including:
B1, after user enters decryption interface, initialize the gyroscope information on intelligent terminal, proceed to B2;
B2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, and obtain with this decryption oprerations pair
The time of staying answered, proceed to B3;
B3, intelligent terminal's gyroscope is monitored, rotate intelligent terminal to expecting position and stopping operating when listening to user
After, it is judged that whether the time that stops operating reaches the corresponding time of staying, if so, reads and records current gyro data,
Proceed to B4;Otherwise, return B3, continue to monitor;
B4, by current gyro data with preset software key carry out hybrid combining, generate a decryption information, proceed to
B5;
B5, to judge that whether current decryption information adds confidential information with the correspondence preserved consistent, if so, deciphers flow process and terminates;Otherwise,
Return B2, restart deciphering.
3. encipher-decipher method based on intelligent terminal's gyroscope as claimed in claim 2, it is characterised in that: described encryption flow
Step A1 in, if the gyroscope information initializing on intelligent terminal is unsuccessful, then show input through keyboard interface or figure input
Interface, carries out character encryption or figure encryption operation for user;In step B1 of described deciphering flow process, if the top on intelligent terminal
Spiral shell instrument information initializing is unsuccessful, then show input through keyboard interface or figure inputting interface, carry out character deciphering or figure for user
Shape decryption oprerations.
4. encipher-decipher method based on intelligent terminal's gyroscope as claimed in claim 2, it is characterised in that: described encryption flow
Step A3, between A4, also include gyro data verification operation: judge whether current gyro data reaches encryption data
Requirement, if so, proceed to A4;Otherwise, return A2, regenerate the random time of staying and gyro data;
Between step B3 of described deciphering flow process, B4, the most also include gyro data verification operation: judge current gyroscope
Whether data reach to solve the requirement of ciphertext data, if so, proceed to B4;Otherwise, return B2, reacquire the corresponding time of staying and top
Spiral shell instrument data.
5. encipher-decipher method based on intelligent terminal's gyroscope as claimed in claim 2, it is characterised in that: described encryption flow
Step A4 after also include following operation: judge whether also to need generation to add confidential information, if so, return step A2, continue generate
Another adds confidential information;If it is not, encryption flow terminates;
Following operation is also included: judge whether also to need to proceed decryption oprerations, if so, after step B5 of described deciphering flow process
Return step B2, proceed decryption oprerations;If it is not, deciphering flow process terminates.
6. an encrypting and deciphering system based on intelligent terminal's gyroscope, this encrypting and deciphering system includes encrypting module and deciphering module,
It is characterized in that;Described encrypting module include encrypted initialization submodule, encryption pre-operation submodule, encryption monitor submodule and
Add confidential information and generate submodule;
Described encrypted initialization submodule is used for: initialize the gyroscope letter on intelligent terminal after user enters encrypted interface
Breath, and send encryption pre-operation signal to encryption pre-operation submodule after successful initialization;
Described encryption pre-operation submodule is used for: after receiving encryption pre-operation signal, the gyroscope information after initializing successfully
It is shown on intelligent terminal interface;And one time of staying corresponding with this encryption data of stochastic generation, monitor son to encryption
Mould sends encryption monitoring signal;
Described encryption is monitored submodule and is used for: after receiving encryption monitoring signal, monitors intelligent terminal's gyroscope, works as monitoring
After rotating intelligent terminal extremely expectation position to user and stop operating, it is judged that when whether the time that stops operating reaches described stop
Between, if so, read and record current gyro data, adding confidential information generation letter to adding confidential information generation submodule transmission
Number;Otherwise, send encryption monitoring signal, continue to monitor;
Described add confidential information generate submodule for: receive and add confidential information and generate after signal, by current gyro data with pre-
If software key carry out Hybrid Encryption, generate the character string of MD5, this character string added confidential information and described stop as one
Time preserves in the lump.
7. encrypting and deciphering system based on intelligent terminal's gyroscope as claimed in claim 6, it is characterised in that: described deciphering module
Including deciphering initialization submodule, deciphering pre-operation submodule, submodule is monitored in deciphering, decryption information generates submodule and deciphering
Information syndrome module;
Described deciphering initialization submodule is used for: initialize the gyroscope letter on intelligent terminal after user enters decryption interface
Breath, and send deciphering pre-operation signal to deciphering pre-operation submodule after successful initialization;
Described deciphering pre-operation submodule is used for: after receiving deciphering pre-operation signal, the gyroscope information after initializing successfully
It is shown on intelligent terminal interface;And obtain the time of staying corresponding with this decryption oprerations, monitor submodule to deciphering and send
Deciphering monitoring signal;
Described deciphering is monitored submodule and is used for: after receiving deciphering monitoring signal, monitors intelligent terminal's gyroscope, works as monitoring
After rotating intelligent terminal extremely expectation position to user and stop operating, it is judged that when whether the time that stops operating reaches corresponding stop
Between, if so, read and record current gyro data, generating submodule to decryption information and send decryption information generation letter
Number;Otherwise, send deciphering monitoring signal, continue to monitor;
Described decryption information generates submodule and is used for: after receiving decryption information generation signal, by current gyro data with pre-
If software key carry out hybrid combining, generate a decryption information, and send deciphering inspection to decryption information syndrome module
Signal;
Described decryption information syndrome module is used for: after receiving deciphering inspection signal, it is judged that current decryption information whether with guarantor
It is consistent that the correspondence deposited adds confidential information, if so, terminates deciphering;Otherwise, send deciphering pre-operation signal to deciphering pre-operation submodule,
Restart deciphering.
8. encrypting and deciphering system based on intelligent terminal's gyroscope as claimed in claim 7, it is characterised in that: described encryption is initial
Beggar's module, when gyroscope information initializing is unsuccessful, shows input through keyboard interface or figure inputting interface, carries out for user
Character encryption or figure encryption operation;Described deciphering initialization submodule, when gyroscope information initializing is unsuccessful, shows key
Dish inputting interface or figure inputting interface, carry out character deciphering or figure decryption oprerations for user.
9. encrypting and deciphering system based on intelligent terminal's gyroscope as claimed in claim 7, it is characterised in that: described encrypting module
Also include encrypting gyro data checking submodule, for judging whether encryption monitors the current gyro data of submodule record
Reach the requirement of encryption data, if so, generate submodule and send and add confidential information and generate signal to adding confidential information;Otherwise, to encryption
Pre-operation submodule sends encryption pre-operation signal, regenerates the random time of staying and gyro data;
Described deciphering module also includes deciphering gyro data checking submodule, for judging that working as of submodule record is monitored in deciphering
Whether front gyro data reaches to solve the requirement of ciphertext data, if so, generates submodule to decryption information and sends decryption information generation
Signal;Otherwise, send deciphering pre-operation signal to deciphering pre-operation submodule, reacquire the corresponding time of staying and gyroscope
Data.
10. encrypting and deciphering system based on intelligent terminal's gyroscope as claimed in claim 7, it is characterised in that: described encryption mould
Block also includes that encryption flow judges submodule, other adds confidential information, if so, to the pre-behaviour of encryption for judging whether also to need to generate
Make submodule and send encryption pre-operation signal, continue to generate another and add confidential information;If it is not, end encryption flow;
Described deciphering module also includes that deciphering flow process judges submodule, is used for judging whether also to need to proceed decryption oprerations, if
It is to send deciphering pre-operation signal to deciphering pre-operation submodule, proceed decryption oprerations;If it is not, terminate deciphering flow process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610605575.5A CN106210240B (en) | 2016-07-28 | 2016-07-28 | A kind of encryption and decryption method and system based on intelligent terminal gyroscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610605575.5A CN106210240B (en) | 2016-07-28 | 2016-07-28 | A kind of encryption and decryption method and system based on intelligent terminal gyroscope |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210240A true CN106210240A (en) | 2016-12-07 |
CN106210240B CN106210240B (en) | 2019-04-23 |
Family
ID=57496740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610605575.5A Expired - Fee Related CN106210240B (en) | 2016-07-28 | 2016-07-28 | A kind of encryption and decryption method and system based on intelligent terminal gyroscope |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210240B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737988A (en) * | 2017-04-18 | 2018-11-02 | 通用汽车环球科技运作有限责任公司 | The system and method for carrying out out-of-band communication on vehicle using mechanical oscillation |
WO2021218088A1 (en) * | 2020-04-30 | 2021-11-04 | 平安科技(深圳)有限公司 | Communication data processing method and apparatus, and computer system and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346541A (en) * | 2010-07-29 | 2012-02-08 | 深圳富泰宏精密工业有限公司 | Unlocking system and method for portable electronic device |
CN102724034A (en) * | 2012-05-17 | 2012-10-10 | 人民搜索网络股份公司 | Encryption/decryption system and method based on space motion |
CN102739847A (en) * | 2011-04-14 | 2012-10-17 | 富泰华工业(深圳)有限公司 | Electronic equipment and unlocking method thereof |
CN102929515A (en) * | 2012-10-29 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal unlocking method and mobile terminal |
CN103455251A (en) * | 2012-05-31 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Portable electronic device unlocking system and unlocking method thereof |
CN104252224A (en) * | 2013-06-27 | 2014-12-31 | 鸿富锦精密工业(深圳)有限公司 | Unlocking device and unlocking method of mobile terminal |
CN105389085A (en) * | 2015-12-03 | 2016-03-09 | 广东欧珀移动通信有限公司 | Unlocking method and apparatus of mobile terminal |
-
2016
- 2016-07-28 CN CN201610605575.5A patent/CN106210240B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346541A (en) * | 2010-07-29 | 2012-02-08 | 深圳富泰宏精密工业有限公司 | Unlocking system and method for portable electronic device |
CN102739847A (en) * | 2011-04-14 | 2012-10-17 | 富泰华工业(深圳)有限公司 | Electronic equipment and unlocking method thereof |
US20120264398A1 (en) * | 2011-04-14 | 2012-10-18 | Hon Hai Precision Industry Co., Ltd. | Electronic device and unlocking method thereof |
CN102724034A (en) * | 2012-05-17 | 2012-10-10 | 人民搜索网络股份公司 | Encryption/decryption system and method based on space motion |
CN103455251A (en) * | 2012-05-31 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Portable electronic device unlocking system and unlocking method thereof |
CN102929515A (en) * | 2012-10-29 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal unlocking method and mobile terminal |
CN104252224A (en) * | 2013-06-27 | 2014-12-31 | 鸿富锦精密工业(深圳)有限公司 | Unlocking device and unlocking method of mobile terminal |
CN105389085A (en) * | 2015-12-03 | 2016-03-09 | 广东欧珀移动通信有限公司 | Unlocking method and apparatus of mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737988A (en) * | 2017-04-18 | 2018-11-02 | 通用汽车环球科技运作有限责任公司 | The system and method for carrying out out-of-band communication on vehicle using mechanical oscillation |
CN108737988B (en) * | 2017-04-18 | 2021-03-23 | 通用汽车环球科技运作有限责任公司 | System and method for out-of-band communication on a vehicle using mechanical vibrations |
WO2021218088A1 (en) * | 2020-04-30 | 2021-11-04 | 平安科技(深圳)有限公司 | Communication data processing method and apparatus, and computer system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106210240B (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI642288B (en) | Instant communication method and system | |
CN103279411B (en) | Enter the method and system of application program based on fingerprint recognition | |
CN104836664B (en) | A kind of methods, devices and systems executing business processing | |
US9755824B2 (en) | Power line based theft protection of electronic devices | |
CN109600223A (en) | Verification method, Activiation method, device, equipment and storage medium | |
CN107508679B (en) | Binding and authentication method for intelligent terminal main control chip and encryption chip | |
CN105447394B (en) | Intelligent password key with local data encryption function | |
TW201610743A (en) | Face based secure messaging | |
CN106161032A (en) | A kind of identity authentication method and device | |
CN107995617A (en) | A kind of solid storage device for supporting telesecurity to destroy design | |
CN109951295B (en) | Key processing and using method, device, equipment and medium | |
CN107146308A (en) | A kind of offline internet-based control device and its control system and method | |
CN103281299B (en) | A kind of ciphering and deciphering device and information processing method and system | |
CN105303651A (en) | Bluetooth based two-way communication automatic locking system and method | |
CN104253694A (en) | Encrypting method for network data transmission | |
CN103888429B (en) | Virtual machine starts method, relevant device and system | |
CN103973715B (en) | Cloud computing security system and method | |
CN107615294A (en) | A kind of identifying code short message display method and mobile terminal | |
CN101488111A (en) | Identification authentication method and system | |
CN105592431B (en) | SMS encryption system based on iOS system mobile terminal | |
US9985960B2 (en) | Method for protecting data on a mass storage device and a device for the same | |
CN106210240B (en) | A kind of encryption and decryption method and system based on intelligent terminal gyroscope | |
CN106027229B (en) | A kind of encryption and decryption method and system based on intelligent terminal compass | |
CN108182745A (en) | The smart lock and its encryption method of a kind of decentralization | |
CN102882687A (en) | Intelligent household safe access method and system based on searchable cipher text |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190423 |