WO2020211481A1 - 用于生成区块链授权信息的方法、装置及系统 - Google Patents

用于生成区块链授权信息的方法、装置及系统 Download PDF

Info

Publication number
WO2020211481A1
WO2020211481A1 PCT/CN2020/070838 CN2020070838W WO2020211481A1 WO 2020211481 A1 WO2020211481 A1 WO 2020211481A1 CN 2020070838 W CN2020070838 W CN 2020070838W WO 2020211481 A1 WO2020211481 A1 WO 2020211481A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
authorization information
identity certificate
information
request
Prior art date
Application number
PCT/CN2020/070838
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 US16/803,807 priority Critical patent/US10790973B2/en
Priority to US17/035,408 priority patent/US10992465B2/en
Publication of WO2020211481A1 publication Critical patent/WO2020211481A1/zh
Priority to US17/239,232 priority patent/US11218305B2/en

Links

Images

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/3825Use of electronic signatures
    • 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
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the present disclosure relates to the field of blockchain technology, in particular, to a method, device, and system for generating blockchain authorization information.
  • the alliance chain is a type of block chain, and each block chain node of the alliance chain is composed of corresponding institutions or organizations. Institutions or organizations participating in the alliance chain can authorize to join the corresponding blockchain network to form an alliance with the same business demands and jointly maintain the operation of the blockchain.
  • the alliance participants need to be authorized to build a trust foundation for the authorization of the alliance participants.
  • the public chain all institutions or individuals can upload information to the blockchain or synchronize blockchain data to the local, while in the alliance chain, only authorized alliance participants can join the alliance chain. Therefore, the authorization management technology for participants has become the key in the field of alliance chains.
  • the present disclosure provides a method, device, and system for generating blockchain authorization information.
  • a professional platform can be used to generate authorization information for each blockchain node, so as to improve the security and reliability of the generated authorization information.
  • a method for generating blockchain authorization information including: receiving a blockchain authorization information generation request sent by a client for requesting generation of blockchain authorization information, and the area
  • the block chain authorization information generation request includes the target block chain identification and user information; obtains the block chain parameters matching the target block chain identification; and based on the obtained block chain parameters and the user information, generates the Blockchain authorization information.
  • the method may further include: sending the generated blockchain authorization information to the client.
  • generating the blockchain authorization information may include: determining, based on the acquired blockchain parameters, to generate the zone A password generation algorithm for blockchain authorization information; and using the determined password generation algorithm to generate the blockchain authorization information based on the user information.
  • the blockchain authorization information includes a blockchain identity certificate
  • using the determined password generation algorithm to generate the blockchain authorization information based on the user information may include: using the determined The password generation algorithm generates a blockchain identity certificate request based on the user information as the blockchain identity certificate.
  • the blockchain authorization information includes a blockchain identity certificate.
  • Using the determined password generation algorithm to generate the blockchain authorization information based on the user information may also include: The blockchain identity certificate request is sent to an authorized authentication server for signature authentication; and the identity certificate request after signature authentication is received from the authorized authentication server as the blockchain identity certificate.
  • the blockchain identity certificate request may be sent to the authorization authentication server after being approved by a blockchain administrator.
  • the blockchain authorization information may further include a private key
  • using the determined password generation algorithm to generate the blockchain authorization information based on the user information includes: using the determined password An algorithm is generated to generate the private key based on the user information.
  • the blockchain authorization information generation request may further include private key encryption information
  • the method may further include: encrypting the private key by using the private key encryption information.
  • the blockchain parameter may be determined based on the business security level of the target blockchain.
  • an apparatus for generating blockchain authorization information including: a generation request receiving unit configured to receive a block sent by a client for requesting generation of blockchain authorization information Chain authorization information generation request, the blockchain authorization information generation request includes a target blockchain identifier and user information; a blockchain parameter acquisition unit configured to acquire blockchain parameters that match the target blockchain identifier And an authorization information generating unit configured to generate the blockchain authorization information based on the acquired blockchain parameters and the user information.
  • the device may further include: an authorization information sending unit configured to send the generated blockchain authorization information to the client.
  • the authorization information generation unit may include: a password generation algorithm determination module configured to determine a password generation for generating the blockchain authorization information based on the obtained blockchain parameters Algorithm; and an authorization information generation module configured to use the determined password generation algorithm to generate the blockchain authorization information based on the user information.
  • the blockchain authorization information includes a blockchain identity certificate
  • the authorization information generation module may include: a certificate request generation sub-module configured to use the determined password generation algorithm based on The user information generates a blockchain identity certificate request to serve as the blockchain identity certificate.
  • the blockchain authorization information includes a blockchain identity certificate
  • the authorization information generation module may further include: a certificate request sending sub-module configured to transfer the blockchain identity certificate The request is sent to the authorized authentication server for signature authentication; and the certificate request receiving sub-module is configured to receive the identity certificate request after signature authentication from the authorized authentication server as the blockchain identity certificate.
  • the blockchain identity certificate request may be sent to the authorization authentication server after being approved by a blockchain administrator.
  • the blockchain authorization information may further include a private key
  • the authorization information generation module may further include: a private key generation sub-module configured to use the determined password generation algorithm based on The user information generates the private key
  • the blockchain authorization information generation request may further include private key encryption information
  • the device may further include: a private key encryption unit configured to use the private key encryption information to The private key is encrypted.
  • a system for generating blockchain authorization information including: the device as described above; and an authorization authentication server configured to receive an identity certificate request from the device, and After the identity certificate request is signed and authenticated, the identity certificate request that has been signed and authenticated is sent to the device.
  • a computing device including: at least one processor; and a memory that stores instructions, and when the instructions are executed by the at least one processor, the at least one The processor executes the method described above.
  • a non-transitory machine-readable storage medium which stores executable instructions, which when executed cause the machine to perform the method as described above.
  • the blockchain parameters matching the target blockchain identifier are obtained, and the block is generated based on the obtained parameters
  • Chain authorization information which can use a professional platform to generate authorization information for the client, not only can provide convenience for the client, but also can use the software and hardware resources of the platform when generating the authorization information, not limited to the client's own software and hardware. Therefore, the security and reliability of the generated authorization information can be improved.
  • authorization information is generated through a password generation algorithm determined based on the obtained blockchain parameters, which can be adapted to the corresponding blockchain to generate safe and reliable authorization information.
  • the blockchain identity certificate request generated by the authoritative platform can be used as a blockchain identity certificate without sending it to others
  • the certification body performs certification, which can improve the efficiency of generating authorization information and save communication resources.
  • the signature of the authorized authentication server can be used to further improve the security of the blockchain identity certificate.
  • the private key is encrypted using the private key encryption information sent by the client, which can ensure the security of the private key and enable the client to obtain the corresponding private key smoothly.
  • Fig. 1 is a flowchart of a method for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of an example of the authorization information generation process in the method for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of an example of a blockchain identity certificate generation process in a method for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 4 shows an example of an identity certificate request generated in the method for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of another example of a blockchain identity certificate generation process in a method for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of an example of the private key generation process in the method for generating blockchain authorization information according to an embodiment of the present disclosure
  • Fig. 7 is a structural block diagram of an apparatus for generating blockchain authorization information according to an embodiment of the present disclosure
  • FIG. 8 is an example structural block diagram of the authorization information generating unit in the device for generating blockchain authorization information shown in FIG. 7;
  • FIG. 9 is a structural block diagram of an example of an authorization information generation module in an authorization information generation unit in the device for generating blockchain authorization information shown in FIG. 8;
  • Fig. 10 is a structural block diagram of a system for generating blockchain authorization information according to an embodiment of the present disclosure
  • Fig. 11 is a structural block diagram of a computing device for implementing a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the term “including” and its variants means open terms, meaning “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the terms “one embodiment” and “an embodiment” mean “at least one embodiment.”
  • the term “another embodiment” means “at least one other embodiment.”
  • Other definitions can be included below, either explicit or implicit. Unless clearly indicated in the context, the definition of a term is consistent throughout the specification.
  • Fig. 1 is a flowchart of a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • a block chain authorization information generation request for requesting generation of block chain authorization information sent by a client is received.
  • the block chain authorization information generation request includes a target blockchain identification and user information.
  • the client can be the server of any institution or organization that wants to join the target blockchain. After joining the target blockchain, the client will become a blockchain node in the target blockchain.
  • the target blockchain identifier is used to identify the target blockchain that the client wants to join. Different blockchains have different requirements for authorization information. Therefore, the client can specify the authorization information in the block when requesting to generate blockchain authorization information.
  • the chain authorization information generation request indicates the target blockchain that you want to join.
  • the target blockchain identifier may be, for example, the number or name of the target blockchain.
  • User information is used to generate blockchain authorization information. The user information may be, for example, the user's country, province, city, company name, FQDN (fully qualified domain name), and other information. The user information can identify the corresponding client, so that the generated blockchain information can be distinguished from other clients. Different blockchains may have different user information to provide when generating blockchain authorization information.
  • the blockchain parameters can be, for example, the blockchain version number, MPT tree components, key format, key security level, key complexity, etc.
  • the key format may be the key length, for example.
  • the system can be connected to each blockchain network to obtain the parameters of each blockchain.
  • the parameters of each blockchain can also be stored locally.
  • the blockchain parameters may be determined according to the business security level of the target blockchain. For example, the key length, key complexity and other parameters can be determined according to the security level of the target blockchain.
  • the client requesting to join the target blockchain may have been audited by the target blockchain. That is, the management organization of the target blockchain can review the client requesting to join the blockchain based on various review standards in advance, for example, review the client's financial status, credit status, operating status, technical capabilities, and permitted business scope Wait. Only when the client meets the requirements, the client is allowed to join the target blockchain. The client can issue a blockchain authorization information generation request when it is approved to join.
  • blockchain authorization information is generated.
  • authorization information that conforms to the target blockchain and can identify the identity of the client can be generated.
  • the method for generating blockchain authorization information may be executed by an authorization information generating server, for example.
  • the authorization information generation server may also be equipped with key security devices, such as HSM, SGX and other devices.
  • the key security device can provide a secure environment for the generation of authorization information, prevent security risks caused by hacker attacks and other factors, thereby improving the reliability of the authorization information generation process.
  • FIG. 2 is a flowchart of an example of the authorization information generation process in the method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • a password generation algorithm for generating blockchain authorization information is determined.
  • the password generation algorithm may be, for example, EC, RSA, etc. algorithms.
  • the corresponding password generation algorithm can be determined based on the key format and security level required by the target blockchain. For example, for some blockchain projects, you can choose the national secret algorithm.
  • the key format such as the key length generated by various password generation algorithms will also be different, so the password generation algorithm can also be determined based on the key format required by the target blockchain.
  • the determined password generation algorithm is used to generate blockchain authorization information based on the user information.
  • the software and hardware resources of the platform can make the random number generated during the key generation process reach a truly random level, and the authorization information generated based on the random number generated thereby can be difficult to crack.
  • the client When the client generates the key locally, due to limited hardware resources, the degree of randomness of the generated random number may not reach the true random level, so the generated key is less secure.
  • the generated blockchain authorization information can be sent to the client, and the client can also access the corresponding authorization information generation platform to obtain the generated blockchain authorization information. After obtaining the blockchain authorization information, the client can join the target blockchain with the blockchain authorization information to read and write transactions in the target blockchain.
  • the blockchain authorization information may include a blockchain identity certificate, and may also include a private key corresponding to the blockchain identity certificate.
  • the private key is used by the client to encrypt the sent transaction when sending the transaction to the target blockchain.
  • the blockchain identity certificate is used to prove the identity of the client. Only the client with the blockchain identity certificate will be accepted as a legal blockchain node by other participants in the target blockchain. When the client joins the target blockchain, it can distribute the blockchain identity certificate to other participants in the target blockchain for other participants in the target blockchain to decrypt the encrypted transaction sent by the client .
  • the blockchain identity certificate contains the client's public key, and also includes the client's user information. The following describes the generation process of the blockchain identity certificate and private key with reference to FIGS. 3 to 5.
  • Fig. 3 is a flowchart of an application scenario of a blockchain identity certificate generation process in a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the authorization information generation platform uses the determined password generation algorithm to generate a blockchain identity certificate request based on user information.
  • the blockchain identity certificate request includes a public key generated based on user information and user information (part or all of the user information), which is a blockchain identity certificate without signature authentication.
  • Figure 4 shows an example of an identity certificate request. As shown in Figure 4, the identity certificate request includes information such as country code, province name, city name, unit name, department name, and FQDN.
  • the generated blockchain identity certificate request can be used as the blockchain identity certificate based on the trust of the authorization information generation platform.
  • the authorization information generation platform can also sign the blockchain identity certificate request and use it as a blockchain identity certificate.
  • the signing process may also be performed in the process of generating the blockchain identity certificate request.
  • this implementation sends the blockchain identity certificate request to the authorized authentication server at block 304 after generating the blockchain identity certificate request for signature recognize.
  • the authorization authentication server can be a third-party certification organization (for example, a CA organization), or a blockchain administrator of the target blockchain.
  • each blockchain can be configured with a blockchain administrator (for example, a management server). The blockchain administrator can sign the blockchain identity certificate.
  • the authorized authentication server Upon receiving the blockchain identity certificate request, at block 306, the authorized authentication server performs signature authentication on the received blockchain identity certificate request.
  • the identity certificate request after signature authentication includes the signature of the authorized authentication server, which becomes a formal blockchain identity certificate with credibility.
  • the authorization authentication server sends the blockchain identity certificate request after signature authentication to the authorization information generation platform.
  • the authorization information generation platform receives the signature-authenticated identity certificate request from the authorization authentication server, and uses the received signature-authenticated blockchain identity certificate request as the blockchain identity certificate.
  • Fig. 5 is a flowchart of another example of a blockchain identity certificate generation process in a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the authorized certification agency is a third-party certification agency independent of the target blockchain and the authorization information generation platform.
  • the authorization information generation platform uses the determined password generation algorithm to generate a blockchain identity certificate request based on user information.
  • the authorization information generation platform sends the blockchain identity certificate request to the administrator of the target blockchain. Then in block 506 and block 508, the blockchain administrator of the target blockchain reviews the received blockchain identity certificate request. Blockchain administrators can review the format content of the identity certificate request to verify whether the blockchain identity certificate request meets the requirements.
  • the blockchain administrator sends the approved blockchain identity certificate request to the authorized authentication server for signature authentication. If the audit fails, the blockchain administrator can return a notification message that the audit failed to the authorization information generation platform, and the notification message can also include the reason for the failure of the audit.
  • the authorization information generation platform receives the notification message, it can regenerate the blockchain identity certificate request and send it to the blockchain administrator for review.
  • the authorization authentication server When the authorization authentication server receives the blockchain identity certificate request, in block 512, it performs signature authentication on the received blockchain identity certificate request. Then, in block 514, the authorization authentication server sends the blockchain identity certificate request after signature authentication to the authorization information generation platform.
  • the authorization information generation platform receives the signed and authenticated identity certificate request from the authorization authentication server, and uses the received signed and authenticated blockchain identity certificate request as the blockchain identity certificate.
  • the private key cannot be known by others, otherwise the transaction data written into the target blockchain may be tampered with. If the private key generated by the authorization information generation platform is not processed in any way, it may be obtained by others, which will not be conducive for the client to safely read and write transactions on the target blockchain. Therefore, in an example, the blockchain authorization information generation request sent by the client may include private key encryption information.
  • Fig. 6 is a flowchart of an example of a private key generation process in a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the determined password generation algorithm is used to generate a private key based on user information.
  • the private key can be used to encrypt the information to perform encryption processing on the private key.
  • the client can use the password generation tool to generate the private key encryption password locally, and include it in the blockchain authorization information generation request and send it together.
  • the client can decrypt the information with its known private key to obtain the private key.
  • the private key encryption information may not be included in the blockchain authorization information generation request. In this case, the private key encryption process may not be performed.
  • Fig. 7 is a structural block diagram of an apparatus for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the blockchain authorization information generation device 700 includes a generation request receiving unit 710, a blockchain parameter acquisition unit 720 and an authorization information generation unit 730.
  • the generation request receiving unit 710 is configured to receive a blockchain authorization information generation request for requesting generation of blockchain authorization information sent by the client, and the blockchain authorization information generation request includes a target blockchain identifier and user information.
  • the block chain parameter obtaining unit 720 is configured to obtain block chain parameters matching the target block chain identifier.
  • the authorization information generating unit 730 generates blockchain authorization information based on the acquired blockchain parameters and user information.
  • the block chain authorization information generating device 700 may also include an authorization information sending unit.
  • the authorization information sending unit is configured to send the generated blockchain authorization information to the client.
  • FIG. 8 is a structural block diagram of an example of the authorization information generating unit 730 in the block chain authorization information generating device 700 shown in FIG. 7.
  • the authorization information generation unit 730 includes a password generation algorithm determination module 731 and an authorization information generation module 732.
  • the password generation algorithm determination module 731 is configured to determine a password generation algorithm for generating the blockchain authorization information based on the obtained blockchain parameters.
  • the authorization information generation module 732 is configured to use the determined password generation algorithm to generate blockchain authorization information based on user information.
  • FIG. 9 is an example structural block diagram of the authorization information generating module 732 in the authorization information generating unit shown in FIG. 8.
  • the blockchain authorization information includes a blockchain identity certificate and a private key.
  • the authorization information generating module 732 includes a certificate request generating submodule 7321, a certificate request sending submodule 7322, a certificate request receiving submodule 7323, and a private key generating submodule 7324.
  • the certificate request generation sub-module 7321 is configured to use the determined password generation algorithm to generate a blockchain identity certificate request based on user information. After the block chain identity certificate request is generated, the certificate request sending sub-module 7322 sends the block chain identity certificate request to the authorized authentication server for signature authentication.
  • the authorization authentication server After the authorization authentication server performs signature authentication on the blockchain identity certificate request, it sends back the blockchain identity certificate that has been signed and authenticated to the blockchain authorization information generating device 700. Then, the certificate request receiving sub-module 7323 receives the identity certificate request after signature authentication from the authorized authentication server as the blockchain identity certificate.
  • the certificate request sending submodule 7322 may send the blockchain identity certificate request to the blockchain administrator for review. After passing the review, the blockchain administrator will review and send to the authorized authentication server.
  • the authorization information generating module 732 may not include the certificate request sending sub-module 7322 and the certificate request receiving sub-module 7323. At this time, the certificate request generation sub-module 7321 may use the generated blockchain certificate request as the blockchain identity certificate for the client.
  • the private key generation sub-module 7324 is configured to use the determined password generation algorithm to generate a private key based on user information.
  • the blockchain authorization information may not include the private key.
  • the authorization information generation module may not include the private key generation module.
  • the blockchain authorization information generation request may also include private key encryption information.
  • the authorization information generating device 700 may also include a private key encryption unit (not shown in the figure).
  • the private key encryption unit is configured to encrypt information with the private key to perform encryption processing on the private key.
  • Fig. 10 is a structural block diagram of a system for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the authorization information generation system 1000 includes a blockchain authorization information generation device 1010 and an authorization authentication server 1020.
  • the block chain authorization information generating device 1010 may have the functions described in the above embodiment.
  • the authorization authentication server 1020 is configured to receive the identity certificate request from the blockchain authorization information generating device 1010, and after signing and verifying the identity certificate request, it sends the signature-authenticated identity certificate request to the blockchain authorization information generating device 1010.
  • the device for generating blockchain authorization information of the present disclosure can be implemented by hardware, or by software or a combination of hardware and software.
  • the various embodiments in this specification are described in a progressive manner, and the same or similar parts among the various embodiments are referred to each other.
  • the device for generating blockchain authorization information of the present disclosure can be implemented by hardware, or by software or a combination of hardware and software. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the memory into the memory through the processor of the device where it is located. In the present disclosure, the device for generating blockchain authorization information can be implemented by using a computing device, for example.
  • Fig. 11 is a structural block diagram of a computing device for implementing a method for generating blockchain authorization information according to an embodiment of the present disclosure.
  • the computing device 1100 includes a processor 1110, a memory 1120, a memory 1130, a communication interface 1140, and an internal bus 1150.
  • the computing device 1100 may include at least one processor 1110 that executes at least one computer-readable instruction (ie, the above-mentioned memory 1120) stored or encoded in a computer-readable storage medium (ie, the memory 1120) Elements implemented in software).
  • computer-executable instructions are stored in the memory 1120, which when executed, cause at least one processor 1110: to receive a blockchain authorization information generation request sent by a client for requesting to generate blockchain authorization information,
  • the block chain authorization information generation request includes a target block chain identification and user information; obtaining a block chain parameter matching the target block chain identification; and based on the obtained block chain parameter and the user information, Generate the blockchain authorization information.
  • a program product such as a non-transitory machine-readable medium.
  • the non-transitory machine-readable medium may have instructions (ie, the above-mentioned elements implemented in the form of software), which when executed by a machine, cause the machine to execute the various embodiments described above in conjunction with FIGS. 1-9 in the various embodiments of the present disclosure. Operation and function.
  • a system or device equipped with a readable storage medium may be provided, and the software program code for realizing the function of any one of the above embodiments is stored on the readable storage medium, and the computer or device of the system or device The processor reads out and executes the instructions stored in the readable storage medium.
  • the program code itself read from the readable medium can realize the function of any one of the above embodiments, so the machine readable code and the readable storage medium storing the machine readable code constitute the present invention a part of.
  • Examples of readable storage media include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tape, Volatile memory card and ROM.
  • the program code can be downloaded from a server computer or cloud via a communication network.
  • the device structure described in the foregoing embodiments may be a physical structure or a logical structure. That is, some units may be implemented by the same physical entity, or some units may be implemented by multiple physical entities, or may be implemented by multiple physical entities. Some components in independent devices are implemented together.

Abstract

用于生成区块链授权信息的方法、装置及系统,所述方法包括:接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求(120),所述区块链授权信息生成请求包括目标区块链标识和用户信息;获取与所述目标区块链标识匹配的区块链参数(140);以及基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息(160)。

Description

用于生成区块链授权信息的方法、装置及系统 技术领域
本公开涉及区块链技术领域,具体地,涉及用于生成区块链授权信息的方法、装置及系统。
背景技术
联盟链是区块链的一种类型,联盟链的各个区块链节点由与之对应的机构或组织构成。参与联盟链的机构或组织可以通过授权加入相应的区块链网络以组成具有相同业务诉求的联盟,并共同维护区块链运行。
对于联盟链的场景,联盟参与方需要经过授权,对联盟参与方的授权构建了信任基础。在公有链中,所有机构或个人都可以向区块链上传信息或同步区块链数据到本地,而在联盟链中,只有经过授权的联盟参与方能够加入该联盟链。因此,对参与方的授权管理技术成为了联盟链领域中的关键。
发明内容
鉴于上述,本公开提供了一种用于生成区块链授权信息的方法、装置及系统。利用该方法、装置和系统,能够利用专业平台来为各个区块链节点生成授权信息,以提高所生成的授权信息的安全性和可靠性。
根据本公开的一个方面,提供了一种用于生成区块链授权信息的方法,包括:接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,所述区块链授权信息生成请求包括目标区块链标识和用户信息;获取与所述目标区块链标识匹配的区块链参数;以及基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息。
可选的,在一个示例中,所述方法还可以包括:将所生成的区块链授权信息发送给所述客户端。
可选的,在一个示例中,基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息可以包括:基于所获取的区块链参数,确定用于生成所述区块链授权信息的密码生成算法;以及利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息。
可选的,在一个示例中,所述区块链授权信息包括区块链身份证书,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息可以包括:利用所确定的密码生成算法来基于所述用户信息生成区块链身份证书请求,以作为所述区块链身份证书。
可选的,在一个示例中,所述区块链授权信息包括区块链身份证书,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息还可以包括:将所述区块链身份证书请求发送给授权认证服务器,以进行签名认证;以及从所述授权认证服务器接收经过签名认证后的身份证书请求,以作为所述区块链身份证书。
可选的,在一个示例中,所述区块链身份证书请求可以是经过区块链管理员审核通过后发送给所述授权认证服务器的。
可选的,在一个示例中,所述区块链授权信息还可以包括私钥,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息包括:利用所确定的密码生成算法来基于所述用户信息生成所述私钥。
可选的,在一个示例中,所述区块链授权信息生成请求还可以包括私钥加密信息,所述方法还可以包括:利用所述私钥加密信息来对所述私钥进行加密处理。
可选的,在一个示例中,所述区块链参数可以是基于所述目标区块链的业务安全等级确定的。
根据本公开的另一方面,还提供一种用于生成区块链授权信息的装置,包括:生成请求接收单元,被配置为接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,所述区块链授权信息生成请求包括目标区块链标识和用户信息;区块链参数获取单元,被配置为获取与所述目标区块链标识匹配的区块链参数;以及授权信息生成单元,被配置为基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息。
可选的,在一个示例中,所述装置还可以包括:授权信息发送单元,被配置为将所生成的区块链授权信息发送给所述客户端。
可选的,在一个示例中,所述授权信息生成单元可以包括:密码生成算法确定模块,被配置为基于所获取的区块链参数,确定用于生成所述区块链授权信息的密码生成算法;以及授权信息生成模块,被配置为利用所确定的密码生成算法来基于所述用户信 息生成所述区块链授权信息。
可选的,在一个示例中,所述区块链授权信息包括区块链身份证书,所述授权信息生成模块可以包括:证书请求生成子模块,被配置为利用所确定的密码生成算法来基于所述用户信息生成区块链身份证书请求,以作为所述区块链身份证书。
可选的,在一个示例中,所述区块链授权信息包括区块链身份证书,所述授权信息生成模块还可以包括:证书请求发送子模块,被配置为将所述区块链身份证书请求发送给授权认证服务器,以进行签名认证;以及证书请求接收子模块,被配置为从所述授权认证服务器接收经过签名认证后的身份证书请求,以作为所述区块链身份证书。
可选的,在一个示例中,所述区块链身份证书请求可以是经过区块链管理员审核通过后发送给所述授权认证服务器的。
可选的,在一个示例中,所述区块链授权信息还可以包括私钥,所述授权信息生成模块还可以包括:私钥生成子模块,被配置为利用所确定的密码生成算法来基于所述用户信息生成所述私钥。
可选的,在一个示例中,所述区块链授权信息生成请求还可以包括私钥加密信息,所述装置还可以包括:私钥加密单元,被配置为利用所述私钥加密信息来对所述私钥进行加密处理。
根据本公开的另一方面,还提供一种用于生成区块链授权信息的系统,包括:如上所述的装置;以及授权认证服务器,被配置为从所述装置接收身份证书请求,并对身份证书请求进行签名认证后,将经过签名认证的身份证书请求发送给所述装置。
根据本公开的另一方面,还提供一种计算设备,包括:至少一个处理器;以及存储器,所述存储器存储指令,当所述指令被所述至少一个处理器执行时,使得所述至少一个处理器执行如上所述的方法。
根据本公开的另一方面,还提供一种非暂时性机器可读存储介质,其存储有可执行指令,所述指令当被执行时使得所述机器执行如上所述的方法。
利用本公开的方法、装置和系统,在接收到客户端发送的区块链授权信息生成请求时,获取与目标区块链标识匹配的区块链参数,并基于所获取的参数来生成区块链授权信息,从而能够利用专业平台来为客户端生成授权信息,不仅能够为客户端提供便利,而且在生成授权信息时能够利用平台端的软硬件资源,而不局限于客户端自身的软硬件, 因此能够提高所生成的授权信息的安全性和可靠性。
利用本公开的方法、装置和系统,通过将所生成的区块链授权信息发送给客户端,能够使客户端不需要自行获取授权信息,进一步为客户端提高便利。
利用本公开的方法、装置和系统,通过基于所获取的区块链参数而确定的密码生成算法,来生成授权信息,能够适配于相应的区块链而生成安全可靠的授权信息。
利用本公开的方法、装置和系统,通过利用权威平台来生成区块链身份证书请求,从而可将权威平台生成的区块链身份证书请求作为区块链身份证书,而不需要再发送给其它认证机构进行认证,从而能提高授权信息生成效率,并能节约通信资源。
利用本公开的方法、装置和系统,通过将所生成的区块链身份证书请求发送给授权认证服务器以进行签名认证,能够利用授权认证服务器的签名来进一步提高区块链身份证书的安全性。
利用本公开的方法、装置和系统,利用客户端发送的私钥加密信息对私钥进行加密,能够确保私钥的安全性,且能使客户端顺利获取相应的私钥。
附图说明
通过参照下面的附图,可以实现对于本公开内容的本质和优点的进一步理解。在附图中,类似组件或特征可以具有相同的附图标记。附图是用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开的实施例,但并不构成对本公开的实施例的限制。在附图中:
图1是根据本公开的一个实施例的用于生成区块链授权信息的方法的流程图;
图2是根据本公开的一个实施例的用于生成区块链授权信息的方法中的授权信息生成过程的一个示例的流程图;
图3是根据本公开的一个实施例的用于生成区块链授权信息的方法中的区块链身份证书生成过程的一个示例的流程图;
图4示出了根据本公开的一个实施例的用于生成区块链授权信息的方法中所生成的身份证书请求的一个示例;
图5是根据本公开的一个实施例的用于生成区块链授权信息的方法中的区块链身份证书生成过程的另一示例的流程图;
图6是根据本公开的一个实施例的用于生成区块链授权信息的方法中的私钥生成过程的一个示例的流程图;
图7是根据本公开的一个实施例的用于生成区块链授权信息的装置的结构框图;
图8是图7所示的用于生成区块链授权信息的装置中的授权信息生成单元的一个示例结构框图;
图9是图8所示的用于生成区块链授权信息的装置中的授权信息生成单元中的授权信息生成模块的一个示例的结构框图;
图10是根据本公开的一个实施例的用于生成区块链授权信息的系统的结构框图;
图11是根据本公开的一个实施例的用于实现用于生成区块链授权信息的方法的计算设备的结构框图。
具体实施方式
以下将参考示例实施方式讨论本文描述的主题。应该理解,讨论这些实施方式只是为了使得本领域技术人员能够更好地理解从而实现本文描述的主题,并非是对权利要求书中所阐述的保护范围、适用性或者示例的限制。可以在不脱离本公开内容的保护范围的情况下,对所讨论的元素的功能和排列进行改变。各个示例可以根据需要,省略、替代或者添加各种过程或组件。另外,相对一些示例所描述的特征在其它例子中也可以进行组合。
如本文中使用的,术语“包括”及其变型表示开放的术语,含义是“包括但不限于”。术语“基于”表示“至少部分地基于”。术语“一个实施例”和“一实施例”表示“至少一个实施例”。术语“另一个实施例”表示“至少一个其他实施例”。下面可以包括其他的定义,无论是明确的还是隐含的。除非上下文中明确地指明,否则一个术语的定义在整个说明书中是一致的。
现在结合附图来描述本公开的用于生成区块链授权信息的方法、装置和系统。
图1是根据本公开的一个实施例的用于生成区块链授权信息的方法的流程图。
如图1所示,在块120,接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,区块链授权信息生成请求包括目标区块链标识和用户信息。客户端可以是任意想要加入目标区块链的机构或组织的服务器,在加入目标区块链之后,该客 户端将成为目标区块链中的区块链节点。
目标区块链标识用于标识客户端想要加入的目标区块链,不同的区块链对授权信息的要求会有所不同,因而客户端在请求生成区块链授权信息时可以在区块链授权信息生成请求中标明想要加入的目标区块链。目标区块链标识例如可以是目标区块链的编号或名称。用户信息用于生成区块链授权信息。用户信息例如可以是用户的国别、所在省份、所在城市、公司名、FQDN(全限定域名)等信息。用户信息可以标识相应的客户端,以使生成的区块链信息能够区别于其它客户端。不同的区块链对生成区块链授权信息时要提供的用户信息可能会有所不同。
在接收到区块链授权信息生成请求时,在块140,获取与目标区块链标识匹配的区块链参数。区块链参数例如可以是区块链版本号、MPT树组件、密钥格式、密钥安全等级、密钥复杂度等。密钥格式例如可以是密钥长度。系统可以与各区块链网络对接,以获取各个区块链的参数。此外,也可以将各区块链的参数存储在本地。在一个示例中,区块链参数可以是根据目标区块链的业务安全等级来确定的。例如,可以根据目标区块链的安全等级来确定密钥长度、密钥复杂度等参数。
当客户端在本地自行生成区块链授权信息时,需要手动输入这些参数,因而效率较低且对于客户端来说操作过于复杂。通过根据目标区块链来匹配区块链参数,能够提高授权信息的效率,并为客户端提供便利,并减小授权生成过程的出错概率。
对于联盟链的场景,请求加入目标区块链的客户端可以是已经过目标区块链审核的。即目标区块链的管理机构可以事先基于各项审核标准,对请求加入该区块链的客户端进行审核,例如,审核该客户端的资金状况、信用状况、经营状况、技术能力、许可经营范围等。只有当该客户端符合要求时,才允许该客户端加入目标区块链。客户端可以在被批准加入时,发出区块链授权信息生成请求。
在区配区块链参数之后,在块160,基于所获取的区块链参数和用户信息,生成区块链授权信息。由此可生成符合目标区块链且能够标识客户端身份的授权信息。
在本公开的实施例所提供的用于生成区块链授权信息的方法例如可以由授权信息生成服务器来执行。在授权信息生成服务器还可以配置有密钥安全装置,例如HSM、SGX等装置。密钥安全装置可为授权信息的生成提供安全环境,防止黑客攻击等因素导致的安全隐患,从而提高授权信息生成过程的可靠性。而由于其硬件成本较高,这些硬件难以在各个客户端进行分别部署。
图2是根据本公开的一个实施例的用于生成区块链授权信息的方法中的授权信息生成过程的一个示例的流程图。
如图2所示,在块220,基于所获取的区块链参数,确定用于生成区块链授权信息的密码生成算法。密码生成算法例如可以是EC、RSA等算法。在一个示例中,可以基于目标区块链所要求的密钥格式、安全等级等来确定相应的密码生成算法。例如,对于某些区块链项目,可以选择国密算法。各种密码生成算法所生成的密钥长度等密钥格式也会不同,因而还可以基于目标区块链要求的密钥格式来确定密码生成算法。
在确定密码生成算法之后,在块240,利用所确定的密码生成算法来基于用户信息生成区块链授权信息。
在通过专业平台来生成授权信息时,平台端可以部署具有足够规模的硬件,从而使密码生成算法能够生成安全性更高的密钥。例如,平台端的软硬件资源可以使得在密钥生成过程中生成的随机数的随机程度达到真正随机水平,基于由此生成的随机数所生成的授权信息难以被破解。而当客户端在本地生成密钥时,由于硬件资源有限,所生成的随机数的随机程度可能达不到真正随机水平,因而所生成的密钥安全性较低。
所生成的区块链授权信息可以发送给客户端,客户端也可以访问相应的授权信息生成平台,以获取所生成的区块链授权信息。在获取到区块链授权信息之后,客户端可以凭借区块链授权信息加入目标区块链,以在目标区块链中读写交易。
区块链授权信息可以包括区块链身份证书,还可以包括对应于区块链身份证书的私钥。私钥用于客户端在向目标区块链发送交易时对所发送的交易进行加密。区块链身份证书用于证明客户端的身份,只有具有区块链身份证书的客户端才会被目标区块链中的其它参与方接受为合法的区块链节点。客户端在加入目标区块链时,可以将区块链身份证书分发给目标区块链的其它参与方,以用于目标区块链的其它参与方对该客户端所发送的加密交易进行解密。区块链身份证书中包含有该客户端的公钥,并且还包括客户端的用户信息。以下参考图3至图5对区块链身份证书和私钥的生成过程进行说明。
图3是根据本公开的一个实施例的用于生成区块链授权信息的方法中的区块链身份证书生成过程的一个应用场景的流程图。
如图3所示,在块302,授权信息生成平台利用所确定的密码生成算法来基于用户信息生成区块链身份证书请求。区块链身份证书请求中包括基于用户信息生成的公钥和用户信息(部分或全部用户信息),是没有经过签名认证的区块链身份证书。图4示出 了身份证书请求的一个示例,如图4所示,该身份证书请求中包括国家代码、省份名称、城市名、单位名称、所在部门名称、FQDN等信息。
当授权信息生成平台是可信任的权威平台时,可以基于对授权信息生成平台的信任,将所生成的区块链身份证书请求作为区块链身份证书。由此,能够免去由额外的授权认证机构进行认证的过程,从而不仅能提高效率,还能够节约通信资源。此外,授权信息生成平台还可以对区块链身份证书请求进行签名后,将其作为区块链身份证书。在另一示例中,该签名过程还可以是在生成区块链身份证书请求的过程中进行的。
为了进一步提高为客户端生成的区块链身份证书的安全性,本实施在生成区块链身份证书请求之后,在块304将所述区块链身份证书请求发送给授权认证服务器,以进行签名认。授权认证服务器可以是第三方认证机构(例如CA机构),还可以是目标区块链的区块链管理员。对于联盟链,各个区块链可以配置有区块链管理员(例如,管理服务器)。区块链管理员可以对区块链身份证书进行签名认证。
在接收到区块链身份证书请求时,在块306,授权认证服务器对接收到的区块链身份证书请求进行签名认证。经过签名认证后的身份证书请求中包括授权认证服务器的签名,由此成为正式的具有公信力的区块链身份证书。
然后,在块308,授权认证服务器将签名认证后的区块链身份证书请求发送给授权信息生成平台。
在块310,授权信息生成平台从授权认证服务器接收经过签名认证后的身份证书请求,并把接收到的经过签名认证后的区块链身份证书请求作为区块链身份证书。
图5是根据本公开的一个实施例的用于生成区块链授权信息的方法中的区块链身份证书生成过程的另一示例的流程图。在该示例中,授权认证机构是独立于目标区块链和授权信息生成平台的第三方认证机构。
如图5所示,在块502,授权信息生成平台利用所确定的密码生成算法来基于用户信息生成区块链身份证书请求。
在块504,授权信息生成平台将区块链身份证书请求发送给目标区块链的管理员。然后在块506和块508,目标区块链的区块链管理员对接收到的区块链身份证书请求进行审核。区块链管理员可以对身份证书请求的格式内容进行审核,以审核区块链身份证书请求是否符合要求。
当区块链身份证书请求审核通过时,在块510,区块链管理员将审核通过的区块链身份证书请求发送给授权认证服务器,以进行签名认证。如果审核不通过,区块链管理员可以向授权信息生成平台返回审核不通过的通知消息,通知消息中还可以包括审核不通过的原因。授权信息生成平台在接收到该通知消息时,可以重新生成区块链身份证书请求并发送给区块链管理员以进行审核。
经过区块链管理员的审核,能够保证最终生成的区块链身份证书的安全性和可靠性。
当授权认证服务器接收到区块链身份证书请求时,在块512,对接收到的区块链身份证书请求进行签名认证。然后,在块514,授权认证服务器将签名认证后的区块链身份证书请求发送给授权信息生成平台。
在块516,授权信息生成平台从授权认证服务器接收经过签名认证后的身份证书请求,并把接收到的经过签名认证后的区块链身份证书请求作为区块链身份证书。
对于区块链的各个参与方来说,私钥不能被他人知晓,否则其写入目标区块链的交易数据可能会遭到篡改。由授权信息生成平台生成的私钥如果不进行任何处理,则可能被他人获取,这将不利于客户端在目标区块链上安全地读写交易。因而,在一个示例中,客户端所发送的区块链授权信息生成请求中可以包括私钥加密信息。
图6是根据本公开的一个实施例的用于生成区块链授权信息的方法中的私钥生成过程的一个示例的流程图。
如图6所示,在块620中,利用所确定的密码生成算法来基于用户信息生成私钥。
然后,在块640,可以利用私钥加密信息来对私钥进行加密处理。客户端可以在本地利用密码生成工具生成私钥加密密码,并将其包含在区块链授权信息生成请求中一同发送。在将被加密的私钥发送给客户端或由客户端下载时,客户端可以用自己已知的私钥加密信息来进行解密,从而获得私钥。
在另一示例中,区块链授权信息生成请求中也可以不包括私钥加密信息,此时,可以不执行私钥加密过程。
图7是根据本公开的一个实施例的用于生成区块链授权信息的装置的结构框图。如图7所示,区块链授权信息生成装置700包括生成请求接收单元710、区块链参数获取单元720和授权信息生成单元730。
生成请求接收单元710被配置为接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,区块链授权信息生成请求包括目标区块链标识和用户信息。区块链参数获取单元720被配置为获取与目标区块链标识匹配的区块链参数。在获取到区块链参数时,授权信息生成单元730基于所获取的区块链参数和用户信息,生成区块链授权信息。
此外,虽然图中没有示出,区块链授权信息生成装置700还可以包括授权信息发送单元。授权信息发送单元被配置为将所生成的区块链授权信息发送给客户端。
图8是图7所示的区块链授权信息生成装置700中的授权信息生成单元730的一个示例的结构框图。如图8所示,授权信息生成单元730包括密码生成算法确定模块731和授权信息生成模块732。
密码生成算法确定模块731被配置为基于所获取的区块链参数,确定用于生成所述区块链授权信息的密码生成算法。授权信息生成模块732被配置为利用所确定的密码生成算法来基于用户信息生成区块链授权信息。
图9是图8所示的授权信息生成单元中的授权信息生成模块732的一个示例结构框图。在该示例中,区块链授权信息包括区块链身份证书和私钥。如图9所示,授权信息生成模块732包括证书请求生成子模块7321、证书请求发送子模块7322、证书请求接收子模块7323和私钥生成子模块7324。
证书请求生成子模块7321被配置为利用所确定的密码生成算法来基于用户信息生成区块链身份证书请求。在生成区块链身份证书请求后,证书请求发送子模块7322将区块链身份证书请求发送给授权认证服务器,以进行签名认证。
授权认证服务器在对区块链身份证书请求进行签名认证之后,将经过签名认证的区块链身份证书发回给区块链授权信息生成装置700。然后,证书请求接收子模块7323从授权认证服务器接收经过签名认证后的身份证书请求,作为区块链身份证书。
在另一示例中,证书请求发送子模块7322可以将区块链身份证书请求发送给区块链管理员,以进行审核。在审核通过后,由区块链管理员审核发送给授权认证服务器的。
在另一示例中,授权信息生成模块732可以不包括证书请求发送子模块7322和证书请求接收子模块7323。此时,证书请求生成子模块7321可以将所生成的区块链证书请求作为针对客户端的区块链身份证书。
私钥生成子模块7324被配置为利用所确定的密码生成算法来基于用户信息生成私钥。在另一示例中,区块链授权信息可以不包括私钥,此时,授权信息生成模块可以不包括私钥生成模块。
在区块链授权信息包括私钥时,区块链授权信息生成请求还可以包括私钥加密信息。在该情形下,授权信息生成装置700还可以包括私钥加密单元(附图中未示出)。私钥加密单元被配置为利用私钥加密信息来对私钥进行加密处理。
图10是根据本公开的一个实施例的用于生成区块链授权信息的系统的结构框图。如图10所示,授权信息生成系统1000包括区块链授权信息生成装置1010和授权认证服务器1020。
区块链授权信息生成装置1010可以具有如上实施例所述的功能。授权认证服务器1020被配置为从区块链授权信息生成装置1010接收身份证书请求,并对身份证书请求进行签名认证后,将经过签名认证的身份证书请求发送给区块链授权信息生成装置1010。
以上参照图1到图9,对根据本公开的用于生成区块链授权信息的方法及装置的实施例进行了描述。在以上对方法实施例的描述中所提及的细节,同样适用于本公开的装置的实施例。
本公开的用于生成区块链授权信息的装置可以采用硬件实现,也可以采用软件或者硬件和软件的组合来实现。本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见。
本公开的用于生成区块链授权信息的装置可以采用硬件实现,也可以采用软件或者硬件和软件的组合来实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在设备的处理器将存储器中对应的计算机程序指令读取到内存中运行形成的。在本公开中,用于生成区块链授权信息的装置例如可以利用计算设备实现。
图11是根据本公开的一个实施例的用于实现用于生成区块链授权信息的方法的计算设备的结构框图。如图11所示,计算设备1100包括处理器1110、存储器1120、内存1130、通信接口1140和内部总线1150。根据一个实施例,计算设备1100可以包括至少一个处理器1110,该至少一个处理器1110执行在计算机可读存储介质(即,存储器1120)中存储或编码的至少一个计算机可读指令(即,上述以软件形式实现的元素)。
在一个实施例中,在存储器1120中存储计算机可执行指令,其当执行时使得至少 一个处理器1110:接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,所述区块链授权信息生成请求包括目标区块链标识和用户信息;获取与所述目标区块链标识匹配的区块链参数;以及基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息。
应该理解,在存储器1120中存储的计算机可执行指令当执行时使得至少一个处理器1110进行本公开的各个实施例中以上结合图1-9描述的各种操作和功能。
根据一个实施例,提供了一种例如非暂时性机器可读介质的程序产品。非暂时性机器可读介质可以具有指令(即,上述以软件形式实现的元素),该指令当被机器执行时,使得机器执行本公开的各个实施例中以上结合图1-9描述的各种操作和功能。
具体地,可以提供配有可读存储介质的系统或者装置,在该可读存储介质上存储着实现上述实施例中任一实施例的功能的软件程序代码,且使该系统或者装置的计算机或处理器读出并执行存储在该可读存储介质中的指令。
在这种情况下,从可读介质读取的程序代码本身可实现上述实施例中任何一项实施例的功能,因此机器可读代码和存储机器可读代码的可读存储介质构成了本发明的一部分。
可读存储介质的实施例包括软盘、硬盘、磁光盘、光盘(如CD-ROM、CD-R、CD-RW、DVD-ROM、DVD-RAM、DVD-RW、DVD-RW)、磁带、非易失性存储卡和ROM。可选择地,可以由通信网络从服务器计算机上或云上下载程序代码。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
上述各流程和各系统结构图中不是所有的步骤和单元都是必须的,可以根据实际的需要忽略某些步骤或单元。各步骤的执行顺序不是固定的,可以根据需要进行确定。上述各实施例中描述的装置结构可以是物理结构,也可以是逻辑结构,即,有些单元可能由同一物理实体实现,或者,有些单元可能分由多个物理实体实现,或者,可以由多个独立设备中的某些部件共同实现。
在整个本说明书中使用的术语“示例性”意味着“用作示例、实例或例示”,并不意味着比其它实施例“优选”或“具有优势”。出于提供对所描述技术的理解的目的,具体实施方式包括具体细节。然而,可以在没有这些具体细节的情况下实施这些技术。在一些实例中,为了避免对所描述的实施例的概念造成难以理解,公知的结构和装置以框图形式示出。
以上结合附图详细描述了本公开的实施例的可选实施方式,但是,本公开的实施例并不限于上述实施方式中的具体细节,在本公开的实施例的技术构思范围内,可以对本公开的实施例的技术方案进行多种简单变型,这些简单变型均属于本公开的实施例的保护范围。
本公开内容的上述描述被提供来使得本领域任何普通技术人员能够实现或者使用本公开内容。对于本领域普通技术人员来说,对本公开内容进行的各种修改是显而易见的,并且,也可以在不脱离本公开内容的保护范围的情况下,将本文所定义的一般性原理应用于其它变型。因此,本公开内容并不限于本文所描述的示例和设计,而是与符合本文公开的原理和新颖性特征的最广范围相一致。

Claims (20)

  1. 一种用于生成区块链授权信息的方法,包括:
    接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,所述区块链授权信息生成请求包括目标区块链标识和用户信息;
    获取与所述目标区块链标识匹配的区块链参数;以及
    基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息。
  2. 如权利要求1所述的方法,还包括:
    将所生成的区块链授权信息发送给所述客户端。
  3. 如权利要求1所述的方法,其中,基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息包括:
    基于所获取的区块链参数,确定用于生成所述区块链授权信息的密码生成算法;以及
    利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息。
  4. 如权利要求3所述的方法,其中,所述区块链授权信息包括区块链身份证书,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息包括:
    利用所确定的密码生成算法来基于所述用户信息生成区块链身份证书请求,以作为所述区块链身份证书。
  5. 如权利要求4所述的方法,其中,所述区块链授权信息包括区块链身份证书,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息还包括:
    将所述区块链身份证书请求发送给授权认证服务器,以进行签名认证;以及
    从所述授权认证服务器接收经过签名认证后的身份证书请求,以作为所述区块链身份证书。
  6. 如权利要求5所述的方法,其中,所述区块链身份证书请求是经过区块链管理员审核通过后发送给所述授权认证服务器的。
  7. 如权利要求3-6中任一项所述的方法,其中,所述区块链授权信息还包括私钥,利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息包括:
    利用所确定的密码生成算法来基于所述用户信息生成所述私钥。
  8. 如权利要求7所述的方法,其中,所述区块链授权信息生成请求还包括私钥加密信息,所述方法还包括:
    利用所述私钥加密信息来对所述私钥进行加密处理。
  9. 如权利要求1-6中任一项所述的方法,其中,所述区块链参数是基于所述目标 区块链的业务安全等级确定的。
  10. 一种用于生成区块链授权信息的装置,包括:
    生成请求接收单元,被配置为接收客户端发送的用于请求生成区块链授权信息的区块链授权信息生成请求,所述区块链授权信息生成请求包括目标区块链标识和用户信息;
    区块链参数获取单元,被配置为获取与所述目标区块链标识匹配的区块链参数;以及
    授权信息生成单元,被配置为基于所获取的区块链参数和所述用户信息,生成所述区块链授权信息。
  11. 如权利要求10所述的装置,还包括:
    授权信息发送单元,被配置为将所生成的区块链授权信息发送给所述客户端。
  12. 如权利要求10所述的装置,其中,所述授权信息生成单元包括:
    密码生成算法确定模块,被配置为基于所获取的区块链参数,确定用于生成所述区块链授权信息的密码生成算法;以及
    授权信息生成模块,被配置为利用所确定的密码生成算法来基于所述用户信息生成所述区块链授权信息。
  13. 如权利要求12所述的装置,其中,所述区块链授权信息包括区块链身份证书,所述授权信息生成模块包括:
    证书请求生成子模块,被配置为利用所确定的密码生成算法来基于所述用户信息生成区块链身份证书请求,以作为所述区块链身份证书。
  14. 如权利要求13所述的装置,其中,所述区块链授权信息包括区块链身份证书,所述授权信息生成模块还包括:
    证书请求发送子模块,被配置为将所述区块链身份证书请求发送给授权认证服务器,以进行签名认证;以及
    证书请求接收子模块,被配置为从所述授权认证服务器接收经过签名认证后的身份证书请求,以作为所述区块链身份证书。
  15. 如权利要求14所述的装置,其中,所述区块链身份证书请求是经过区块链管理员审核通过后发送给所述授权认证服务器的。
  16. 如权利要求12-15中任一项所述的装置,其中,所述区块链授权信息还包括私钥,所述授权信息生成模块还包括:
    私钥生成子模块,被配置为利用所确定的密码生成算法来基于所述用户信息生成所述私钥。
  17. 如权利要求16所述的装置,其中,所述区块链授权信息生成请求还包括私钥加密信息,所述装置还包括:
    私钥加密单元,被配置为利用所述私钥加密信息来对所述私钥进行加密处理。
  18. 一种用于生成区块链授权信息的系统,包括
    权利要求14-17中任一项所述的装置;以及
    授权认证服务器,被配置为从所述装置接收身份证书请求,并对身份证书请求进行签名认证后,将经过签名认证的身份证书请求发送给所述装置。
  19. 一种计算设备,包括:
    至少一个处理器;以及
    存储器,所述存储器存储指令,当所述指令被所述至少一个处理器执行时,使得所述至少一个处理器执行如权利要求1到9中任一所述的方法。
  20. 一种非暂时性机器可读存储介质,其存储有可执行指令,所述指令当被执行时使得所述机器执行如权利要求1到9中任一所述的方法。
PCT/CN2020/070838 2019-04-19 2020-01-08 用于生成区块链授权信息的方法、装置及系统 WO2020211481A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/803,807 US10790973B2 (en) 2019-04-19 2020-02-27 Blockchain authorization information generation
US17/035,408 US10992465B2 (en) 2019-04-19 2020-09-28 Blockchain authorization information generation
US17/239,232 US11218305B2 (en) 2019-04-19 2021-04-23 Blockchain authorization information generation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910318833.5 2019-04-19
CN201910318833.5A CN110020869B (zh) 2019-04-19 2019-04-19 用于生成区块链授权信息的方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/803,807 Continuation US10790973B2 (en) 2019-04-19 2020-02-27 Blockchain authorization information generation

Publications (1)

Publication Number Publication Date
WO2020211481A1 true WO2020211481A1 (zh) 2020-10-22

Family

ID=67191960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070838 WO2020211481A1 (zh) 2019-04-19 2020-01-08 用于生成区块链授权信息的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN110020869B (zh)
WO (1) WO2020211481A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10790973B2 (en) 2019-04-19 2020-09-29 Alibaba Group Holding Limited Blockchain authorization information generation
CN110020869B (zh) * 2019-04-19 2020-08-07 阿里巴巴集团控股有限公司 用于生成区块链授权信息的方法、装置及系统
CN113542288B (zh) * 2019-10-11 2023-06-30 支付宝(杭州)信息技术有限公司 业务授权方法、装置、设备及系统
CN113763621A (zh) * 2020-07-20 2021-12-07 北京沃东天骏信息技术有限公司 一种基于区块链的门禁授权方法、管理客户端和系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701372A (zh) * 2015-12-18 2016-06-22 布比(北京)网络技术有限公司 一种区块链身份构建及验证方法
CN107426157A (zh) * 2017-04-21 2017-12-01 杭州趣链科技有限公司 一种基于数字证书以及ca认证体系的联盟链权限控制方法
CN108933667A (zh) * 2018-05-03 2018-12-04 深圳市京兰健康医疗大数据有限公司 一种基于区块链的公钥证书的管理方法及管理系统
CN110020869A (zh) * 2019-04-19 2019-07-16 阿里巴巴集团控股有限公司 用于生成区块链授权信息的方法、装置及系统
US20190288843A1 (en) * 2016-09-20 2019-09-19 United States Postal Service Methods and systems for a digital trust architecture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111314B (zh) * 2018-01-19 2021-04-02 苏州朗润创新知识产权运营有限公司 数字证书的生成和校验方法及设备
CN109067543B (zh) * 2018-07-24 2020-04-14 腾讯科技(深圳)有限公司 数字证书管理方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701372A (zh) * 2015-12-18 2016-06-22 布比(北京)网络技术有限公司 一种区块链身份构建及验证方法
US20190288843A1 (en) * 2016-09-20 2019-09-19 United States Postal Service Methods and systems for a digital trust architecture
CN107426157A (zh) * 2017-04-21 2017-12-01 杭州趣链科技有限公司 一种基于数字证书以及ca认证体系的联盟链权限控制方法
CN108933667A (zh) * 2018-05-03 2018-12-04 深圳市京兰健康医疗大数据有限公司 一种基于区块链的公钥证书的管理方法及管理系统
CN110020869A (zh) * 2019-04-19 2019-07-16 阿里巴巴集团控股有限公司 用于生成区块链授权信息的方法、装置及系统

Also Published As

Publication number Publication date
CN110020869A (zh) 2019-07-16
CN110020869B (zh) 2020-08-07

Similar Documents

Publication Publication Date Title
US11736467B2 (en) Technologies for token-based authentication and authorization of distributed computing resources
US11799668B2 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
US11244316B2 (en) Biometric token for blockchain
US11159307B2 (en) Ad-hoc trusted groups on a blockchain
US11218305B2 (en) Blockchain authorization information generation
WO2020062668A1 (zh) 一种身份认证方法、身份认证装置及计算机可读介质
WO2020211481A1 (zh) 用于生成区块链授权信息的方法、装置及系统
WO2019233204A1 (zh) 密钥管理方法、装置、系统、存储介质和计算机设备
US8978125B2 (en) Identity controlled data center
US9064129B2 (en) Managing data
JP2013152757A (ja) システム間シングルサインオン
WO2021139338A1 (zh) 一种数据访问权限验证方法、装置、计算机设备及存储介质
US11757640B2 (en) Non-fungible token authentication
US11849050B1 (en) Systems and methods of ring usage certificate extension
US11223489B1 (en) Advanced security control implementation of proxied cryptographic keys
WO2022242003A1 (zh) 基于多方授权的登录方法、认证方法、系统及计算设备
US20170257213A1 (en) Method and Apparatus for Managing Application Identifier
US20160335453A1 (en) Managing Data
US11823194B2 (en) Decentralized biometric authentication platform
US20210037009A1 (en) Biometric data sub-sampling during decentralized biometric authentication
US20210044429A1 (en) Biometric data protection during decentralized biometric authentication
US20200412541A1 (en) Authentication ledger interactions for decentralized biometric authentication
LU93150B1 (en) Method for providing secure digital signatures
KR20220038115A (ko) 바이오메트릭 프로토콜 표준을 위한 시스템 및 방법
EP4047871A1 (en) Advanced security control implementation of proxied cryptographic keys

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20790556

Country of ref document: EP

Kind code of ref document: A1