CN109359976A - Account number cipher management method, device, equipment and storage medium based on block chain - Google Patents

Account number cipher management method, device, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN109359976A
CN109359976A CN201811039633.8A CN201811039633A CN109359976A CN 109359976 A CN109359976 A CN 109359976A CN 201811039633 A CN201811039633 A CN 201811039633A CN 109359976 A CN109359976 A CN 109359976A
Authority
CN
China
Prior art keywords
block chain
account number
number cipher
contract
private key
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
CN201811039633.8A
Other languages
Chinese (zh)
Inventor
黄珂
黄培之
陈剑勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
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 Shenzhen University filed Critical Shenzhen University
Priority to CN201811039633.8A priority Critical patent/CN109359976A/en
Publication of CN109359976A publication Critical patent/CN109359976A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention is applicable in block chain technical field, provide a kind of account number cipher management method based on block chain, device, equipment and storage medium, this method comprises: the block chain log on request sent by remote procedure call protocol interface user, and encapsulate the block chain address for including in the request and block chain private key, the logon information after encapsulation is sent to again and logs in contract, contract is logged in by this, and authentication is carried out to block chain address and block chain private key, after being verified, it obtains and exports by account number cipher acquisition contract and be stored in all account number cipher information in the corresponding block chain of block chain private key, to realize the management to account encrypted message, to be managed by multiple personal account number cipher information of the block chain private key to user, it is anti-lost to improve account number cipher, it is anti-tamper, the probability of Anti-theft, into And the safety of the account number cipher management based on block chain is improved, and reduce the management cost and operation cost to account number cipher.

Description

Account number cipher management method, device, equipment and storage medium based on block chain
Technical field
The invention belongs to block chain technical field more particularly to a kind of account number cipher management methods based on block chain, dress It sets, equipment and storage medium.
Background technique
With the continuous development of information technology and internet, no matter handles official business or personal lifestyle is all gradually dependent on various each The network service of sample, in order to guarantee the safety of various network services, user identity authentication is indispensable a part, because This, user needs to carry out the registration of account number cipher in hundreds and thousands of a websites and application, to complete authentication, at this point, such as Fruit user uses same set of account number cipher in different web sites and application, once some websites are by security threat, hacker's energy User is allowed to generate loss by hitting library attack, and if registering different account number ciphers in each website and application, user Probably forget.
Therefore, account number cipher management system Internet-based is developed, currently, account number cipher management system is mainly The different account number ciphers that oneself is uploaded by user, then upload onto the server after different encryption technologies, when user needs When using the account number cipher for giving server storage, authentication, verifying are carried out to user by account number cipher management system By rear, the storing data got is decrypted in account number cipher management system, then the information after decryption is presented to the user. However, this account number cipher management system is mostly using the technical solution of centralization, and the server of centralization be easy by To attack, leaking data is improved and the risk that is stolen, is tampered.
Summary of the invention
The purpose of the present invention is to provide a kind of account number cipher management method, device, equipment and storages based on block chain Medium, it is intended to solve that a kind of effective account number cipher management method can not be provided due to the prior art, account number cipher is caused easily to be lost It loses, easily distort, account number cipher manages unsafe problem.
On the one hand, the present invention provides a kind of account number cipher management method based on block chain, the method includes following Step:
When receiving the block chain log on request of user's transmission, pass through the remote procedure call protocol interface constructed in advance The block chain address and block chain private key corresponding with the block chain address of user input are packaged, and will encapsulation Logon information afterwards is sent to the contract that logs in disposed in advance, and the block chain log on request includes the block chain address and institute State block chain private key;
By the contract that logs in the block chain address received and block chain private key progress authentication;
After the authentication passes through, contract is obtained by the account number cipher disposed in advance obtains and export and be stored in institute All account number cipher information in the corresponding block chain of block chain private key are stated, to realize the management to the account number cipher information.
Preferably, it obtains and exports by the account number cipher acquisition contract disposed in advance and be stored in the block chain private key pair In the block chain answered the step of all account number cipher information after, the method also includes:
When receiving the account number cipher addition request that the user sends, the account to be added of user's input is obtained Encrypted message;
The account number cipher information to be added received is encrypted by preset Encryption Algorithm, is obtained corresponding Account number cipher encryption information;
Contract is added by the account number cipher disposed in advance, and the account number cipher encryption information is added to the block chain In the corresponding memory space of private key.
Preferably, it obtains and exports by the account number cipher acquisition contract disposed in advance and be stored in the block chain private key pair In the block chain answered the step of all account number cipher information after, the method also includes:
When receiving the account number cipher removal request that the user sends, obtained according to the account number cipher removal request Account number cipher information to be deleted;
Contract is deleted by the account number cipher disposed in advance to delete the account number cipher information to be deleted.
Preferably, by it is described log in contract to the block chain address address and the block chain private key received into After the step of row authentication, the method also includes:
After authentication failure, the block chain private key is registered by the registration contract disposed in advance, Corresponding block chain address is generated, and jumps to and the user is inputted by the remote procedure call protocol interface constructed in advance Block chain address and block chain private key corresponding with the block chain address be packaged, and by after encapsulation logon information send out It send to the contract that logs in disposed in advance, the block chain log on request includes the block chain address and the block chain private key Step.
On the other hand, the present invention provides a kind of account number cipher managing device based on block chain, described device includes:
Logon information transmission unit, for when receive user transmission block chain log on request when, by constructing in advance Remote procedure call protocol interface block chain address that the user is inputted and block corresponding with the block chain address Chain private key is packaged, and the logon information after encapsulation is sent to the contract that logs in disposed in advance, and the block chain, which logs in, asks It asks including the block chain address and the block chain private key;
Identity authenticating unit, for logging in contract to the block chain address and the block chain received by described Private key carries out authentication;And
Account number cipher output unit, for being obtained by the account number cipher disposed in advance after the authentication passes through Contract, which is obtained and exported, is stored in all account number cipher information in the corresponding block chain of the block chain private key, to realize to described The management of account number cipher information.
Preferably, described device further include:
Information acquisition unit is added, for obtaining institute when receiving the account number cipher addition request that the user sends State the account number cipher information to be added of user's input;
Account number cipher encryption unit, for being believed by preset Encryption Algorithm the account number cipher to be added received Breath is encrypted, and corresponding account number cipher encryption information is obtained;
Account number cipher adding unit adds contract for the account number cipher by disposing in advance and encrypts the account number cipher Information is added in the corresponding memory space of the block chain private key;
Information acquisition unit is deleted, for when receiving the account number cipher removal request that the user sends, according to institute It states account number cipher removal request and obtains account number cipher information to be deleted;
Account number cipher deletes unit, and it is close to the account to be deleted to delete contract for the account number cipher by disposing in advance Code information is deleted;And
Private key registering unit, for when the authentication unsuccessfully after, by the registration contract disposed in advance to the area Block chain private key is registered, and corresponding block chain address is generated, and is triggered logon information transmission unit and executed by constructing in advance Remote procedure call protocol interface block chain address that the user is inputted and block corresponding with the block chain address Chain private key is packaged.
On the other hand, the present invention also provides a kind of calculating equipment, including memory, processor and it is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program Step described in the above-mentioned account number cipher management method based on block chain.
On the other hand, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with computer program, such as the above-mentioned account number cipher pipe based on block chain is realized when the computer program is executed by processor Step described in reason method.
The present invention when receive user transmission block chain log on request when, by remote procedure call protocol interface to The block chain address of family input and block chain private key corresponding with block chain address are packaged, and by the logon information after encapsulation It is sent to and logs in contract, contract is logged in by this, authentication is carried out to the block chain address and block chain private key received, when After authentication passes through, contract is obtained by account number cipher and obtains and exports user and be stored in the corresponding block chain of block chain private key In all account number cipher information, to realize management to account encrypted message, thus by a block chain private key to user's Multiple individual's account number cipher information are managed, and improve anti-lost, anti-tamper, Anti-theft the probability of account number cipher, Jin Erti The high safety of the account number cipher management based on block chain, and reduce the management cost and operation cost to account number cipher.
Detailed description of the invention
Fig. 1 is the implementation flow chart for the account number cipher management method based on block chain that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of the account number cipher managing device provided by Embodiment 2 of the present invention based on block chain;
Fig. 3 is the preferred structure signal of the account number cipher managing device provided by Embodiment 2 of the present invention based on block chain Figure;And
Fig. 4 is the structural schematic diagram for the calculating equipment that the embodiment of the present invention three provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process of the account number cipher management method based on block chain of the offer of the embodiment of the present invention one, For ease of description, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s101, when receiving the block chain log on request of user's transmission, pass through the long-range mistake constructed in advance The block chain address and block chain private key corresponding with block chain address that journey invocation protocol interface inputs user are packaged, and Logon information after encapsulation is sent to dispose in advance log in contract.
The embodiment of the present invention is suitable for data processing platform (DPP), system or equipment, for example, personal computer, server etc..Area Block chain address is the proof of identification in block chain technology, and all data and transaction on block chain are all using block chain address as body It part is sent, therefore, user can be loaded into the block chain private key of oneself by browser or other third-party applications, and with Block chain address be identity to construct in advance remote procedure call protocol (Remote Procedure Call Protocol, RPC) interface sends block chain log on request, which includes block chain address and block chain private key, RPC interface After receiving the block chain log on request, the block chain address and block chain private key be loaded into user is packaged, after obtaining encapsulation Logon information, and trigger block chain address it is corresponding, it is pre-generated log in contract address, the logon information after encapsulating It is forwarded to this and logs in that contract address is corresponding, is previously deployed on the corresponding block chain of the block chain address and logs in contract.
In step s 102, block chain address and block chain private key the progress identity received is tested by logging in contract Card.
In embodiments of the present invention, by log in contract address it is corresponding log in contract to the block chain address that receives and The correctness of block chain private key is verified, and to verify user identity, when subscriber authentication passes through, thens follow the steps S103, Otherwise, block chain address or block chain private key mistake are prompted.
After by logging in contract to block chain address and block chain private key the progress authentication received, preferably Block chain private key is registered by the registration contract disposed in advance, generates corresponding block after authentication failure in ground Chain address, and the S101 that gos to step, to improve the safety of block chain memory space access.
Block chain private key is registered by the registration contract disposed in advance, generate corresponding block chain address it Before, it is preferable that account (Accounts) memory space is defined in block chain intelligence contract layer and item (Items) storage is empty Between, wherein Accounts memory space is responsible for storing block chain address-block chain private that user registers in block chain database Key (i.e. address-password) is right, and address-password has uniquely managed all account number ciphers letter that user stores under the block chain address Breath, Items memory space are responsible for storing the single account number cipher information under some block chain address, thus permanent by the two The memory space being stored in block chain, the hidden danger for avoiding loss of data and being maliciously tampered.
Account (Accounts) memory space and item (Items) memory space are being defined in block chain intelligence contract layer Later, it is preferable that deployment registers contract, logs in contract, account number cipher acquisition contract, account number cipher addition conjunction on the block chain About and account number cipher deletes contract, generates corresponding registration contract address, logs in contract address, account number cipher acquisition contract Location, account number cipher addition contract address and account number cipher delete contract address, to improve to being stored in the block chain Account number cipher management safety.
In step s 103, it after authentication passes through, is obtained by the account number cipher acquisition contract disposed in advance and defeated All account number cipher information in the corresponding block chain of block chain private key are stored in, out to realize the management to account encrypted message.
In embodiments of the present invention, it after authentication passes through, is intelligently closed on the corresponding block chain of triggering block chain private key Account number cipher in about obtains contract address, obtains the corresponding account number cipher in contract address by account number cipher and obtains contract acquisition User is stored in account number cipher information all in the corresponding block chain of block chain private key, and all account number ciphers that will acquire Information display output operates so that user can check to the account number cipher information of display output, delete, add etc., from And realize the management to account encrypted message.
It obtains and exports in the account number cipher acquisition contract by disposing in advance and be stored in the corresponding block of block chain private key In chain after all account number cipher information, it is preferable that when receiving the account number cipher addition request of user's transmission, obtain user The account number cipher information to be added of input, by preset Encryption Algorithm (for example, Message Digest 5 (Message Digest Algorithm, MD5)) the account number cipher information to be added received is encrypted, obtain corresponding account number cipher encryption letter Breath adds contract by the account number cipher disposed in advance and account number cipher encryption information is added to the corresponding storage of block chain private key In space, to improve the safety of account number cipher addition.
It obtains and exports in the account number cipher acquisition contract by disposing in advance and be stored in the corresponding block of block chain private key In chain after all account number cipher information, it is another preferably, when receive user transmission account number cipher removal request when, according to Account number cipher removal request obtains account number cipher information to be deleted, deletes contract to be deleted by the account number cipher disposed in advance Account number cipher information is deleted, to improve the safety of account number cipher deletion.
In embodiments of the present invention, it is logged in and is asked by the block chain that remote procedure call protocol interface user sends It asks, and encapsulates the block chain address for including in the request and block chain private key, then the logon information after encapsulation is sent to and is logged in Contract logs in contract by this and passes through account after being verified to block chain address and the progress authentication of block chain private key Password acquisition contract, which is obtained and exported, is stored in all account number cipher information in the corresponding block chain of block chain private key, with realization pair The management of account number cipher information, to carry out pipe by multiple personal account number cipher information of the block chain private key to user Reason, improves anti-lost, anti-tamper, Anti-theft the probability of account number cipher, and then improve the account number cipher pipe based on block chain The safety of reason, and reduce management cost and operation cost to account number cipher.
Embodiment two:
Fig. 2 shows the structure of the account number cipher managing device provided by Embodiment 2 of the present invention based on block chain, in order to Convenient for explanation, only parts related to embodiments of the present invention are shown, including:
Logon information transmission unit 21, for passing through preparatory structure when receiving the block chain log on request of user's transmission The block chain address and block chain private key corresponding with block chain address that the remote procedure call protocol interface built inputs user Be packaged, and the logon information after encapsulation is sent to dispose in advance log in contract.
The embodiment of the present invention is suitable for data processing platform (DPP), system or equipment, for example, personal computer, server etc..Area Block chain address is the proof of identification in block chain technology, and all data and transaction on block chain are all using block chain address as body It part is sent, therefore, user can be loaded into the block chain private key of oneself by browser or other third-party applications, and with Block chain address be identity to construct in advance remote procedure call protocol (Remote Procedure Call Protocol, RPC) interface sends block chain log on request, which includes block chain address and block chain private key, RPC interface After receiving the block chain log on request, the block chain address and block chain private key be loaded into user is packaged, after obtaining encapsulation Logon information, and trigger block chain address it is corresponding, it is pre-generated log in contract address, the logon information after encapsulating It is forwarded to this and logs in that contract address is corresponding, is previously deployed on the corresponding block chain of the block chain address and logs in contract.
Identity authenticating unit 22, for carrying out body to the block chain address and block chain private key received by logging in contract Part verifying.
In embodiments of the present invention, by log in contract address it is corresponding log in contract to the block chain address that receives and The correctness of block chain private key is verified, and to verify user identity, when subscriber authentication passes through, then it is defeated to trigger account number cipher Otherwise unit 23 out prompt block chain address or block chain private key mistake.
After by logging in contract to block chain address and block chain private key the progress authentication received, preferably Block chain private key is registered by the registration contract disposed in advance, generates corresponding block after authentication failure in ground Chain address, and it is defeated to user by the remote procedure call protocol interface constructed in advance to trigger the execution of logon information transmission unit 21 The block chain address and block chain private key corresponding with block chain address entered is packaged, to improve block chain memory space The safety of access.
Block chain private key is registered by the registration contract disposed in advance, generate corresponding block chain address it Before, it is preferable that account (Accounts) memory space is defined in block chain intelligence contract layer and item (Items) storage is empty Between, wherein Accounts memory space is responsible for storing block chain address-block chain private that user registers in block chain database Key (i.e. address-password) is right, and address-password has uniquely managed all account number ciphers letter that user stores under the block chain address Breath, Items memory space are responsible for storing the single account number cipher information under some block chain address, thus permanent by the two The memory space being stored in block chain, the hidden danger for avoiding loss of data and being maliciously tampered.
Account (Accounts) memory space and item (Items) memory space are being defined in block chain intelligence contract layer Later, it is preferable that deployment registers contract, logs in contract, account number cipher acquisition contract, account number cipher addition conjunction on the block chain About and account number cipher deletes contract, generates corresponding registration contract address, logs in contract address, account number cipher acquisition contract Location, account number cipher addition contract address and account number cipher delete contract address, to improve to being stored in the block chain Account number cipher management safety.
Account number cipher output unit 23, for being obtained and being closed by the account number cipher disposed in advance after authentication passes through It about obtains and exports and be stored in all account number cipher information in the corresponding block chain of block chain private key, to realize to account message in cipher The management of breath.
In embodiments of the present invention, it after authentication passes through, is intelligently closed on the corresponding block chain of triggering block chain private key Account number cipher in about obtains contract address, obtains the corresponding account number cipher in contract address by account number cipher and obtains contract acquisition User is stored in account number cipher information all in the corresponding block chain of block chain private key, and all account number ciphers that will acquire Information display output operates so that user can check to the account number cipher information of display output, delete, add etc., from And realize the management to account encrypted message.
It obtains and exports in the account number cipher acquisition contract by disposing in advance and be stored in the corresponding block of block chain private key In chain after all account number cipher information, it is preferable that when receiving the account number cipher addition request of user's transmission, obtain user The account number cipher information to be added of input, by preset Encryption Algorithm (for example, Message Digest 5 (Message Digest Algorithm, MD5)) the account number cipher information to be added received is encrypted, obtain corresponding account number cipher encryption letter Breath adds contract by the account number cipher disposed in advance and account number cipher encryption information is added to the corresponding storage of block chain private key In space, to improve the safety of account number cipher addition.
It obtains and exports in the account number cipher acquisition contract by disposing in advance and be stored in the corresponding block of block chain private key In chain after all account number cipher information, it is another preferably, when receive user transmission account number cipher removal request when, according to Account number cipher removal request obtains account number cipher information to be deleted, deletes contract to be deleted by the account number cipher disposed in advance Account number cipher information is deleted, to improve the safety of account number cipher deletion.
Therefore, as shown in Figure 3, it is preferable that the account number cipher managing device provided in an embodiment of the present invention based on block chain Further include:
Information acquisition unit 24 is added, for obtaining user when receiving the account number cipher addition request of user's transmission The account number cipher information to be added of input;
Account number cipher encryption unit 25, for by preset Encryption Algorithm to the account number cipher information to be added received It is encrypted, obtains corresponding account number cipher encryption information;
Account number cipher adding unit 26 adds contract and encrypts account number cipher and believes for the account number cipher by disposing in advance Breath is added in the corresponding memory space of block chain private key;
Delete information acquisition unit 27, for when receive user transmission account number cipher removal request when, according to account Password removal request obtains account number cipher information to be deleted;And
Account number cipher deletes unit 28, deletes contract to account number cipher to be deleted for the account number cipher by disposing in advance Information is deleted.
After executing identity authenticating unit 22, when authentication failure, it is preferable that base provided in an embodiment of the present invention In the account number cipher managing device of block chain further include:
Private key registering unit, for when authentication unsuccessfully after, by the registration contract disposed in advance to block chain private key It is registered, generates corresponding block chain address, and it is long-range by constructing in advance to trigger the execution of logon information transmission unit 21 The block chain address and block chain private key corresponding with block chain address that invocation of procedure protocol interface inputs user are packaged.
In embodiments of the present invention, each unit of the account number cipher managing device based on block chain can by corresponding hardware or Software unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not To limit the present invention.
Embodiment three:
Fig. 4 shows the structure of the calculating equipment of the offer of the embodiment of the present invention three, for ease of description, illustrates only and this The relevant part of inventive embodiments.
The calculating equipment 4 of the embodiment of the present invention includes processor 40, memory 41 and is stored in memory 41 and can The computer program 42 run on processor 40.The processor 40 is realized above-mentioned based on block chain when executing computer program 42 Account number cipher management method embodiment in step, such as step S101 to S103 shown in FIG. 1.Alternatively, processor 40 is held The function of each unit in above-mentioned each Installation practice, such as the function of unit 21 to 23 shown in Fig. 2 are realized when row computer program 42 Energy.
In embodiments of the present invention, when receiving the block chain log on request of user's transmission, pass through remote procedure call The block chain address and block chain private key corresponding with block chain address that protocol interface inputs user are packaged, and will encapsulation Logon information afterwards, which is sent to, logs in contract, logs in contract by this and carries out to the block chain address and block chain private key received Authentication obtains contract by account number cipher and obtains and export user and be stored in block chain private key after authentication passes through All account number cipher information in corresponding block chain, to realize the management to account encrypted message, to pass through a block chain Private key is managed multiple personal account number cipher information of user, and it is anti-lost, anti-tamper, Anti-theft to improve account number cipher Probability, and then the safety of the account number cipher management based on block chain is improved, and reduce the management cost to account number cipher And operation cost.
The calculating equipment of the embodiment of the present invention can be personal computer, server.Processor 40 is held in the calculating equipment 4 The step of realizing when realizing the account number cipher management method based on block chain when row computer program 42 can refer to preceding method reality The description of example is applied, details are not described herein.
Example IV:
In embodiments of the present invention, a kind of computer readable storage medium is provided, which deposits Computer program is contained, which realizes the above-mentioned account number cipher management method based on block chain when being executed by processor Step in embodiment, for example, step S101 to S103 shown in FIG. 1.Alternatively, real when the computer program is executed by processor The function of each unit in existing above-mentioned each Installation practice, such as the function of unit 21 to 23 shown in Fig. 2.
In embodiments of the present invention, when receiving the block chain log on request of user's transmission, pass through remote procedure call The block chain address and block chain private key corresponding with block chain address that protocol interface inputs user are packaged, and will encapsulation Logon information afterwards, which is sent to, logs in contract, logs in contract by this and carries out to the block chain address and block chain private key received Authentication obtains contract by account number cipher and obtains and export user and be stored in block chain private key after authentication passes through All account number cipher information in corresponding block chain, to realize the management to account encrypted message, to pass through a block chain Private key is managed multiple personal account number cipher information of user, and it is anti-lost, anti-tamper, Anti-theft to improve account number cipher Probability, and then the safety of the account number cipher management based on block chain is improved, and reduce the management cost to account number cipher And operation cost.
The computer readable storage medium of the embodiment of the present invention may include can carry computer program code any Entity or device, recording medium, for example, the memories such as ROM/RAM, disk, CD, flash memory.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of account number cipher management method based on block chain, which is characterized in that the method includes the following steps:
When receiving the block chain log on request of user's transmission, by the remote procedure call protocol interface that constructs in advance to institute The block chain address and block chain private key corresponding with the block chain address for stating user's input are packaged, and will be after encapsulation Logon information is sent to the contract that logs in disposed in advance, and the block chain log on request includes the block chain address and the area Block chain private key;
By the contract that logs in the block chain address received and block chain private key progress authentication;
After the authentication passes through, contract is obtained by the account number cipher disposed in advance obtains and export and be stored in the area All account number cipher information in the corresponding block chain of block chain private key, to realize the management to the account number cipher information.
2. the method as described in claim 1, which is characterized in that obtained by the account number cipher acquisition contract disposed in advance and defeated After the step of being stored in all account number cipher information in the corresponding block chain of the block chain private key out, the method is also wrapped It includes:
When receiving the account number cipher addition request that the user sends, the account number cipher to be added of user's input is obtained Information;
The account number cipher information to be added received is encrypted by preset Encryption Algorithm, obtains corresponding account Password encryption information;
Contract is added by the account number cipher disposed in advance, and the account number cipher encryption information is added to the block chain private key In corresponding memory space.
3. the method as described in claim 1, which is characterized in that obtained by the account number cipher acquisition contract disposed in advance and defeated After the step of being stored in all account number cipher information in the corresponding block chain of the block chain private key out, the method is also wrapped It includes:
When receiving the account number cipher removal request that the user sends, obtained according to the account number cipher removal request wait delete Except account number cipher information;
Contract is deleted by the account number cipher disposed in advance to delete the account number cipher information to be deleted.
4. the method as described in claim 1, which is characterized in that log in contract to the block chain received by described After the step of location address and the block chain private key carry out authentication, the method also includes:
After authentication failure, the block chain private key is registered by the registration contract disposed in advance, is generated Corresponding block chain address, and jump to the area inputted by the remote procedure call protocol interface constructed in advance to the user The step of block chain address and block chain private key corresponding with the block chain address are packaged.
5. a kind of account number cipher managing device based on block chain, which is characterized in that described device includes:
Logon information transmission unit, for when receive user transmission block chain log on request when, it is remote by what is constructed in advance The block chain address and block chain corresponding with block chain address private that journey invocation of procedure protocol interface inputs the user Key is packaged, and the logon information after encapsulation is sent to the contract that logs in disposed in advance, the block chain log on request packet Include the block chain address and the block chain private key;
Identity authenticating unit, for logging in contract to the block chain address and the block chain private key received by described Carry out authentication;And
Account number cipher output unit, for obtaining contract by the account number cipher disposed in advance after the authentication passes through It obtains and exports and be stored in all account number cipher information in the corresponding block chain of the block chain private key, to realize to the account The management of encrypted message.
6. device as claimed in claim 5, which is characterized in that described device further include:
Information acquisition unit is added, for obtaining the use when receiving the account number cipher addition request that the user sends The account number cipher information to be added of family input;
Account number cipher encryption unit, for by preset Encryption Algorithm to the account number cipher information to be added received into Row encryption, obtains corresponding account number cipher encryption information;And
Account number cipher adding unit adds contract for the account number cipher encryption information for the account number cipher by disposing in advance It is added in the corresponding memory space of the block chain private key.
7. device as claimed in claim 5, which is characterized in that described device further include:
Information acquisition unit is deleted, for when receiving the account number cipher removal request that the user sends, according to the account Number password removal request obtains account number cipher information to be deleted;And
Account number cipher deletes unit, deletes contract for the account number cipher by disposing in advance and believes the account number cipher to be deleted Breath is deleted.
8. device as claimed in claim 5, which is characterized in that described device further include:
Private key registering unit, for when the authentication unsuccessfully after, by the registration contract disposed in advance to the block chain Private key is registered, and corresponding block chain address is generated, and it is remote by constructing in advance to trigger the execution of logon information transmission unit The block chain address and block chain corresponding with block chain address private that journey invocation of procedure protocol interface inputs the user Key is packaged.
9. a kind of calculating equipment, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
CN201811039633.8A 2018-09-06 2018-09-06 Account number cipher management method, device, equipment and storage medium based on block chain Pending CN109359976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811039633.8A CN109359976A (en) 2018-09-06 2018-09-06 Account number cipher management method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811039633.8A CN109359976A (en) 2018-09-06 2018-09-06 Account number cipher management method, device, equipment and storage medium based on block chain

Publications (1)

Publication Number Publication Date
CN109359976A true CN109359976A (en) 2019-02-19

Family

ID=65350428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811039633.8A Pending CN109359976A (en) 2018-09-06 2018-09-06 Account number cipher management method, device, equipment and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN109359976A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247758A (en) * 2019-05-30 2019-09-17 世纪龙信息网络有限责任公司 The method, apparatus and code management device of Password Management
CN110659476A (en) * 2019-09-20 2020-01-07 北京海益同展信息科技有限公司 Method and apparatus for resetting password
CN111030829A (en) * 2019-12-24 2020-04-17 山东爱城市网信息技术有限公司 Method, device and medium for authorizing login of third-party application based on block chain
WO2019170178A3 (en) * 2019-06-28 2020-04-23 Alibaba Group Holding Limited System and method for blockchain address mapping
CN111241533A (en) * 2020-01-08 2020-06-05 深圳壹账通智能科技有限公司 Block chain-based password management method and device and computer-readable storage medium
US10715322B2 (en) 2019-06-28 2020-07-14 Alibaba Group Holding Limited System and method for updating data in blockchain
CN111600882A (en) * 2020-05-15 2020-08-28 杭州溪塔科技有限公司 Block chain-based account password management method and device and electronic equipment
CN111866000A (en) * 2020-07-24 2020-10-30 宁夏政安信息科技有限公司 Account password management method of computer medium management system
CN112035892A (en) * 2020-07-20 2020-12-04 江苏傲为控股有限公司 Method for managing account number of decentralized electronic contract certificate storage platform
CN112365263A (en) * 2020-11-12 2021-02-12 湖南智慧政务区块链科技有限公司 Block chain account management intercommunication method, device, equipment and storage medium
CN112528270A (en) * 2020-12-09 2021-03-19 苏州市星际云通区块链科技有限公司 Block chain management method and device, electronic equipment and readable storage medium
WO2022001717A1 (en) * 2020-06-30 2022-01-06 京东科技信息技术有限公司 Blockchain-based user information processing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533696A (en) * 2016-11-18 2017-03-22 江苏通付盾科技有限公司 Block chain-based identity authentication methods, authentication server and user terminal
CN107154852A (en) * 2017-04-18 2017-09-12 杭州趣链科技有限公司 A kind of mobile terminal auth method applied towards block chain
CN107301522A (en) * 2017-06-26 2017-10-27 深圳前海华深安信物联技术有限公司 A kind of warehouse receipt system and application method based on block chain
CN108055253A (en) * 2017-12-06 2018-05-18 珠海格力电器股份有限公司 A kind of software login validation method, apparatus and system
CN108173850A (en) * 2017-12-28 2018-06-15 杭州趣链科技有限公司 A kind of identity authorization system and identity identifying method based on block chain intelligence contract
CN108235805A (en) * 2017-12-29 2018-06-29 深圳前海达闼云端智能科技有限公司 Account unifying method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533696A (en) * 2016-11-18 2017-03-22 江苏通付盾科技有限公司 Block chain-based identity authentication methods, authentication server and user terminal
CN107154852A (en) * 2017-04-18 2017-09-12 杭州趣链科技有限公司 A kind of mobile terminal auth method applied towards block chain
CN107301522A (en) * 2017-06-26 2017-10-27 深圳前海华深安信物联技术有限公司 A kind of warehouse receipt system and application method based on block chain
CN108055253A (en) * 2017-12-06 2018-05-18 珠海格力电器股份有限公司 A kind of software login validation method, apparatus and system
CN108173850A (en) * 2017-12-28 2018-06-15 杭州趣链科技有限公司 A kind of identity authorization system and identity identifying method based on block chain intelligence contract
CN108235805A (en) * 2017-12-29 2018-06-29 深圳前海达闼云端智能科技有限公司 Account unifying method and device and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247758A (en) * 2019-05-30 2019-09-17 世纪龙信息网络有限责任公司 The method, apparatus and code management device of Password Management
US10715322B2 (en) 2019-06-28 2020-07-14 Alibaba Group Holding Limited System and method for updating data in blockchain
US10931449B2 (en) 2019-06-28 2021-02-23 Advanced New Technologies Co., Ltd. System and method for updating data in blockchain
WO2019170178A3 (en) * 2019-06-28 2020-04-23 Alibaba Group Holding Limited System and method for blockchain address mapping
US10693629B2 (en) 2019-06-28 2020-06-23 Alibaba Group Holding Limited System and method for blockchain address mapping
CN110659476A (en) * 2019-09-20 2020-01-07 北京海益同展信息科技有限公司 Method and apparatus for resetting password
CN111030829A (en) * 2019-12-24 2020-04-17 山东爱城市网信息技术有限公司 Method, device and medium for authorizing login of third-party application based on block chain
CN111241533A (en) * 2020-01-08 2020-06-05 深圳壹账通智能科技有限公司 Block chain-based password management method and device and computer-readable storage medium
WO2021139140A1 (en) * 2020-01-08 2021-07-15 深圳壹账通智能科技有限公司 Password management method and apparatus employing blockchain, electronic device, and computer-readable storage medium
CN111600882A (en) * 2020-05-15 2020-08-28 杭州溪塔科技有限公司 Block chain-based account password management method and device and electronic equipment
WO2022001717A1 (en) * 2020-06-30 2022-01-06 京东科技信息技术有限公司 Blockchain-based user information processing method and system
CN112035892A (en) * 2020-07-20 2020-12-04 江苏傲为控股有限公司 Method for managing account number of decentralized electronic contract certificate storage platform
CN111866000A (en) * 2020-07-24 2020-10-30 宁夏政安信息科技有限公司 Account password management method of computer medium management system
CN112365263A (en) * 2020-11-12 2021-02-12 湖南智慧政务区块链科技有限公司 Block chain account management intercommunication method, device, equipment and storage medium
CN112528270A (en) * 2020-12-09 2021-03-19 苏州市星际云通区块链科技有限公司 Block chain management method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109359976A (en) Account number cipher management method, device, equipment and storage medium based on block chain
CN106063219B (en) System and method for bio-identification consensus standard
CN110535833B (en) Data sharing control method based on block chain
CN102739708B (en) System and method for accessing third party application based on cloud platform
CN102378170B (en) Method, device and system of authentication and service calling
CN104092647B (en) Network access method, system and client
CN107682331A (en) Internet of Things identity identifying method based on block chain
CN107864115A (en) A kind of method that user account login authentication is carried out using portable terminal
CN104699559B (en) Backing up distributed data method and system
CN109325342A (en) Identity information management method, apparatus, computer equipment and storage medium
JP2004515166A (en) Secure file transfer method and system
KR101082917B1 (en) Method for verifying the integrity of a user's data in remote computing and System thereof
CN110430065B (en) Application service calling method, device and system
EP1062762A4 (en) Message content protection and conditional disclosure
CN104125230B (en) A kind of short message certification service system and authentication method
FR2964812A1 (en) AUTHENTICATION METHOD FOR ACCESSING A WEB SITE
CN112131564A (en) Encrypted data communication method, apparatus, device, and medium
CN105743905A (en) Method, device and system for realizing security login and security equipment
CN109254734A (en) A kind of date storage method, device, equipment and computer readable storage medium
CN104463584B (en) The method for realizing mobile terminal App secure payments
Doshi et al. A review paper on security concerns in cloud computing and proposed security models
CN109934317A (en) A kind of lost article recovering system and method based on two-dimensional barcode information storing technology
CN109829722A (en) A kind of user identity real name identification method of electronic fare payment system
CN106656992A (en) Information verification method
US10826901B2 (en) Systems and method for cross-channel device binding

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

RJ01 Rejection of invention patent application after publication