CN109150903A - A kind of account management method, device, storage medium and terminal device - Google Patents

A kind of account management method, device, storage medium and terminal device Download PDF

Info

Publication number
CN109150903A
CN109150903A CN201811114884.8A CN201811114884A CN109150903A CN 109150903 A CN109150903 A CN 109150903A CN 201811114884 A CN201811114884 A CN 201811114884A CN 109150903 A CN109150903 A CN 109150903A
Authority
CN
China
Prior art keywords
account
character string
mixed
mixing rule
account 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
CN201811114884.8A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811114884.8A priority Critical patent/CN109150903A/en
Publication of CN109150903A publication Critical patent/CN109150903A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0478Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Abstract

The invention discloses a kind of account management methods, comprising: obtains the account information of user;Mixed processing is carried out to the account information according to default mixing rule, obtains mixed character string;It is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and the encrypted cipher text is stored in local server.In the embodiment of the present invention, when user forgets account, corresponding account can be known by the encrypted cipher text in decryption local server, to facilitate user that can quickly give account information for change when forgetting account, to solve the problems, such as that user often forgets about account, in addition, mixed processing is carried out to account by default mixing rule, so that even if other people have cracked encrypted cipher text, the correct account of user can not be known by having known the mixed plaintext of account also, to guarantee the safety of usersaccount information.The present invention also provides a kind of account management device, storage medium and terminal devices.

Description

