CN104778398A - Encryption method and password authentication method - Google Patents

Encryption method and password authentication method Download PDF

Info

Publication number
CN104778398A
CN104778398A CN201510224889.6A CN201510224889A CN104778398A CN 104778398 A CN104778398 A CN 104778398A CN 201510224889 A CN201510224889 A CN 201510224889A CN 104778398 A CN104778398 A CN 104778398A
Authority
CN
China
Prior art keywords
password
input
status information
encryption method
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510224889.6A
Other languages
Chinese (zh)
Inventor
钟浩
张倍博
林川
潘志龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Forefinger Street Xiamen Network Technology Co Ltd
Original Assignee
Forefinger Street Xiamen Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Forefinger Street Xiamen Network Technology Co Ltd filed Critical Forefinger Street Xiamen Network Technology Co Ltd
Priority to CN201510224889.6A priority Critical patent/CN104778398A/en
Publication of CN104778398A publication Critical patent/CN104778398A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Abstract

The invention relates to the encryption field, in particular to an encryption method applied to an electronic device and a password authentication method. The encryption method particularly includes the steps that when a password is set and a user inputs a complete password, the representation of the current state information of the electronic device is displayed on an interface; after the password is input, the current state information of the electronic device in at least one stage of the password inputting process and the complete input password are recorded. The electronic device having the function of collecting the state information of the current device realizes more reliable encryption.

Description

