Digital certificate hierarchical processing method and device based on blockchain identification

By using the main and sub-chain architecture for hierarchical processing of digital certificates on the blockchain, the problems of easy tampering of identity data and low processing efficiency caused by traditional digital certificates relying on centralized CA institutions are solved, and efficient and secure certificate issuance and verification are achieved. .

CN114189341BActive Publication Date: 2024-08-23北京泰尔英福科技有限公司
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111506912.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2024-08-23
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

The issuance and verification of traditional digital certificates rely on centralized CA institutions. There are problems such as identity data being easily tampered with and low processing efficiency and security.

Method used

Adopting a blockchain-based main and sub-chain architecture, the root certificate authority node issues certificates for super nodes, super nodes issue certificates for backbone nodes, and backbone nodes issue certificates for ordinary nodes, which are stored on the main blockchain and sub-blockchains, easing the Single chain burden to improve certificate issuance and verification performance.

Benefits of technology

It achieves efficient and secure digital certificate hierarchical processing, reduces the burden on the root CA, reduces the risk of identity data tampering, and improves the performance of certificate issuance and verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114189341B
    Figure CN114189341B
Patent Text Reader

Abstract

The present invention discloses a digital certificate hierarchical processing method and device based on blockchain identification, wherein a root certificate authority node and a plurality of super nodes constitute a main blockchain, and a backbone node and a plurality of ordinary nodes connected to each super node constitute at least one sub-blockchain, wherein the method comprises: a root certificate authority node issues a super node certificate for each super node according to a root certificate, and the super node certificate is stored on a main chain; each super node issues a backbone node certificate for a backbone node according to a super node certificate, and the backbone node certificate is stored on a corresponding backbone node; each backbone node issues an ordinary node certificate for an ordinary node on a sub-blockchain according to a backbone node certificate, and the ordinary node certificate is stored on a sub-blockchain. The present invention uses a blockchain based on a main-subchain architecture to process digital certificate identities, which can reduce the burden of a single chain, improve the performance of certificate issuance and subsequent verification, and realize efficient and secure hierarchical processing of digital certificates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a method and device for hierarchical processing of digital certificates based on blockchain identification. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] Since Internet e-commerce system technology enables online shoppers to obtain information about merchants and enterprises very easily, it also increases the risk of abuse of certain sensitive or valuable data. In order to ensure the security and confidentiality of electronic transactions and payments on the Internet and prevent fraud in transactions and payments, a trust mechanism must be established online. This requires that both buyers and sellers participating in e-commerce must have legal identities and can be effectively and accurately verified online.

[0004] Definitions of identity and digital identity:

[0005] 1. Identity: An entity represented by one or more attributes that allow the entity to be sufficiently distinguished in context.

[0006] Identity is a set of attribute descriptions of a subject object, which has distinguishing and proving properties. Distinguishing property is that a subject object can be uniquely identified through part or all of the attribute information of the identity, and proving property is that the identity of the subject object can be proved through part or all of the attribute information of the subject object.

[0007] 2. Digital identity: A digital identity is a digital representation of an entity in a digital environment, allowing the individual to be fully distinguished in the digital environment.

[0008] Digital identity inherits various characteristics of identity and is widely used in the digital society. It can also be mapped to the real society for application. Most digital identities have an ID attribute to uniquely identify the digital identity. This ID attribute can be a string of codes generated according to certain rules or a string of codes generated by hash operations. It is unique in a certain digital area.

[0009] like Figure 1 As shown in Figure 1, a digital identity is generally defined as a set of attributes associated with an identifier. It can also be a single identifier that can uniquely distinguish the entity it represents in the environment.

[0010] A digital certificate is an authoritative electronic document and a type of digital identity. It provides a way to verify identity on the Internet, similar to a driver's license or an ID card in daily life. It is issued by an authoritative organization, the CA Certificate Authority, and people can use it to identify each other's identity during Internet communication. Of course, in the process of digital certificate authentication, the Certificate Authority (CA) plays a vital role as an authoritative, fair, and trustworthy third party.