A kind of account management method, device, storage medium and terminal device
Technical field
The present invention relates to accounts security management technical field more particularly to a kind of accounts management method, device, storage mediums And terminal device.
Background technique
With the high speed development of internet, the account of all kinds of software applications, the forum that user is possessed etc. is more and more, leads Family of applying needs the account remembered, password also more and more, and the memory of numerous accounts, password is absolutely pole for a user Big challenge, the confusion for easily causing user to remember, so that the case where user forgets account, password is frequent occurrence.Work as user Forget account perhaps password when then need it to go to give password in each software application or forum for change by various modes, greatly Ground wastes user time.And for those software applications or forum without password retrieval function, when user forget account or When person's password, user will be unable to reuse the software application or forum, greatly affected the usage experience of user.
To solve the problems, such as that user easily forgets account number or password, the prior art can be stored by Password Management application and Account and password are managed, so that can know password, but the password pipe by the Password Management application when user forgets Password Ought to be with being that account number and decodement are stored in correspondence database, then the database is encrypted is ensured with this The safety of account number, password, so that the interior account saved and password can directly be known when the database is cracked, Significantly reduce account, the safety that password saves.
To sum up, the safety that account management how is improved on the basis of solving user and forgetting account number, cryptographic problem becomes Those skilled in the art's urgent problem to be solved.
Summary of the invention
The embodiment of the invention provides a kind of accounts management method, device, storage medium and terminal devices, are able to solve use Family often forgets about the problem of account number, password, and can be improved the safety of usersaccount information management.
The embodiment of the present invention in a first aspect, providing a kind of account management method, comprising:
Obtain the account information of user;
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed character string;
It is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and the encryption is close Text is stored in local server;
When receiving the user and giving the request of the account information for change, obtain the encrypted cipher text and with it is described pre- If the corresponding decruption key of encryption key;
Character string using encrypted cipher text described in the decryption key decryption, after being decrypted;
The default hybrid regulatory that mixed processing is carried out to the account is determined according to the character string after the decryption Then;
The account information is extracted from the character string after the decryption according to the default mixing rule.
The second aspect of the embodiment of the present invention provides a kind of account management device, comprising:
Data obtaining module, for obtaining the account information of user;
Mixed processing module, for being mixed according to mixing rule is preset to account information progress mixed processing Character string afterwards;
Encrypting storing module obtains encrypting close for being encrypted using character string described in predetermined encryption key pair Text, and the encrypted cipher text is stored in local server;
Ciphertext obtains module, for when receiving the user and giving the request of the account information for change, obtain it is described plus Ciphertext and decruption key corresponding with the predetermined encryption key;
Ciphertext deciphering module, for utilizing encrypted cipher text described in the decryption key decryption, the character string after being decrypted;
Regular determining module carries out mixed processing to the account for determining according to the character string after the decryption The default mixing rule;
Account extraction module, it is described for being extracted from the character string after the decryption according to the default mixing rule Account information.
The third aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit Storage media is stored with computer-readable instruction, and such as aforementioned first aspect is realized when the computer-readable instruction is executed by processor The step of account management method.
The fourth aspect of the embodiment of the present invention, provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer-readable instruction that can run on the processor, the processor executes the computer can Following steps are realized when reading instruction:
Obtain the account information of user;
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed character string;
It is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and the encryption is close Text is stored in local server;
When receiving the user and giving the request of the account information for change, obtain the encrypted cipher text and with it is described pre- If the corresponding decruption key of encryption key;
Character string using encrypted cipher text described in the decryption key decryption, after being decrypted;
The default hybrid regulatory that mixed processing is carried out to the account is determined according to the character string after the decryption Then;
The account information is extracted from the character string after the decryption according to the default mixing rule.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
It, can be first according to default mixing rule to account after the account information for obtaining user in the embodiment of the present invention Information carry out mixed processing, obtain mixed character string, then can be used the mixed character string of predetermined encryption key pair into Row encryption obtains encrypted cipher text, and encrypted cipher text is stored in local server, when user forgets account, Corresponding account can be known by the encrypted cipher text in decryption local server, to facilitate user forgetting account When can quickly be given for change, to solve the problems, such as that user often forgets about account, in addition, by default mixing rule come pair Account carries out mixed processing, even if having known the mixed plaintext of account so that other people have cracked encrypted cipher text The correct account of user can not be known, to guarantee the safety of usersaccount information.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart of account management method in the embodiment of the present invention;
Fig. 2 is the stream that accounts management method obtains mixed character string under an application scenarios in the embodiment of the present invention Journey schematic diagram;
Fig. 3 is a kind of one embodiment structure chart of account management device in the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of accounts management method, device, storage medium and terminal devices, use for solving Family often forgets about the problem of account number, password, and can be improved the safety of usersaccount information management.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, the embodiment of the invention provides a kind of account management method, the account management method, comprising:
Step S101, the account information of user is obtained;
It is understood that when user needs to carry out the management of account, such as need to carry out account, password preservation when, use Family can input corresponding account information in account management device, and account management device can obtain the account letter that user need to manage Breath.
Step S102, according to mixing rule is preset to account information progress mixed processing, mixed character is obtained String;
It should be noted that the default mixing rule can be the customized hybrid regulatory of user in the embodiment of the present invention Then, i.e. for user when inputting account information, user also can customize the mixing rule that input mixes the account information, as user exists When inputting the first account information, it can customize input and " be mixed into a random words in the first place of account name and corresponding password respectively The mixing rule of symbol " or user also can customize input and " are spaced and insert in account name when inputting the second account information Enter the character of password " mixing rule etc., Account Administration device is in the account information that gets user's input and corresponding mixed After normally, mixed processing can be carried out to the account information that user inputs according to the corresponding mixing rule, to be mixed Character string after conjunction;Here, in the embodiment of the present invention, the default mixing rule can certainly be user from pre-set Selected mixing rule in a variety of mixing rules, i.e., preset that there are many mixing rules in account management device, in user When inputting account information, user can therefrom choose it and want the mixing rule for mixing the account information, and account management device is then The account information that can be inputted according to the mixing rule selected by user to user carries out mixed processing, to obtain mixed word Symbol string.
Here it is to be understood that when user is when inputting account information, if customized mixing rule is not inputted, and Also if not choosing corresponding mixing rule from account management device, account management device then directly can choose plan according to default Slightly come the mixing rule for selecting to mix the account information, mixing rule such as is randomly selected from pre-set a variety of mixing rules Mix the account information, such as random selection " being mixed into a random character in the first place of account name and corresponding password respectively " Mixing rule carrys out the account information of hybrid subscriber input for the first time;Or according to the important level of the account information from presetting A variety of mixing rules in weight selection mixing rule corresponding with the important level of the account information come mix account letter Breath is that each mixing rule is provided with corresponding weight that is, when mixing rule be arranged, and weight and account information is important Grade is corresponding, that is to say, that the important level of account information corresponding to the higher mixing rule of weight is bigger, and weight is got over The important level of account information corresponding to low mixing rule is then smaller, thus, after user inputs account information, account pipe Reason device can first determine that the important level of the account information, can then be determined according to the corresponding relationship of the important level and weight The mixing rule of the account information is mixed, mixed processing is carried out to the account information with this.
It is understood that the account information includes account name and corresponding password in the embodiment of the present invention;
The basis presets mixing rule and carries out mixed processing to the account information, obtains mixed character string, can To include: that the account number name is carried out mixed processing with corresponding password according to the default mixing rule, obtain mixed Character string.
It should be noted that in the embodiment of the present invention, the default mixing rule, including the customized mixing rule of user With mixing rule pre-set in account management device, it may each be and directly mix account name and corresponding password Mixing rule obtains account name with this and character string that corresponding password mixes.Such as in a certain concrete application scene, Getting the customized mixing rule of user is " character of interval insertion password in account name ", meanwhile, also get user The entitled 123456ab of account of first account information of input, corresponding password are abcdef, the second account letter of user's input The entitled abcnd1 of the account of breath, corresponding password are 456234, the entitled 1a2b4d of account of the third account information of user's input, Corresponding password is 112233, thus, account management device then can be according to " character of interval insertion password in account name " Mixing rule respectively carries out at mixing the first account information, the second account information and the third account information of user's input Reason, so that mixed first character string corresponding to available first account information is 1a2b3c4d5e6fab, the second account Mixed second character string corresponding to information is a4b5c6n2d314, mixed third corresponding to third account information Character string is 11a122b243d3.
It is understood that in the mixing rule for directly mixing account name and corresponding password, when account name and correspondence Password length it is inconsistent when, then character remaining in account name or password can be directly sequentially placed into obtained character Behind string, such as when account name length is 123456ab, 8 characters, and the length for corresponding to password is abcdef, when 6 characters, Then it is inserted into 123456 by the interval character a, b, c, d, e, f, it, can will be in account name after obtaining character string 1a2b3c4d5e6f The character a and b having more are sequentially placed into behind character string 1a2b3c4d5e6f, to obtain mixed character string 1a2b3c4d5e6fab。
Further, in the embodiment of the present invention, when the account information includes account name and corresponding password, described According to default mixing rule to the account information carry out mixed processing, obtain mixed character string, can also include: step a, Mixed processing is carried out to the account number name and corresponding password respectively according to the default mixing rule, to obtain mixed account Number name and mixed password;Step b, using after default combination combined hybrid account number name and mixed password, obtain To mixed character string.
For above-mentioned steps a and step b, it is to be understood that in the embodiment of the present invention, the default mixing rule, packet Pre-set mixing rule in the customized mixing rule of user and account management device is included, can also be respectively to account name With corresponding password carry out mixed processing mixing rule, such as " respectively the first place of user name and corresponding password be mixed into one with The mixing rule of machine character ", such as it is mixed into character f in the first place of the first account name 123456ab, in corresponding first password The first place of abcdef is mixed into character b, the entitled f123456ab of the first account that is mixed with this and mixed first close Code is babcdef;Or the mixing rule of " being mixed into a random character in the last bit of user name and corresponding password respectively ", such as It is mixed into character c in the last bit of the second account name abcnd1, character e is mixed into the last bit of corresponding second password 456234, with this It obtains the entitled abcnd1c of mixed second account and mixed second password is 456234e;Or " respectively with The 4th of name in an account book and corresponding password is respectively mixed into the mixing rule of a character a ", such as the 4th of third account name 1a2b4d Position is mixed into character a, and the 4th in corresponding third password 112233 is equally mixed into character a, to obtain mixed account number name It is 112a233 for 1a2ab4d and mixed password.
For the safety for further increasing mixed account name and corresponding password, to reduce account name and correspondence The risk that is cracked of password, in the embodiment of the present invention, account name and corresponding password are being carried out respectively using mixing rule Mixed processing after obtaining mixed account name and mixed password, also can be used default combination and carry out combined hybrid Account number name and mixed password afterwards reduces other people to further increase the mixing complexity of account name and corresponding password A possibility that obtaining correct account name and corresponding password.It is understood that after the default combination can be mixing Account name in preceding, the mixed posterior combination of password;It can also be mixed password in preceding, mixed account Posterior combination of name, etc..
Such as in another concrete application scene, when the first account of the first account information for getting user's input is entitled 123456ab, corresponding first password are abcdef, and the entitled abcnd1 of the second account of the second account information, corresponding second is close Code is 456234, the entitled 1a2b4d of third account of third account information, and corresponding third password is 112233, and is also acquired When the mixing rule that user selects is " being mixed into a random character in the first place of account name and corresponding password respectively ", account management Device then can be first according to the mixing rule of " being mixed into a random character in the first place of account name and corresponding password respectively ", respectively After carrying out mixed processing to the first account information, the second account information, third account information of user's input, to can be mixed The entitled s123456ab of the first account and mixed first password after conjunction are 3abcdef;Mixed second account name It is 7456234 for rabcnd1 and mixed second password;The mixed entitled m1a2b4d of third account number, and mixing Third password afterwards is q112233, and after obtaining these mixed account names and mixed password, account management device It can also be further according to combination be preset, such as according to mixed password in preceding, the mixed posterior combination side of account name Formula is combined mixed account name and mixed password, from the final character string mixed, is such as mixed The first final character string be 3abcdefs123456ab, mixed second final character string be 7456234rabcnd1, with And obtaining the final character string of mixed third is q112233m1a2b4d, to further increase answering for mixed character string Polygamy improves the safety of account name and corresponding password, further decreases account name and corresponding password is cracked Risk.
It is understood that account management device is mixed to account name and corresponding password in the embodiment of the present invention Before conjunction, the original length for preserving each account name and corresponding password can be also recorded respectively, such as preserve the first account name Length is 7 characters, and the length of corresponding first password is 6 characters, and the length of the second account name is 6 characters, corresponding The length of second password is 6 characters, and the length of third account name is 6 characters, and the length of corresponding third password is 6 words Symbol etc., so that subsequent can be according to the original length and corresponding default mixing rule of account name and corresponding password Accurately extract correct account name and corresponding password.
Preferably, as shown in Fig. 2, in the embodiment of the present invention, step S102, the described basis presets mixing rule to the account Number information carries out mixed processing, obtains mixed character string, may include:
Step S201, according to mixing rule is preset to account information progress mixed processing, mixed first is obtained Character string;
Step S202, mark corresponding to the default mixing rule is obtained;
Step S203, insertion position is chosen in first character string, and the mark is inserted into the insertion position In, obtain mixed second character string.
For above-mentioned steps S201 to step S203, it is to be understood that be so that subsequent can be from mixed character string In accurately extract correct account information, in the embodiment of the present invention, when setting each mixing rule, that is, be set with it is each mixed It is corresponding such as to set " being mixed into a random character in the first place of user name and corresponding password respectively " for normally corresponding mark Be identified as 1, be identified as 2 corresponding to setting " being mixed into a random character in the last bit of user name and corresponding password respectively ", 3 are identified as corresponding to setting " character of interval insertion password in account name ", setting " is spaced insertion account name in password Character " corresponding to be identified as 4, etc., thus, can be same when the default mixing rule for mixing the account information has been determined When know mark corresponding to the default mixing rule, such as when determining that the default mixing rule for mixing the account information is " respectively A random character is mixed into the last bit of user name and corresponding password " when, then it would know that mark corresponding to the default mixing rule Know is 2.It should be noted that after knowing mark corresponding to default mixing rule, can mixed in the embodiment of the present invention An insertion position is chosen in character string afterwards, and the mark is inserted into the insertion position, to obtain mixed final word Symbol string, such as after using default mixing rule mixed processing in the 5th position of obtained character string 3abcdefs123456ab It is inserted into mark 1 corresponding to the default mixing rule, so that mixed final character string 3abc1defs123456ab is obtained, So that default mixing rule used by being determined according to the mark of the insertion position when subsequent extracted account information, Jin Ercong Correct account information is accurately extracted in the final character string of mixing.
Step S103, it is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and by institute It states encrypted cipher text and is stored in local server.
It should be noted that in the embodiment of the present invention, for the peace for further ensuring that account name and the preservation of corresponding password Quan Xing is carrying out mixed processing to account information by default mixing rule, after obtaining mixed character string, also can be used pre- If the mixed character string is encrypted in encryption key, to obtain encrypted cipher text, and obtained encryption is close Text is stored in local server, so that encrypted cipher text is avoided to be transmitted in network, to reduce the risk that encrypted cipher text is trapped, The safety that encrypted cipher text saves is improved, so as to improve the safety that account information saves, meanwhile, it is stored in local server Encrypted cipher text, can also facilitate user management or transfer, greatly facilitate the use of user.
It should be noted that advanced encryption algorithm AES (Advanced Encryption can be used in the embodiment of the present invention Standard) mixed character string is encrypted, to improve the security reliability of encrypted cipher text, is further decreased Encrypted cipher text is cracked risk.It certainly, can also be according to the encryption key of user's self-setting come to mixed in the embodiment of the present invention Character string after conjunction is encrypted, i.e. account management device, need to be to mixed character after mixed processing process Before string is encrypted, prompting message can be exported to user, to remind user to input corresponding encryption key, and received It, can be according to the encryption key that user is inputted come to the mixing after the encryption key inputted to user according to the prompting message Character string afterwards is encrypted, to obtain encrypted cipher text.Here, user can input simultaneously when inputting account information Perhaps select the default mixing rule for carrying out mixed processing to account information that can also input or select simultaneously to mixed word The encryption key that is encrypted of symbol string so that account management device according to this preset mixing rule to account information into After row mixed processing, directly mixed character string can be encrypted according to the encryption key, improve account information pipe Manage efficiency.
Further, described that the encrypted cipher text is stored in local server in the embodiment of the present invention, may include: Step c, the platform identification of application platform corresponding to the account is obtained;Step d, the encrypted cipher text is put down with described Station identification association is stored in local server.
For above-mentioned steps c and step d, it is to be understood that in the embodiment of the present invention, acquired account information may be used also To include the platform identification of application platform corresponding to the account information, wherein platform identification can be platform names, Huo Zhewei The abbreviation of platform names, or be keyword corresponding to platform names etc., thus, encrypted cipher text is being stored in local clothes When business device, encrypted cipher text can be stored in local server with the association of the platform identification of corresponding application platform, such as when first The platform identification of application platform corresponding to account information is QQ, the platform identification of application platform corresponding to the second account information It, then can be by the first account information when the platform identification of application platform corresponding to third account information is Netease's mailbox for wechat The first corresponding encrypted cipher text is associated with QQ to be stored in local server, by the second encryption corresponding to the second account information Ciphertext is associated with wechat and is stored in local server, by third encrypted cipher text corresponding to third account information and Netease's mailbox Association is stored in local server, so that user be facilitated to know application platform associated by each encrypted cipher text.
Step S104, when receiving the user and giving the request of the account information for change, obtain the encrypted cipher text with And decruption key corresponding with the predetermined encryption key;
Step S105, the character string using encrypted cipher text described in the decryption key decryption, after being decrypted;
Step S106, it is determined according to the character string after the decryption and the described pre- of mixed processing is carried out to the account If mixing rule;
Step S107, the account is extracted from the character string after the decryption according to the default mixing rule to believe Breath.
For above-mentioned steps S104, it is to be understood that in the embodiment of the present invention, will add corresponding to each account information After ciphertext is stored in local server, when user forgets that a certain account information and having sent gives the request of the account information for change When, can be obtained first from this document server with account information corresponding to encrypted cipher text, then can be close according to the encryption Text is determined to encrypt the predetermined encryption key of the encrypted cipher text, and then can obtain and be somebody's turn to do from pre-stored decruption key set Decruption key corresponding to predetermined encryption key.
It should be noted that user, when forgetting a certain account information, can voluntarily obtain from the local server should Encrypted cipher text corresponding to account information, and the encrypted cipher text can be input in account management device, account management device is then The predetermined encryption key of the encrypted cipher text can be determined to encrypt according to the encrypted cipher text, and then can be from pre-stored decruption key It is obtained in set and decruption key corresponding to the predetermined encryption key.Here, because in the embodiment of the present invention, it can be according to user certainly The encryption key of row setting is encrypted mixed character string, thus, when user need to decrypt encrypted cipher text with When obtaining corresponding account information, when inputting encrypted cipher text to account management device, it can also input simultaneously close with the encryption Decruption key corresponding to key.
For above-mentioned steps S105, in the embodiment of the present invention, when account management device gets encrypted cipher text and correspondence Decruption key after, account management device can decrypt the encrypted cipher text according to the decruption key, thus after being decrypted Character string.
For above-mentioned steps S106 and step S107, it should be noted that the character string after decryption can be above-mentioned specific Insertion position in the final character string inserted with mark corresponding to default mixing rule.In the embodiment of the present invention, account pipe Reason device is inserted into mark corresponding to default mixing rule in the specific insertion position, after obtaining final character string, also The final character string can be associated with preservation with the insertion position, thus, when character string after account management device is decrypted, When obtaining a certain final character string, it can be found according to the incidence relation of the final character string and insertion position to the account Information carries out mark corresponding to the mixing rule of mixed processing, mixes so that it is determined that going out and carrying out mixed processing to the account information Normally, and then the account information can be accurately extracted from the character string after the decryption according to the mixing rule.
It is understood that account management device is mixed to account name and corresponding password in the embodiment of the present invention Before conjunction, the length for preserving each account name and corresponding password is also recorded respectively.In a certain concrete application scene, such as root It determines to carry out mixed processing to the account information according to the mark 3 of the 7th position in the character string 1a2b3c34d5e6fab after decryption Mixing rule be " character of interval insertion password in account name ", and by searching for the account name for knowing the account information Original length is 8 characters, when the original length of password is 6 characters, account management device then can according to the mixing rule from The account entitled 123456ab in the account information is extracted in character string 1a2b3c34d5e6fab after the decryption, it is corresponding Password is abcdef.
Further, in the embodiment of the present invention, after carrying out mixed processing to account information using default mixing rule, It additionally uses default combination and comes the account name after combined hybrid and mixed password, with the final character string mixed When, default combination corresponding to the final character string can then be associated with default mixing rule and deposit by account management device Storage, thus, after determining default mixing rule corresponding to the final character string, according to default combination and it can preset The incidence relation of mixing rule determines default combination corresponding to the final character string, so as to according to the default mixing Rule and the default combination correctly extract the account name of the account information and corresponding close from the character string after decryption Code.
It, can be first according to default mixing rule to account after the account information for obtaining user in the embodiment of the present invention Information carries out mixed processing, obtains mixed character string, predetermined encryption key pair character string then can be used and carry out at encryption Reason, obtains encrypted cipher text, and encrypted cipher text is stored in local server, when user forgets account, can pass through decryption Encrypted cipher text in local server knows corresponding account, to facilitate user that can carry out when forgetting account fastly Speed is given for change, to solve the problems, such as that user often forgets about account, in addition, by default mixing rule come to account into Row mixed processing, even if having known that the mixed plaintext of account can not also know use so that other people have cracked encrypted cipher text The correct account in family, to guarantee the safety of usersaccount information.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
A kind of account management method is essentially described above, a kind of account management device will be described in detail below.
As shown in figure 3, the embodiment of the invention provides a kind of account management device, the account management device, comprising:
Data obtaining module 301, for obtaining the account information of user;
Mixed processing module 302, for being mixed according to mixing rule is preset to account information progress mixed processing Character string after conjunction;
Encrypting storing module 303 is encrypted for being encrypted using character string described in predetermined encryption key pair Ciphertext, and the encrypted cipher text is stored in local server;
Ciphertext obtains module 304, for when receiving the user and giving the request of the account information for change, described in acquisition Encrypted cipher text and decruption key corresponding with the predetermined encryption key;
Ciphertext deciphering module 305, for utilizing encrypted cipher text described in the decryption key decryption, the character after being decrypted String;
Regular determining module 306, for being mixed according to the character string determination after the decryption to the account The default mixing rule of processing;
Account extraction module 307, for being extracted from the character string after the decryption according to the default mixing rule The account information.
Further, the mixed processing module 302, comprising:
First mixed processing unit, for obtaining according to mixing rule is preset to account information progress mixed processing Mixed first character string;
Mark acquiring unit, for obtaining mark corresponding to the default mixing rule;
Mark insertion unit, for choosing insertion position in first character string, and will be described in mark insertion In insertion position, mixed second character string is obtained.
Further, the account information includes account name and corresponding password;
The mixed processing module 302, be also used to according to the default mixing rule by the account number name with it is corresponding close Code carries out mixed processing, obtains mixed character string.
Preferably, the account information includes account name and corresponding password;
The mixed processing module 302, further includes:
Second mixed processing unit is used for according to the default mixing rule respectively to the account number name and corresponding password Mixed processing is carried out, to obtain mixed account number name and mixed password;
Assembled unit is mixed for using account number name and mixed password after presetting combination combined hybrid Character string after conjunction.
Optionally, the encrypting storing module 303, comprising:
Platform identification acquiring unit, for obtaining the platform identification of application platform corresponding to the account;
Encrypting storing unit is stored in local server for the encrypted cipher text to be associated with the platform identification.
Fig. 4 is a kind of schematic diagram for terminal device that one embodiment of the invention provides.As shown in figure 4, the end of the embodiment End equipment 4 includes: processor 40, memory 41 and is stored in the memory 41 and can run on the processor 40 Computer-readable instruction 42, such as account management program.The processor 40 executes real when the computer-readable instruction 42 Step in existing above-mentioned each account management method embodiment, such as step S101 shown in FIG. 1 to step S107.Alternatively, institute The function that each module/unit in above-mentioned each Installation practice is realized when processor 40 executes the computer-readable instruction 42 is stated, Such as module 301 shown in Fig. 3 is to the function of module 307.
Illustratively, the computer-readable instruction 42 can be divided into one or more module/units, one Or multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Institute Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment For describing implementation procedure of the computer-readable instruction 42 in the terminal device 4.
The terminal device 4 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 The only example of terminal device 4 does not constitute the restriction to terminal device 4, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk or interior of terminal device 4 It deposits.The memory 41 is also possible to the External memory equipment of the terminal device 4, such as be equipped on the terminal device 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4 Member also includes External memory equipment.The memory 41 is for storing the computer-readable instruction and terminal device institute Other programs and data needed.The memory 41 can be also used for temporarily storing the number that has exported or will export According to.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of account management method characterized by comprising
Obtain the account information of user;
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed character string;
It is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and the encrypted cipher text is protected It is resident locally server;
When receiving the user and giving the request of the account information for change, obtain the encrypted cipher text and with it is described default plus The corresponding decruption key of key;
Character string using encrypted cipher text described in the decryption key decryption, after being decrypted;
The default mixing rule that mixed processing is carried out to the account is determined according to the character string after the decryption;
The account information is extracted from the character string after the decryption according to the default mixing rule.
2. account management method according to claim 1, which is characterized in that the basis presets mixing rule to the account Number information carries out mixed processing, obtains mixed character string, comprising:
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed first character string;
Obtain mark corresponding to the default mixing rule;
Insertion position is chosen in first character string, and the mark is inserted into the insertion position, after obtaining mixing The second character string.
3. account management method according to claim 1, which is characterized in that the account information includes account name and correspondence Password;
The basis presets mixing rule and carries out mixed processing to the account information, obtains mixed character string, comprising:
The account number name is subjected to mixed processing with corresponding password according to the default mixing rule, obtains mixed character String.
4. account management method according to claim 1, which is characterized in that the account information includes account name and correspondence Password;
The basis presets mixing rule and carries out mixed processing to the account information, obtains mixed character string, comprising:
Mixed processing is carried out to the account number name and corresponding password respectively according to the default mixing rule, after obtaining mixing Account number name and mixed password;
Using after default combination combined hybrid account number name and mixed password, obtain mixed character string.
5. accounts management method according to any one of claim 1 to 4, which is characterized in that described that the encryption is close Text is stored in local server, comprising:
Obtain the platform identification of application platform corresponding to the account;
The encrypted cipher text is associated with the platform identification and is stored in local server.
6. a kind of account management device characterized by comprising
Data obtaining module, for obtaining the account information of user;
Mixed processing module, for obtaining mixed according to mixing rule is preset to account information progress mixed processing Character string;
Encrypting storing module is encrypted for character string described in use predetermined encryption key pair, obtains encrypted cipher text, and The encrypted cipher text is stored in local server;
Ciphertext obtains module, close for when receiving the user and giving the request of the account information for change, obtaining the encryption Text and decruption key corresponding with the predetermined encryption key;
Ciphertext deciphering module, for utilizing encrypted cipher text described in the decryption key decryption, the character string after being decrypted;
Regular determining module, for determining the institute for carrying out mixed processing to the account according to the character string after the decryption State default mixing rule;
Account extraction module, for extracting the account from the character string after the decryption according to the default mixing rule Information.
7. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special Sign is, the account management as described in any one of claims 1 to 5 is realized when the computer-readable instruction is executed by processor The step of method.
8. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer-readable instruction of operation, which is characterized in that the processor realizes following step when executing the computer-readable instruction It is rapid:
Obtain the account information of user;
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed character string;
It is encrypted using character string described in predetermined encryption key pair, obtains encrypted cipher text, and the encrypted cipher text is protected It is resident locally server;
When receiving the user and giving the request of the account information for change, obtain the encrypted cipher text and with it is described default plus The corresponding decruption key of key;
Character string using encrypted cipher text described in the decryption key decryption, after being decrypted;
The default mixing rule that mixed processing is carried out to the account is determined according to the character string after the decryption;
The account information is extracted from the character string after the decryption according to the default mixing rule.
9. terminal device according to claim 8, which is characterized in that the basis is preset mixing rule and believed the account Breath carries out mixed processing, obtains mixed character string, comprising:
Mixed processing is carried out to the account information according to default mixing rule, obtains mixed first character string;
Obtain mark corresponding to the default mixing rule;
Insertion position is chosen in first character string, and the mark is inserted into the insertion position, after obtaining mixing The second character string.
10. terminal device according to claim 8, which is characterized in that the account information includes account name and corresponding Password;
The basis presets mixing rule and carries out mixed processing to the account information, obtains mixed character string, comprising:
The account number name is subjected to mixed processing with corresponding password according to the default mixing rule, obtains mixed character String.
CN201811114884.8A 2018-09-25 2018-09-25 A kind of account management method, device, storage medium and terminal device Pending CN109150903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811114884.8A CN109150903A (en) 2018-09-25 2018-09-25 A kind of account management method, device, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811114884.8A CN109150903A (en) 2018-09-25 2018-09-25 A kind of account management method, device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN109150903A true CN109150903A (en) 2019-01-04