Encryption method and method of password authentication
Technical field
The present invention relates to field of encryption, particularly relate to the encryption method on electronic equipment and method of password authentication.
Background technology
The system program of electronic equipment or application program or various internet account (comprising webpage, programmatic client etc.) are related to needs carry out maintaining secrecy, certain measure generally all can be adopted to be encrypted protection.Mostly the encryption measures knowledge of existing usual device (except carrying the high-end mobile device of fingerprint, face, pupil identification) is to rely on text password (numeral, character or the two shuffling) and/or graphical passwords (or claiming gesture password).In fact, this encryption measures is also unreliable, is very easily revealed and cracks, and there is certain potential safety hazard.It should be noted that, particularly the selection of part population custom allows equipment remember password, and to facilitate login, electronic equipment performs practically no function for the identification (password authentification) of importer's identity.As can be seen here, in prior art, password is too directly simple, does not have fascination, is easy to viewing and imitates and replicate run, in addition, text password or graphical passwords are easy to record, for ensureing that security needs often to change, but are not easy to memory, cause selecting the crowd remembeing password more, easily cause potential safety hazard.
In addition, based on existing electronic equipment, especially the upper majority of portable electronic device (comprising smart mobile phone, panel computer, wearable smart machine) has the function (combinations of one or more mainly through in gyro sensor, gravity sensor, linear acceleration sensor, rotating vector sensor, direction sensor etc.) of the status information (angle and towards) that can gather current device.
Summary of the invention
Based on above-mentioned, the present invention proposes a kind of this class of electronic devices of status information function with collection current device that makes and realizes more firm encryption and method of password authentication.
The present invention adopts following technical scheme to realize:
A kind of encryption method, specifically: during setting code, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record.
A kind of method of password authentication, carry out based on above-mentioned encryption method, specifically: during authentication password, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, then by the current information of this record with compare via the preset information set by above-mentioned encryption method, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.
Encryption method of the present invention and method of password authentication can make to have this class of electronic devices of status information function gathering current device and realize more firm cryptoguard.
Embodiment
The present invention proposes a kind of encryption method, specifically: during setting code, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record.
And, the present invention proposes a kind of method of password authentication, carry out based on above-mentioned encryption method, specifically: during authentication password, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, then by the current information of this record with compare via the preset information set by above-mentioned encryption method, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.
Based on above-mentioned, embodiments of the invention one:
The encryption method of this embodiment, the system encryption of smart mobile phone can be applied in: when setting code, input in the process of a complete password user, such as input long number (as 6 figure places) text password (can be numeral, or character, or the two shuffling), the interface of cell phone system shows the sign of the current status information of smart mobile phone (electronic equipment), status information refers to by gyro sensor integrated in smart mobile phone, gravity sensor, linear acceleration sensor, rotating vector sensor, the combination of one or more in direction sensor etc. gather and calculate obtain, for representing the state residing for mobile phone, include, without being limited to the elevation angle residing for mobile phone, side angle residing for mobile phone, mobile phone residing towards etc. state, acquisition about the current status information of the smart mobile phone (electronic equipment) that user is hand-held is the category of prior art, those skilled in the art can consult correlation technique data, repeat no more in this.
The characteristic manner of the status information that the interface of cell phone system shows can be diversified characteristic manner, such as: can in the top position of input password box, the information style of display " x=10; y=30; z=15 ", wherein " x=10 " represents that the elevation angle residing for mobile phone is 10 °, and " y=30 " represents that side angle residing for mobile phone is 30 °, and " z=15 " represents that mobile phone is residing towards being North by East 15 °; Again such as: can at upper suspension window of password box, it be 10 ° that the information style of display " face upward 10 degree, 30 degree, side, towards 15 degree " expresses the current residing elevation angle of mobile phone, and residing side angle is 30 °, residing towards being North by East 15 °.
In the whole process of the text password of a long number, using when often inputting an EOC as a stage in input cryptographic processes, then input the text password of 6 figure places to there being 6 stages.
After treating that user inputs password, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, record can be stored in the storage space of cell phone system, uses with pending password authentification.Such as, user is for input text password " 123abc ", when input the 3rd character " 3 " is terminated, mobile phone status information is at that time, " the residing elevation angle was 10 ° at that time, residing side angle is 30 °, the residing state towards being North by East 15 ° ", then mobile phone status information at that time when this complete text password " 123abc " and input the 3rd character " 3 " being terminated " elevation angle is at that time 10 °, residing side angle is 30 °, the residing state towards being North by East 15 ° " records together and stores.Of course, in order to ensure the complicacy of password, also the mobile phone in 6 corresponding for the text password of input 6 figure place stages status information at that time can be carried out record together with the text password of 6 figure places of correspondence as whole encrypted messages of typing and storing.
The method of password authentication of the correspondence of this embodiment, specifically: during authentication password, input in the process of a complete password (6 text password as above-mentioned in correspondence) user, input validation cryptographic interface shows the sign of the current status information of mobile phone (electronic equipment), and the sign about the current status information of mobile phone can with reference to interface display during above-mentioned encryption.After password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, such as corresponding above-mentioned, when input the 3rd character " 3 " being terminated, the text password of mobile phone status information at that time and input 6 figure places carries out record.
Then by the current information of this record with via the preset information set by above-mentioned encryption method, (preset information set by encryption method as escribed above is: text password is " 123abc ", and " the residing elevation angle was 10 ° at that time to input mobile phone status information at that time when the 3rd character " 3 " is terminated, residing side angle is 30 °, residing towards the state being North by East 15 ° ") compare, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.Coupling herein also includes commensurate in scope except comprising consistent coupling.Such as, when employing is unanimously mated, although the user of authentication password learns that the text password of preset input is " 123abc ", state when but its state when input the 3rd character " 3 " is terminated residing for mobile phone is not setting code, namely to input when the 3rd character " 3 " is terminated that the state of mobile phone is not the residing elevation angle be 10 °, residing side angle is 30 °, the residing state towards being North by East 15 °, then status information can not be mated with the status information in preset information, then password authentification is not passed through.Such as, when adopting commensurate in scope, namely the residing elevation angle inputting the state of mobile phone when the 3rd character " 3 " is terminated is 10 ° ± 1 °, residing side angle is 30 ° ± 1 °, the residing state towards being North by East 15 ° ± 1 °, then status information is all mated with the status information in preset information.
What remark additionally is, in the ciphering process of above-described embodiment, record can also be carried out together with the text password of 6 figure places of correspondence as whole encrypted messages of typing to the mobile phone in 6 stages corresponding to the text password of input 6 figure place status information at that time and store.But, because user is often difficult to the mobile phone status information at that time remembeing these 6 stages completely, status information when can be set in any 2 characters of input is mated, namely text password mates completely, but the status information in current information and the status information in preset information carry out semi-match.
Like this, the encryption method of this embodiment and method of password authentication are in terms of existing technologies, when high cost encrypting modules such as not additional configuration fingerprint, face, pupil identifications, also can realize encrypting more reliably by the function electronic installation generally carrying the status information gathering current device.
Embodiments of the invention two:
The encryption method of this embodiment, the application program local cipher of panel computer can be applied in: when setting code, input in the process of a complete password user, such as at tablet pattern password, interface shows the sign of the current status information of smart mobile phone panel computer (electronic equipment), the sign of status information can with above-described embodiment one, in the whole process of a drafting graphical passwords, using when being often plotted to a pattern point as a stage in input cryptographic processes.
After treating that user inputs the whole graphical passwords of drafting, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, record can be stored in the storage space of panel computer system, uses with pending password authentification.
The method of password authentication of the correspondence of this embodiment, specifically: during authentication password, input in the process of a complete password (graphical passwords as above-mentioned in correspondence) user, input validation cryptographic interface shows the sign of the current status information of panel computer, and the sign about the current status information of panel computer can with reference to interface display during above-mentioned encryption.After password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record.Then by the current information of this record with compare via the preset information set by above-mentioned encryption method, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.
Embodiments of the invention three:
The encryption method of this embodiment, the internet application (as Alipay) that can be applied in palm PC is encrypted account: when setting code, input in the process of a complete password user, such as at input long number text password, interface shows the sign of the current status information of palm PC (electronic equipment), the sign of status information can with above-described embodiment one, in the whole process of input text password, will often input an EOC as a stage in input cryptographic processes.
After treating that user inputs the text password of whole figure place, the status information at that time of palm PC during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, and after recorded status information and the complete password that inputs are carried out data packing, transfer to far-end server to store, use with pending password authentification.Data packing for transmitting also comprises other authorization informations, as the cryptographic means of other necessity such as timestamp, dynamic password, and through encrypted transmission after data packing, as adopted the rear transmission of md5 encryption.
The method of password authentication of the correspondence of this embodiment, specifically: user is when logon account carries out authentication password, input in the process of a complete password (text password as above-mentioned in correspondence) user, input validation cryptographic interface shows the sign of the current status information of palm PC, and the sign about the current status information of palm PC can with reference to interface display during above-mentioned encryption.After password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record.Then by the current information of this record with compare via the preset information set by above-mentioned encryption method, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.
Although specifically show in conjunction with preferred embodiment and describe the present invention; but those skilled in the art should be understood that; not departing from the spirit and scope of the present invention that appended claims limits; can make a variety of changes the present invention in the form and details, be protection scope of the present invention.

