WO2020061923A1 - 一种基于区块链的账户管理系统以及管理方法、存储介质 - Google Patents

一种基于区块链的账户管理系统以及管理方法、存储介质 Download PDF

Info

Publication number
WO2020061923A1
WO2020061923A1 PCT/CN2018/108016 CN2018108016W WO2020061923A1 WO 2020061923 A1 WO2020061923 A1 WO 2020061923A1 CN 2018108016 W CN2018108016 W CN 2018108016W WO 2020061923 A1 WO2020061923 A1 WO 2020061923A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
server
identity information
account management
private key
Prior art date
Application number
PCT/CN2018/108016
Other languages
English (en)
French (fr)
Inventor
袁振南
林正显
陈国豪
Original Assignee
区链通网络有限公司
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 区链通网络有限公司 filed Critical 区链通网络有限公司
Priority to PCT/CN2018/108016 priority Critical patent/WO2020061923A1/zh
Priority to CN201880002422.9A priority patent/CN109983466B/zh
Publication of WO2020061923A1 publication Critical patent/WO2020061923A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Definitions

  • the present application relates to the technical field of identity authentication, and in particular, to a blockchain-based account management system, a management method, and a storage medium.
  • Identity authentication is the process of determining whether a user is a legitimate user.
  • the most commonly used simple identity authentication method is to check whether the user identity is correct by checking the user name and password entered by the user to see if they are consistent with the user name and password stored in the server.
  • More sophisticated authentication methods use more complicated encryption algorithms and protocols, requiring users to show more information (such as private keys) to prove their identity, such as the Kerberos authentication system.
  • Blockchain technology is called “distributed ledger technology", which is an Internet database technology. It has the characteristics of decentralization, collective maintenance, high transparency, trust and anonymity, and realizes the "end-to-end” transfer of value. As a result, more and more people accept, believe and start using it to build and transform new financial and social service systems.
  • the purpose of this application is to provide a blockchain-based account management system, management method, and storage medium, which can improve the security and convenience of the account.
  • the present application provides a blockchain-based account management method.
  • the account management method is applied to an account management system.
  • the account management system includes a mobile terminal and a first server.
  • the first server is a blockchain network.
  • a node, the account management method includes: the mobile terminal generates a private key and a public key when receiving the account generation instruction; the mobile terminal saves the private key and sends the public key to the first server; the first server is based on the public key Generate identity information; the first server sends the identity information to the mobile terminal, so that the mobile terminal saves the identity information, and the first server broadcasts the pairing formed by the public key and the identity information on the blockchain network to make the block
  • the nodes in the chain network store the pairings in the blockchain network.
  • this application also proposes a blockchain-based account management method.
  • the account management method is applied to a mobile terminal.
  • the mobile terminal and a first server together form an account management system.
  • the first server is a A node
  • an account management method includes: upon receiving an account generation instruction, generating a private key and a public key; storing the private key and sending the public key to a first server, so that the first server generates identity information based on the public key And send the identity information to the mobile terminal, and cause the first server to broadcast the pairing formed by the public key and the identity information in the blockchain network, so that the nodes in the blockchain network store the pairing in the blockchain network Receiving the identity information sent by the first server.
  • this application also proposes a blockchain-based account management method.
  • the account management method is applied to a first server.
  • the first server and the mobile terminal together form an account management system.
  • the first server is a blockchain network.
  • a node, the account management method includes: receiving a public key sent by a mobile terminal; wherein the public key is generated by the mobile terminal; generating identity information based on the public key; and sending the identity information to the mobile terminal so that the mobile terminal saves the identity information , And broadcast the pairing formed by the public key and identity information in the blockchain network, so that the nodes in the blockchain network will store the pairing in the blockchain network.
  • the account management system includes a mobile terminal and a first server, where the first server is a node in the blockchain network; wherein the mobile terminal is configured to receive an account generation instruction upon receiving the account.
  • the first server is used to generate identity information based on the public key and send the identity information to the mobile terminal to
  • the mobile terminal is allowed to save the identity information, and the first server broadcasts the pair formed by the public key and the identity information in the blockchain network, so that the nodes in the blockchain network store the pair in the blockchain network.
  • the present application also proposes a mobile terminal.
  • the mobile terminal includes a first processor and a first memory.
  • the first memory stores a first computer program.
  • the first computer program is executed by the first processor, Used to implement the account management method described above.
  • the present application also proposes a server.
  • the server includes a second processor and a second memory.
  • the second memory stores a second computer program.
  • the server is configured to: Implement the account management method as described above.
  • the present application also proposes a computer storage medium.
  • a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, it is used to implement the account management method as described above.
  • the blockchain-based account management method provided in this application includes: when the mobile terminal receives an account generation instruction, it generates a private key and a public key; the mobile terminal saves the private key, And sends the public key to the first server; the first server generates identity information based on the public key; the first server sends the identity information to the mobile terminal so that the mobile terminal saves the identity information, and the first server sends the public key and the identity
  • the pair formed by the information is broadcast in the blockchain network, so that the nodes in the blockchain network store the pair in the blockchain network.
  • the public key is stored in the blockchain in the form of a key pair, which enhances the security of the account information. The failure of the center resulted in the inability to authenticate.
  • FIG. 1 is a schematic structural diagram of an embodiment of an account management system provided by this application.
  • FIG. 2 is a schematic flowchart of a first embodiment of a blockchain-based account management method provided by the present application
  • FIG. 3 is a schematic diagram of the interaction of FIG. 2;
  • FIG. 4 is a schematic flowchart of a second embodiment of a blockchain-based account management method provided by the present application.
  • FIG. 5 is a schematic diagram of the interaction of FIG. 4;
  • FIG. 6 is a schematic flowchart of a third embodiment of a blockchain-based account management method provided by the present application.
  • FIG. 7 is a flowchart of an account registration process in FIG. 6;
  • FIG. 8 is a flowchart of an account login process in FIG. 6;
  • FIG. 9 is a schematic flowchart of a fourth embodiment of a blockchain-based account management method provided by the present application.
  • FIG. 10 is a schematic structural diagram of an embodiment of a mobile terminal provided by this application.
  • FIG. 11 is a schematic flowchart of a fifth embodiment of a blockchain-based account management method provided by the present application.
  • FIG. 12 is a schematic structural diagram of an embodiment of a server provided by this application.
  • FIG. 13 is a schematic structural diagram of an embodiment of a computer storage medium provided by the present application.
  • the directional indication is only used to explain in a specific posture (as shown in the drawings) (Shown) the relative positional relationship and movement of each component, etc., if the specific posture changes, the directional indicator will change accordingly.
  • FIG. 1 is a schematic structural diagram of an embodiment of an account management system provided by the present application.
  • the account management system includes a mobile terminal 11 and a first server 12, wherein the first server 12 is one of a blockchain network. It can be understood that the blockchain network includes multiple nodes. As shown in FIG. 1, the first server 12, the terminal 13, the terminal 14, the terminal 15,... Constitute the blockchain network together.
  • the blockchain network is a multi-node network system composed of blockchain technology.
  • the blockchain network includes multiple nodes (also referred to as blockchain nodes) that run the blockchain technology and participate in the same blockchain.
  • Blockchain technology is a new type of distributed data organization method and computing method that has emerged with digital cryptocurrencies such as Bitcoin. Its biggest feature is: decentralization, which enables distributed collective maintenance of data, which greatly improves the efficiency of data operations, management, and maintenance; consensus, based on a set of consensus mechanisms between nodes, maintain the entire blockchain through competitive calculations, If any node fails, the remaining nodes can still work normally.
  • the blockchain equipped with asymmetric encryption technology has high security and traceability, which can effectively prevent data leakage or illegal tampering.
  • This application proposes using blockchain technology to implement account management, including account generation, registration, and login.
  • the blockchain technology used in the present application will be exemplified first.
  • the first server 12 runs the blockchain technology to become a node of the blockchain network.
  • the blockchain technology includes a technology layer, a service layer, and a user layer.
  • the technology layer uses the Ethereum public chain platform to block the identity information and connect it into a blockchain. It can be understood that the technology layer is not limited to running the Ethereum public chain. In other application examples, it can run other public chains that can implement blockchain technology, such as the Bitcoin public chain.
  • the service layer is based on the technology layer and implements, for example, account generation, registration, and login.
  • the main manifestation of the user layer is the user interface of the mobile terminal running the blockchain technology, so as to realize the information interaction between the user and other nodes in the blockchain network.
  • This embodiment is based on the Ethereum technology platform, which makes the blockchain network process fewer record bytes, faster hashing algorithms, and a more efficient PoW + PoS consensus mechanism, which reduces the generation time of new blocks to 16.6s. .
  • the combination of accounts and full nodes with cloud storage makes data protection more secure, and user privacy is fully guaranteed.
  • FIG. 2 is a schematic flowchart of a first embodiment of a blockchain-based account management method provided in the present application
  • FIG. 3 is a schematic interaction diagram of FIG. Methods include:
  • Step 21 When the mobile terminal receives the account generation instruction, it generates a private key and a public key.
  • the account generation instruction can be issued by the user.
  • a client is installed in the mobile terminal, and a user can issue an account generation instruction by operating an operation interface of the client. Understandably, the same user can usually only generate a first account, and the account and the user form a unique correspondence relationship.
  • a public key and a private key are a key pair (that is, a public key and a private key) obtained through an algorithm.
  • the public key is the public part of the key pair, and the private key is not.
  • Public keys are often used to encrypt session keys, verify digital signatures, or encrypt data that can be decrypted with the corresponding private key.
  • the key pair obtained by this algorithm can be guaranteed to be unique worldwide.
  • this key pair if one piece of data is encrypted with one key, it must be decrypted with the other key. For example, if you encrypt data with a public key, you must decrypt it with a private key. If you encrypt with a private key, you must also decrypt it with a public key, otherwise the decryption will not succeed.
  • the mobile terminal uses an elliptic curve encryption algorithm to generate the private key and the public key, for example, the curve25519 elliptic curve algorithm.
  • ECC Elliptic Curve Cryptography
  • p is a prime number
  • a and b are two non-negative integers smaller than p, they satisfy: 4a 3 + 27b 2 (mod p) ⁇ 0, where x, y, a, b ⁇ Fp, then satisfy the formula (2 The point (x, y) of) and an infinite point O form the elliptic curve E.
  • Step 22 The mobile terminal saves the private key and sends the public key to the first server.
  • the mobile terminal may send the public key to the base station in a data network manner, and then send it to the first server through the base station.
  • the mobile terminal may send to the router through the WIFI network, and send it through the router. To the base station, which then sends it to the first server.
  • Step 23 The first server generates identity information based on the public key.
  • the identity information may be OpenID.
  • OpenID is a user-centric digital identity framework, which is open and decentralized. The creation of OpenID is based on the concept that we can authenticate the unique identity of a website through a URI (also called a URL or a website address). Similarly, we can also use this method to authenticate users.
  • URI also called a URL or a website address
  • the first server performs a hash operation on the public key to generate the identity information.
  • a hash operation is also commonly called a "hash", which is to transform an input of any length (also called a pre-image) into a fixed-length output through a hash algorithm, and the output is a hash value.
  • This conversion is a kind of compression mapping, that is, the space of the hash value is usually much smaller than the space of the input. Different inputs may be hashed into the same output, so it is impossible to determine the unique input value from the hash value. Simply put, it is a function that compresses messages of any length to a fixed-length message digest.
  • Step 24 The first server sends the identity information to the mobile terminal, so that the mobile terminal saves the identity information, and the first server broadcasts the pairing formed by the public key and the identity information on the blockchain network to enable the blockchain
  • the nodes in the network store the pairings in the blockchain network.
  • step 23 The generation of the identity information is completed in step 23, and the identity information is sent to the mobile terminal in step 24, and the pairing of the identity information and the public key is sent to the blockchain network.
  • step 21 to 24 the account registration is completed. The following describes the login of the account through another embodiment.
  • FIG. 4 is a schematic flowchart of a second embodiment of a blockchain-based account management method provided in the present application.
  • FIG. 5 is an interaction schematic diagram of FIG. 4.
  • the account management method includes:
  • Step 41 The mobile terminal signs the identity information by using the private key to obtain a signature file.
  • the generated key pair (private key and public key) are uniquely corresponding. Therefore, the private key can sign arbitrary information to form a signature file; and only by the corresponding public key can the signature file be unsigned to obtain the information in the signature file.
  • Step 42 The mobile terminal sends the signature file and identity information to the first server.
  • Step 43 The first server verifies the signature file and identity information to obtain a verification result, and sends the verification result to the mobile terminal.
  • the first server specifically verifies whether the identity information is consistent with the information in the signature file. Only when the identity information is consistent, the identity information is considered to have passed verification.
  • step 43 may specifically include:
  • the first server finds a public key matching the identity information from the blockchain network based on the identity information; the first server uses the public key to design the signature file to obtain the design information; the first server agrees with the identity information and the sign information When you get a successful verification result.
  • the correspondence between the identity information and the public key is stored in the blockchain network, so the first server can obtain it from the blockchain network based on the identity information sent by the mobile terminal.
  • the public key that matches the identity information is then used to de-sign the signature. If the identity information obtained after de-signing is consistent with the identity information sent by the mobile terminal, the verification is successful and the account can log in.
  • the mobile terminal During the account registration process, the mobile terminal generates a key pair (including the public key and the private key) according to the elliptic curve encryption algorithm, and then the mobile terminal saves the private key and sends the public key to the first server, and the first server performs the public key
  • the hash operation obtains OpenID (that is, identity information), and then broadcasts the public key-OpenID to the blockchain network to complete the registration.
  • the mobile terminal uses the private key to sign OpenID, and sends the OpenID and signature file to the first server.
  • the first server uses OpenID to find the public key corresponding to the OpenID in the blockchain network, and then uses The public key de-signs the signature file to obtain another OpenID. If the two OpenIDs are consistent, the verification is passed and the user can log in.
  • FIG. 6 is a schematic flowchart of a third embodiment of a blockchain-based account management method provided by the present application.
  • the account management method includes:
  • Step 61 When the mobile terminal receives the account generation instruction, it generates a private key and a public key.
  • Step 62 The mobile terminal obtains the password entered by the user.
  • the mobile terminal uses the password to encode the private key, saves the encoded private key, and sends the public key to the first server.
  • Step 63 The first server generates identity information based on the public key.
  • Step 64 The first server sends the identity information to the mobile terminal, so that the mobile terminal saves the identity information, and the first server broadcasts the pairing formed by the public key and the identity information on the blockchain network to enable the blockchain
  • the nodes in the network store the pairings in the blockchain network.
  • FIG. 7 is a flowchart of the account registration process in FIG. 6.
  • the mobile terminal uses an elliptic curve encryption algorithm to generate the public and private keys.
  • the private key is encoded according to the password entered by the user, the encoded private key is obtained and stored, and the public key is sent.
  • the first server performs a hash algorithm on the public key to obtain OpenID, and broadcasts the pair formed by the public key and OpenID on the blockchain network.
  • Step 65 The mobile terminal obtains the password entered by the user, and the mobile terminal uses the password to decode the encoded private key to obtain the decoded private key.
  • Step 66 The mobile terminal signs the identity information by using the private key to obtain a signature file.
  • Step 67 The mobile terminal sends the signature file and identity information to the first server.
  • Step 68 The first server finds a public key matching the identity information from the blockchain network based on the identity information; the first server uses the public key to design the signature file to obtain the design information.
  • Step 69 When the identity information and the sign-off information are consistent, the first server obtains a result of successful verification.
  • Step 610 After the authentication is successful, the first server sends an instruction to acquire user information to the second server, so that the second server sends the user information corresponding to the identity information to the mobile terminal.
  • FIG. 8 is a flowchart of an account login process in FIG. 6.
  • the mobile terminal encodes the encoded private key according to the password entered by the user to obtain the private key, and then uses the private key to sign OpenID to obtain a signature file, and sends the signature file and OpenID to the first server.
  • the first server looks for a matching public key in the blockchain network based on the OpenID sent by the mobile terminal, and then uses the public key to design the signed file to obtain a designed OpenID, and then deregisters the OpenID and the mobile terminal.
  • the sent OpenIDs are compared to determine whether they are consistent. If they are the same, the login is successful.
  • the first server further sends an instruction to acquire the user information to the second server, so that the second server sends the user information corresponding to the identity information to the mobile terminal.
  • the user information includes information such as the user's name, gender, and age.
  • the blockchain-based account management method includes: when a mobile terminal receives an account generation instruction, a private key and a public key are generated; the mobile terminal saves the private key and sends the public key to the first Server; the first server generates identity information based on the public key; the first server sends the identity information to the mobile terminal so that the mobile terminal saves the identity information; and the first server broadcasts the pairing formed by the public key and the identity information to the block
  • the nodes in the blockchain network will store the pairings in the blockchain network.
  • the public key is stored in the blockchain in the form of a key pair, which enhances the security of the account information. The failure of the center resulted in the inability to authenticate.
  • FIG. 9 is a schematic flowchart of a fourth embodiment of a blockchain-based account management method provided by the present application.
  • the account management method of this embodiment is applied to a mobile terminal, which may be a mobile phone, a tablet computer, or a smart wearable device. Equipment, etc., wherein a corresponding client is installed in the mobile terminal, and the client may be a client of any application, which is not listed here.
  • the account management method includes:
  • Step 91 When the account generation instruction is received, a private key and a public key are generated.
  • Step 92 Save the private key and send the public key to the first server, so that the first server generates identity information based on the public key, and sends the identity information to the mobile terminal, and the first server sends the public key and identity
  • the pair formed by the information is broadcast in the blockchain network, so that the nodes in the blockchain network store the pair in the blockchain network.
  • Step 93 Receive the identity information sent by the first server.
  • the method steps in this embodiment are the method steps performed by the mobile terminal in the foregoing embodiments, and their principles are similar, and will not be repeated here.
  • the private key may be encrypted by a password.
  • the step of storing the private key includes: encoding the private key, and performing encoding on the encrypted private key. save.
  • the account management method further includes: decoding the encoded private key to obtain the decoded private key; using the private key to sign the identity information to obtain a signature file; and signing The file and identity information are sent to the first server, so that the first server verifies the signature file to obtain a verification result, and sends the verification result to the mobile terminal; and receives the verification result sent by the first server.
  • FIG. 10 is a schematic structural diagram of an embodiment of a mobile terminal provided in the present application.
  • the mobile terminal 100 includes a first processor 101, a first memory 102, and a first communication module 103.
  • the first communication module 103 is used to perform data interaction with the first server
  • the first memory 102 is used to store a first computer program, which is executed by the processor 101 to implement the following method steps:
  • the mobile terminal 100 may further include a display screen for implementing human-computer interaction between the mobile terminal and the user.
  • FIG. 11 is a schematic flowchart of a fifth embodiment of a blockchain-based account management method provided by the present application.
  • the account management method of this embodiment is applied to a first server.
  • the account management method includes:
  • Step 111 Receive a public key sent by the mobile terminal; wherein the public key is generated by the mobile terminal.
  • Step 112 Generate identity information based on the public key.
  • Step 113 Send the identity information to the mobile terminal, so that the mobile terminal saves the identity information, and broadcasts the pairing formed by the public key and the identity information on the blockchain network, so that the nodes in the blockchain network will pair. Stored in the blockchain network.
  • the method steps in this embodiment are the method steps performed by the first server in the above embodiment, and their principles are similar, and will not be repeated here.
  • the account management method may further include: obtaining a signature file and identity information sent by the mobile terminal; wherein the signature file is obtained by signing the identity information by the mobile terminal using a private key, and the private key Generated by the mobile terminal and form a key pair with the public key; verify the signature file to get the verification result, and send the verification result to the mobile terminal.
  • it may be specifically: finding a public key matching the identity information from the blockchain network based on the identity information; using the public key to design the signature file to obtain the design information; in When the identity information and the signing information are consistent, a successful verification result is obtained.
  • FIG. 12 is a schematic structural diagram of an embodiment of a server provided in the present application.
  • the server 120 includes a second processor 121, a second memory 122, and a second communication module 123.
  • the second communication module 123 is used for For data interaction with the mobile terminal and data interaction with various nodes in the blockchain network, the second memory 122 is used to store a second computer program, which is executed by the processor 121 to implement The following method steps:
  • the pairing is broadcast on the blockchain network, so that nodes in the blockchain network store the pairing in the blockchain network.
  • FIG. 13 is a schematic structural diagram of an embodiment of a computer storage medium provided in the present application.
  • the computer storage medium 130 stores a computer program 131. It can be understood that the computer program medium 130 may be applied to a mobile terminal.
  • the memory may also be a memory applied to the first server.
  • the computer storage medium 130 is applied to a mobile terminal, the computer program 131 therein is used to implement the following methods when executed by a processor:
  • the computer storage medium 130 is applied to a first server, the computer program 131 therein is used to implement the following methods when executed by a processor:
  • the pairing is broadcast on the blockchain network, so that nodes in the blockchain network store the pairing in the blockchain network.
  • the embodiments of the present application When the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. It includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to perform all or part of the steps of the method described in each embodiment of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .

Abstract

本申请公开一种基于区块链的账户管理系统以及管理方法、存储介质,该账户管理方法:移动终端在接收到账户生成指令时,生成私钥和公钥;移动终端对私钥进行保存,并将公钥发送给第一服务器;第一服务器基于公钥生成身份信息;第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。通过上述方式,一方面通过密钥对的形式将公钥保存在区块链中,增强了账户信息的安全度,另一方面解决了现有技术中需要认证中心来进行账户认证时,由于认证中心的失效导致无法进行认证的问题。

Description

一种基于区块链的账户管理系统以及管理方法、存储介质 【技术领域】
本申请涉及身份认证技术领域,尤其涉及一种基于区块链的账户管理系统以及管理方法、存储介质。
【背景技术】
身份认证,就是判断一个用户是否为合法用户的处理过程。最常用的简单身份认证方式是系统通过核对用户输入的用户名和口令,看其是否与服务器中存储的该用户的用户名和口令一致,来判断用户身份是否正确。复杂一些的身份认证方式采用一些较复杂的加密算法与协议,需要用户出示更多的信息(如私钥)来证明自己的身份,如Kerberos身份认证系统。
但是这些认证都是基于专用的认证服务器,这些服务器受到认证中心牵制,所以只能在认证中心关联部署的服务器上进行认证,一旦服务中心失效,则无法进行认证。
伴随着区块链技术的不断发展和成熟,各式各样的区块链应用逐渐在数据货币、支付清算、金融交易、大数据等行业被广泛应用实施。区块链技术被称为“分布式账本技术”,是一种互联网数据库技术,其具有去中心化、集体维护、高透明度、去信任和匿名等特点,实现了价值“端到端”传递,使得越来越多的人接受、相信并开始使用它构建和改造出新的金融、社会服务体系。
【发明内容】
本申请的目的在于提供一种基于区块链的账户管理系统以及管理方法、存储介质,能够提高账户的的安全性和便利性。
为实现上述目的,本申请提供一种基于区块链的账户管理方法,该账户管理方法应用于账户管理系统,账户管理系统包括移动终端和第一服务器,第一服务器为区块链网络中的一个节点,该账户管理方法包括:移动终端在接收到账户生成指令时,生成私钥和公钥;移动终端对私钥进行保存,并将公钥发送给第一服务器;第一服务器基于公钥生成身份信息;第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
另一方面,本申请还提出了一种基于区块链的账户管理方法,账户管理方 法应用于移动终端,移动终端与第一服务器共同组成账户管理系统,第一服务器为区块链网络中的一个节点,账户管理方法包括:在接收到账户生成指令时,生成私钥和公钥;对私钥进行保存,并将公钥发送给第一服务器,以使第一服务器基于公钥生成身份信息,并将身份信息发送给移动终端,以及使第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中;接收第一服务器发送的身份信息。
另一方面,本申请还提出了一种基于区块链的账户管理方法,账户管理方法应用于第一服务器,第一服务器和移动终端共同组成账户管理系统,第一服务器为区块链网络中的一个节点,账户管理方法包括:接收移动终端发送的公钥;其中,公钥由移动终端生成;基于公钥生成身份信息;将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
另一方面,本申请还提出了一种账户管理系统账户管理系统包括移动终端和第一服务器,第一服务器为区块链网络中的一个节点;其中,移动终端用于在接收到账户生成指令时,生成私钥和公钥,以及对私钥进行保存,并将公钥发送给第一服务器;其中,第一服务器用于基于公钥生成身份信息,并将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
另一方面,本申请还提出了一种移动终端,移动终端包括第一处理器和第一存储器,第一存储器中存储有第一计算机程序,第一计算机程序在被第一处理器执行时,用于实现如上述的账户管理方法。
另一方面,本申请还提出了一种服务器,服务器包括第二处理器和第二存储器,第二存储器中存储有第二计算机程序,第二计算机程序在被第二处理器执行时,用于实现如上述的账户管理方法。
另一方面,本申请还提出了一种计算机存储介质,计算机存储介质中存储有计算机程序,计算机程序在被处理器执行时,用以实现如上述的账户管理方法。
有益效果:区别于现有技术,本申请提供的基于区块链的账户管理方法,其包括:移动终端在接收到账户生成指令时,生成私钥和公钥;移动终端对私钥进行保存,并将公钥发送给第一服务器;第一服务器基于公钥生成身份信息;第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块 链网络中的节点将配对存储于区块链网络中。通过上述方式,一方面通过密钥对的形式将公钥保存在区块链中,增强了账户信息的安全度,另一方面解决了现有技术中需要认证中心来进行账户认证时,由于认证中心的失效导致无法进行认证的问题。
【附图说明】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:
图1是本申请提供的账户管理系统一实施例的结构示意图;
图2是本申请提供的基于区块链的账户管理方法第一实施例的流程示意图;
图3是图2的交互示意图;
图4是本申请提供的基于区块链的账户管理方法第二实施例的流程示意图;
图5是图4的交互示意图;
图6是本申请提供的基于区块链的账户管理方法第三实施例的流程示意图;
图7是图6中账户注册过程的流程框图;
图8是图6中账户登录过程的流程框图;
图9是本申请提供的基于区块链的账户管理方法第四实施例的流程示意图;
图10是本申请提供的移动终端一实施例的结构示意图;
图11是本申请提供的基于区块链的账户管理方法第五实施例的流程示意图;
图12是本申请提供的服务器一实施例的结构示意图;
图13是本申请提供的计算机存储介质一实施例的结构示意图。
【具体实施方式】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动情况下所获得的所有其他实施例,均属于本申请保护的范围。
需要说明,若本申请实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。
另外,若本申请实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。
请参阅图1,图1是本申请提供的账户管理系统一实施例的结构示意图,该账户管理系统包括移动终端11和第一服务器12,其中,第一服务器12是区块链网络中的一个节点,可以理解的,该区块链网络包括多个节点,如图1所示,第一服务器12、终端13、终端14、终端15……共同组成了该区块链网络。
其中,区块链网络是利用区块链技术组成的多节点网络系统。本实施例中,该区块链网络包括多个运行区块链技术而参与同一区块链的节点(也称为区块链节点)。区块链技术是随比特币等数字加密货币而兴起的一种新型的分布式数据组织方法及运算方式。其最大特点是:去中心化,这使得数据能够实现分布式集体维护,极大提高数据运算、管理、维护效率;共识,节点间基于一套共识机制,通过竞争计算共同维护整个区块链,任一节点失效,其余节点仍能正常工作。同时搭载非对称加密技术的区块链具备高安全性、可追溯性,能有效防止数据泄露或非法篡改。本申请提出利用区块链技术来实现账户的管理,包括账户的生成、注册、登录。
为便于理解本申请区块链网络,先对本申请采用的区块链技术进行举例说明。在一具体应用中,第一服务器12运行该区块链技术以成为该区块链网络的节点,该区块链技术包括技术层、服务层和用户层。
其中,技术层运用以太坊公链平台,将身份信息进行区块化封装,连接成区块链。可以理解的是,该技术层不限定运行该以太坊公链,在其他应用例中,可运行如比特币公链等其他可实现区块链技术的公链。服务层以技术层为基础,实现如账户的生成、注册和登录等。用户层主要表现形式为运行该区块链技术的移动终端的用户界面,以实现用户与区块链网络中的其他节点的信息交互。
本实施例基于以太坊技术平台,使得区块链网络的处理记录字节数更少,哈希算法更快,加上更高效的PoW+PoS共识机制,使得新区块的生成时间减少到16.6s。账户和全节点与云存储结合的方式使数据保护更安全,用户隐私安全得到充分保证。
基于上述的账户管理系统,具体参阅图2和图3,图2是本申请提供的基于区块链的账户管理方法第一实施例的流程示意图,图3是图2的交互示意图, 该账户管理方法包括:
步骤21:移动终端在接收到账户生成指令时,生成私钥和公钥。
其中,账户生成指令可以由用户下达。具体地,移动终端中安装有一客户端,用户可以通过操作该客户端的操作界面,下达账户生成指令。可以理解的,同一用户通常只能生成第一账户,该账户与该用户形成唯一的对应关系。
公钥(Public Key)与私钥(Private Key)是通过一种算法得到的一个密钥对(即一个公钥和一个私钥),公钥是密钥对中公开的部分,私钥则是非公开的部分。公钥通常用于加密会话密钥、验证数字签名,或加密可以用相应的私钥解密的数据。通过这种算法得到的密钥对能保证在世界范围内是唯一的。使用这个密钥对的时候,如果用其中一个密钥加密一段数据,必须用另一个密钥解密。比如用公钥加密数据就必须用私钥解密,如果用私钥加密也必须用公钥解密,否则解密将不会成功。
可选的,在一实施例中,移动终端采用椭圆曲线加密算法生成私钥和公钥,例如,curve25519椭圆曲线算法。
在椭圆曲线加密(ECC)中,利用了某种特殊形式的椭圆曲线,即定义在有限域上的椭圆曲线。其方程如下:
y 2=x 3+ax+b(mod p);
这里p是素数,a和b为两个小于p的非负整数,它们满足:4a 3+27b 2(mod p)≠0,其中,x,y,a,b∈Fp,则满足式(2)的点(x,y)和一个无穷点O就组成了椭圆曲线E。
椭圆曲线离散对数问题ECD LP定义如下:给定素数p和椭圆曲线E,对Q=kP,在已知P、Q的情况下求出小于p的正整数k。可以证明,已知k和P计算Q比较容易,而由Q和P计算k则比较困难,至今没有有效的方法来解决这个问题,这就是椭圆曲线加密算法原理之所在。
步骤22:移动终端对私钥进行保存,并将公钥发送给第一服务器。
在一种实施例中,移动终端可以数据网络的方式,将公钥发送给基站,通过基站发送给第一服务器;在另一实施例中,移动终端可以通过WIFI网络发送给路由器,通过路由器发送给基站,再由基站发送给第一服务器。
步骤23:第一服务器基于公钥生成身份信息。
其中,该身份信息可以是OpenID。OpenID是一个以用户为中心的数字身份识别框架,它具有开放、分散性。OpenID的创建基于这样一个概念:我们可以通过URI(又叫URL或网站地址)来认证一个网站的唯一身份,同理,我们也可以通过这种方式来作为用户的身份认证。
其中,在一具体的实施例中,第一服务器对该公钥并进行哈希运算(hash) 生成该身份信息。哈希运算一般也叫做“散列”,就是把任意长度的输入(又叫做预映射pre-image)通过散列算法变换成固定长度的输出,该输出就是散列值。这种转换是一种压缩映射,也就是,散列值的空间通常远小于输入的空间,不同的输入可能会散列成相同的输出,所以不可能从散列值来确定唯一的输入值。简单的说就是一种将任意长度的消息压缩到某一固定长度的消息摘要的函数。
步骤24:第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
在步骤23中完成了身份信息的生成,在步骤24中分别将身份信息发送给移动终端,以及身份信息和公钥的配对发送到区块链网络中。在步骤21-步骤24的过程中,完成了账户的注册。下面通过另一实施例在说明账户的登录。
参阅图4和图5,图4是本申请提供的基于区块链的账户管理方法第二实施例的流程示意图,图5是图4的交互示意图,该账户管理方法包括:
步骤41:移动终端利用私钥对身份信息进行签名,以得到签名文件。
可以理解的,在上述实施例中,生成的密钥对(私钥和公钥)是唯一对应的。因此,私钥可以对任意的信息进行签名,形成签名文件;而只有通过对应的公钥才能对该签名文件进行解签,以得到签名文件中的信息。
步骤42:移动终端将签名文件和身份信息发送给第一服务器。
步骤43:第一服务器对签名文件和身份信息进行验证,以得到验证结果,并把验证结果发送给移动终端。
在本步骤中,第一服务器具体要验证该身份信息与签名文件中的信息是否一致,在一致时,才认为身份信息验证通过。
在一具体的实施例中,步骤43可以具体包括:
第一服务器基于身份信息从区块链网络中查找与身份信息匹配的公钥;第一服务器利用公钥对签名文件进行解签,以得到解签信息;第一服务器在身份信息和解签信息一致时,得到验证成功的结果。
可以理解的,由于在上述第一实施例中,在区块链网络中存储有身份信息-公钥的对应关系,因此,第一服务器可以基于移动终端发送的身份信息从区块链网络中得到与该身份信息匹配的公钥,然后利用该公钥对签名进行解签,如果解签得到的身份信息与移动终端发送的身份信息一致,则验证成功,账户即可登陆。
下面通过一个具体的例子对上述两个实施例进行说明:
在账户注册过程中,移动终端根据椭圆曲线加密算法生成密钥对(包括公钥和私钥),然后移动终端保存私钥,并把公钥发送给第一服务器,第一服务器 对公钥进行哈希运算得到OpenID(即身份信息),然后将公钥-OpenID广播至区块链网络,完成注册。
在账户登录过程中,移动终端采用私钥对OpenID进行签名,并将OpenID和签名文件发送给第一服务器,第一服务器利用OpenID在区块链网络中查找与该OpenID对应的公钥,然后利用该公钥对签名文件进行解签,得到另一个OpenID,如果两个OpenID一致,则验证通过,用户即可登录。
参阅图6,图6是本申请提供的基于区块链的账户管理方法第三实施例的流程示意图,该账户管理方法包括:
步骤61:移动终端在接收到账户生成指令时,生成私钥和公钥。
步骤62:移动终端获取用户输入的密码,移动终端采用密码对私钥进行编码,并对编码后的私钥进行保存,并将公钥发送给第一服务器。
步骤63:第一服务器基于公钥生成身份信息。
步骤64:第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
如图7所示,图7是图6中账户注册过程的流程框图。在注册过程中,移动终端采用椭圆曲线加密算法生成公钥和私钥,其中,根据获取的用户输入的密码对私钥进行编码,得到编码后的私钥并进行保存,另外,将公钥发送给第一服务器,第一服务器对公钥进行哈希算法得到OpenID,并将公钥和OpenID形成的配对广播于区块链网络中。
步骤65:移动终端获取用户输入的密码,移动终端采用密码对编码后的私钥进行解码,以得到解码后的私钥。
步骤66:移动终端利用私钥对身份信息进行签名,以得到签名文件。
步骤67:移动终端将签名文件和身份信息发送给第一服务器。
步骤68:第一服务器基于身份信息从区块链网络中查找与身份信息匹配的公钥;第一服务器利用公钥对签名文件进行解签,以得到解签信息。
步骤69:第一服务器在身份信息和解签信息一致时,得到验证成功的结果。
步骤610:第一服务器在验证成功后,向第二服务器发送获取用户信息的指令,以使第二服务器将与身份信息对应的用户信息发送给移动终端。
如图8所示,图8是图6中账户登录过程的流程框图。在登录过程中,移动终端根据获取的用户输入的密码对编码后的私钥进行编码,得到私钥,然后利用私钥对OpenID进行签名得到签名文件,并把签名文件和OpenID发送给第一服务器。第一服务器基于移动终端发送的OpenID在区块链网络中查找与之匹配的公钥,然后利用该公钥对签名文件进行解签得到一个解签的OpenID,然后 将解签的OpenID和移动终端发送的OpenID进行对比,判断两者是否一致,若一致则登录成功。
另外,在验证成功后,第一服务器还向第二服务器发送获取用户信息的指令,以使第二服务器将与身份信息对应的用户信息发送给移动终端。其中,该用户信息包括用户的姓名、性别、年龄等信息。
本实施例提供的基于区块链的账户管理方法,其包括:移动终端在接收到账户生成指令时,生成私钥和公钥;移动终端对私钥进行保存,并将公钥发送给第一服务器;第一服务器基于公钥生成身份信息;第一服务器将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。通过上述方式,一方面通过密钥对的形式将公钥保存在区块链中,增强了账户信息的安全度,另一方面解决了现有技术中需要认证中心来进行账户认证时,由于认证中心的失效导致无法进行认证的问题。
参阅图9,图9是本申请提供的基于区块链的账户管理方法第四实施例的流程示意图,本实施的账户管理方法应用于移动终端,该移动终端可以是手机、平板电脑、智能穿戴设备等,其中,该移动终端中安装有相应的客户端,该客户端可以是任意的应用程序的客户端,这里不一一列举,该账户管理方法包括:
步骤91:在接收到账户生成指令时,生成私钥和公钥。
步骤92:对私钥进行保存,并将公钥发送给第一服务器,以使第一服务器基于公钥生成身份信息,并将身份信息发送给移动终端,以及使第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
步骤93:接收第一服务器发送的身份信息。
本实施例的方法步骤是上述实施例中移动终端执行的方法步骤,其原理类似,这里不再赘述。
可选的,在一具体的实施例中,可以采用密码的方式对私钥进行加密,具体地,对私钥进行保存的步骤,包括:对私钥进行编码,并对编码后的私钥进行保存。
可选的,在另一实施例中,账户管理方法进一步包括:对编码后的私钥进行解码,以得到解码后的私钥;利用私钥对身份信息进行签名,以得到签名文件;将签名文件和身份信息发送给第一服务器,以使第一服务器对签名文件进行验证,以得到验证结果,并把验证结果发送给移动终端;接收第一服务器发送的验证结果。
其中,可以具体为:获取用户输入的密码;采用密码对私钥进行编码,并 对编码后的私钥进行保存。获取用户输入的密码;采用密码对编码后的私钥进行解码,以得到解码后的私钥。
参阅图10,图10是本申请提供的移动终端一实施例的结构示意图,该移动终端100包括第一处理器101、第一存储器102和第一通信模组103,其中,第一通信模组103用于与第一服务器进行数据交互,第一存储器102用于存储第一计算机程序,该第一计算机程序在被处理器101执行时,用以实现以下方法步骤:
在接收到账户生成指令时,生成私钥和公钥;对私钥进行保存,并将公钥发送给第一服务器,以使第一服务器基于公钥生成身份信息,并将身份信息发送给移动终端,以及使第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中;接收第一服务器发送的身份信息。
另外,该移动终端100还可以包括显示屏用于实现移动终端与用户的人机交互。
可以理解的,在其他实施例中,第一计算机程序在被第一处理器101执行时,用以实现的方法可以具体参考上述第四实施例,这里不再赘述。
参阅图11,图11是本申请提供的基于区块链的账户管理方法第五实施例的流程示意图,本实施的账户管理方法应用于第一服务器,该账户管理方法包括:
步骤111:接收移动终端发送的公钥;其中,公钥由移动终端生成。
步骤112:基于公钥生成身份信息。
步骤113:将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
本实施例的方法步骤是上述实施例中第一服务器执行的方法步骤,其原理类似,这里不再赘述。
可选的,在一具体的实施例中,该账户管理方法还可以包括:获取移动终端发送的签名文件和身份信息;其中,签名文件是移动终端利用私钥对身份信息进行签名得到,私钥由移动终端生成,且与公钥形成密钥对;对签名文件进行验证,以得到验证结果,并把验证结果发送给移动终端。
可选的,在另一实施例中,可以具体为:基于身份信息从区块链网络中查找与身份信息匹配的公钥;利用公钥对签名文件进行解签,以得到解签信息;在身份信息和解签信息一致时,得到验证成功的结果。
参阅图12,图12是本申请提供的服务器一实施例的结构示意图,该服务器120包括第二处理器121、第二存储器122和第二通信模组123,其中,第二通 信模组123用于与移动终端进行数据交互,以及与区块链网络中的各个节点进行数据交互,第二存储器122用于存储第二计算机程序,该第二计算机程序在被处理器121执行时,用以实现以下方法步骤:
接收移动终端发送的公钥;其中,公钥由移动终端生成;基于公钥生成身份信息;将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
可以理解的,在其他实施例中,第二计算机程序在被第二处理器121执行时,用以实现的方法可以具体参考上述第五实施例,这里不再赘述。
参阅图13,图13是本申请提供的计算机存储介质一实施例的结构示意图,该计算机存储介质130中存储有计算机程序131,可以理解的,该计算机程序介质130可以是应用于移动终端中的存储器,也可以是应用于第一服务器中的存储器。
所以,若该计算机存储介质130应用于移动终端,其中的计算机程序131在被处理器执行时,用于实现以下方法:
在接收到账户生成指令时,生成私钥和公钥;对私钥进行保存,并将公钥发送给第一服务器,以使第一服务器基于公钥生成身份信息,并将身份信息发送给移动终端,以及使第一服务器将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中;接收第一服务器发送的身份信息。
若该计算机存储介质130应用于第一服务器,其中的计算机程序131在被处理器执行时,用于实现以下方法:
接收移动终端发送的公钥;其中,公钥由移动终端生成;基于公钥生成身份信息;将身份信息发送给移动终端,以使移动终端对身份信息进行保存,以及将公钥和身份信息形成的配对广播于区块链网络中,以使区块链网络中的节点将配对存储于区块链网络中。
本申请的实施例以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等 各种可以存储程序代码的介质。
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围。