Family

ID=64823475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811114884.8A Pending CN109150903A (en) 2018-09-25 2018-09-25 A kind of account management method, device, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN109150903A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147658A (en) * 2019-04-16 2019-08-20 平安科技(深圳)有限公司 User information encipher-decipher method, system and computer equipment
CN110310392A (en) * 2019-05-22 2019-10-08 平安科技(深圳)有限公司 Unlocking method of vehicle, device, computer equipment and storage medium
CN110493207A (en) * 2019-08-06 2019-11-22 北京达佳互联信息技术有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN110601823A (en) * 2019-08-22 2019-12-20 上海达龙信息科技有限公司 Account security management method and system, storage medium and client
CN112422494A (en) * 2020-08-06 2021-02-26 上海幻电信息科技有限公司 Data transmission method, data security verification method and data transmission system
CN112784234A (en) * 2021-01-29 2021-05-11 北京译泰教育科技有限公司 Supplier management method
CN112883397A (en) * 2021-03-01 2021-06-01 广州虎牙科技有限公司 Data storage method, data reading method, device, equipment and storage medium
CN113079002A (en) * 2021-03-26 2021-07-06 北京深思数盾科技股份有限公司 Data encryption method, data decryption method, key management method, medium, and device
CN113784347A (en) * 2021-08-13 2021-12-10 瑞芯微电子股份有限公司 Method and system for one-key network distribution of intelligent equipment
CN115080987A (en) * 2021-03-11 2022-09-20 中国移动通信集团山东有限公司 Password management method, device, system, storage medium and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176917A (en) * 2011-12-21 2013-06-26 群联电子股份有限公司 Storage device protective system and method of locking and unlocking storage device
CN103384248A (en) * 2013-07-08 2013-11-06 张忠义 Method for preventing Hacker program from logging in again
CN106100851A (en) * 2016-06-21 2016-11-09 李师华 Password management system, intelligent wristwatch and cipher management method thereof
US20170093805A1 (en) * 2015-09-25 2017-03-30 Mcafee, Inc. Remote authentication and passwordless password reset
CN107306181A (en) * 2016-04-18 2017-10-31 杭州云沣科技有限公司 Encryption, verification method and the device of right discriminating system and its authentication information
CN108234458A (en) * 2017-12-21 2018-06-29 广东汇泰龙科技有限公司 Method, the system of encryption storage and the decryption extraction of a kind of cloud lock cipher

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176917A (en) * 2011-12-21 2013-06-26 群联电子股份有限公司 Storage device protective system and method of locking and unlocking storage device
CN103384248A (en) * 2013-07-08 2013-11-06 张忠义 Method for preventing Hacker program from logging in again
US20170093805A1 (en) * 2015-09-25 2017-03-30 Mcafee, Inc. Remote authentication and passwordless password reset
CN107306181A (en) * 2016-04-18 2017-10-31 杭州云沣科技有限公司 Encryption, verification method and the device of right discriminating system and its authentication information
CN106100851A (en) * 2016-06-21 2016-11-09 李师华 Password management system, intelligent wristwatch and cipher management method thereof
CN108234458A (en) * 2017-12-21 2018-06-29 广东汇泰龙科技有限公司 Method, the system of encryption storage and the decryption extraction of a kind of cloud lock cipher

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
颜建华: "《Android开发关键技术之旅 JAVA程序员快速学习通道》", 31 July 2012 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147658A (en) * 2019-04-16 2019-08-20 平安科技(深圳)有限公司 User information encipher-decipher method, system and computer equipment
CN110310392B (en) * 2019-05-22 2021-07-16 平安科技(深圳)有限公司 Vehicle unlocking method and device, computer equipment and storage medium
CN110310392A (en) * 2019-05-22 2019-10-08 平安科技(深圳)有限公司 Unlocking method of vehicle, device, computer equipment and storage medium
CN110493207A (en) * 2019-08-06 2019-11-22 北京达佳互联信息技术有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN110493207B (en) * 2019-08-06 2022-02-25 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN110601823A (en) * 2019-08-22 2019-12-20 上海达龙信息科技有限公司 Account security management method and system, storage medium and client
CN112422494A (en) * 2020-08-06 2021-02-26 上海幻电信息科技有限公司 Data transmission method, data security verification method and data transmission system
CN112784234A (en) * 2021-01-29 2021-05-11 北京译泰教育科技有限公司 Supplier management method
CN112883397A (en) * 2021-03-01 2021-06-01 广州虎牙科技有限公司 Data storage method, data reading method, device, equipment and storage medium
CN115080987A (en) * 2021-03-11 2022-09-20 中国移动通信集团山东有限公司 Password management method, device, system, storage medium and computer equipment
CN113079002A (en) * 2021-03-26 2021-07-06 北京深思数盾科技股份有限公司 Data encryption method, data decryption method, key management method, medium, and device
CN113079002B (en) * 2021-03-26 2022-04-05 北京深思数盾科技股份有限公司 Data encryption method, data decryption method, key management method, medium, and device
CN113784347A (en) * 2021-08-13 2021-12-10 瑞芯微电子股份有限公司 Method and system for one-key network distribution of intelligent equipment