Claims (7)

1. an encryption method, it is characterized in that: during setting code, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record.
2. encryption method according to claim 1, is characterized in that: also comprise after recorded status information and the complete password that inputs are carried out data packing, transfer to far-end server.
3. encryption method according to claim 2, is characterized in that: data packing also comprises other authorization informations.
4. encryption method according to claim 2, is characterized in that: through encrypted transmission after data packing.
5. encryption method according to claim 1, is characterized in that: when the password of input is text password, then will often input an EOC as a stage in input cryptographic processes.
6. encryption method according to claim 1, is characterized in that: when the password of input is graphical passwords, then using when being often plotted to a pattern point as a stage in input cryptographic processes.
7. a method of password authentication, based on the arbitrary described encryption method of the claims 1-6, it is characterized in that: during authentication password, input in the process of a complete password user, interface shows the sign of the current status information of electronic equipment, after password to be entered, the status information at that time of electronic equipment during at least one stage in input cryptographic processes and the complete password that inputs are carried out record, then the current information of this record is compared with via the preset information set by the arbitrary described encryption method of the claims 1-6, if the complete password in the complete password in current information and preset information mates completely and status information in current information is mated or semi-match completely with the status information in preset information, then authentication password is passed through, otherwise authentication password is not passed through.
CN201510224889.6A 2015-05-06 2015-05-06 Encryption method and password authentication method Pending CN104778398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510224889.6A CN104778398A (en) 2015-05-06 2015-05-06 Encryption method and password authentication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510224889.6A CN104778398A (en) 2015-05-06 2015-05-06 Encryption method and password authentication method

Publications (1)

Publication Number Publication Date
CN104778398A true CN104778398A (en) 2015-07-15

Family

ID=53619855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510224889.6A Pending CN104778398A (en) 2015-05-06 2015-05-06 Encryption method and password authentication method

Country Status (1)

Country Link
CN (1) CN104778398A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN106341235A (en) * 2016-08-25 2017-01-18 深圳市启明星电子商务有限公司 Encryption method and authentication method based on magnetic resistance sensor, and mobile terminal and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036462A1 (en) * 2011-08-02 2013-02-07 Qualcomm Incorporated Method and apparatus for using a multi-factor password or a dynamic password for enhanced security on a device
CN103135792A (en) * 2013-03-12 2013-06-05 广东欧珀移动通信有限公司 Method and device for terminal unlocking with gravity sensing principle
CN103455752A (en) * 2013-09-10 2013-12-18 百度在线网络技术(北京)有限公司 Password setting method, password verification method, device and system using methods
CN103870152A (en) * 2013-12-12 2014-06-18 宋小民 Screensaver unlocking method for intelligent terminal
CN104156071A (en) * 2014-08-22 2014-11-19 小米科技有限责任公司 Method and device for setting screen password and unlocking screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036462A1 (en) * 2011-08-02 2013-02-07 Qualcomm Incorporated Method and apparatus for using a multi-factor password or a dynamic password for enhanced security on a device
CN103135792A (en) * 2013-03-12 2013-06-05 广东欧珀移动通信有限公司 Method and device for terminal unlocking with gravity sensing principle
CN103455752A (en) * 2013-09-10 2013-12-18 百度在线网络技术(北京)有限公司 Password setting method, password verification method, device and system using methods
CN103870152A (en) * 2013-12-12 2014-06-18 宋小民 Screensaver unlocking method for intelligent terminal
CN104156071A (en) * 2014-08-22 2014-11-19 小米科技有限责任公司 Method and device for setting screen password and unlocking screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN106341235A (en) * 2016-08-25 2017-01-18 深圳市启明星电子商务有限公司 Encryption method and authentication method based on magnetic resistance sensor, and mobile terminal and server

Similar Documents

Publication Publication Date Title
CN103279411B (en) Enter the method and system of application program based on fingerprint recognition
US8140855B2 (en) Security-enhanced log in
EP3118771B1 (en) Confidential data management method and device, and security authentication method and system
CN111585964B (en) Login information input method, login information storage method and related device
US20170329944A1 (en) Two-way authentication in single password with agent
US10523652B2 (en) Secure identity sharing using a wearable device
US20130314208A1 (en) Systems And Methods For Storing And Accessing Confidential Data
US9165128B1 (en) System and method of securing content from public display on a mobile communication device
CN107736001A (en) The dynamic group member identity of equipment
CN108140082A (en) Use the multifactor user authentication frame of unsymmetrical key
US11042624B2 (en) Wireless injection of passwords
US20150281214A1 (en) Information processing apparatus, information processing method, and recording medium
US20160253510A1 (en) Method for security authentication and apparatus therefor
US10474804B2 (en) Login mechanism for operating system
CN103279714A (en) Mobile terminal as well as data encryption and decryption method
CN105243331A (en) Encryption device and encryption method, and decryption device and decryption method
CN103532960A (en) Text encryption interaction method, encryption method and device, decryption method and device
KR101052294B1 (en) Apparatus and method for contents security
CN204069000U (en) Mobile encrypted authenticate device
US20130151859A1 (en) Key and method for entering computer related passwords via a mnemonic combination
CN104778398A (en) Encryption method and password authentication method
CN105678131A (en) Information processing method, information device, mobile terminal and server
CN106326703A (en) An encryption method, a decryption method and an electronic apparatus
CN113672886A (en) Prompting method and device
WO2017010170A1 (en) Information communicating medium, information communicating method, and information communicating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150715

WD01 Invention patent application deemed withdrawn after publication