Claims (19)

  1. 一种基于区块链的账户管理方法,其特征在于,所述账户管理方法应用于账户管理系统,所述账户管理系统包括移动终端和第一服务器,所述第一服务器为区块链网络中的一个节点,所述账户管理方法包括:
    所述移动终端在接收到账户生成指令时,生成私钥和公钥;
    所述移动终端对所述私钥进行保存,并将所述公钥发送给所述第一服务器;
    所述第一服务器基于所述公钥生成身份信息;
    所述第一服务器将所述身份信息发送给所述移动终端,以使所述移动终端对所述身份信息进行保存,以及所述第一服务器将所述公钥和所述身份信息形成的配对广播于所述区块链网络中,以使所述区块链网络中的节点将所述配对存储于所述区块链网络中。
  2. 根据权利要求1所述的账户管理方法,其特征在于,
    所述移动终端对所述私钥进行保存的步骤,包括:
    所述移动终端对所述私钥进行编码,并对编码后的私钥进行保存;
    所述账户管理方法进一步包括:
    所述移动终端对所述编码后的私钥进行解码,以得到解码后的私钥;
    所述移动终端利用所述私钥对所述身份信息进行签名,以得到签名文件;
    所述移动终端将所述签名文件和所述身份信息发送给所述第一服务器;
    所述第一服务器对所述签名文件和所述身份信息进行验证,以得到验证结果,并把所述验证结果发送给移动终端。
  3. 根据权利要求2所述的账户管理方法,其特征在于,
    所述第一服务器对所述签名文件和所述身份信息进行验证,以得到验证结果的步骤,包括:
    所述第一服务器基于所述身份信息从所述区块链网络中查找与所述身份信息匹配的公钥;
    所述第一服务器利用所述公钥对所述签名文件进行解签,以得到解签信息;
    所述第一服务器在所述身份信息和所述解签信息一致时,得到验证成功的结果。
  4. 根据权利要求2所述的账户管理方法,其特征在于,
    所述移动终端对所述私钥进行编码,并对编码后的私钥进行保存的步骤,包括:
    所述移动终端获取用户输入的密码;
    所述移动终端采用所述密码对所述私钥进行编码,并对编码后的私钥进行 保存。
  5. 根据权利要求4所述的账户管理方法,其特征在于,
    所述移动终端对所述编码后的私钥进行解码,以得到解码后的私钥的步骤,包括:
    所述移动终端获取用户输入的密码;
    所述移动终端采用所述密码对所述编码后的私钥进行解码,以得到解码后的私钥。
  6. 根据权利要求2所述的账户管理方法,其特征在于,
    所述账户管理系统还包括第二服务器;
    所述账户管理方法进一步包括:
    所述第一服务器在验证成功后,向所述第二服务器发送获取用户信息的指令;
    所述第二服务器将与所述身份信息对应的用户信息发送给移动终端。
  7. 根据权利要求1所述的账户管理方法,其特征在于,
    所述移动终端在接收到账户生成指令时,生成私钥和公钥的步骤,包括:
    移动终端获取账户生成指令;
    移动终端采用椭圆曲线加密算法生成私钥和公钥。
  8. 根据权利要求1所述的账户管理方法,其特征在于,
    所述第一服务器基于所述公钥生成身份信息的步骤,包括:
    第一服务器对所述公钥并进行哈希运算生成身份信息。
  9. 一种基于区块链的账户管理方法,其特征在于,所述账户管理方法应用于移动终端,所述移动终端与第一服务器共同组成账户管理系统,所述第一服务器为区块链网络中的一个节点,所述账户管理方法包括:
    在接收到账户生成指令时,生成私钥和公钥;
    对所述私钥进行保存,并将所述公钥发送给所述第一服务器,以使所述第一服务器基于所述公钥生成身份信息,并将所述身份信息发送给所述移动终端,以及使所述第一服务器将所述公钥和所述身份信息形成的配对广播于所述区块链网络中,以使所述区块链网络中的节点将所述配对存储于所述区块链网络中;
    接收所述第一服务器发送的身份信息。
  10. 根据权利要求9所述的账户管理方法,其特征在于,
    所述对所述私钥进行保存的步骤,包括:
    所述对所述私钥进行编码,并对编码后的私钥进行保存;
    所述账户管理方法进一步包括:
    对所述编码后的私钥进行解码,以得到解码后的私钥;
    利用所述私钥对所述身份信息进行签名,以得到签名文件;
    将所述签名文件和所述身份信息发送给所述第一服务器,以使所述第一服务器对所述签名文件进行验证,以得到验证结果,并把所述验证结果发送给移动终端;
    接收所述第一服务器发送的验证结果。
  11. 根据权利要求10所述的账户管理方法,其特征在于,
    所述对所述私钥进行编码,并对编码后的私钥进行保存的步骤,包括:
    获取用户输入的密码;
    采用所述密码对所述私钥进行编码,并对编码后的私钥进行保存。
  12. 根据权利要求11所述的账户管理方法,其特征在于,
    所述对所述编码后的私钥进行解码,以得到解码后的私钥的步骤,包括:
    获取用户输入的密码;
    采用所述密码对所述编码后的私钥进行解码,以得到解码后的私钥。
  13. 一种基于区块链的账户管理方法,其特征在于,所述账户管理方法应用于第一服务器,所述第一服务器和移动终端共同组成账户管理系统,所述第一服务器为区块链网络中的一个节点,所述账户管理方法包括:
    接收移动终端发送的公钥;其中,所述公钥由所述移动终端生成;
    基于所述公钥生成身份信息;
    将所述身份信息发送给所述移动终端,以使所述移动终端对所述身份信息进行保存,以及将所述公钥和所述身份信息形成的配对广播于所述区块链网络中,以使所述区块链网络中的节点将所述配对存储于所述区块链网络中。
  14. 根据权利要求13所述的账户管理方法,其特征在于,
    所述账户管理方法进一步包括:
    获取所述移动终端发送的签名文件和所述身份信息;其中,所述签名文件是所述移动终端利用私钥对所述身份信息进行签名得到,所述私钥由所述移动终端生成,且与所述公钥形成密钥对;
    对所述签名文件进行验证,以得到验证结果,并把所述验证结果发送给移动终端。
  15. 根据权利要求14所述的账户管理方法,其特征在于,
    所述对所述签名文件进行验证,以得到验证结果的步骤,包括:
    基于所述身份信息从所述区块链网络中查找与所述身份信息匹配的公钥;
    利用所述公钥对所述签名文件进行解签,以得到解签信息;
    在所述身份信息和所述解签信息一致时,得到验证成功的结果。
  16. 一种账户管理系统,其特征在于,所述账户管理系统包括移动终端和第 一服务器,所述第一服务器为区块链网络中的一个节点;
    其中,所述移动终端用于在接收到账户生成指令时,生成私钥和公钥,以及对所述私钥进行保存,并将所述公钥发送给所述第一服务器;
    其中,所述第一服务器用于基于所述公钥生成身份信息,并将所述身份信息发送给所述移动终端,以使所述移动终端对所述身份信息进行保存,以及所述第一服务器将所述公钥和所述身份信息形成的配对广播于所述区块链网络中,以使所述区块链网络中的节点将所述配对存储于所述区块链网络中。
  17. 一种移动终端,其特征在于,所述移动终端包括第一处理器和第一存储器,所述第一存储器中存储有第一计算机程序,所述第一计算机程序在被所述第一处理器执行时,用于实现如权利要求9-12任一项所述的账户管理方法。
  18. 一种服务器,其特征在于,所述服务器包括第二处理器和第二存储器,所述第二存储器中存储有第二计算机程序,所述第二计算机程序在被所述第二处理器执行时,用于实现如权利要求13-15任一项所述的账户管理方法。
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机程序,所述计算机程序在被处理器执行时,用以实现如权利要求1-15任一项所述的账户管理方法。
PCT/CN2018/108016 2018-09-27 2018-09-27 一种基于区块链的账户管理系统以及管理方法、存储介质 WO2020061923A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/108016 WO2020061923A1 (zh) 2018-09-27 2018-09-27 一种基于区块链的账户管理系统以及管理方法、存储介质
CN201880002422.9A CN109983466B (zh) 2018-09-27 2018-09-27 一种基于区块链的账户管理系统以及管理方法、存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108016 WO2020061923A1 (zh) 2018-09-27 2018-09-27 一种基于区块链的账户管理系统以及管理方法、存储介质

Publications (1)

Publication Number Publication Date
WO2020061923A1 true WO2020061923A1 (zh) 2020-04-02

Family

ID=67077726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108016 WO2020061923A1 (zh) 2018-09-27 2018-09-27 一种基于区块链的账户管理系统以及管理方法、存储介质

Country Status (2)

Country Link
CN (1) CN109983466B (zh)
WO (1) WO2020061923A1 (zh)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506930A (zh) * 2020-04-21 2020-08-07 广州上云区块链科技有限公司 一种基于区块链的电商交易信息管理系统及方法
CN111768181A (zh) * 2020-07-01 2020-10-13 厦门力含信息技术服务有限公司 一种结合大数据和信用区块链的数据清算系统
CN111787530A (zh) * 2020-08-06 2020-10-16 联通雄安产业互联网有限公司 一种基于sim卡的区块链数字身份管理方法
CN111836258A (zh) * 2020-07-10 2020-10-27 国网冀北电力有限公司电力科学研究院 配电物联网节点安全接入的方法及装置
CN111914270A (zh) * 2020-07-08 2020-11-10 广西佳壹大数据科技股份有限公司 基于区块链技术的可编程认证服务方法和系统
CN112235409A (zh) * 2020-10-19 2021-01-15 平安证券股份有限公司 文件上传方法、装置、电子设备及计算机可读存储介质
CN112507296A (zh) * 2020-11-12 2021-03-16 迅鳐成都科技有限公司 一种基于区块链的用户登录验证方法及系统
CN113572717A (zh) * 2020-04-29 2021-10-29 青岛海尔滚筒洗衣机有限公司 通信连接的建立方法、洗护设备及服务器
CN113672994A (zh) * 2021-09-03 2021-11-19 中国联合网络通信集团有限公司 一种基于区块链的烹饪设备数据管理方法、装置及其系统
CN113839947A (zh) * 2021-09-24 2021-12-24 深圳前海微众银行股份有限公司 基于区块链的数据处理方法、设备及系统
CN113873518A (zh) * 2021-09-28 2021-12-31 恒宝股份有限公司 一种基于sim卡的可信物联网设备、系统及其工作方法
CN114401096A (zh) * 2022-01-19 2022-04-26 深圳市电子商务安全证书管理有限公司 区块链数据的上链控制方法、装置、设备及存储介质
CN114531277A (zh) * 2022-01-21 2022-05-24 北京送好运信息技术有限公司 一种基于区块链技术的用户身份认证方法
CN114884702A (zh) * 2022-04-19 2022-08-09 海南大学 身份注册方法、身份认证方法及身份管理系统
CN117376035A (zh) * 2023-12-08 2024-01-09 中汽智联技术有限公司 一种车辆数据的传输方法、系统、设备及存储介质

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381075B (zh) * 2019-07-26 2021-10-29 烨链(上海)科技有限公司 基于区块链的设备身份认证方法和装置
CN110351302B (zh) * 2019-07-29 2021-08-31 杭州复杂美科技有限公司 银行账户登录方法、设备和存储介质
CN110430201A (zh) * 2019-08-09 2019-11-08 北京智汇信元科技有限公司 一种分布式身份凭证生成、验证方法及系统
CN110740120B (zh) * 2019-09-06 2023-04-07 西安万像电子科技有限公司 账户信息的处理方法及装置
CN110601827B (zh) * 2019-09-12 2022-09-02 腾讯科技(深圳)有限公司 基于区块链的身份识别方法、装置及系统、存储介质
CN110958118B (zh) * 2019-10-12 2021-09-28 深圳赛安特技术服务有限公司 证书认证管理方法、装置、设备及计算机可读存储介质
CN111132305B (zh) * 2019-12-30 2022-04-08 全链通有限公司 5g用户终端接入5g网络的方法、用户终端设备及介质
CN111132156B (zh) * 2019-12-30 2023-04-14 全链通有限公司 5g用户终端的注册方法、用户终端设备及介质
CN111148213B (zh) * 2019-12-30 2023-02-03 全链通有限公司 5g用户终端的注册方法、用户终端设备及介质
CN111163466B (zh) * 2019-12-30 2022-12-16 全链通有限公司 5g用户终端接入区块链的方法、用户终端设备及介质
CN111163467B (zh) * 2019-12-30 2022-04-08 全链通有限公司 5g用户终端接入5g网络的方法、用户终端设备及介质
CN111241533A (zh) * 2020-01-08 2020-06-05 深圳壹账通智能科技有限公司 基于区块链的密码管理方法、装置及计算机可读存储介质
CN111259411B (zh) * 2020-01-09 2023-09-08 中信银行股份有限公司 区块链管理方法、装置、电子设备及可读存储介质
CN111541671A (zh) * 2020-04-16 2020-08-14 北京海益同展信息科技有限公司 人员信息存储、验证方法、系统及存储介质
CN111641615A (zh) * 2020-05-20 2020-09-08 深圳市今天国际物流技术股份有限公司 一种基于证书的分布式身份验证方法及系统
CN111723347B (zh) * 2020-06-01 2023-06-06 清华大学 身份认证方法、装置、电子设备及存储介质
CN111694531A (zh) * 2020-06-09 2020-09-22 重庆锐云科技有限公司 基于以太坊区块链的大屏展示控制系统、方法及存储介质
CN111858754A (zh) * 2020-06-30 2020-10-30 全链通有限公司 基于区块链的人工智能训练方法、区块链节点及介质
CN111914230B (zh) * 2020-07-17 2023-06-23 中国联合网络通信集团有限公司 基于区块链的身份验证方法、系统、终端设备及存储介质
CN112581285B (zh) * 2020-12-28 2022-12-09 上海万向区块链股份公司 一种股权交易系统中基于区块链的账户生成方法、系统及介质
CN112667977A (zh) * 2020-12-29 2021-04-16 齐鲁工业大学 面向智慧城市的区块链身份认证和访问控制方法及系统
CN112988412B (zh) * 2021-02-07 2023-06-27 中国联合网络通信集团有限公司 基于区块链网络的边缘缓存方法、基站和系统
CN113569210A (zh) * 2021-07-09 2021-10-29 远光软件股份有限公司 分布式身份认证方法、设备访问方法及装置
CN114051031A (zh) * 2021-11-16 2022-02-15 中国电信股份有限公司 基于分布式身份的加密通讯方法、系统、设备及存储介质
CN115459920A (zh) * 2022-08-25 2022-12-09 浪潮云信息技术股份公司 一种基于智能合约的无证书联盟链上身份认证方法及系统
CN115567324B (zh) * 2022-11-24 2023-09-15 湖南天河国云科技有限公司 数据加密传输方法、系统、计算机设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097073A (zh) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 一种用区块链来赋予数字账户交易过程独有id的方法
CN107579817A (zh) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 基于区块链的用户身份验证方法、装置及系统
US20180097635A1 (en) * 2016-09-30 2018-04-05 Entrust, Inc. Methods and apparatus for providing blockchain participant identity binding
CN108282339A (zh) * 2018-01-25 2018-07-13 中国科学院合肥物质科学研究院 一种基于智能合约和自社交媒体的数字身份找回方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453870A (zh) * 2017-09-12 2017-12-08 京信通信系统(中国)有限公司 基于区块链的移动终端认证管理方法、装置及相应的移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097073A (zh) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 一种用区块链来赋予数字账户交易过程独有id的方法
US20180097635A1 (en) * 2016-09-30 2018-04-05 Entrust, Inc. Methods and apparatus for providing blockchain participant identity binding
CN107579817A (zh) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 基于区块链的用户身份验证方法、装置及系统
CN108282339A (zh) * 2018-01-25 2018-07-13 中国科学院合肥物质科学研究院 一种基于智能合约和自社交媒体的数字身份找回方法

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506930B (zh) * 2020-04-21 2023-07-18 广州上云区块链科技有限公司 一种基于区块链的电商交易信息管理系统及方法
CN111506930A (zh) * 2020-04-21 2020-08-07 广州上云区块链科技有限公司 一种基于区块链的电商交易信息管理系统及方法
CN113572717A (zh) * 2020-04-29 2021-10-29 青岛海尔滚筒洗衣机有限公司 通信连接的建立方法、洗护设备及服务器
CN113572717B (zh) * 2020-04-29 2024-02-20 青岛海尔洗涤电器有限公司 通信连接的建立方法、洗护设备及服务器
CN111768181A (zh) * 2020-07-01 2020-10-13 厦门力含信息技术服务有限公司 一种结合大数据和信用区块链的数据清算系统
CN111914270A (zh) * 2020-07-08 2020-11-10 广西佳壹大数据科技股份有限公司 基于区块链技术的可编程认证服务方法和系统
CN111836258A (zh) * 2020-07-10 2020-10-27 国网冀北电力有限公司电力科学研究院 配电物联网节点安全接入的方法及装置
CN111836258B (zh) * 2020-07-10 2024-04-23 国网冀北电力有限公司电力科学研究院 配电物联网节点安全接入的方法及装置
CN111787530A (zh) * 2020-08-06 2020-10-16 联通雄安产业互联网有限公司 一种基于sim卡的区块链数字身份管理方法
CN111787530B (zh) * 2020-08-06 2024-01-09 联通雄安产业互联网有限公司 一种基于sim卡的区块链数字身份管理方法
CN112235409A (zh) * 2020-10-19 2021-01-15 平安证券股份有限公司 文件上传方法、装置、电子设备及计算机可读存储介质
CN112235409B (zh) * 2020-10-19 2023-10-10 平安证券股份有限公司 文件上传方法、装置、电子设备及计算机可读存储介质
CN112507296A (zh) * 2020-11-12 2021-03-16 迅鳐成都科技有限公司 一种基于区块链的用户登录验证方法及系统
CN112507296B (zh) * 2020-11-12 2024-04-05 迅鳐成都科技有限公司 一种基于区块链的用户登录验证方法及系统
CN113672994A (zh) * 2021-09-03 2021-11-19 中国联合网络通信集团有限公司 一种基于区块链的烹饪设备数据管理方法、装置及其系统
CN113672994B (zh) * 2021-09-03 2023-12-01 中国联合网络通信集团有限公司 一种基于区块链的烹饪设备数据管理方法、装置及其系统
CN113839947A (zh) * 2021-09-24 2021-12-24 深圳前海微众银行股份有限公司 基于区块链的数据处理方法、设备及系统
CN113839947B (zh) * 2021-09-24 2023-09-05 深圳前海微众银行股份有限公司 基于区块链的数据处理方法、设备及系统
CN113873518A (zh) * 2021-09-28 2021-12-31 恒宝股份有限公司 一种基于sim卡的可信物联网设备、系统及其工作方法
CN114401096A (zh) * 2022-01-19 2022-04-26 深圳市电子商务安全证书管理有限公司 区块链数据的上链控制方法、装置、设备及存储介质
CN114401096B (zh) * 2022-01-19 2024-02-09 深圳市电子商务安全证书管理有限公司 区块链数据的上链控制方法、装置、设备及存储介质
CN114531277B (zh) * 2022-01-21 2024-01-26 北京送好运信息技术有限公司 一种基于区块链技术的用户身份认证方法
CN114531277A (zh) * 2022-01-21 2022-05-24 北京送好运信息技术有限公司 一种基于区块链技术的用户身份认证方法
CN114884702A (zh) * 2022-04-19 2022-08-09 海南大学 身份注册方法、身份认证方法及身份管理系统
CN117376035A (zh) * 2023-12-08 2024-01-09 中汽智联技术有限公司 一种车辆数据的传输方法、系统、设备及存储介质
CN117376035B (zh) * 2023-12-08 2024-02-23 中汽智联技术有限公司 一种车辆数据的传输方法、系统、设备及存储介质

Also Published As

Publication number Publication date
CN109983466B (zh) 2023-03-03
CN109983466A (zh) 2019-07-05

Similar Documents

Publication Publication Date Title
WO2020061923A1 (zh) 一种基于区块链的账户管理系统以及管理方法、存储介质
Bera et al. Designing blockchain-based access control protocol in IoT-enabled smart-grid system
Yuan et al. Public integrity auditing for dynamic data sharing with multiuser modification
US20200084027A1 (en) Systems and methods for encryption of data on a blockchain
Wang et al. Cryptanalysis and improvement of a biometric-based multi-server authentication and key agreement scheme
Jiang et al. Improvement of robust smart‐card‐based password authentication scheme
Li et al. An enhanced smart card based remote user password authentication scheme
US9692757B1 (en) Enhanced authentication for secure communications
US8539569B2 (en) Systems and methods for facilitating user authentication over a network
US10797879B2 (en) Methods and systems to facilitate authentication of a user
CN111682938B (zh) 面向中心化移动定位系统的三方可认证密钥协商方法
JP2020527298A (ja) 高度に利用可能な信頼できる実行環境を使用してブロックチェーンネットワークに対するアクセスデータを取得すること
CN110519046B (zh) 基于一次性非对称密钥对和qkd的量子通信服务站密钥协商方法和系统
KR20160013905A (ko) 페어링을 이용한 다중 요소 제로 지식 인증
WO2013049689A1 (en) Parameter based key derivation
CN106487786B (zh) 一种基于生物特征的云数据完整性验证方法及系统
CN108400962B (zh) 一种多服务器架构下的认证和密钥协商方法
US20210241270A1 (en) System and method of blockchain transaction verification
Reddy et al. A privacy preserving three-factor authenticated key agreement protocol for client–server environment
Wang et al. An efficient hash-based authenticated key agreement scheme for multi-server architecture resilient to key compromise impersonation
CN114244530A (zh) 资源访问方法及装置、电子设备、计算机可读存储介质
Djellali et al. User authentication scheme preserving anonymity for ubiquitous devices
Tiwari et al. ACDAS: Authenticated controlled data access and sharing scheme for cloud storage
Andola et al. An enhanced smart card and dynamic ID based remote multi-server user authentication scheme
Sengupta et al. Distritrust: Distributed and low-latency access validation in zero-trust architecture

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935635

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935635

Country of ref document: EP

Kind code of ref document: A1