Similar Documents

Publication Publication Date Title
CN109150903A (en) A kind of account management method, device, storage medium and terminal device
US9740849B2 (en) Registration and authentication of computing devices using a digital skeleton key
EP3474209A1 (en) Storing blockchain private keys in a sim card
CN100533456C (en) Security code production method and methods of using the same, and programmable device therefor
CN107370730A (en) A kind of log-on message processing method and equipment
CN109460966A (en) Contract signing method, apparatus and terminal device based on requesting party's classification
CN102782694A (en) Transaction auditing for data security devices
CN101897165A (en) Method of authentication of users in data processing systems
CN107070660A (en) A kind of design Storage method of block chain encrypted radio-frequency chip
CN109067528A (en) Crypto-operation, method, cryptographic service platform and the equipment for creating working key
CN107040520B (en) Cloud computing data sharing system and method
CN108038128A (en) A kind of search method, system, terminal device and storage medium for encrypting file
CN110061967A (en) Business datum providing method, device, equipment and computer readable storage medium
CN108462574A (en) A kind of lightweight cipher encrypting method and system
CN109977684A (en) A kind of data transmission method, device and terminal device
CN107679397A (en) The weak passwurd detecting system and method for a kind of Linux system
CN110704854B (en) Stream type encryption method aiming at text data reserved format
CN113225297B (en) Data hybrid encryption method, device and equipment
CN107895105A (en) A kind of cipher processing method, terminal device and computer-readable recording medium
CN105897417A (en) Encrypted data input method and encrypted data input device
KR101897085B1 (en) Apparatus and method for generating a realtime password and storage medium
CN114741704A (en) Privacy protection method, device, equipment and medium based on marriage and love dating
CN106778227A (en) Applied program processing method, application program launching method and device
CN107527084A (en) Electronic card processing method and processing device
CN110266683A (en) Digital asset sharing method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication