CN106210240B - A kind of encryption and decryption method and system based on intelligent terminal gyroscope - Google Patents
A kind of encryption and decryption method and system based on intelligent terminal gyroscope Download PDFInfo
- Publication number
- CN106210240B CN106210240B CN201610605575.5A CN201610605575A CN106210240B CN 106210240 B CN106210240 B CN 106210240B CN 201610605575 A CN201610605575 A CN 201610605575A CN 106210240 B CN106210240 B CN 106210240B
- Authority
- CN
- China
- Prior art keywords
- encryption
- decryption
- submodule
- intelligent terminal
- gyroscope
- 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.)
- Active
Links
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 systems based on intelligent terminal gyroscope, are related to intelligent terminal encryption technology field.The encrypting and deciphering system includes encrypting module and deciphering module.Wherein, encrypting module includes encrypted initialization submodule, encryption pre-operation submodule, submodule is monitored in encryption, encryption information generates submodule and encryption flow judging submodule;Deciphering module includes decrypting initialization submodule, decryption pre-operation submodule, decryption monitoring submodule, solution confidential information generation submodule, solution confidential information syndrome module and decryption process judging submodule.The present invention obtains several spatial datas as the basic data of encryption and decryption, according to these basic datas, in conjunction with random residence time, dynamic generation gyro data using gyroscope;Gyro data and preset software code key are subjected to Hybrid Encryption again, real encryption information is generated to realize encryption, not only can effectively avoid Brute Force, safety is higher, and easy to operate, quick.
Description
Technical field
It is specifically a kind of based on intelligent terminal gyroscope plus solution the present invention relates to intelligent terminal encryption technology field
Decryption method and system.
Background technique
With the development of development of Mobile Internet technology and mobile device technology, the volume of holding of Mobile portable formula intelligent terminal by
Year increases.Currently, the volume of holding of Chinese intelligent terminal is sure to occupy the first in the world, this undoubtedly illustrates that intelligent terminal has become for people day
Often essential life tool in life.At the same time, with the fast development of the technologies such as mobile payment, so that intelligent terminal
Etc. mobile devices safety problem it is more and more prominent, and encrypting and decrypting method is then the core of security fields.
At this stage, the encrypting and decrypting mode of intelligent terminal has very much, such as: Password Input, pattern identification etc. are encrypting
In decrypting process, direct password input by user or the pattern being depicted as carry out plaintext encryption and decryption.But it is existing these
Encrypting and decrypting mode be it is directly related to clear-text passwords, the cryptography infrastructure data volume based on character and pattern is limited, complexity
It is not high enough, easily by Brute Force;In addition, due to being limited by intelligent terminal screen size and interaction capabilities, so that user exists
There are the problems such as inconvenient for operation, cumbersome in code key input process needs to input especially for the input of some long code keys
Time is longer, brings big inconvenience to user.
Summary of the invention
The purpose of the invention is to overcome the shortcomings of above-mentioned background technique, provide a kind of based on intelligent terminal gyroscope
Encryption and decryption method and system, not only encryption data amount is big, complexity is high, can effectively avoid Brute Force;And when encryption and decryption without
It needs to input for a long time, it is easy to operate.
To achieve the above objectives, the technical solution adopted by the present invention is that: provide it is a kind of based on intelligent terminal gyroscope plus
Decryption method, the encipher-decipher method include encryption flow and decryption process.Wherein, encryption flow includes: A1, when user's entrance adds
Behind close interface, the gyroscope information on intelligent terminal is initialized, A2 is transferred to;A2, will initialize successfully after gyroscope information show
Show on intelligent terminal interface, and generate a residence time corresponding with this encryption data at random, is transferred to A3;A3, to intelligence
Energy terminal gyroscope is monitored, and is rotated intelligent terminal to after expecting position and stop operating when listening to user, is judged to stop
Whether rotation time reaches the residence time, if so, reading and recording current gyro data, is transferred to A4;Otherwise, it returns
A3 is returned, continues to monitor;A4, current gyro data and preset software code key are subjected to Hybrid Encryption, generate the character of MD5
String, preserves using the character string as an encryption information with the residence time together.
Based on the above technical solution, the decoding process includes: B1, after user enters decryption interface, initially
Change the gyroscope information on intelligent terminal, is transferred to B2;B2, will initialize successfully after gyroscope information be shown to intelligent terminal circle
On face, and the residence time corresponding with this decryption oprerations is obtained, is transferred to B3;B3, intelligent terminal gyroscope is monitored, when
It listens to user and rotates intelligent terminal to expecting position and after stopping operating, whether judgement time that stops operating reaches corresponding and stop
The time is stayed, if so, reading and recording current gyro data, is transferred to B4;Otherwise, B3 is returned, continues to monitor;B4, will work as
Preceding gyro data and preset software code key carry out hybrid combining, generate a solution confidential information, are transferred to B5;B5, judgement are worked as
Whether preceding solution confidential information is consistent with the corresponding encryption information of preservation, if so, decryption process terminates;Otherwise, B2 is returned, is opened again
Begin to decrypt.
Based on the above technical solution, in the step A1 of the encryption flow, if the gyroscope on intelligent terminal is believed
Breath initialization is unsuccessful, then shows keyboard input interface or figure input interface, carries out character encryption or figure encryption for user
Operation;In the step B1 of the decryption process, if the gyroscope information initializing on intelligent terminal is unsuccessful, show that keyboard is defeated
Enter interface or figure input interface, carries out character decryption or figure decryption oprerations for user.
It based on the above technical solution, further include that gyro data is tested between step A3, A4 of the encryption flow
Card operation: judge whether current gyro data reaches the requirement of encryption data, if so, being transferred to A4;Otherwise, A2, weight are returned
Newly-generated random residence time and gyro data;It equally also include gyroscope between step B3, B4 of the decryption process
Data verification operation: judging whether current gyro data reaches the requirement of ciphertext data, if so, being transferred to B4;Otherwise, it returns
B2 reacquires corresponding residence time and gyro data.
Based on the above technical solution, further include following operation after the step A4 of the encryption flow: judgement is
It is no also to need to generate encryption information, if so, return step A2, continues to generate another encryption information;If it is not, encryption flow terminates;
Further include following operation after the step B5 of the decryption process: judging whether also to need to continue decryption oprerations, if so, returning
Step B2, continues decryption oprerations;If it is not, decryption process terminates.
The present invention also provides a kind of encrypting and deciphering system based on intelligent terminal gyroscope, which includes encryption mould
Block and deciphering module.Wherein, the encrypting module includes encrypted initialization submodule, encryption pre-operation submodule, encryption monitoring
Submodule and encryption information generate submodule.The encrypted initialization submodule is used for: initial after user enters encrypted interface
Change the gyroscope information on intelligent terminal, and sends encryption pre-operation letter to encryption pre-operation submodule after successful initialization
Number;The encryption pre-operation submodule is used for: after receiving encryption pre-operation signal, the gyroscope information after initializing successfully is shown
Show on intelligent terminal interface;And a residence time corresponding with this encryption data is generated at random, submodule is monitored to encryption
Send encryption monitoring signal;The encryption is monitored submodule and is used for: after receiving encryption monitoring signal, to intelligent terminal gyroscope into
Row is monitored, and rotates intelligent terminal to expecting position and after stop operating when listening to user, and whether judgement time that stops operating reaches
To the residence time, if so, reading and recording current gyro data, submodule is generated to encryption information and sends encryption
Information generates signal;Otherwise, encryption monitoring signal is sent, continues to monitor;The encryption information generates submodule and is used for: receiving and adds
After confidential information generates signal, current gyro data and preset software code key are subjected to Hybrid Encryption, generate the character of MD5
String, preserves using the character string as an encryption information with the residence time together.
Based on the above technical solution, the deciphering module includes decryption initialization submodule, decryption pre-operation
Module, decryption monitor submodule, solution confidential information generates submodule reconciliation confidential information and examines submodule.The decryption initializes submodule
Block is used for: the gyroscope information on intelligent terminal is initialized after user enters decryption interface, and after successful initialization to solution
Close pre-operation submodule sends decryption pre-operation signal;The decryption pre-operation submodule is used for: receiving decryption pre-operation signal
Afterwards, the gyroscope information after initializing successfully is shown on intelligent terminal interface;And it obtains corresponding with this decryption oprerations
Residence time monitors submodule to decryption and sends decryption monitoring signal;The decryption is monitored submodule and is used for: receiving decryption and monitors
After signal, intelligent terminal gyroscope is monitored, rotates intelligent terminal to expecting position and to stop operating when listening to user
Afterwards, whether judgement time that stops operating reaches the corresponding residence time, if so, current gyro data is read and records,
Submodule, which is generated, to solution confidential information sends solution confidential information generation signal;Otherwise, decryption monitoring signal is sent, continues to monitor;It is described
Solution confidential information generates submodule and is used for: after receiving solution confidential information generation signal, by current gyro data and preset software
Code key carries out hybrid combining, generates a solution confidential information, and send decryption to solution confidential information syndrome module and examine signal;It is described
Solution confidential information syndrome module is used for: after receiving decryption inspection signal, judging whether current solution confidential information is corresponding with preservation
Encryption information is consistent, if so, terminating decryption;Otherwise, Xiang Xiemi pre-operation submodule sends decryption pre-operation signal, restarts
Decryption.
Based on the above technical solution, the encrypted initialization submodule is unsuccessful in gyroscope information initializing
When, it shows keyboard input interface or figure input interface, carries out character encryption for user or figure encryption operates;At the beginning of the decryption
Beginning beggar's module shows keyboard input interface or figure input interface when gyroscope information initializing is unsuccessful, for user into
Line character decryption or figure decryption oprerations.
Based on the above technical solution, the encrypting module further includes encryption gyro data verifying submodule, is used
Whether reach the requirement of encryption data in the current gyro data for judging encryption monitoring submodule record, if so, believing to encryption
Breath generates submodule and sends encryption information generation signal;Otherwise, Xiang Jiami pre-operation submodule sends encryption pre-operation signal, weight
Newly-generated random residence time and gyro data;The deciphering module further includes decryption gyro data verifying submodule,
For judging that the requirement whether the current gyro data that submodule records reach ciphertext data is monitored in decryption, if so, to decryption
Information generates submodule and sends solution confidential information generation signal;Otherwise, Xiang Xiemi pre-operation submodule sends decryption pre-operation signal,
Reacquire corresponding residence time and gyro data.
Based on the above technical solution, the encrypting module further includes encryption flow judging submodule, for judging
Whether also need to generate other encryption information, if so, sending encryption pre-operation signal to encryption pre-operation submodule, continues to generate
Another encryption information;If it is not, terminating encryption flow;The deciphering module further includes decryption process judging submodule, for sentencing
It is disconnected whether also to need to continue decryption oprerations, if so, sending decryption pre-operation signal to decryption pre-operation submodule, continue
Decryption oprerations;If it is not, terminating decryption process.
The beneficial effects of the present invention are:
1, the present invention is solved in traditional encryption and decryption mode using a kind of encryption and decryption technology based on intelligent terminal gyroscope
It is existing easily crack, difficult input the problem of.The present invention obtains basic number of several spatial datas as encryption and decryption using gyroscope
According to according to these relevant basic datas, in conjunction with random residence time, dynamic generation gyro data;Again by gyroscope
Data and preset software code key carry out Hybrid Encryption, generate real encryption information to realize encryption.It is this by a variety of data
It is combined the encryption information of generation, for more traditional character encryption or figure encryption, cryptography infrastructure data volume is quite big,
Complexity is also higher, and by Brute Force when can effectively prevent decryption, anti-crack is strong.In addition, user is added using of the invention
Decryption technology (based on the encryption and decryption technology of gyroscope) is come when inputting password, it is only necessary to which the direction for adjusting intelligent terminal (uses
Gyroscope generates encryption data) input that can be carried out encryption and decryption, input very easy, better user experience.
2, the present invention in, in order to be effectively ensured encryption gyro data validity and decryption gyro data it is effective
Property, include gyro data verification operation in encryption flow and decryption process, can be further improved in encryption process
Accuracy and reliability, reduce mistake generation.
3, the present invention is when carrying out encryption and decryption, if occur the unsuccessful situation of intelligent terminal gyroscope initialization (it is possible that
The intelligent terminal does not support gyroscope function), then it can accordingly use traditional keyboard input interface or figure input interface instead, for
Family carries out character encryption and decryption or the operation of figure encryption and decryption, is able to satisfy the needs of various service conditions, practicability and applicability are good.
4, the use of the usage scenario that the present invention carries out encryption and decryption includes being not limited to: intelligent terminal unlocks, software unlock and one
The usage scenario of Password Input required for cutting, it is applied widely.
Detailed description of the invention
Fig. 1 is the encryption flow schematic diagram based on intelligent terminal gyroscope in the embodiment of the present invention;
Fig. 2 is the decryption flow diagram based on intelligent terminal gyroscope in the embodiment of the present invention;
Fig. 3 is the structural block diagram of the encrypting and deciphering system based on intelligent terminal gyroscope in the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Referring to figure 1 and figure 2, the embodiment of the present invention provides a kind of encipher-decipher method based on intelligent terminal gyroscope,
This method includes encryption flow and decryption two steps of process;
Wherein, encryption flow specifically includes following steps (as shown in Figure 1):
Step A1, after user is by clicking to enter encrypted interface, the gyroscope information on intelligent terminal is initialized, if just
Begin chemical conversion function, is transferred to step A2;If initialization is unsuccessful, traditional keyboard input interface or figure input interface are shown, supply
User carries out character encryption or figure encryption operation.
Step A2, the gyroscope information after initializing successfully is shown on intelligent terminal interface, and user is prompted to start to make
Encryption data is generated with gyroscope;And a residence time corresponding with this encryption data is generated at random, it is transferred to step A3.
It is understood that the residence time refers to user using gyroscope when generating encryption data, to need to stop
Time.In encryption, only after waiting the residence time, just reads gyro data and generate encryption data;?
When decryption, also only after having waited the residence time, just reads gyro data and operation is decrypted.That is,
The residence time generated at random can be further improved the complexity of encryption data, can effectively avoid Brute Force when decryption,
Improve safety.In the present embodiment, the value of the residence time generated at random is that preferably 2 seconds, can meet the time within 10 seconds
It is required that while, it is also convenient for user's practical operation.
Step A3, intelligent terminal gyroscope is monitored, rotates intelligent terminal extremely expectation position simultaneously when listening to user
After stopping operating, whether judgement time that stops operating reaches the residence time, if so, reading and recording current gyroscope
Data are transferred to step A4;Otherwise, return step A3 continues to monitor.
It further include gyroscope number after step A3 in order to which the validity of gyro data is effectively ensured when practical operation
According to verification operation: judging whether current gyro data reaches the requirement of encryption data, if so, being transferred to step A4;Otherwise, it returns
It is back to step A2, regenerates random residence time and gyro data.Wherein, judge whether current gyro data reaches
To encryption data requirement when, judgment basis are as follows: current gyro data whether be intelligent terminal gyroscope initialization
Data (i.e. direction of the active user by intelligent terminal face), if so, showing that the password of non-initialization is not arranged by user, then
Determine that current gyro data is not up to the requirement of encryption data;If it is not, showing the password of user setting non-initialization, then
Determine that current gyro data has reached the requirement of encryption data.
Step A4, current gyro data and preset software code key are subjected to Hybrid Encryption, generate the character of MD5
String, preserves together with the residence time using the character string as an encryption information, is transferred to step A5.
Step A5, judge whether also to need to generate encryption information, if so, return step A2, continues to prompt user's generation another
A encryption information;If it is not, encryption flow terminates.
Decryption process specifically includes following steps (as shown in Figure 2):
Step B1, after user enters decryption interface, the gyroscope information on intelligent terminal is initialized, if being initialized to
Function is transferred to step B2;If initialization is unsuccessful, show traditional keyboard input interface or figure input interface, for user into
Line character decryption or figure decryption oprerations.
Step B2, the gyroscope information after initializing successfully is shown on intelligent terminal interface, and user is prompted to start to make
Operation is decrypted with gyroscope;And the residence time corresponding with this decryption oprerations is obtained, it is transferred to step B3.
Step B3, intelligent terminal gyroscope is monitored, rotates intelligent terminal extremely expectation position simultaneously when listening to user
After stopping operating, whether judgement time that stops operating reaches the corresponding residence time, if so, reading and recording current
Gyro data is transferred to step B4;Otherwise, return step B3 continues to monitor.
It can also be appreciated that in order to which the validity of gyro data when decryption is effectively ensured, after step B3
Also further include gyro data verification operation: judging whether current gyro data reaches the requirement of ciphertext data, if so, turning
Enter step B4;Otherwise, it is back to step B2, reacquires corresponding residence time and gyro data.Judge current gyro
Whether instrument data reach the requirement of ciphertext data, and judgment basis is consistent with the requirement of encryption data, do not repeat herein.
Step B4, current gyro data and preset software code key are subjected to hybrid combining, generate a solution secret letter
Breath, is transferred to step B5.
Step B5, whether the current solution confidential information of judgement is consistent with the corresponding encryption information of preservation, if so, prompt user's solution
Close success is transferred to step B6;Otherwise, prompt user decrypts failure, and return step B2 restarts to decrypt.
Step B6, judge whether also to need to continue decryption oprerations (i.e. there are also other solution confidential informations to need to generate), if so,
Return step B2 prompts user to continue decryption oprerations;If it is not, decryption process terminates.
Shown in Figure 3, the present invention also provides a kind of encrypting and deciphering systems based on intelligent terminal gyroscope, including encryption
Module and deciphering module.Specifically, the encrypting module includes encrypted initialization submodule, encryption pre-operation submodule, adds
Close monitoring submodule, encryption information generate submodule and encryption flow judging submodule.By in this present embodiment, encrypting module
The function of above-mentioned submodule be it is one-to-one with encryption flow operation, therefore, do not repeat that (for details, reference can be made to summary of the invention herein
Partial corresponding contents).In addition, the deciphering module includes decryption initialization submodule, decryption pre-operation submodule, decryption prison
Submodule, solution confidential information is listened to generate submodule, solution confidential information syndrome module and decryption process judging submodule.Similarly, since
In the present embodiment, the function of the above-mentioned submodule of deciphering module be with decryption flow operations it is one-to-one, therefore, herein also not
Repeat (for details, reference can be made to the corresponding contents of Summary).
Further, when practical operation, in order to be effectively ensured encryption gyro data validity and decryption gyro
Therefore the validity of instrument data also has additional encryption gyro data verifying submodule in the inside of encrypting module;In decryption mould
The inside of block also has additional decryption gyro data verifying submodule.Wherein, the encryption gyro data verifying submodule is used
In: judge that the requirement whether the current gyro data that submodule records reach encryption data is monitored in encryption, if so, believing to encryption
Breath generates submodule and sends encryption information generation signal;Otherwise, Xiang Jiami pre-operation submodule sends encryption pre-operation signal, weight
Newly-generated random residence time and gyro data.The decryption gyro data verifying submodule is used for: judgement decryption prison
Whether the current gyro data for listening submodule to record reach the requirement of ciphertext data, if so, generating submodule to solution confidential information
It sends solution confidential information and generates signal;Otherwise, Xiang Xiemi pre-operation submodule sends decryption pre-operation signal, reacquires corresponding
Residence time and gyro data.
It should be understood that the encrypting and deciphering system provided by the above embodiment based on intelligent terminal gyroscope is being carried out plus is being solved
It, only the example of the division of the above functional modules, can be as needed by above-mentioned function distribution in practical application when close
It is completed by different functional modules, i.e., the internal structure of system is divided into different functional modules, it is described above to complete
All or part of function.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (8)
1. a kind of encipher-decipher method based on intelligent terminal gyroscope, which includes encryption flow and decryption process,
It is characterized in that, the encryption flow includes:
A1, after user enters encrypted interface, initialize intelligent terminal on gyroscope information, be transferred to A2;
A2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, and at random generate one add with this
The ciphertext data corresponding residence time, it is transferred to A3;
A3, intelligent terminal gyroscope is monitored, rotates intelligent terminal to expecting position and to stop operating when listening to user
Afterwards, whether judgement time that stops operating reaches the residence time, if so, reads and records current gyro data, turn
Enter A4;Otherwise, A3 is returned, continues to monitor;
A4, current gyro data and preset software code key are subjected to Hybrid Encryption, the character string of MD5 are generated, by the word
Symbol string is preserved as an encryption information with the residence time together,
The decryption process includes:
B1, after user enters decryption interface, initialize intelligent terminal on gyroscope information, be transferred to B2;
B2, will initialize successfully after gyroscope information be shown on intelligent terminal interface, and obtain with this decryption oprerations pair
The residence time answered, it is transferred to B3;
B3, intelligent terminal gyroscope is monitored, rotates intelligent terminal to expecting position and to stop operating when listening to user
Afterwards, whether judgement time that stops operating reaches the corresponding residence time, if so, current gyro data is read and records,
It is transferred to B4;Otherwise, B3 is returned, continues to monitor;
B4, current gyro data and preset software code key are subjected to hybrid combining, generate a solution confidential information, is transferred to
B5;
Whether the current solution confidential information of B5, judgement is consistent with the corresponding encryption information of preservation, if so, decryption process terminates;Otherwise,
B2 is returned, restarts to decrypt.
2. the encipher-decipher method as described in claim 1 based on intelligent terminal gyroscope, it is characterised in that: the encryption flow
Step A1 in, if the gyroscope information initializing on intelligent terminal is unsuccessful, show keyboard input interface or figure input
Interface carries out character encryption for user or figure encryption operates;In the step B1 of the decryption process, if the top on intelligent terminal
Spiral shell instrument information initializing is unsuccessful, then shows keyboard input interface or figure input interface, carries out character decryption or figure for user
Shape decryption oprerations.
3. the encipher-decipher method as described in claim 1 based on intelligent terminal gyroscope, it is characterised in that: the encryption flow
Step A3, A4 between, further include gyro data verification operation: judging whether current gyro data reaches encryption data
Requirement, if so, being transferred to A4;Otherwise, A2 is returned, random residence time and gyro data are regenerated;
Between step B3, B4 of the decryption process, equally also includes gyro data verification operation: judging current gyroscope
Whether data reach the requirement of ciphertext data, if so, being transferred to B4;Otherwise, B2 is returned, corresponding residence time and top are reacquired
Spiral shell instrument data.
4. the encipher-decipher method as described in claim 1 based on intelligent terminal gyroscope, it is characterised in that: the encryption flow
Step A4 after further include following operation: judge whether also to need to generate encryption information, if so, return step A2, continues to generate
Another encryption information;If it is not, encryption flow terminates;
Further include following operation after the step B5 of the decryption process: judging whether also to need to continue decryption oprerations, if so,
Return step B2, continues decryption oprerations;If it is not, decryption process terminates.
5. a kind of encrypting and deciphering system based on intelligent terminal gyroscope, which includes encrypting module and deciphering module,
It is characterized in that;The encrypting module include encrypted initialization submodule, encryption pre-operation submodule, encryption monitor submodule and
Encryption information generates submodule;
The encrypted initialization submodule is used for: the gyroscope letter on intelligent terminal is initialized after user enters encrypted interface
Breath, and encryption pre-operation signal is sent to encryption pre-operation submodule after successful initialization;
The 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 a residence time corresponding with this encryption data is generated at random, son is monitored to encryption
Mould sends encryption monitoring signal;
The encryption is monitored submodule and is used for: after receiving encryption monitoring signal, monitoring intelligent terminal gyroscope, works as monitoring
Intelligent terminal is rotated to expecting position and after stopping operating to user, and judgement stops operating the time when whether reaching the stop
Between, if so, reading and recording current gyro data, generates submodule to encryption information and send encryption information and generate and believe
Number;Otherwise, encryption monitoring signal is sent, continues to monitor;
The encryption information generates submodule and is used for: after receiving encryption information generation signal, by current gyro data and in advance
If software code key carry out Hybrid Encryption, the character string of MD5 is generated, using the character string as an encryption information and the stop
Time preserves together,
The deciphering module includes decryption initialization submodule, decryption pre-operation submodule, decryption monitoring submodule, solution confidential information
It generates submodule reconciliation confidential information and examines submodule;
The decryption initialization submodule is used for: the gyroscope letter on intelligent terminal is initialized after user enters decryption interface
Breath, and decryption pre-operation signal is sent to decryption pre-operation submodule after successful initialization;
The decryption pre-operation submodule is used for: after receiving decryption pre-operation signal, the gyroscope information after initializing successfully
It is shown on intelligent terminal interface;And the residence time corresponding with this decryption oprerations is obtained, submodule, which is monitored, to decryption sends
Decrypt monitoring signal;
The decryption is monitored submodule and is used for: after receiving decryption monitoring signal, monitoring intelligent terminal gyroscope, works as monitoring
Intelligent terminal is rotated to expecting position and after stopping operating to user, and judgement stops operating the time when whether reaching corresponding stop
Between, if so, reading and recording current gyro data, submodule is generated to solution confidential information and sends solution confidential information generation letter
Number;Otherwise, decryption monitoring signal is sent, continues to monitor;
The solution confidential information generates submodule and is used for: after receiving solution confidential information generation signal, by current gyro data and in advance
If software code key carry out hybrid combining, generate a solution confidential information, and send decryption inspection to solution confidential information syndrome module
Signal;
The solution confidential information syndrome module is used for: receive decryption examine signal after, judge current solution confidential information whether with guarantor
The correspondence encryption information deposited is consistent, if so, terminating decryption;Otherwise, Xiang Xiemi pre-operation submodule sends decryption pre-operation signal,
Restart to decrypt.
6. the encrypting and deciphering system as claimed in claim 5 based on intelligent terminal gyroscope, it is characterised in that: the encryption is initial
Beggar's module shows keyboard input interface or figure input interface when gyroscope information initializing is unsuccessful, carries out for user
Character encryption or figure encryption operation;The decryption initialization submodule shows key when gyroscope information initializing is unsuccessful
Disk input interface or figure input interface carry out character decryption or figure decryption oprerations for user.
7. the encrypting and deciphering system as claimed in claim 5 based on intelligent terminal gyroscope, it is characterised in that: the encrypting module
It further include encryption gyro data verifying submodule, for judging whether encrypt the current gyro data for monitoring submodule record
Reach the requirement of encryption data, generates signal if so, generating submodule to encryption information and sending encryption information;Otherwise, Xiang Jiami
Pre-operation submodule sends encryption pre-operation signal, regenerates random residence time and gyro data;
The deciphering module further includes decryption gyro data verifying submodule, for judging that working as submodule record is monitored in decryption
Whether preceding gyro data reaches the requirement of ciphertext data, generates if so, generating submodule to solution confidential information and sending solution confidential information
Signal;Otherwise, Xiang Xiemi pre-operation submodule sends decryption pre-operation signal, reacquires corresponding residence time and gyroscope
Data.
8. the encrypting and deciphering system as claimed in claim 5 based on intelligent terminal gyroscope, it is characterised in that: the encrypting module
Further include encryption flow judging submodule, also need to generate other encryption information for judging whether, if so, to encryption pre-operation
Submodule sends encryption pre-operation signal, continues to generate another encryption information;If it is not, terminating encryption flow;
The deciphering module further includes decryption process judging submodule, also needs to continue decryption oprerations for judging whether, if
It is that Xiang Xiemi pre-operation submodule sends decryption pre-operation signal, continues decryption oprerations;If it is not, terminating decryption 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 CN106210240A (en) | 2016-12-07 |
CN106210240B true CN106210240B (en) | 2019-04-23 |
Family
ID=57496740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610605575.5A Active 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10412058B2 (en) * | 2017-04-18 | 2019-09-10 | GM Global Technology Operations LLC | Systems and methods for using mechanical vibration for out-of-band communications onboard a vehicle |
CN111555872B (en) * | 2020-04-30 | 2022-06-21 | 平安科技(深圳)有限公司 | Communication data processing method, device, 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 active Active
Patent 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 |
CN102739847A (en) * | 2011-04-14 | 2012-10-17 | 富泰华工业(深圳)有限公司 | Electronic equipment 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 |
Also Published As
Publication number | Publication date |
---|---|
CN106210240A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103279411B (en) | Enter the method and system of application program based on fingerprint recognition | |
CN101122942B (en) | Data safe reading method and its safe storage device | |
CN107508679B (en) | Binding and authentication method for intelligent terminal main control chip and encryption chip | |
TWI642288B (en) | Instant communication method and system | |
CN106656476A (en) | Password protecting method and device | |
US9755824B2 (en) | Power line based theft protection of electronic devices | |
CN101593550B (en) | High strength encrypting USB flash disk for police | |
CN107864124B (en) | Terminal information security protection method, terminal and Bluetooth lock | |
CN109951295B (en) | Key processing and using method, device, equipment and medium | |
CN105303651A (en) | Bluetooth based two-way communication automatic locking system and method | |
CN101488111A (en) | Identification authentication method and system | |
CN104123769B (en) | The unblanking of a kind of safety intelligent lock, close lock control method | |
CN103888429B (en) | Virtual machine starts method, relevant device and system | |
CN101650693A (en) | Security control method for mobile hard disk and security mobile hard disk | |
JP2008028940A (en) | Information processing system, information processor, mobile terminal, and access control method | |
CN102163267A (en) | Solid state disk as well as method and device for secure access control thereof | |
CN101770559A (en) | Data protecting device and data protecting method | |
CN101114319A (en) | Shear plate information protecting equipment and method thereof | |
CN104333452A (en) | Multi-account encryption method for file data | |
CN106210240B (en) | A kind of encryption and decryption method and system based on intelligent terminal gyroscope | |
US9985960B2 (en) | Method for protecting data on a mass storage device and a device for the same | |
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 | |
CN105426705A (en) | Encryption control system for accounting software | |
CN115455497A (en) | Computer hard disk data encryption system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |