CN108833093A - Determination method, apparatus, equipment and the storage medium of account key - Google Patents

Determination method, apparatus, equipment and the storage medium of account key Download PDF

Info

Publication number
CN108833093A
CN108833093A CN201810613781.XA CN201810613781A CN108833093A CN 108833093 A CN108833093 A CN 108833093A CN 201810613781 A CN201810613781 A CN 201810613781A CN 108833093 A CN108833093 A CN 108833093A
Authority
CN
China
Prior art keywords
account
character
string
key
character string
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
CN201810613781.XA
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810613781.XA priority Critical patent/CN108833093A/en
Publication of CN108833093A publication Critical patent/CN108833093A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds

Abstract

The embodiment of the invention discloses determination method, apparatus, equipment and the storage mediums of a kind of account key.The method includes:The account key recovery request that account client is initiated is received, the publicly-owned mnemonic(al) character provided in the account key recovery request is provided;Corresponding character index value is determined according to the publicly-owned mnemonic(al) character, and the first character string string is determined according to the character index value;The first character string string is fed back into the account client, wherein the first character string string is used to generate the public key and private key of account based on setting Encryption Algorithm.The embodiment of the present invention can simplify the information for restoring account key, improve the convenience of user management account key.

Description

Determination method, apparatus, equipment and the storage medium of account key
Technical field
The present embodiments relate to block chain field more particularly to a kind of determination method, apparatus of account key, equipment and Storage medium.
Background technique
Block chain network is usually associated with the generation of digital cash, uses and circulate.When user need locally save and When managing digital cash, need using digital wallet, digital wallet is used to manage the assets that user possesses.
If wanting that assets can be circulated in block chain network, the approval of other users is obtained, then requiring generally acknowledged Administrative mechanism.Digital wallet in block chain network is in essence controlled by private key.User passes through number Wallet client end creates digital wallet account, determines the key pair of private key and public key, and user voluntarily saves private key, by public key public affairs The other users of open network.When the user needs to need to use by digital wallet when being transferred to and producing of digital cash of progress Private key is signed, and shows the identity for oneself possessing digital wallet.Other users carry out digital cash to the digital wallet of the user When being transferred to and producing, then public key can be used.
The prior art, when the digital wallet client of user is lost private key, it is desirable to restore the digital wallet account of oneself When, as long as user can input correct private key, digital wallet account can be restored, fetch the digital cash money of oneself It produces.However, the private key information for the asymmetric encryption techniques that block chain network generally uses is up to several hundred positions, user can not remember at all Firmly, the also error-prone and during copying.So the private key for managing digital wallet account in the prior art is extremely not Easily.
Summary of the invention
The embodiment of the present invention provides determination method, apparatus, equipment and the storage medium of a kind of account key, can simplify use In the information for restoring account key, the convenience of user management account key is improved.
In a first aspect, being applied to network side equipment, institute the embodiment of the invention provides a kind of determination method of account key The method of stating includes:
The account key recovery request that account client is initiated is received, obtains and provides in the account key recovery request Publicly-owned mnemonic(al) character;
Corresponding character index value is determined according to the publicly-owned mnemonic(al) character, and determines first according to the character index value Character string string;
The first character string string is fed back into the account client, wherein the first character string string is used for The public key and private key of account are generated based on setting Encryption Algorithm.
Second aspect, the embodiment of the invention also provides a kind of determination methods of account key, are applied to account client, The method includes:
The account key recovery request initiated to network side equipment, wherein be provided in the account key recovery request Publicly-owned mnemonic(al) character;
Network side equipment is received according to the first character string string of the publicly-owned mnemonic(al) character feedback;
According to the first character string string, the public key and private key of account are generated based on setting Encryption Algorithm.
The third aspect, the embodiment of the invention also provides a kind of determining devices of account key, are set to network side equipment, Described device includes:
Account key recovery request receiving module is obtained for receiving the account key recovery request of account client initiation The publicly-owned mnemonic(al) character provided in the account key recovery request is provided;
First character string string determining module, for determining corresponding character index value according to the publicly-owned mnemonic(al) character, And the first character string string is determined according to the character index value;
First the first feedback module of character string string, for the first character string string to be fed back to the account client End, wherein the first character string string is used to generate the public key and private key of account based on setting Encryption Algorithm.
Fourth aspect, the embodiment of the invention also provides a kind of determining devices of account key, are set to account client, Described device includes:
Account key recovery request sending module, the account key recovery request for being initiated to network side equipment, wherein Publicly-owned mnemonic(al) character is provided in the account key recovery request;
First character string string receiving module, for receiving network side equipment according to the of the publicly-owned mnemonic(al) character feedback One character string string;
Key pair generation module, for generating account based on setting Encryption Algorithm according to the first character string string Public key and private key.
5th aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing The determination method of device realization first aspect present invention account key as described in the examples.
6th aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing The determination method of device realization second aspect of the present invention account key as described in the examples.
7th aspect, the embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer program, the program The determination method of first aspect present invention account key as described in the examples is realized when being executed by processor.
Eighth aspect, the embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer program, the program The determination method of second aspect of the present invention account key as described in the examples is realized when being executed by processor.
The embodiment of the present invention determines the first character string by the publicly-owned mnemonic(al) character in account key recovery request, and anti- Client of feeding solves in the prior art by client according to the first character string acquisition account key for restoring account The information of key excessively complexity is not easy to the problem of recording and managing, and realizes and determines account key by mnemonic(al) character, can keep away Key can only be restored by recording excessively complicated information by exempting from user, reduced the difficulty that user restores key, improved and apply account The convenience at family.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the determination method of the account key provided in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the determination method of the account key provided in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the determination method of the account key provided in the embodiment of the present invention three;
Fig. 4 a is a kind of flow chart of the determination method of the account key provided in the embodiment of the present invention four;
Fig. 4 b is a kind of flow chart of the determination method of the account key provided in the embodiment of the present invention four;
Fig. 5 is a kind of structural schematic diagram of the determining device of the account key provided in the embodiment of the present invention five;
Fig. 6 is a kind of structural schematic diagram of the determining device of the account key provided in the embodiment of the present invention six;
Fig. 7 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention seven;
Fig. 8 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention eight.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the determination method for account key that the embodiment of the present invention one provides, the embodiment of the present invention It is applicable to the case where restoring digital wallet account key, digital wallet account is particularly well suited to apply in block chain network. This method is applied to network side equipment, which can be block chain network node or account service end.This method can It is executed with determining device by account key provided in an embodiment of the present invention, which can be used the side of software and/or hardware Formula is realized, and can be integrated in block chain network node or in account service end.It, can be by block chain for digital wallet account Network node distribution manages to realize, an account service end can be set also to be managed collectively.As shown in Figure 1, this method has Body includes:
S110 receives the account key recovery request that account client is initiated, and obtains and provides in account key recovery request Publicly-owned mnemonic(al) character.
In the present embodiment, account client can refer to the client application loaded on user equipment, Yong Hushe Standby e.g. mobile terminal, personal computer etc.;Account key recovery request can refer to for requesting to restore digital wallet pair The information for the key pair (including private key and public key) answered;Publicly-owned mnemonic(al) character can refer to subsidiary account private key by user record, Simultaneously for determining the character of user key, specific character content can not limit language form, for example, can be " seep bad pearl with Gear, which is heard to arrange, to be breathed out Bao Jiang and gulps down to pass " etc. Chinese characters, or " they verify produce spawn van motor issue The English characters such as uncle limb solution youth scan ".It should be noted that character content can also be mixing word Symbol, such as can be mixed characters such as " news, which is arranged, breathe out thin they verify ".
It is understood that user is the digital wallet account managed in block chain network by private key and public key, from And the process for restoring user key namely restores the process of the digital wallet account of user.
S120 determines corresponding character index value according to publicly-owned mnemonic(al) character, and determines the first word according to character index value Accord with sequence string.
In the present embodiment, character index value can refer to position data of the publicly-owned mnemonic(al) character in setting concordance list, Meanwhile character index value and publicly-owned mnemonic(al) character are one-to-one relationships, wherein the position data can use digital representation;Word Symbol sequence string can refer to multiple characters (such as English alphabet, number, symbol) according to the character string centainly sequentially formed, the One character string string can be determined by multiple character index values according to setting rule.
Optionally, if corresponding character index value is not present in publicly-owned mnemonic(al) character, determine that publicly-owned mnemonic(al) character is illegal, such as The fruit user publicly-owned mnemonic(al) character that multiple (such as 5 times) are submitted in setting time (such as 24 hours) is illegal, then to user Account carry out frequency control, such as 24 hours in must not receive the account transmission publicly-owned mnemonic(al) character.
In an optional embodiment of the present invention, determine that corresponding character index value specifically may be used according to publicly-owned mnemonic(al) character To include:According at least two publicly-owned mnemonic(al) characters, the corresponding rope of each publicly-owned mnemonic(al) character is searched in corresponding language dictionary Draw value, obtains index value sequence;Index value sequence assembly is converted into the second character string string;Second character string string is split It checks character sequence string for third basis character string string and the 4th;Sequence string is checked character to third basis character according to the 4th Sequence string is verified;When verification passes through, the first character string string is generated according to the publicly-owned mnemonic(al) character.
Specifically, language dictionary can refer to the index of the publicly-owned mnemonic(al) character stored in the database of network side equipment Table, the corresponding language dictionary of publicly-owned mnemonic(al) character can be selected from preset language dictionary by user, or can be led to It crosses and identifies that the language form of publicly-owned mnemonic(al) character determines.It wherein, may include Chinese vocabulary bank, English dictionary, day in language dictionary Words and phrases library, mixing dictionary (such as language dictionary comprising Chinese and English simultaneously).Illustratively, the group Chengdu of each dictionary is The key-value pair of key-value form.That is, unique language word can be navigated in dictionary according to character index value Symbol.In a specific example, publicly-owned mnemonic(al) character is " I ", correspondingly, determining that language dictionary is Chinese vocabulary bank, in Chinese " I " corresponding index value is 1 in dictionary, or determines that language dictionary is English dictionary, and " Hello " is corresponding in English dictionary Index value be 1.Language form can be provided by account client.
After obtaining the corresponding index value of each character, the index value that can be will acquire according to setting splicing rule is spelled It connects, for example, can splice the corresponding index value of each character according to the sequence of each character in publicly-owned mnemonic(al) character.It spells The index value sequence of completion is connect as the second character string string, wherein the second character string string can use digital representation, press later Rule is split according to setting the second character string string is split as third basis character string string and the 4th and checked character sequence string, such as Fruit third basis character string string and the 4th is checked character sequence String matching, it is determined that third basis character string string passes through school It tests, is helped according to setting hashing algorithm (such as SHA256 (Secure Hash Algorithm, secure hash algorithm) algorithm) by publicly-owned Note character is converted to the first character string string;If third basis character string string is unverified, it is determined that publicly-owned mnemonic(al) word It accords with illegal.
Wherein, the 4th sequence string of checking character can refer to third basis character string string according to set algorithm (such as by Three basic character string strings are split, and are calculated each section of cryptographic Hash and are simultaneously spliced) the character string string that is calculated.When the 4th school When testing the character string String matching that character string string and third basis character string string are calculated according to set algorithm, verification is logical It crosses.
By multiple preset rules and algorithm, publicly-owned mnemonic(al) character is repeatedly handled, ultimately generates first Character string string increases the complexity of account key generation process, to improve the peace of account key for generating account key Quan Xing.
It should be noted that setting splicing rule, setting split the rules such as rule, setting hashing algorithm and set algorithm It can be set according to actual needs, this embodiment of the present invention is not specifically limited.
First character string string is fed back to account client by S130, wherein the first character string string is used for based on setting The public key and private key of Encryption Algorithm generation account.
In the present embodiment, setting Encryption Algorithm can be elliptic curve encryption algorithm.First character string string is sent Account client is given, key pair is generated by account client.It is understood that generating private key and public affairs by account client Key, that is, private key is managed by user equipment, the corresponding private key of account can be used to avoid network side equipment, improve and restore account The safety of key.
The embodiment of the present invention determines the first character string by the publicly-owned mnemonic(al) character in account key recovery request, and anti- Client of feeding solves in the prior art by client according to the first character string acquisition account key for restoring account The information of key excessively complexity is not easy to the problem of recording and managing, and realizes and determines account key by mnemonic(al) character, can keep away Account key can only be restored by recording excessively complicated information by exempting from user, reduced the difficulty that user restores account key, mentioned Height applies the convenience of account.
On the basis of the present embodiment, if network side equipment is the account service end of third-party application platform, wherein account The equipment that server-side can be block chain network node or be interacted by interface and block chain network node, optionally, account The determination method of family key further includes:By the digital wallet account and third-party application of account client initiation creation or recovery Account is bound;The public key that account client provides is obtained, and passes through public key enquiring digital wallet account from block chain network The information at family generates gathering address.
Wherein, the account of third-party application can be the socializations such as Baidu's account, wechat account, Alipay account login Account.Account client retains private key, and sends public key and account information to the account of third-party application, and number can be completed The bindings of the account of wallet account and third-party application.User can pass through public affairs in the account of third-party application as a result, Key tracks the assets information of digital wallet account, or establishes gathering address by public key, realizes indirectly by third-party application Realize the inquiry business and transferred account service to digital wallet account in block chain network;User can be used private key and pass through third party The account of application realizes the assets for indirectly controlling digital wallet account, further to push the general of digital wallet in block chain network And.
It is understood that digital wallet account can be bound from different third party's accounts, or can be detached from specified Third party's account carry out using, thus, the property of digital wallet account is still decentralization.
In a specific example, Baidu's account 1 of user Xiao Zhang is bundled with a digital wallet account A.At this point, with Family Xiao Wang wants to transfer accounts to user Xiao Zhang by digital wallet account B, can receive in the digital wallet for not knowing user Xiao Zhang It in the case where money address, transfers accounts to Baidu's account 1, at this point, digital wallet server end can be Baidu's account of user Xiao Zhang automatically Family 1 generates a gathering address used for this.If Baidu's account 2 of user Xiao Zhang is also bundled with digital wallet account A, Then Baidu's account 2 equally possesses the control of the assets to digital wallet account A.
Embodiment two
Fig. 2 is a kind of flow chart of the determination method of account key provided by Embodiment 2 of the present invention, and the present embodiment is with this It has made and having advanced optimized based on inventive embodiments one, specifically:In the account key recovery for receiving the initiation of account client It further include the operation of account key creation before request.As shown in Fig. 2, this method specifically includes:
S210 obtains the account key request to create that account client is initiated, and generates the second character string string.
In this embodiment, the second character string string can be generated according to the information of account key request to create.Such as it can be with It is to generate the second character string string at random according to information such as sending time, the source address of account key request to create.
In an optional embodiment of the present invention, the account key request to create that account client is initiated is obtained, and raw It can specifically include at the second character string string:Obtain the account key request to create that account client is initiated, wherein account is close Ambient noise parameter or raw according to ambient noise stochastic parameter comprising hardware device where account client in key request to create At third basis character string string;It obtains and third basis character string string is generated according to ambient noise stochastic parameter;Based on Three basic character strings concatenate into the corresponding 4th and check character string sequence;Merge third basis character string string and the 4th verification Character string sequence generates the second character string string.
Wherein, ambient noise parameter can refer to the flow of network interface card handle up situation, hard disk read situation, keyboard tap thing Part, remaining capacity of current device etc. stem purely from the parameter of the ambient noise of the local device of user.
Third basis character string string is generated by ambient noise stochastic parameter, and is combined according to third basis character string String determines that the 4th checks character string sequence, generates the second character string string, increases the complexity of the second character string string and stolen The difficulty taken, while the cost that third-party platform is done evil is improved, to improve the safety of account key.
S220 determines character index value according to the second character string string.
In an optional embodiment of the present invention, determining character index value specifically according to the second character string string be can wrap It includes:It is at least two segments by the second character string string cutting, the character string string of each segment is as character index value.
It is understood that the number of characters of the second character string string is more, the segment obtained after cutting is more, correspondingly, Finally obtained character index value is more.
By increasing the randomness for generating the second character string string segment to the progress cutting of the second character string string, and Each second character string string segment is respectively converted into character index value, increases the complexity and stolen difficulty of character index value Degree, to improve the safety of account key.
S230 determines corresponding publicly-owned mnemonic(al) character according to character index value.
It can be based on language dictionary, the corresponding character of character index value searched, as publicly-owned mnemonic(al) character.
S240 generates the first character string string according to publicly-owned mnemonic(al) character.
Specifically, can be based on set algorithm, the mapping of publicly-owned mnemonic(al) character is become into the first character string string, typically It is Serial No. string.
First character string string and publicly-owned mnemonic(al) character are fed back to account client, wherein the first character string by S250 The public key and private key gone here and there for generating account based on setting Encryption Algorithm.
By the above process, even if account client obtains the key of a new account, while public affairs can also be recorded There is mnemonic(al) character, to give account for change when key is lost later.
S260 receives the account key recovery request that account client is initiated, and obtains and provides in account key recovery request Publicly-owned mnemonic(al) character.
S270 determines corresponding character index value according to publicly-owned mnemonic(al) character, and determines the first word according to character index value Accord with sequence string.
First character string string is fed back to account client by S280.
The embodiment of the present invention determines publicly-owned mnemonic(al) word before restoring account key, previously according to account key request to create Symbol, and publicly-owned mnemonic(al) character is fed back into user, it realizes that user restores account key by publicly-owned mnemonic(al) character, avoids user straight It connected the first complicated character string string and restores account key, and improved the convenience of user management account key.
Embodiment three
Fig. 3 is a kind of flow chart of the determination method for account key that the embodiment of the present invention three provides, and this method is applied to Account client.The embodiment of the present invention is applicable to the case where restoring digital wallet account key, and this method can be by the present invention The determining device for the account key that embodiment provides executes, and the mode which can be used software and/or hardware is realized, and can It is integrated in the equipment such as mobile terminal, the equipment that user uses.As shown in figure 3, this method specifically includes:
S310, the account key recovery request initiated to network side equipment, wherein mentioned in the account key recovery request It is provided with publicly-owned mnemonic(al) character.
S320 receives network side equipment according to the first character string string of the publicly-owned mnemonic(al) character feedback.
S330 generates the public key and private key of account based on setting Encryption Algorithm according to the first character string string.
The meaning of publicly-owned mnemonic(al) character and the first character string string can refer to the introduction of previous embodiment.User passes through Publicly-owned mnemonic(al) character can easily just give the first character string string for change, to voluntarily generate the public key and private key of account.
In another optional embodiment of the invention, according to the first character string string, based on setting Encryption Algorithm Generate account public key and private key include:Obtain the privately owned mnemonic(al) character of user's input;According to the first character string string and Privately owned mnemonic(al) character generates the 5th character string string;According to the 5th character string string, account is generated based on setting Encryption Algorithm The public key and private key at family.
Wherein, privately owned mnemonic(al) character can be the customized mnemonic(al) character of user;Setting Encryption Algorithm can be oval song Line Encryption Algorithm.
By combine privately owned mnemonic(al) character input by user and by publicly-owned mnemonic(al) character generate the first character string string, Account key is generated using setting Encryption Algorithm, improves the security level of account key.
The embodiment of the present invention is provided with the account key recovery request of publicly-owned mnemonic(al) character by sending to network side equipment, It receives and account key is determined according to the first character string string, solve in the prior art for restoring the information mistake of account key It is not easy to the problem of recording and managing in complexity, account key can be determined by simplifying version mnemonic(al) character, reduce account key Record and management difficulty, improve apply account convenience.
In another optional embodiment of the invention, the determination method of account key further includes:It is sent out to network side equipment The account key request to create risen;Receive the first character string string and publicly-owned mnemonic(al) character of network side equipment feedback;According to institute The first character string string is stated, the public key and private key of account are generated based on setting Encryption Algorithm.
Specifically, needing first to establish account key before user restores account key.User possess account key it Afterwards, it is just able to achieve and restores account key.User receives and records the publicly-owned mnemonic(al) character of network side equipment feedback, for realizing extensive The account key of complex digital wallet.
Further, include to the account key request to create that network side equipment is initiated:It is hard to acquire account client place The ambient noise parameter is added in the account key request to create, wherein described by the ambient noise parameter of part equipment Ambient noise parameter for generating third basis character string sequence at random;Or the ring of hardware device where acquisition account client Border noise parameter generates third basis character string string according to the ambient noise stochastic parameter, is added to the account key In request to create.
By the ambient noise parameter according to acquisition, third basis character string string is generated, or makes network side equipment root Third basis character string string is generated according to the ambient noise parameter of acquisition, the random of third basis character string string can be enhanced Property, to improve the randomness of account key.
Further, before acquiring the ambient noise parameter of hardware device where account client, further include:According to The account safety grade of family setting, the quantity of the ambient noise parameter of hardware device where determining acquisition account client.
Wherein, account safety grade can be high, medium and low.Specifically, can establish account safety grade and ambient noise The corresponding relationship of the quantity of parameter, and ambient noise parameter that needs acquire is determined according to the account safety grade of user's input Quantity.It is understood that the quantity of ambient noise parameter is more, the third basis character generated according to ambient noise parameter The complexity of sequence string is higher, so that it is determined that account key complexity it is higher, therefore, account safety grade can be set and get over The quantity of height, corresponding ambient noise is more.
The quantity of ambient noise parameter can be determined by the account safety grade that user inputs, and then determines third basis The complexity of character string string to realize the complexity for increasing account key, while can need flexibly to generate according to user Account key improves user experience.
On the basis of the present embodiment, optionally, the account key recovery request or account initiated to network side equipment are close Key request to create includes:The account key recovery is initiated by the account client-side interface in third-party application interactive interface to ask Ask or account key request to create to third-party application platform account service end, by the corresponding digital wallet of account client Account and the account of third-party application are bound, wherein block chain network node is in the account service end or passes through interface It is interacted with block chain network node.
Specifically, when account client generates the private key and public key of digital wallet account, by public key and third-party application Account information be sent to network side equipment, i.e. bindings of completion digital wallet account and the account of third-party application.
The account of the corresponding digital wallet account of account client and third-party application is bound, it can be indirectly by The account of third-party application realizes the application to digital wallet in block chain network, such as can be real by third-party application platform It now creates an account key or restores account key, to improve the utilization rate of digital wallet in block chain network, and push block The development of chain network technology.
Example IV
Fig. 4 a and Fig. 4 b are a kind of flow chart of the determination method for account key that the embodiment of the present invention four provides, this implementation Example combines the content of previous embodiment, provides a kind of specific example.As shown in Figs. 4 a-b, it specifically includes:
S401, user log in third party's account in account client.
Wherein, the account that third party's account can be Baidu's account or other socializations log in.
S402, judges whether third party's account has bound digital wallet account, if it is, executing S403;Otherwise it executes S405。
Specifically, can judge log in account client by judging whether account client has private key Whether tripartite's account binds digital wallet account.
S403, account client load the digital wallet account bound.
Specifically, account client can send digital wallet account inquiries request, network side equipment to network side equipment The information for obtaining the third party's account carried in digital wallet account inquiries request, determines the corresponding public key of third party's account, According to the information of public key acquisition digital wallet account and feed back to account client.
S404, account client show assets information to user.
S405 judges whether to create new digital wallet account key, if it is, executing S406;Otherwise S411 is executed.
Specifically, account client can judge whether to create new digital wallet account key according to the input of user. Illustratively, if not receiving the publicly-owned mnemonic(al) character of user's input within the set time, it is determined that create the digital money of letter Packet account key.
It is understood that digital wallet be controlled by the account key of digital wallet, thus, create new number Word wallet account key is really creating new digital wallet account.
S406, account client send account key request to create to network side equipment.
Specifically, the security level for the digital wallet that account client can be inputted according to user, acquires user equipment Random Entropy, the quantity of Random Entropy and the security level of digital wallet are related, and the security level of digital wallet is higher, need to acquire Random Entropy is more, wherein Random Entropy is used to indicate chaotic and unordered degree, is entirely derived from the local device of user Ambient noise, such as can be the network speed of current user equipment.
Account client can generate random number R according to the Random Entropy of acquisition;Or Random Entropy is added to account key It is sent to network side equipment in request to create, random number R is generated according to Random Entropy by network side equipment.
It is understood that the security level of digital wallet is higher, the Random Entropy for needing to acquire is more, corresponding generation The number of characters of random number R is more.
In addition, user can also be in the language form L for the mnemonic word that the input of account client needs to generate, in simplified The language form L of mnemonic word is added in account key request to create by text, Chinese-traditional, English etc. by account client.
S407, network side equipment generates mnemonic(al) word sequence M and random number X according to account key request to create, and feeds back to Account client.
Network side equipment receives account key request to create, and therefrom obtains random number R and language form L.According to Machine number R calculates check value S, and random number R and check value S is spliced into a new random number T, then by random number T and be divided into Multiple segments are each mapped to different index values for each segment, and multiple index values are spliced into index value sequence.
According to each index value in index value sequence, selected from the language dictionary determined according to language form L corresponding Character, and character string is sequentially formed according to index value sequence, as mnemonic(al) word sequence M.According to hashing algorithm by mnemonic word Sequence M is converted to random number X, and mnemonic(al) word sequence M and random number X are sent to account client.
It should be understood that the security level of digital wallet is higher, correspondingly, the number of characters of random number R is more, cutting Segment number it is more, obtained index value is more, finally obtains the number of characters of mnemonic(al) word sequence M and random number X also more It is more.
S408, user input mnemonic(al) word sequence N in account client.
Mnemonic(al) word sequence N is customized by the user, and the language form of mnemonic(al) word sequence N and mnemonic(al) word sequence M can phases Together, it can also be different.
S409, account client generate the account key of digital wallet by mnemonic(al) word sequence N and random number X.
Account client generates account key by Encryption Algorithm according to mnemonic(al) word sequence N and random number X, while will help Note word sequence M shows user, and user can make a copy of or remember mnemonic(al) word sequence M, for subsequently through mnemonic(al) word sequence M, side Just give random number X for change, to generate the public key and private key of account, to restore wallet account.
Public key and account information are sent to network side equipment by S410, account client, by digital wallet account and third Square account binding.
Wherein, account information can refer to the relevant information of third party's account, for example, the pet name, head portrait, login name etc. are believed Breath.
S411, account client obtain the mnemonic(al) word sequence M of user's input, are sent to network side equipment.
S412, network side equipment judge whether mnemonic(al) word sequence M is effective, if it is, executing S413, otherwise execute S416。
Network side equipment determines the language form of mnemonic(al) word sequence M according to mnemonic(al) word sequence M, loads corresponding language word Library, it is raw from searching the corresponding index value of each character in mnemonic(al) word sequence M in language dictionary, and according to the sequence of mnemonic(al) word sequence M At index value sequence.
During searching index value, as long as there is a character to be searched in language dictionary less than corresponding index value, Determine that mnemonic(al) word sequence M is invalid.
Index value sequence is mapped as Serial No. T, by Serial No. T and is divided into random number R and check value S, passes through school Value S is tested to verify random number R.If random number R verification does not pass through, determine that mnemonic(al) word sequence M is invalid.
If random number R verification passes through, random number X is converted for mnemonic(al) word sequence M by hashing algorithm.
Mnemonic(al) word sequence M is converted to random number X and is sent to account client by S413, network side equipment.
S414, user input mnemonic(al) word sequence N in account client.
S415, account client generate the account key of digital wallet according to mnemonic(al) word sequence N and random number X.
Public key and account information are sent to network side equipment by S416, account client, by digital wallet account and third Square account binding.
Invalid information is sent to account client by S417, network side equipment, by account Client-Prompt user's mnemonic word Sequence M is invalid.
S418 judges whether the hit-count of third party's account frequency control is more than setting frequency threshold value, if it is, holding Otherwise row S419 executes S420.
S419 locks third party's account, cannot test mnemonic(al) word sequence M in 24 hours again.
S420 adds up the hit-count of the frequency control of third party's account.
Embodiment five
Fig. 5 is a kind of structural schematic diagram of the determining device for account key that the embodiment of the present invention five provides, which sets It is placed in network side equipment, as shown in figure 5, described device specifically includes:
Account key recovery request receiving module 510, for receiving the account key recovery request of account client initiation, The publicly-owned mnemonic(al) character provided in the account key recovery request is provided;
First character string string determining module 520, for determining corresponding character index according to the publicly-owned mnemonic(al) character Value, and the first character string string is determined according to the character index value;
First the first feedback module of character string string 530, for the first character string string to be fed back to the account Client, wherein the first character string string is used to generate the public key and private key of account based on setting Encryption Algorithm.
The embodiment of the present invention determines the first character string by the publicly-owned mnemonic(al) character in account key recovery request, and anti- Client of feeding solves in the prior art by client according to the first character string acquisition account key for restoring account The information of key excessively complexity is not easy to the problem of recording and managing, and realizes and determines account key by mnemonic(al) character, can keep away Key can only be restored by recording excessively complicated information by exempting from user, reduced the difficulty that user restores key, improved and apply account The convenience at family.
Further, the first character string string determining module 520 is also used to:According at least two publicly-owned mnemonic(al)s Character searches the corresponding index value of each publicly-owned mnemonic(al) character in corresponding language dictionary, obtains index value sequence;By the rope Draw value sequence splicing and is converted to the second character string string;The second character string string is split as third basis character string string It checks character sequence string with the 4th;Third basis character string string is verified according to the described 4th sequence string of checking character; When verification passes through, the first character string string is generated according to the publicly-owned mnemonic(al) character.
Further, described device further includes:Further include:Second character string string generation module, for obtaining account visitor The account key request to create that family end is initiated, and generate the second character string string;Character index value determining module, for according to institute It states the second character string string and determines character index value;Publicly-owned mnemonic(al) character determining module, for true according to the character index value Fixed corresponding publicly-owned mnemonic(al) character;First character string string generation module, for generating first according to the publicly-owned mnemonic(al) character Character string string;First the second feedback module of character string string is used for the first character string string and the publicly-owned mnemonic(al) Character feeds back to account client.
Further, the second character string string generation module is also used to:It is close to obtain the account that account client is initiated Key request to create, wherein the ambient noise ginseng comprising hardware device where account client in the account key request to create Number or the third basis character string string generated according to the ambient noise stochastic parameter;It obtains according to the ambient noise parameter It is random to generate third basis character string string;Concatenate into the corresponding 4th based on third basis character string to check character string Sequence;Merge the third basis character string string and the described 4th to check character string sequence, generates second character string String.
Further, the character index value determining module is also used to:It is at least by the second character string string cutting The character string string of two segments, each segment is respectively converted into character index value.
Further, described device further includes:The network side equipment is block chain network node or account service end.
Further, described device further includes:The network side equipment is the account service end of third-party application platform, institute Account service end is stated to be block chain network node or interact by interface and block chain network node.
Further, described device is also used to:The digital wallet account that the account client is initiated creation or restored It is bound with the account of third-party application;The public key that the account client provides is obtained, and passes through public key from block link network The information of the digital wallet account is inquired in network or generates gathering address.
The determining device of account key provided by the embodiment of the present invention can be performed provided by any embodiment of the invention The determination method of account key has the corresponding functional module of execution method and beneficial effect.
Embodiment six
Fig. 6 is a kind of structural schematic diagram of the determining device for account key that the embodiment of the present invention six provides, which sets It is placed in account client, as shown in fig. 6, described device specifically includes:
Account key recovery request sending module 610, the account key recovery request for being initiated to network side equipment, In, publicly-owned mnemonic(al) character is provided in the account key recovery request;
First character string string receiving module 620 is fed back for receiving network side equipment according to the publicly-owned mnemonic(al) character The first character string string;
Key pair generation module 630, for generating account based on setting Encryption Algorithm according to the first character string string Public key and private key.
The embodiment of the present invention is provided with the account key recovery request of publicly-owned mnemonic(al) character by sending to network side equipment, It receives and account key is determined according to the first character string string, solve in the prior art for restoring the information mistake of account key It is not easy to the problem of recording and managing in complexity, account key can be determined by simplifying version mnemonic(al) character, reduce account key Record and management difficulty, improve apply account convenience.
Further, the key pair generation module 630 is also used to:Obtain the privately owned mnemonic(al) character of user's input;According to The first character string string and privately owned mnemonic(al) character generate the 5th character string string;According to the 5th character string string, base The public key and private key of account are generated in setting Encryption Algorithm.
Further, described device further includes:Account key request to create receiving module, for being initiated to network side equipment Account key request to create;First character string string receiving module, for receiving the first character sequence of network side equipment feedback Column string and publicly-owned mnemonic(al) character;Private key and public key generation module, for being encrypted based on setting according to the first character string string The public key and private key of algorithm generation account.
Further, the account key request to create receiving module is also used to:Hardware where acquisition account client is set The ambient noise parameter is added in the account key request to create, wherein the environment by standby ambient noise parameter Noise parameter for generating third basis character string sequence at random;Or the environment of hardware device is made an uproar where acquisition account client Sound parameter generates third basis character string string according to the ambient noise stochastic parameter, is added to the account key creation In request.
Further, described device is also used to:According to account safety grade set by user, acquisition account client is determined The quantity of the ambient noise parameter of place hardware device.
Further, described device is also used to:It is initiated by the account client-side interface in third-party application interactive interface The account key recovery request or account key request to create to third-party application platform account service end, by account visitor The corresponding digital wallet account in family end and the account of third-party application are bound, wherein the account service end is block chain Network node is interacted by interface and block chain network node.
The determining device of account key provided by the embodiment of the present invention can be performed provided by any embodiment of the invention The determination method of account key has the corresponding functional module of execution method and beneficial effect.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 701 of invention embodiment.The equipment 701 that Fig. 7 is shown is only an example, should not be to the present invention The function and use scope of embodiment bring any restrictions.
As shown in fig. 7, equipment 701 is showed in the form of universal computing device.The component of equipment 701 may include but unlimited In:One or more processor or processing unit 702, system storage 703 connect different system components (including system Memory 703 and processing unit 702) bus 704.Equipment 701 can be block chain network node, or take as account Business end.
Bus 704 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Equipment 701 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment The usable medium of 701 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 703 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (Random Access Memory, RAM) 705 and/or cache memory 706.Equipment 701 can be further Including other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, storage system System 707 can be used for reading and writing immovable, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").To the greatest extent It is not shown in pipe Fig. 7, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, with And to removable anonvolatile optical disk (such as compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) The CD drive of read-write.In these cases, each driver can be by one or more data media interfaces and total Line 704 is connected.Memory 703 may include at least one program product, which has one group (for example, at least one) Program module, these program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 709 with one group of (at least one) program module 708, can store in such as memory In 703, such program module 708 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 708 usually executes function and/or method in embodiment described in the invention.
Equipment 701 can also be logical with one or more external equipments 710 (such as keyboard, sensing equipment, display 711 etc.) Letter, can also be enabled a user to one or more equipment interact with the equipment 701 communicate, and/or with make the equipment 701 Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This Kind communication can be carried out by input/output (Input/Output, I/O) interface 712.Also, equipment 701 can also pass through net Network adapter 713 and one or more network (such as local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and/or public network, such as internet) communication.As shown, network adapter 713 passes through bus 704 communicate with other modules of equipment 701.It should be understood that can be used although being not shown in Fig. 7 with bonding apparatus 701 other hard Part and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, Disk array (Redundant Arrays of Inexpensive Disks, RAID) system, tape drive and data are standby Part storage system etc..
Processing unit 702 by the program that is stored in system storage 703 of operation, thereby executing various function application with And data processing, such as realize a kind of determination method of account key provided by the embodiment of the present invention.
That is, the processing unit is realized when executing described program:Receive the account key recovery that account client is initiated Request, obtains the publicly-owned mnemonic(al) character provided in the account key recovery request;According to determining pair of the publicly-owned mnemonic(al) character The character index value answered, and the first character string string is determined according to the character index value;The first character string string is anti- It feeds the account client, wherein the first character string string is used to generate the public key of account based on setting Encryption Algorithm And private key.
Embodiment eight
Fig. 8 is a kind of structural schematic diagram for equipment that the embodiment of the present invention eight provides.Fig. 8, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 801 of invention embodiment.The equipment 801 that Fig. 8 is shown is only an example, should not be to the present invention The function and use scope of embodiment bring any restrictions.
As shown in figure 8, equipment 801 is showed in the form of universal computing device.The component of equipment 801 may include but unlimited In:One or more processor or processing unit 802, system storage 803 connect different system components (including system Memory 803 and processing unit 802) bus 804.The equipment that equipment 801 can be carrying account client, as user side is set Standby, user side equipment may or may not be block chain network node.
Bus 804 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to isa bus, mca bus, enhanced isa bus, VESA local bus and Pci bus.
Equipment 801 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment The usable medium of 801 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 803 may include the computer system readable media of form of volatile memory, such as RAM805 And/or cache memory 806.Equipment 801 may further include other removable/nonremovable, volatibility/non-easily The property lost computer system storage medium.Only as an example, storage system 807 can be used for reading and writing immovable, non-volatile Magnetic medium (Fig. 8 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 8, can provide for non-to moving The disc driver of volatile disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, each driver can by one or The multiple data media interfaces of person are connected with bus 804.Memory 803 may include at least one program product, the program product With one group of (for example, at least one) program module, these program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 809 with one group of (at least one) program module 808, can store in such as memory In 803, such program module 808 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 808 usually executes function and/or method in embodiment described in the invention.
Equipment 801 can also be logical with one or more external equipments 810 (such as keyboard, sensing equipment, display 811 etc.) Letter, can also be enabled a user to one or more equipment interact with the equipment 801 communicate, and/or with make the equipment 801 Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This Kind communication can be carried out by input/output (I/O) interface 812.Also, equipment 801 can also by network adapter 813 with One or more network (such as LAN, WAN and/or public network, such as internet) communication.As shown, network adapter 813 are communicated by bus 804 with other modules of equipment 801.It should be understood that although being not shown in Fig. 8, it can be with bonding apparatus 801 use other hardware and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, outside Disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 802 by the program that is stored in system storage 803 of operation, thereby executing various function application with And data processing, such as realize a kind of determination method of account key provided by the embodiment of the present invention.
That is, the processing unit is realized when executing described program:The account key recovery initiated to network side equipment is asked It asks, wherein publicly-owned mnemonic(al) character is provided in the account key recovery request;Network side equipment is received publicly-owned to be helped according to described Remember the first character string string of character feedback;According to the first character string string, account is generated based on setting Encryption Algorithm Public key and private key.
Embodiment nine
The embodiment of the present invention nine additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should The determination method of the account key provided such as all inventive embodiments of the application is provided when program is executed by processor:The method Including:The account key recovery request that account client is initiated is received, the public affairs provided in the account key recovery request are provided There is mnemonic(al) character;Corresponding character index value is determined according to the publicly-owned mnemonic(al) character, and is determined according to the character index value First character string string;The first character string string is fed back into the account client, wherein first character string The public key and private key gone here and there for generating account based on setting Encryption Algorithm.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are electrical connection, the portable computer diskette, hard disk, RAM, read-only memory (Read Only of one or more conducting wires Memory, ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable CD-ROM, light storage device, magnetic memory device or above-mentioned any appropriate combination. In this document, it includes or the tangible medium of storage program that the program can be by that computer readable storage medium, which can be any, Instruction execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, radio frequency (RadioFrequency, RF) etc. or above-mentioned any appropriate group It closes.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? It is related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN or WAN --- even It is connected to subscriber computer, or, it may be connected to outer computer (such as pass through internet using ISP Connection).
Embodiment ten
The embodiment of the present invention ten additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should The determination method of the account key provided such as all inventive embodiments of the application is provided when program is executed by processor:The method Including:The account key recovery request initiated to network side equipment, wherein be provided in the account key recovery request publicly-owned Mnemonic(al) character;Network side equipment is received according to the first character string string of the publicly-owned mnemonic(al) character feedback;According to described first Character string string generates the public key and private key of account based on setting Encryption Algorithm.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There is the electrical connection of one or more conducting wires, portable computer diskette, hard disk, RAM, ROM, EPROM, flash memory, optical fiber, portable CD-ROM, light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable to deposit Storage media can be any tangible medium for including or store program, which can be commanded execution system, device or device Part use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? It is related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN or WAN --- even It is connected to subscriber computer, or, it may be connected to outer computer (such as pass through internet using ISP Connection).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (20)

1. a kind of determination method of account key, which is characterized in that it is applied to network side equipment, the method includes:
Receive account client initiate account key recovery request, obtain provided in the account key recovery request it is publicly-owned Mnemonic(al) character;
Corresponding character index value is determined according to the publicly-owned mnemonic(al) character, and the first character is determined according to the character index value Sequence string;
The first character string string is fed back into the account client, wherein the first character string string is for being based on Set public key and private key that Encryption Algorithm generates account.
2. the method according to claim 1, wherein determining corresponding character rope according to the publicly-owned mnemonic(al) character Draw value, and determines that the first character string string includes according to the character index value:
According at least two publicly-owned mnemonic(al) characters, the corresponding rope of each publicly-owned mnemonic(al) character is searched in corresponding language dictionary Draw value, obtains index value sequence;
The index value sequence assembly is converted into the second character string string;
The second character string string is split as third basis character string string and the 4th to check character sequence string;
Third basis character string string is verified according to the described 4th sequence string of checking character;
When verification passes through, the first character string string is generated according to the publicly-owned mnemonic(al) character.
3. the method according to claim 1, wherein further including:
The account key request to create that account client is initiated is obtained, and generates the second character string string;
Character index value is determined according to the second character string string;
Corresponding publicly-owned mnemonic(al) character is determined according to the character index value;
The first character string string is generated according to the publicly-owned mnemonic(al) character;
The first character string string and the publicly-owned mnemonic(al) character are fed back into account client.
4. according to the method described in claim 3, being asked it is characterized in that, obtaining the account key creation that account client is initiated It asks, and generates the second character string string and include:
Obtain the account key request to create that account client is initiated, wherein include account in the account key request to create The ambient noise parameter of hardware device where client or the third basis character generated according to the ambient noise stochastic parameter Sequence string;
It obtains and third basis character string string is generated according to the ambient noise stochastic parameter;
Concatenate into the corresponding 4th based on third basis character string to check character string sequence;
Merge the third basis character string string and the described 4th to check character string sequence, generates second character string String.
5. according to the method described in claim 3, it is characterized in that, determining character index value according to the second character string string Including:
It is at least two segments by the second character string string cutting, the character string string of each segment is as character index Value.
6. -5 any method according to claim 1, which is characterized in that the network side equipment is block chain network node Or account service end.
7. according to the method described in claim 6, it is characterized in that, the network side equipment is the account of third-party application platform Server-side, the account service end are block chain network node or are interacted by interface and block chain network node;It is described Method further includes:
The account of digital wallet account and third-party application that the account client is initiated creation or restored is bound;
The public key that the account client provides is obtained, and the digital wallet account is inquired from block chain network by public key Information or generate gathering address.
8. a kind of determination method of account key, which is characterized in that it is applied to account client, the method includes:
The account key recovery request initiated to network side equipment, wherein be provided in the account key recovery request publicly-owned Mnemonic(al) character;
Network side equipment is received according to the first character string string of the publicly-owned mnemonic(al) character feedback;
According to the first character string string, the public key and private key of account are generated based on setting Encryption Algorithm.
9. according to the method described in claim 8, it is characterized in that, according to the first character string string, based on setting encryption Algorithm generates the public key of account and private key includes:
Obtain the privately owned mnemonic(al) character of user's input;
According to the first character string string and privately owned mnemonic(al) character, the 5th character string string is generated;
According to the 5th character string string, the public key and private key of account are generated based on setting Encryption Algorithm.
10. according to the method described in claim 8, it is characterized in that, further including:
The account key request to create initiated to network side equipment;
Receive the first character string string and publicly-owned mnemonic(al) character of network side equipment feedback;
According to the first character string string, the public key and private key of account are generated based on setting Encryption Algorithm.
11. according to the method described in claim 10, it is characterized in that, the account key request to create initiated to network side equipment Including:
The ambient noise parameter of hardware device, is added to the account for the ambient noise parameter where acquiring account client In key request to create, wherein the ambient noise parameter for generating third basis character string sequence at random;Or
The ambient noise parameter of hardware device where acquiring account client generates third according to the ambient noise stochastic parameter Basic character string string is added in the account key request to create.
12. according to the method for claim 11, which is characterized in that the environment of hardware device is made an uproar where acquisition account client Before sound parameter, further include:
According to account safety grade set by user, the ambient noise parameter of hardware device where determining acquisition account client Quantity.
13. according to any method of claim 8-12, which is characterized in that the account key initiated to network side equipment is extensive Multiple request or account key request to create include:
The account key recovery request is initiated by the account client-side interface in third-party application interactive interface or account is close Key request to create to third-party application platform account service end, by the corresponding digital wallet account of account client and third The account of Fang Yingyong is bound, wherein block chain network node is in the account service end or passes through interface and block link network Network node interacts.
14. a kind of determining device of account key, which is characterized in that be set to network side equipment, described device includes:
Account key recovery request receiving module obtains institute for receiving the account key recovery request of account client initiation The publicly-owned mnemonic(al) character provided in account key recovery request is provided;
First character string string determining module, for determining corresponding character index value, and root according to the publicly-owned mnemonic(al) character The first character string string is determined according to the character index value;
First the first feedback module of character string string, for the first character string string to be fed back to the account client, Wherein, the first character string string is used to generate the public key and private key of account based on setting Encryption Algorithm.
15. device according to claim 14, which is characterized in that further include:
Second character string string generation module for obtaining the account key request to create of account client initiation, and generates the Two character string strings;
Character index value determining module, for determining character index value according to the second character string string;
Publicly-owned mnemonic(al) character determining module, for determining corresponding publicly-owned mnemonic(al) character according to the character index value;
First character string string generation module, for generating the first character string string according to the publicly-owned mnemonic(al) character;
First the second feedback module of character string string, for the first character string string to be fed back to account client.
16. a kind of determining device of account key, which is characterized in that be set to account client, described device includes:
Account key recovery request sending module, the account key recovery request for being initiated to network side equipment, wherein described Publicly-owned mnemonic(al) character is provided in account key recovery request;
First character string string receiving module, for receiving network side equipment according to the first word of the publicly-owned mnemonic(al) character feedback Accord with sequence string;
Key pair generation module, for generating the public key of account based on setting Encryption Algorithm according to the first character string string And private key.
17. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now determination method of the account key as described in any in claim 1-7.
18. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now determination method of the account key as described in any in claim 8-13.
19. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor The determination method of account key as described in any in claim 1-7.
20. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor The determination method of account key as described in any in claim 8-13.
CN201810613781.XA 2018-06-14 2018-06-14 Determination method, apparatus, equipment and the storage medium of account key Pending CN108833093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810613781.XA CN108833093A (en) 2018-06-14 2018-06-14 Determination method, apparatus, equipment and the storage medium of account key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810613781.XA CN108833093A (en) 2018-06-14 2018-06-14 Determination method, apparatus, equipment and the storage medium of account key

Publications (1)

Publication Number Publication Date
CN108833093A true CN108833093A (en) 2018-11-16

Family

ID=64141805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810613781.XA Pending CN108833093A (en) 2018-06-14 2018-06-14 Determination method, apparatus, equipment and the storage medium of account key

Country Status (1)

Country Link
CN (1) CN108833093A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412798A (en) * 2018-12-06 2019-03-01 中链科技有限公司 Private key generation, data interactive method and its system of block chain
CN109639421A (en) * 2019-01-09 2019-04-16 山东浪潮质量链科技有限公司 A kind of method that private key is given for change and server
CN109754254A (en) * 2019-01-11 2019-05-14 北京阿尔山区块链联盟科技有限公司 Key management method, device and electronic equipment
CN109801071A (en) * 2019-01-17 2019-05-24 厦门美图之家科技有限公司 Password remapping method and device
CN109818751A (en) * 2019-02-02 2019-05-28 百度在线网络技术(北京)有限公司 Key handling and application method, device, equipment and storage medium
CN109993510A (en) * 2019-03-11 2019-07-09 杭州复杂美科技有限公司 Mnemonic word generation method, private key generation method, wallet introduction method
CN110084599A (en) * 2019-04-28 2019-08-02 百度在线网络技术(北京)有限公司 Cipher key processing method, device, equipment and storage medium
CN110163604A (en) * 2019-04-29 2019-08-23 华中科技大学 A kind of block chain assets transfer method based on multi-party verification
CN110599653A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Access control unlocking method, device and storage medium
CN111130774A (en) * 2019-12-26 2020-05-08 北京阿尔山区块链联盟科技有限公司 Password generation method, device and equipment
WO2020103285A1 (en) * 2018-11-20 2020-05-28 深圳壹账通智能科技有限公司 Lost key retrieval method employing symmetric encryption and related device
CN111325545A (en) * 2018-12-13 2020-06-23 北京沃东天骏信息技术有限公司 Key management method, device and equipment based on block chain
WO2020182151A1 (en) * 2019-03-11 2020-09-17 上海唯链信息科技有限公司 Methods for splitting and recovering key, program product, storage medium, and system
CN111770064A (en) * 2020-06-08 2020-10-13 珠海格力电器股份有限公司 Data communication method, device, storage medium and electronic equipment
CN112291355A (en) * 2020-10-30 2021-01-29 上海阿吉必信息技术有限公司 Key backup and recovery method and device for block chain wallet
CN112765638A (en) * 2021-01-28 2021-05-07 武汉市博畅软件开发有限公司 Data encryption communication method and system
CN113922954A (en) * 2021-10-04 2022-01-11 杭州复杂美科技有限公司 Block chain private key generating and retrieving method, equipment and storage medium
CN115130149A (en) * 2022-09-01 2022-09-30 北京百度网讯科技有限公司 Block chain processing method, device, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1467676A (en) * 2002-07-08 2004-01-14 徐新晟 Variable code and multiple code encryption safety method and system
CN101047503A (en) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 Method and system for fetching cipher
US20130151859A1 (en) * 2011-12-07 2013-06-13 Synaptilogix LLC Key and method for entering computer related passwords via a mnemonic combination
CN103684766A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Private key protection method and system for terminal user
CN104143068A (en) * 2014-07-16 2014-11-12 宇龙计算机通信科技(深圳)有限公司 Password authentication method and system
CN105376287A (en) * 2014-08-29 2016-03-02 优视科技有限公司 Identification data processing method and system, and server
CN105516126A (en) * 2015-12-04 2016-04-20 上海斐讯数据通信技术有限公司 System and method for generating simple password on webpage end
CN106357401A (en) * 2016-11-11 2017-01-25 武汉理工大学 Private key storage method and private key use method
CN107181591A (en) * 2017-05-10 2017-09-19 上海上讯信息技术股份有限公司 The method and apparatus generated for system password
US20170337287A1 (en) * 2003-06-25 2017-11-23 Susan (Zann) Gill Intelligent integrating system for crowdsourcing and collaborative intelligence in human- and device- adaptive query-response networks
CN107453862A (en) * 2017-05-15 2017-12-08 杭州复杂美科技有限公司 Private key generation storage and the scheme used
CN107480986A (en) * 2017-08-14 2017-12-15 飞天诚信科技股份有限公司 A kind of method and hardware wallet that digital cash wallet is realized using hardware

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1467676A (en) * 2002-07-08 2004-01-14 徐新晟 Variable code and multiple code encryption safety method and system
US20170337287A1 (en) * 2003-06-25 2017-11-23 Susan (Zann) Gill Intelligent integrating system for crowdsourcing and collaborative intelligence in human- and device- adaptive query-response networks
CN101047503A (en) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 Method and system for fetching cipher
US20130151859A1 (en) * 2011-12-07 2013-06-13 Synaptilogix LLC Key and method for entering computer related passwords via a mnemonic combination
CN103684766A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Private key protection method and system for terminal user
CN104143068A (en) * 2014-07-16 2014-11-12 宇龙计算机通信科技(深圳)有限公司 Password authentication method and system
CN105376287A (en) * 2014-08-29 2016-03-02 优视科技有限公司 Identification data processing method and system, and server
CN105516126A (en) * 2015-12-04 2016-04-20 上海斐讯数据通信技术有限公司 System and method for generating simple password on webpage end
CN106357401A (en) * 2016-11-11 2017-01-25 武汉理工大学 Private key storage method and private key use method
CN107181591A (en) * 2017-05-10 2017-09-19 上海上讯信息技术股份有限公司 The method and apparatus generated for system password
CN107453862A (en) * 2017-05-15 2017-12-08 杭州复杂美科技有限公司 Private key generation storage and the scheme used
CN107480986A (en) * 2017-08-14 2017-12-15 飞天诚信科技股份有限公司 A kind of method and hardware wallet that digital cash wallet is realized using hardware

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103285A1 (en) * 2018-11-20 2020-05-28 深圳壹账通智能科技有限公司 Lost key retrieval method employing symmetric encryption and related device
CN109412798A (en) * 2018-12-06 2019-03-01 中链科技有限公司 Private key generation, data interactive method and its system of block chain
CN111325545B (en) * 2018-12-13 2023-05-02 北京沃东天骏信息技术有限公司 Key management method, device and equipment based on blockchain
CN111325545A (en) * 2018-12-13 2020-06-23 北京沃东天骏信息技术有限公司 Key management method, device and equipment based on block chain
CN109639421B (en) * 2019-01-09 2021-09-21 山东浪潮质量链科技有限公司 Method for retrieving private key and server
CN109639421A (en) * 2019-01-09 2019-04-16 山东浪潮质量链科技有限公司 A kind of method that private key is given for change and server
CN109754254A (en) * 2019-01-11 2019-05-14 北京阿尔山区块链联盟科技有限公司 Key management method, device and electronic equipment
CN109801071A (en) * 2019-01-17 2019-05-24 厦门美图之家科技有限公司 Password remapping method and device
CN109801071B (en) * 2019-01-17 2020-09-29 厦门美图之家科技有限公司 Password resetting method and device
CN109818751B (en) * 2019-02-02 2021-12-07 百度在线网络技术(北京)有限公司 Key processing and using method, device, equipment and storage medium
CN109818751A (en) * 2019-02-02 2019-05-28 百度在线网络技术(北京)有限公司 Key handling and application method, device, equipment and storage medium
WO2020182151A1 (en) * 2019-03-11 2020-09-17 上海唯链信息科技有限公司 Methods for splitting and recovering key, program product, storage medium, and system
CN109993510A (en) * 2019-03-11 2019-07-09 杭州复杂美科技有限公司 Mnemonic word generation method, private key generation method, wallet introduction method
CN110084599A (en) * 2019-04-28 2019-08-02 百度在线网络技术(北京)有限公司 Cipher key processing method, device, equipment and storage medium
CN110084599B (en) * 2019-04-28 2021-04-20 百度在线网络技术(北京)有限公司 Key processing method, device, equipment and storage medium
CN110163604A (en) * 2019-04-29 2019-08-23 华中科技大学 A kind of block chain assets transfer method based on multi-party verification
CN110163604B (en) * 2019-04-29 2021-02-09 华中科技大学 Block chain asset transfer method based on multi-party verification
CN110599653A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Access control unlocking method, device and storage medium
CN110599653B (en) * 2019-09-11 2022-02-11 腾讯科技(深圳)有限公司 Access control unlocking method, device and storage medium
CN111130774A (en) * 2019-12-26 2020-05-08 北京阿尔山区块链联盟科技有限公司 Password generation method, device and equipment
CN111770064A (en) * 2020-06-08 2020-10-13 珠海格力电器股份有限公司 Data communication method, device, storage medium and electronic equipment
CN112291355B (en) * 2020-10-30 2022-09-09 上海阿吉必信息技术有限公司 Key backup and recovery method and device for block chain wallet
CN112291355A (en) * 2020-10-30 2021-01-29 上海阿吉必信息技术有限公司 Key backup and recovery method and device for block chain wallet
CN112765638A (en) * 2021-01-28 2021-05-07 武汉市博畅软件开发有限公司 Data encryption communication method and system
CN112765638B (en) * 2021-01-28 2023-02-24 武汉市博畅软件开发有限公司 Data encryption communication method and system
CN113922954A (en) * 2021-10-04 2022-01-11 杭州复杂美科技有限公司 Block chain private key generating and retrieving method, equipment and storage medium
CN115130149A (en) * 2022-09-01 2022-09-30 北京百度网讯科技有限公司 Block chain processing method, device, equipment and storage medium
CN115130149B (en) * 2022-09-01 2023-01-06 北京百度网讯科技有限公司 Block chain processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108833093A (en) Determination method, apparatus, equipment and the storage medium of account key
US10402433B2 (en) Method and apparatus for recommending answer to question based on artificial intelligence
US11615169B2 (en) Authentication using cognitive analysis
JP2006505051A (en) Apparatus, method and system for use in executing user authentication
CN110084599A (en) Cipher key processing method, device, equipment and storage medium
EP2238558A1 (en) Apparatus, and an associated methodology, for facilitating authentication using a digital music authentication token
CN108431842A (en) Method for being authenticated and verifying to file and server
US11520829B2 (en) Training a question-answer dialog sytem to avoid adversarial attacks
CN109766707A (en) Data processing method, device, equipment and medium based on block chain
KR102319006B1 (en) First copyright holder authentication system using blockchain and its method
US20240028893A1 (en) Generating neural network outputs using insertion commands
CN108770370A (en) Method for being authenticated and verifying to file and server
CN109145164A (en) Data processing method, device, equipment and medium
CN112073235A (en) Multifunctional mutual-help system of virtual machine
CN115914148A (en) Conversational agent with two-sided modeling
CN107622208A (en) Note encryption and decryption method and related product
CN107171808A (en) A kind of verification method and device of electronic record authenticity
US20180047025A1 (en) Multiple-Point Cognitive Identity Challenge System Using Voice Analysis
US9886572B2 (en) Lie vault
WO2021135549A1 (en) Service item processing permissions authorization method and apparatus, computer device, and storage medium
WO2021082861A1 (en) Scoring method and apparatus, electronic device, and storage medium
CN106098070A (en) A kind of identity identifying method and network system
US11314486B2 (en) Methods, systems, apparatuses, and devices of facilitating creating a computer application based on a natural language
KR102215600B1 (en) Public data providing apparatus providing public data available as annotations inserted into documents through differential authentication processing based on security level and operating method thereof
CN110457954A (en) Contract management apparatus and method

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: 20181116

RJ01 Rejection of invention patent application after publication