[0011] The current types of digital certificates mainly include: personal digital certificates, corporate digital certificates, corporate employee digital certificates, server certificates, VPN certificates, WAP certificates, code signing certificates, and form signing certificates. The issuance and verification of traditional digital certificates rely on centralized CA organizations, and identity data is easily tampered with, resulting in low efficiency and security in digital certificate processing. Summary of the invention

[0012] The embodiment of the present invention provides a digital certificate hierarchical processing method based on blockchain identification, which is used to efficiently and securely perform hierarchical processing of digital certificates. A root certificate authority node and multiple super nodes constitute a main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. The method includes:

[0013] The root certificate authority node on the main blockchain issues a super node certificate to each super node on the main blockchain according to the root certificate, and the super node certificate is stored on the main blockchain;

[0014] Each super node issues a backbone node certificate to the corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node;

[0015] Each backbone node issues an ordinary node certificate to an ordinary node on the corresponding sub-blockchain based on the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain.

[0016] The embodiment of the present invention further provides a digital certificate hierarchical processing device based on blockchain identification, which is used to efficiently and securely perform hierarchical processing of digital certificates. The root certificate authority node and multiple super nodes constitute a main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. The device includes:

[0017] A root certificate authority node on the main blockchain, used to issue a supernode certificate to each supernode on the main blockchain according to the root certificate, wherein the supernode certificate is stored on the main blockchain;

[0018] Each super node is used to issue a backbone node certificate to a corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node;

[0019] Each backbone node is used to issue an ordinary node certificate to an ordinary node on the corresponding sub-blockchain based on the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain.

[0020] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification when executing the computer program.

[0021] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification.

[0022] An embodiment of the present invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification.

[0023] In an embodiment of the present invention, a hierarchical processing scheme for digital certificates based on blockchain identification, a root certificate authority node and multiple super nodes constitute a main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. Compared with the technical scheme in the prior art in which the issuance and verification of traditional digital certificates rely on a centralized CA organization, identity data is easily tampered with, and there are problems such as low efficiency and security in digital certificate processing, the root certificate authority node on the main blockchain issues a super node certificate for each super node on the main blockchain according to the root certificate, and the super node certificate is stored on the main blockchain; each super node issues a backbone node certificate for the corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node; each backbone node issues an ordinary node certificate for the ordinary node on the corresponding sub-blockchain according to the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain. The blockchain based on the main-subchain architecture is used for digital certificate identity processing, which can reduce the burden of a single chain, improve the performance of certificate issuance and subsequent verification, and realize efficient and secure hierarchical processing of digital certificates. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0025] Figure 1 This is a schematic diagram of a digital identity structure in an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of application and use of user certificates based on blockchain identification in the prior art;

[0027] Figure 3 Schematic diagram of the process of a digital certificate hierarchical processing method based on blockchain identification in an embodiment of the present invention;

[0028] Figure 4 This is a schematic diagram of the structure of a digital certificate hierarchical issuance and processing device based on blockchain identification in an embodiment of the present invention;

[0029] Figure 5 This is a schematic diagram of hierarchical verification processing of digital certificates based on blockchain identification in an embodiment of the present invention;

[0030] Figure 6 This is a schematic diagram of the overall process of hierarchical processing of digital certificates based on blockchain identification in an embodiment of the present invention;

[0031] Figure 7 A schematic diagram of the issuance process of enterprise and user certificates in an embodiment of the present invention;

[0032] Figure 8 Schematic diagram of the overall process of issuing and verifying enterprise and user certificates in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0034] Before introducing the embodiments of the present invention, the terms involved in the present invention are first introduced.

[0035] eID---Electronic Identity, citizen network electronic identity identification.

[0036] uport - an open identity system designed for distributed networks.

[0037] WAP---Wireless Application Protocol Wireless Application Protocol.

[0038] VPN------Virtual Private Network.

[0039] BID---Blockchain-based Identifier blockchain identifier.

[0040] The following is an introduction to the technical problems found by the inventor in the existing digital certificate processing and the ideas for proposing the present invention.

[0041] The traditional method uses a centralized identity management method. The digital certificate issuance process is generally as follows: the user first generates his own key pair and sends the public key and some personal identity information to the certification authority (CA). After verifying the identity, the certification authority will perform some necessary steps to ensure that the request is indeed sent by the user. Then, the certification authority will issue a digital certificate to the user, which contains the user's personal information and his public key information, as well as the signature information of the certification authority. The user can use his digital certificate for various related activities. Digital certificates are issued by independent certificate issuing agencies. Digital certificates are different, and each certificate can provide different levels of credibility.

[0042] The traditional method adopts a centralized identity management method, that is, the issuance and verification of traditional digital certificates rely on centralized CA organizations. Identity data is easily tampered with, posing security issues.

[0043] Identity authentication based on blockchain identification, such as eID, uport, etc. Figure 2 As shown in the figure, taking the application and use of user certificates as an example, the process is as follows:

[0044] 1. The user registers an identity through a client or browser, and the client or browser plug-in generates one for them.

[0045] 2. The user activates the identity on-chain.

[0046] 3. The user uploads identity information and applies for identity credentials.

[0047] 4. The trust anchor generates identity credentials and stores the credentials on the chain.

[0048] 5. The third-party user requests verification of identity credentials.

[0049] 6. The user provides identity credentials and goes through black box processing to generate verifiable data.

[0050] 7. The third-party user goes to the chain to verify whether the identity has expired.

[0051] 8. The chain compares the data provided by the user with the data on the chain for identity verification.

[0052] 9. The chain returns the verification results to the user and third-party users.

[0053] Therefore, for identity authentication technology based on blockchain identification, the issuance of digital certificates relies on centralized CA organizations, and the verification process relies on decentralized blockchain ledgers.

[0054] Existing identity authentication based on blockchain identification mostly adopts a flat identity authentication method, that is, all users perform identity authentication on one chain, which has high requirements on the performance of the chain. Under the premise of certain blockchain performance, congestion is prone to occur, resulting in long authentication delays.

[0055] In view of the above technical problems, the present invention proposes a digital certificate hierarchical processing scheme based on blockchain identification, which:

[0056] 1. Use blockchain based on the master-subchain architecture for identity management, reduce the burden of a single chain, and improve the performance of certificate issuance and verification.

[0057] 2. Use multi-level certificate verification to reduce the burden on the root CA without reducing credibility.

[0058] 3. A decentralized root CA is combined with a centralized system. The root CA of the centralized system is on the blockchain, reducing the risk of the root CA being tampered with.

[0059] The following is a detailed introduction to the digital certificate grading solution based on blockchain identification.

[0060] Figure 3 The flowchart of the digital certificate hierarchical processing method based on blockchain identification in an embodiment of the present invention is as follows: the root certificate authority node and multiple super nodes constitute the main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain, such as Figure 3 As shown, the method comprises the following steps:

[0061] Step 101: The root certificate authority node on the main blockchain issues a super node certificate to each super node on the main blockchain according to the root certificate, and the super node certificate is stored on the main blockchain;

[0062] Step 102: Each super node issues a backbone node certificate to the corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node;

[0063] Step 103: Each backbone node issues an ordinary node certificate to an ordinary node on the corresponding sub-blockchain based on the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain.

[0064] In the specific implementation, the blockchain based on the main-child chain architecture is used for certificate management: the chain contains super nodes, backbone nodes, ordinary nodes, and users. The subject of the certificate is the node on the chain. The certificate issuance process is as follows Figure 3 As shown, it mainly includes:

[0065] 0. Prerequisite: Both the certificate issuer and the certificate grantee have a user ID (BID), and the certificate issuer holds the certificate.

[0066] 1. Main chain (see Figure 4 The root CA (root certificate authority) node on the main chain (i.e., the main blockchain) issues a super node certificate to the super node on the main chain, and the super node certificate is stored on the main chain, i.e., the above step 101, corresponding to the attached Figure 4 ① in the.

[0067] 2. The super node issues the next level certificate (backbone node certificate) to the backbone node. The backbone node certificate is stored on the backbone node, that is, the above step 102, corresponding to the attached Figure 4 ② in the.

[0068] 3. The backbone node issues the next level certificate (ordinary node certificate) to the node on the sub-chain. The ordinary node certificate is stored in the sub-chain (see Figure 4 In the sub-chain, i.e., the sub-blockchain), i.e., the above step 103, corresponding to the attached Figure 4 ③ in the.

[0069] In specific implementation, the embodiment of the present invention can also extend more levels of nodes in the horizontal and vertical directions. It can be expanded vertically and horizontally, for example, more chains can be connected vertically and more node types can be provided horizontally (for each chain).

[0070] In specific implementation, the types of digital certificates in the embodiments of the present invention may include: personal digital certificates, unit digital certificates, unit employee digital certificates, server certificates, VPN certificates, WAP certificates, code signing certificates, form signing certificates, etc.

[0071] The digital certificate hierarchical processing method based on blockchain identification provided by the embodiment of the present invention adopts a blockchain based on a main-subchain architecture for identity management. Certificates can be issued on both the main chain and the subchain, which reduces the burden on the main chain, improves the performance of certificate issuance and subsequent verification, and realizes efficient and secure hierarchical processing of digital certificates. The digital certificate hierarchical processing method based on blockchain identification is introduced in detail below.

[0072] In one embodiment, the digital certificate hierarchical processing method based on blockchain identification may also include:

[0073] receiving a verification request for a current digital certificate;

[0074] Verifying the signature of the issuer of the current digital certificate;

[0075] If it is determined that the current digital certificate has an issuer at the previous level according to the signature verification result of the current digital certificate issuer, the signature of the issuer at the previous level is verified until the original certificate issuer is found; the original certificate issuer is the root certificate authority node;

[0076] If the digital certificates in the chain from the current digital certificate issuer to the initial certificate issuer are all credible, the current digital certificate is determined to be credible.

[0077] When implementing it, Figure 5 As shown, the verification process of the digital certificate is explained by taking the current digital certificate as an ordinary node certificate as an example: receiving the verification request of the current digital certificate, that is, initiating a verification request when identity authentication is required based on the digital certificate, such as when a user logs into the system through an ordinary node or when shopping online, and needs to verify the user's identity; verifying the signature of the current digital certificate issuer (for example, verifying the backbone node corresponding to the ordinary node); if, based on the signature verification result of the current digital certificate issuer, it is determined that the current digital certificate has an issuer at the previous level (super node), verify the signature of the issuer at the previous level until the initial certificate issuer is found; the initial certificate issuer is the root certificate authority node; if the digital certificate verifications on the chain from the current digital certificate issuer to the initial certificate issuer are all credible, determine that the current digital certificate (ordinary node certificate) is credible. Figure 4 The process is the opposite. Figure 5 The verification process is reversed, see Figure 5 Markings with circled numbers.

[0078] In specific implementation, the overall process of hierarchical processing of digital certificates based on blockchain identification, that is, issuance and verification, is as follows Figure 6 shown.

[0079] In specific implementation, the user who is granted the certificate can be an individual user, an enterprise user, or a node user, where:

[0080] 1. Node users can issue certificates to node users, enterprise users or individual users.

[0081] 2. Enterprise users can issue certificates to individual users.

[0082] 3. The type of certificate issued is determined by the type of CA.

[0083] In specific implementation, the process of issuing enterprise and user certificates can be as follows: Figure 7 As shown in Figure 1, the overall process of issuing and verifying enterprise and user certificates is as follows: Figure 8 shown.

[0084] In specific implementation, the CA selection process may include:

[0085] Solution 1-1: Single CA, centralized approach, CA is built-in, no need to select;

[0086] Solution 1-2: Multiple CAs issue certificates to users through consensus, and the CA selection method can utilize the trust anchor selection method.

[0087] In specific implementation, the process of CA obtaining its own certificate is as follows:

[0088] 1. If there is only one CA, you can self-sign the certificate;

[0089] 2. If there are multiple CAs, other CAs issue certificates to this CA:

[0090] 1) A certificate can be issued by randomly selecting one from other valid CAs;

[0091] 2) Or select N of the M valid CAs as the CAs that issue certificates.

[0092] In specific implementation, the certificate content: CA issues certificates to other users, including: certificate ID, certificate type, certificate issuer ID, issuance time, owner ID, public key expiration date, signature date, certificate issuance purpose, public key identifier, and digital signature of the issuing agency. The certificate content may also include the geographic location and name of the person to whom the certificate is granted as needed. An example is shown in Table 1 below:

[0093]

[0094] Table 1

[0095] The following introduces further preferred steps of the embodiment of the present invention, namely, certificate updating and cancellation steps.

[0096] 1. Certificate renewal

[0097] After the previous level user certificate is updated, the next level user certificate on the chain must be updated, that is, in one embodiment, the above-mentioned digital certificate hierarchical processing method based on blockchain identification can also include: when the root certificate, super node certificate, backbone node certificate and ordinary node certificate are detected to be updated at any level, the next level certificate of the current updated certificate is updated. Specifically, the subject of the operation of performing the detection can be a root certificate authority node, a super node, a backbone node or an ordinary node. When the root certificate authority node, a super node, a backbone node or an ordinary node detects the root certificate, super node certificate, backbone node certificate and ordinary node certificate. When any level of certificate update, an update notification can be sent to the next level node of the current node (such as a backbone node), and the next level node (such as an ordinary node) updates the ordinary node certificate (the next level certificate of the current updated certificate). The following execution subject of the certificate process reapplication and certificate cancellation and the detailed reapplication cancellation process can refer to the description of the certificate update.

[0098] If the user certificate expires and needs to be reapplied for, the upper-level user can reissue the certificate for him. That is, in one embodiment, the above-mentioned digital certificate hierarchical processing method based on blockchain identification can also include: when it is detected that any level of certificate such as root certificate, super node certificate, backbone node certificate and ordinary node certificate has expired, reapply for the digital certificate from the issuer of the current expired certificate.

[0099] 2. Certificate Revocation

[0100] Users can cancel their own certificates;

[0101] After the previous level user certificate is cancelled, all the next level user certificates in the chain must be cancelled and need to be reapplied for. That is, in one embodiment, the above-mentioned digital certificate hierarchical processing method based on blockchain identification may also include: after detecting that the previous level user certificate is cancelled, all the user certificates of the following levels in the current user certificate chain must be cancelled and need to be reapplied for.

[0102] To facilitate understanding of how the present invention is implemented, two examples are given below to illustrate the overall process of hierarchical processing of digital certificates (issuance, verification, renewal and cancellation of certificates) based on blockchain identification.

[0103] Example 1:

[0104] 1. Certificate issuance (root CA built-in).

[0105] Step 1: The root CA issues a super node certificate to the super node, and the super node certificate is stored on the super node.

[0106] Step 2: The super node issues a backbone node certificate to the backbone node. The content of the backbone node certificate is different from the previous certificate: issuer bid, recipient bid, node type, creator public key and signature. The backbone node certificate is stored on the backbone node.

[0107] Step 3: The backbone node issues a common node certificate to the common node. The content of the common node certificate is different from the previous certificate: issuer bid, recipient bid, node type, creator public key and signature. The common node certificate is stored on the common node.

[0108] 2. Verify the certificate.

[0109] Step 1: The network finds the public key and digital signature value of the certificate issuer based on the certificate content, verifies its digital signature value, and after verification, verifies whether there is a higher-level certificate. If not, verification ends; if yes, proceed to step 2. In this case, the ordinary node has a higher-level node: the backbone node, so the validity of the backbone node certificate needs to be verified.

[0110] Step 2: Find the public key and digital signature of the certificate issuer based on the content of the backbone node certificate, and verify its digital signature value. After the verification is passed, there is an upper-level certificate node: super node, and the validity of the super node certificate needs to be verified.

[0111] Step 3: Find the public key and digital signature of the certificate issuer based on the content of the super node certificate, verify its digital signature value, and verify the validity of the root CA certificate after verification.

[0112] Step 4: After the root CA certificate is verified, the verification is completed.

[0113] 3. Certificate update

[0114] After the certificate of the previous level node is updated, the certificates of the next level nodes until the last level need to be updated. For example, after the certificate of the super node is updated, the certificates of the backbone nodes and ordinary nodes in the chain need to be updated.

[0115] 4. Certificate cancellation

[0116] After the certificate of the previous level node is revoked, the certificates of the next level nodes until the last level are automatically revoked. For example, after the certificate of the super node is revoked, the certificates of the backbone nodes and ordinary nodes in the chain are all revoked.

[0117] Example 2: Issuance, verification, and update of identity certificates refer to Example 1 above. It is similar to Example 1 above, except that the certificate type is "identity certificate".

[0118] In summary, the beneficial technical effects of the digital certificate hierarchical processing method based on blockchain identification provided by the embodiment of the present invention include:

[0119] 1. Use blockchain based on the master-subchain architecture for identity management, reduce the burden of a single chain, and improve the performance of certificate issuance and verification.

[0120] 2. Use multi-level certificate verification to reduce the burden on the root CA without reducing credibility.

[0121] 3. A decentralized root CA is combined with a centralized system. The root CA of the centralized system is on the blockchain, reducing the risk of the root CA being tampered with.

[0122] The embodiment of the present invention also provides a digital certificate hierarchical processing device based on blockchain identification, as described in the following embodiment. Since the principle of solving the problem by the device is similar to that of the digital certificate hierarchical processing method based on blockchain identification, the implementation of the device can refer to the implementation of the digital certificate hierarchical processing method based on blockchain identification, and the repeated parts will not be repeated.

[0123] The structural diagram of the digital certificate hierarchical processing device based on blockchain identification in the embodiment of the present invention can be as follows: Figure 4 As shown, the root certificate authority node ( Figure 4 The main blockchain consists of a CA in the block chain and multiple super nodes, and a backbone node and multiple ordinary nodes ( Figure 4 The "nodes" on the neutron chain) constitute at least one sub-blockchain, such as Figure 4 As shown, the device comprises:

[0124] A root certificate authority node on the main blockchain, used to issue a supernode certificate to each supernode on the main blockchain according to the root certificate, wherein the supernode certificate is stored on the main blockchain;

[0125] Each super node is used to issue a backbone node certificate to a corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node;

[0126] Each backbone node is used to issue an ordinary node certificate to an ordinary node on the corresponding sub-blockchain based on the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain.

[0127] In one embodiment, the root certificate authority node, super node, backbone node or ordinary node may also be used to:

[0128] receiving a verification request for a current digital certificate;

[0129] Verifying the signature of the issuer of the current digital certificate;

[0130] If it is determined that the current digital certificate has an issuer at the previous level according to the signature verification result of the current digital certificate issuer, the signature of the issuer at the previous level is verified until the original certificate issuer is found; the original certificate issuer is the root certificate authority node;

[0131] If the digital certificates in the chain from the current digital certificate issuer to the initial certificate issuer are all credible, the current digital certificate is determined to be credible.

[0132] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0133] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification when executing the computer program.

[0134] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification.

[0135] An embodiment of the present invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the above-mentioned digital certificate hierarchical processing method based on blockchain identification.

[0136] In an embodiment of the present invention, a hierarchical processing scheme for digital certificates based on blockchain identification, a root certificate authority node and multiple super nodes constitute a main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. Compared with the technical scheme in the prior art in which the issuance and verification of traditional digital certificates rely on a centralized CA organization, identity data is easily tampered with, and there are problems such as low efficiency and security in digital certificate processing, the root certificate authority node on the main blockchain issues a super node certificate for each super node on the main blockchain according to the root certificate, and the super node certificate is stored on the main blockchain; each super node issues a backbone node certificate for the corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node; each backbone node issues an ordinary node certificate for the ordinary node on the corresponding sub-blockchain according to the backbone node certificate, and the ordinary node certificate is stored on the sub-blockchain. The blockchain based on the main-subchain architecture is used for digital certificate identity processing, which can reduce the burden of a single chain, improve the performance of certificate issuance and subsequent verification, and realize efficient and secure hierarchical processing of digital certificates.

[0137] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0138] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0141] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A digital certificate hierarchical processing method based on blockchain identification, characterized in that: The root certificate authority node and multiple super nodes constitute the main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. The digital certificate hierarchical processing method based on blockchain identification includes: The root certificate authority node on the main blockchain issues a super node certificate to each super node on the main blockchain according to the root certificate, and the super node certificate is stored on the main blockchain; Each super node issues a backbone node certificate to the corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node; Each backbone node issues a common node certificate to a common node on the corresponding sub-blockchain according to the backbone node certificate, and the common node certificate is stored on the sub-blockchain; The selection process of the root certificate authority CA includes: Single CA, centralized approach, CA is built-in, no need to select; Multiple CAs issue certificates to users through consensus, and the selection method of CA can utilize the selection method of trust anchors; The process of CA obtaining its own certificate: If there is only one CA, you can self-sign the certificate; If there are multiple CAs, other CAs issue certificates to this CA: A certificate can be issued by randomly selecting one from other valid CAs; Or select N of M valid CAs as the CAs that issue certificates.

2. The digital certificate hierarchical processing method based on blockchain identification according to claim 1 is characterized in that: Also includes: receiving a verification request for a current digital certificate; Verifying the signature of the issuer of the current digital certificate; If the current digital certificate is determined to have an issuer at the previous level based on the signature verification result of the current digital certificate issuer, the signature of the issuer at the previous level is verified until the original certificate issuer is found; The initial certificate issuer is a root certificate authority node; If the digital certificates in the chain from the current digital certificate issuer to the initial certificate issuer are all credible, the current digital certificate is determined to be credible.

3. The digital certificate hierarchical processing method based on blockchain identification according to claim 1 is characterized in that: Also includes: When a certificate update of any level of the root certificate, super node certificate, backbone node certificate and common node certificate is detected, the next level certificate of the currently updated certificate is updated.

4. The digital certificate hierarchical processing method based on blockchain identification according to claim 1 is characterized in that: Also includes: When it is detected that any level of certificate, including the root certificate, super node certificate, backbone node certificate and ordinary node certificate, has expired, a new digital certificate is applied for from the issuer of the currently expired certificate.

5. The digital certificate hierarchical processing method based on blockchain identification according to claim 1 is characterized in that: Also includes: After detecting that the previous level user certificate is revoked, the user certificates of the following levels in the current user certificate chain must be revoked and need to be reapplied for.

6. A digital certificate hierarchical processing device based on blockchain identification, characterized in that: The root certificate authority node and multiple super nodes constitute the main blockchain, and a backbone node and multiple ordinary nodes connected to each of the super nodes constitute at least one sub-blockchain. The digital certificate hierarchical processing device based on blockchain identification includes: A root certificate authority node on the main blockchain, used to issue a supernode certificate to each supernode on the main blockchain according to the root certificate, wherein the supernode certificate is stored on the main blockchain; Each super node is used to issue a backbone node certificate to a corresponding backbone node according to the super node certificate, and the backbone node certificate is stored on the corresponding backbone node; Each backbone node is used to issue a common node certificate to a common node on the corresponding sub-blockchain according to the backbone node certificate, and the common node certificate is stored on the sub-blockchain; The selection process of the root certificate authority CA includes: Single CA, centralized approach, CA is built-in, no need to select; Multiple CAs issue certificates to users through consensus, and the selection method of CA can utilize the selection method of trust anchors; The process of CA obtaining its own certificate: If there is only one CA, you can self-sign the certificate; If there are multiple CAs, other CAs issue certificates to this CA: A certificate can be issued by randomly selecting one from other valid CAs; Or select N of M valid CAs as the CAs that issue certificates.

7. The digital certificate hierarchical processing device based on blockchain identification according to claim 6 is characterized in that: The root certificate authority node, super node, backbone node or ordinary node is also used for: receiving a verification request for a current digital certificate; Verifying the signature of the issuer of the current digital certificate; If the current digital certificate is determined to have an issuer at the previous level based on the signature verification result of the current digital certificate issuer, the signature of the issuer at the previous level is verified until the original certificate issuer is found; The initial certificate issuer is a root certificate authority node; If the digital certificates in the chain from the current digital certificate issuer to the initial certificate issuer are all credible, the current digital certificate is determined to be credible.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and device for verifying validity of digital certificate

    CN106533691A

  • Root certificate updating method and device in blockchain network, equipment and medium

    CN111934870A

  • CA cross-domain authentication method and system based on block chain

    CN112884476A

  • Data processing method and device based on block chain, equipment and readable storage medium

    CN113256297A

  • Block chain certificate management method, device, alliance chain and storage medium

    CN113746630A