Identity trusted service system, method, electronic device and computer readable medium

By building a multi-node blockchain network between CA agencies and using trusted agency certificate chains for cross-agency data dissemination, the problem of poor trustworthiness in data transmission between CA agencies is solved, achieving smooth and rapid business collaboration and improving Ensures transparency and credibility of data exchange.

CN112560005BActive Publication Date: 2024-08-30HANGZHOU QULIAN TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011388662.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-01
Publication Date
2024-08-30
Estimated Expiration
2040-12-01

AI Technical Summary

Technical Problem

The existing data transmission between CA agencies has poor trustworthiness, which makes business collaboration difficult. Especially in cross-agency trust systems, data transmission needs to pass through border gateways and trust gateways, and there is a risk of tampering.

Method used

By building a multi-node blockchain network, each node stores a trusted organization certificate chain, and uses the blockchain network to provide cross-institutional identity trust services and realize data dissemination between trusted organizations, using the same set of public and private keys. , integrating the blockchain CA with the institution’s self-built CA to ensure the security and transparency of data dissemination.

Benefits of technology

It improves the transparency and credibility in the data exchange process, ensures the credibility of the identity of the trusted organization, simplifies the construction of the certificate trust chain, avoids the use of trust gateways and access gateways, and achieves smooth business collaboration. and fast.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112560005B
    Figure CN112560005B
Patent Text Reader

Abstract

The present application provides an identity trusted service system, method, electronic device and computer-readable medium, which belongs to the field of blockchain technology. The system includes: a blockchain network with multiple nodes, each node stores a trusted agency certificate chain, and the trusted agency certificate chain includes all account certificates issued by multiple trusted agencies; a target node, which is used to use the account certificate in the trusted agency certificate chain to perform signature verification on the business data sent by the target trusted agency, wherein the target trusted agency is an agency among the multiple trusted agencies used to transmit the business data, and the target node is a node deployed on the target trusted agency. The present application realizes data transmission between blockchain nodes corresponding to trusted agencies, ensuring smooth and fast business collaboration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to an identity trusted service system, method, electronic device and computer-readable medium. Background Art

[0002] As the issuer of digital certificates and a third-party trust institution, CA is the core of the PKI system. At present, each CA institution can only trust the digital certificates it issues. In other words, each CA institution has its own trust domain. Digital certificates beyond the trust domain cannot be trusted. The more common cross-institutional trust systems currently include CA institutions, border gateways, and trust gateways. Application systems are also connected to the entire trust system through trust gateways for identity authentication. For example: Institution A needs to communicate with Institution B through border gateways and trust gateways, obtain the data of Institution B, and then authenticate Institution B.

[0003] Since data transmission also needs to pass through the border gateway and the trust gateway, the data in the application system's own certificate trust store is at risk of being tampered with. Therefore, the data information transmitted between CA institutions has poor trustworthiness and business collaboration is difficult. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an identity trust service system, method, electronic device and computer readable medium to solve the problem of business collaboration difficulties. The specific technical solution is as follows:

[0005] In a first aspect, a trusted identity service system is provided, the system comprising:

[0006] A blockchain network having multiple nodes, each node storing a trusted authority certificate chain, wherein the trusted authority certificate chain includes all account certificates issued by multiple trusted authorities;

[0007] The target node is used to use the account certificate in the trusted institution certificate chain to perform signature verification on the business data sent by the target trusted institution, wherein the target trusted institution is an institution among the multiple trusted institutions used to transmit the business data, and the target node is a node deployed on the target trusted institution.

[0008] Optionally, the system comprises:

[0009] A first trusted institution is used to sign the original data sent by the first account by using a private key to obtain the business data carrying the digital signature, and send the business data to the first node, wherein the first account is an account opened in the first trusted institution;

[0010] The first node is used to perform signature verification on the business data using the public key of the first account in the trusted authority certificate chain.

[0011] Optionally, the system comprises:

[0012] The second trusted institution is configured to send the query request to the second node upon receiving the query request sent by the second account, wherein the query request is used to request to query the business data, and the second account is an account opened in the second trusted institution;

[0013] The second node is used to verify the authenticity of the business data sent by the first node through the public key of the trusted institution certificate chain, and if the verification is successful, send the verification result to the second trusted institution.

[0014] Optionally, the business data includes institutional certificate issuance data, and the system includes:

[0015] The target trusted institution is used to sign the institution certificate issuance data and upload the institution certificate issuance data carrying the digital signature to the target node;

[0016] The target node is used to upload the institutional certificate issuance data carrying the digital signature to the blockchain network when the digital signature is verified to be authentic.

[0017] Optionally, the business data includes institution certificate revocation data, and the system includes:

[0018] The target trusted institution is used to sign the institution certificate revocation data and upload the institution certificate revocation data carrying the digital signature to the target node;

[0019] The target node is used to upload the institutional certificate revocation data carrying the digital signature to the blockchain network when the digital signature is verified to be authentic.

[0020] Optionally, the system comprises:

[0021] A plurality of nodes in the blockchain network, wherein each of the nodes has a trusted channel between them;

[0022] A trusted institution corresponding to each blockchain node, wherein multiple trusted institutions are connected via a peer-to-peer network.

[0023] In a second aspect, a method for providing a trusted identity service is provided, which is applied to a target node, and the method includes:

[0024] Acquire business data sent by a target trusted institution, wherein the target node is a node deployed on the target trusted institution, and the target trusted institution is an institution among multiple trusted institutions for transmitting the business data;

[0025] The business data is signed and verified by the account certificate in the trusted authority certificate chain, wherein a trusted authority certificate chain is stored on each node, the trusted authority certificate chain includes all account certificates issued by multiple trusted authorities, and multiple nodes constitute a blockchain network.

[0026] Optionally, the business data includes institutional certificate issuance data,

[0027] The obtaining of the business data sent by the target trusted institution includes: obtaining the institution certificate issuance data with a digital signature sent by the target trusted institution;

[0028] The signature verification of the institution certificate issuance data through the account certificate in the trusted institution certificate chain includes: when the digital signature is verified to be true, uploading the institution certificate issuance data carrying the digital signature to the blockchain network.

[0029] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0030] Memory, used to store computer programs;

[0031] The processor is used to implement any of the method steps described above when executing a program stored in the memory.

[0032] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the method steps described is implemented.

[0033] Beneficial effects of the embodiments of the present application:

[0034] The embodiment of the present application provides an identity trusted service system, including: a blockchain network with multiple nodes, each node storing a trusted institution certificate chain, the trusted institution certificate chain including all account certificates issued by multiple trusted institutions; a target node, for using the account certificate in the trusted institution certificate chain to sign and verify the business data sent by the target trusted institution, wherein the target trusted institution is an institution used to transmit business data among multiple trusted institutions, and the target node is a node deployed on the target trusted institution. The present application constructs a cross-institutional identity trusted service system, and the trusted institution and the nodes of the trusted institution use the same set of public and private keys, integrates the blockchain CA with the institution's self-built CA, realizes data transmission between the blockchain nodes corresponding to the trusted institution, and ensures smooth and fast business collaboration. Through the characteristics of blockchain network security, transparency, shared ledger and non-tamperability, the transparency of the data exchange process is improved, and the credibility of the identity of the trusted institution is guaranteed.

[0035] Of course, implementing any product or method of the present application does not necessarily require achieving all of the above advantages at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] Figure 1 This is a schematic diagram of the blockchain data processing structure in the embodiment of this application;

[0038] Figure 2 This is a schematic diagram of the blockchain structure in the embodiment of this application;

[0039] Figure 3 This is a schematic diagram of the functional structure of the blockchain network in the embodiment of this application;

[0040] Figure 4 This is a schematic diagram of a cross-institutional identity trusted service system in an embodiment of the present application;

[0041] Figure 5 This is a schematic diagram of a system including a trusted channel in an embodiment of the present application;

[0042] Figure 6 This is a schematic diagram of the overall system in the embodiment of the present application;

[0043] Figure 7 A schematic diagram of issuing or revoking an institution certificate in an embodiment of the present application;

[0044] Figure 8 This is a flowchart of data collaboration in an embodiment of the present application;

[0045] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0047] In the following description, reference is made to “one specific embodiment”, which describes a subset of all possible embodiments, but it can be understood that “one specific embodiment” describes the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.

[0048] Unless otherwise defined, all technical science and technology used herein have the same meaning as commonly understood by those skilled in the art of the present invention. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0049] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.

[0050] (1) Transaction, which is equivalent to the computer term "transaction". Transaction includes operations that need to be submitted to the blockchain network for execution, and does not refer only to transactions in a business context. Since the term "transaction" is commonly used in blockchain technology, the embodiments of the present invention follow this convention.

[0051] For example, the Deploy transaction is used to install the specified smart contract to the nodes in the blockchain network and prepare it to be called; the Invoke transaction is used to append transaction records to the blockchain by calling the smart contract and perform operations on the blockchain's state database, including update operations (including adding, deleting, and modifying key-value pairs in the state database) and query operations (i.e. querying key-value pairs in the state database).

[0052] (2) Blockchain is an encrypted, chained transaction storage structure formed by blocks.

[0053] (3) Blockchain Network: A collection of nodes that incorporate new blocks into the blockchain through consensus.

[0054] (4) Ledger is a general term for blockchain (also called ledger data) and the state database synchronized with the blockchain. The blockchain records transactions in the form of files in the file system; the state database records transactions in the blockchain in the form of different types of key-value pairs, which is used to support fast query of transactions in the blockchain.

[0055] (5) Smart Contracts, also known as chaincode or application code, are programs deployed in the nodes of the blockchain network. The nodes execute the smart contracts called in the received transactions to update or query the key-value data in the state database.

[0056] (6) Consensus is a process in a blockchain network that is used to reach agreement on transactions in a block among multiple nodes involved. The blocks that reach agreement will be appended to the end of the blockchain. The mechanisms for achieving consensus include Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof-of-Stake (DPoS), Proof of Elapsed Time (PoET), etc.

[0057] The following describes an exemplary application of the blockchain network provided by the embodiment of the present invention, such as Figure 1 As shown, Figure 1 1 is a schematic diagram of an identity trusted service system provided by an embodiment of the present invention, including a blockchain network 101, a consensus node 102, an authentication center 103, a business entity 104, a client node 104-1, a business entity 105 and a client node 105-1, which are described below respectively:

[0058] The types of blockchain network 101 are flexible and diverse, for example, it can be any one of public chain, private chain or alliance chain. Taking the public chain as an example, any electronic device of any business subject, such as user terminal and server, can access the blockchain network 101 without authorization; taking the alliance chain as an example, after the business subject obtains authorization, its electronic device (such as terminal / server) can access the blockchain network 101, and at this time, it becomes a client node in the blockchain network 101.

[0059] In some embodiments, the client node 104 can only be used as an observer of the blockchain network 101, that is, to provide support for business entities to initiate transactions (for example, for storing data on the chain or querying data on the chain). For the functions of the consensus node 102 of the blockchain network 101, such as sorting function, consensus service and account book function, the client node can implement them by default or selectively (for example, depending on the specific business needs of the business entity). Thus, the data and business processing logic of the business entity can be migrated to the blockchain network 101 to the greatest extent, and the credibility and traceability of the data and business processing process can be achieved through the blockchain network 101.

[0060] The consensus nodes in the blockchain network 101 receive data from different business entities, such as Figure 1 The transaction submitted by the client node 104 - 1 of the business entity 104 shown in the figure is executed to update the ledger or query the ledger. Various intermediate results or final results of the transaction can be returned to the client node 104 - 1 of the business entity 104 for display.

[0061] For example, client node 104-1 can subscribe to events of interest in blockchain network 101, such as transactions occurring in a specific organization / channel in blockchain network 101, and consensus node 102 pushes corresponding transaction notifications to client node 104-1, thereby triggering corresponding business logic in client node 104-1.

[0062] As an example of blockchain, Figure 2 As shown, Figure 2 It is a schematic diagram of the structure of the blockchain in the blockchain network 101 provided in an embodiment of the present invention. The header of each block can include the hash value of all transactions in the block, and also includes the hash value of all transactions in the previous block. The newly generated transaction records are filled into the block and after the consensus of the nodes in the blockchain network, they will be appended to the end of the blockchain to form a chain growth. The chain structure based on the hash value between blocks ensures the anti-tampering and anti-counterfeiting of transactions in the block.

[0063] The following describes an exemplary functional architecture of a blockchain network provided by an embodiment of the present invention. Figure 3 As shown, Figure 3 1 is a functional architecture diagram of a blockchain network 101 provided in an embodiment of the present invention, including an application layer 301, a consensus layer 302, a network layer 303, a data layer 304 and a resource layer 305, which are described below respectively:

[0064] The application layer 301 encapsulates various services that can be implemented in the blockchain network, including transaction traceability, evidence storage, and verification.

[0065] The consensus layer 302 encapsulates the mechanism (i.e., consensus mechanism) for the nodes 102 in the blockchain network 101 to reach a consensus on the block, transaction management, and account management functions. The consensus mechanism includes consensus algorithms such as POS, POW, and DPOS, and supports pluggable consensus algorithms. Transaction management is used to verify the digital signature carried in the transaction received by the node 101, verify the identity information of the business subject 104, and determine whether it has the authority to conduct transactions based on the identity information (read relevant information from the business subject identity management); for the business subject that has obtained the authorization to access the blockchain network 101, they all have a digital certificate issued by the certification center, and the business subject uses the private key in its digital certificate to sign the submitted transaction, thereby declaring its legal identity. Account management is used to maintain the blockchain and state database. For the blocks that have reached consensus, they are appended to the end of the blockchain; execute the transactions in the blocks that have reached consensus, update the key-value pairs in the state database when the transaction includes an update operation, and query the key-value pairs in the state database when the transaction includes a query operation and return the query results to the client node of the business subject. Supports query operations on the state database in multiple dimensions, including: querying blocks based on block serial numbers (such as transaction hash values); querying blocks based on block hash values; querying blocks based on transaction serial numbers; querying transactions based on transaction serial numbers; querying business subject account data based on business subject account numbers (serial numbers); querying blockchains in channels based on channel names.

[0066] The network layer 303 encapsulates the functions of point-to-point (P2P) network protocol, data transmission mechanism and data verification mechanism, access authentication mechanism and business subject identity management.

[0067] Among them, the P2P network protocol realizes the communication between nodes 102 in the blockchain network 101, the data propagation mechanism ensures the propagation of transactions in the blockchain network 101, and the data verification mechanism is used to realize the reliability of data transmission between nodes 102 based on cryptographic methods (such as digital certificates, digital signatures, public / private key pairs); the access authentication mechanism is used to authenticate the identity of the business subject joining the blockchain network 101 according to the actual business scenario, and grant the business subject the right to access the blockchain network 101 when the authentication is passed; the business subject 104 identity management is used to store the identity of the business subject 104 allowed to access the blockchain network 101, and the authority (such as the type of transaction that can be initiated).

[0068] The data layer 304 encapsulates various data structures for implementing the ledger, including the blockchain implemented as files in the file system, the key-value state database, and the existence proof (such as the hash tree of transactions in the block).

[0069] The resource layer 305 encapsulates the computing resources, storage resources, and communication resources of each node 102 in the blockchain network 101.

[0070] The embodiment of the present application provides an identity trusted service system that can be used for data collaboration between institutions and improve data traceability.

[0071] The following will be combined with a specific implementation method to provide a detailed description of an identity trusted service system provided by an embodiment of the present application, which includes multiple trusted institutions for transmitting business data. Each trusted institution is deployed with a node on the blockchain network, and multiple nodes constitute the blockchain network. Each node in the blockchain network stores the same trusted institution certificate chain, which includes all account certificates issued by multiple trusted institutions, that is, each node includes all account certificates issued by multiple trusted institutions.

[0072] Each trusted institution has an opened account. Users can log in to the trusted institution through the account, and upload business data to the blockchain network through the trusted institution, or obtain business data from the blockchain network. The target node is used to perform signature verification on the received or sent business data. Accounts, trusted institutions and nodes are one-to-one corresponding.

[0073] The trusted institution certificate chain includes all account certificates issued by multiple trusted institutions, which can realize the trusted storage of institution certificate chains, the value distribution of business collaboration, and the traceability and auditability of data exchange. The trusted institution certificate chain is stored on the blockchain to prevent human tampering and improve security and data traceability.

[0074] Figure 4 This is a schematic diagram of a cross-institutional identity trust service system. Figure 4 It can be seen that the system includes four nodes, A, B, C and D. Each node stores a trusted institution certificate chain (ABCD). The node corresponding to each institution also has a corresponding public key and private key. There is a trusted channel between each node, and multiple trusted institutions are connected through P2P (peer-to-peer, peer-to-peer network).

[0075] By building a cross-institutional identity trusted service system, the trusted institution and the nodes of the trusted institution use the same set of public and private keys, and the blockchain CA is integrated with the institution's self-built CA to achieve data transmission between the blockchain nodes corresponding to the trusted institution, ensuring smooth and fast business collaboration. Through the security, transparency, shared ledger and tamper-proof characteristics of the blockchain network, the transparency of the data exchange process is improved and the credibility of the trusted institution's identity is guaranteed. In addition, this application does not require a trusted gateway and an access gateway, and simplifies the construction of a certificate trust chain by integrating the trusted institution certificate chain with the blockchain node.

[0076] As an optional implementation method, the process of establishing a cross-institutional identity trust service system is as follows: deploy blockchain nodes in the four institutions A, B, C, and D, access the blockchain network in accordance with the corresponding security specifications to ensure the security of data transmission and node communication, and establish trusted channels between nodes, such as Figure 5 The figure is a schematic diagram of a system including a trusted channel. Then, based on the blockchain nodes deployed by the four institutions A, B, C, and D, a cross-institutional identity trusted service system is built and deployed on the private networks of the four institutions respectively. Through the cross-institutional identity trusted service system, the certificate chains of the four institutions A, B, C, and D are uploaded to their respective blockchain nodes. After consensus, a trusted institution certificate chain is formed as a trust source for cross-institutional user certificate CA verification. Figure 6 A schematic diagram of the overall system.

[0077] In the process of data collaboration, the first node first uploads the business data of the first trusted institution to the blockchain network, and then the second node verifies the business data. If the verification is successful, it indicates the credibility of the identity of the first institution. The first node corresponds to the first institution, and the second node corresponds to the second trusted institution.

[0078] Business data includes institutional certificate issuance data. When issuing institutional certificates, the target trusted institution uses a private key to sign the institutional certificate issuance data, and then uploads the institutional certificate issuance data with a digital signature to the target node. The target node obtains the public key corresponding to the private key from the trusted institution certificate chain, and uses the public key to open the institutional certificate issuance data. If the target node can open the institutional certificate issuance data, it indicates that the identity of the target trusted institution is trustworthy, and the target node uploads the institutional certificate issuance data to the blockchain network; if the target node cannot open the institutional certificate issuance data, it indicates that the identity of the target trusted institution is untrustworthy, and the target node will not upload the institutional certificate issuance data to the blockchain network.

[0079] Business data also includes institution certificate revocation data. When the institution certificate is issued, the target trusted institution uses a private key to sign the institution certificate revocation data, and then uploads the institution certificate revocation data with a digital signature to the target node. The target node obtains the public key corresponding to the private key from the trusted institution certificate chain and opens the institution certificate revocation data through the public key. If the target node can open the institution certificate revocation data, it indicates that the identity of the target trusted institution is trustworthy, and the target node uploads the institution certificate revocation data to the blockchain network; if the target node cannot open the institution certificate revocation data, it indicates that the identity of the target trusted institution is not trustworthy, and the target node will not upload the institution certificate revocation data to the blockchain network.

[0080] Figure 7Schematic diagram of issuing or revoking an institution certificate. As can be seen from the figure, the target trusted institution uses the CA service private key to sign the institution certificate issuance data or institution certificate revocation data, and then sends the institution certificate issuance data or institution certificate revocation data to the target node. The target node uses the CA service public key to verify the validity of the identity of the target trusted institution. If the verification is successful, the institution certificate issuance data or institution certificate revocation data will be uploaded to the chain.

[0081] This application utilizes the mutual trust mechanism of the trusted institution certificate chain to achieve automatic mutual trust among multiple parties across institutions, verify the validity of transaction identities, and improve data transmission security.

[0082] As an optional implementation, the system includes: a first trusted institution, used to sign the original data sent by the first account through a private key, obtain business data carrying the digital signature, and send the business data to the first node; the first node, used to verify the signature of the business data through the public key of the first account in the trusted institution certificate chain.

[0083] Figure 8 Figure 1 is a flowchart of data collaboration. Figure 8 As shown, the first trusted institution has an opened first account. User Su logs in to the first account and initiates a sum of original data for business. The first trusted institution signs the original data with the private key of the first account by calling the smart contract, obtains business data with a digital signature, and sends the business data to the first node. Specifically, the use of the private key for signing can be to perform a hash operation (hash) on the original data to obtain a summary of the original data, and encrypt the summary with the private key to obtain a digital signature. After obtaining the business data, the first node needs to verify the identity of the first trusted institution. Therefore, the first node obtains the public key of the first account from the trusted institution certificate chain, and verifies the identity of the first trusted institution through the public key. If the verification is successful, the first node will chain the business data to the blockchain, and the blockchain will broadcast the business data to the second trusted institution corresponding to the second node; if the verification fails, the first node will not chain the business data. In addition, the first node will also feedback the chain result to the first trusted institution.

[0084] As an optional implementation, the system includes: a second trusted agency, configured to send a query request to a second node upon receiving a query request sent by a second account, wherein the query request is used to request query of business data; the second node, configured to verify the authenticity of the business data sent by the first node through a public key of a certificate chain of the trusted agency, and to send a verification result to the second trusted agency if the verification is successful.

[0085] like Figure 8As shown, if the user Sv of the second trusted institution wants to view the business data, the user Sv logs in to the second account and sends a query request to query the business data. The second trusted institution sends the query request to the second node, and the second node needs to verify the validity of the business data. Specifically, after the second node obtains the business data carrying the digital signature through the smart contract, it obtains the public key of the first trusted organization from the trusted organization certificate chain on the second node to verify whether the signature of the business data is correct. If the second node fails to verify the signature, it indicates that there is a problem with the trusted organization certificate chain, and the second node feeds back the problem to the second trusted organization; if the second node passes the signature verification, it is also necessary to decrypt the digital signature through the public key to obtain a summary of the business data, and then the second node performs a hash operation on the original data to obtain a summary of the original data. If the second node determines that the summary of the business data is the same as the summary of the original data, indicating that the business data has passed the verification, the second node feeds back the verification success result to the second trusted organization, and the user Sv can view the business data; if the second node determines that the summary of the business data is different from the summary of the original data, indicating that the business data has not passed the verification, the second node feeds back the verification failure result to the second trusted organization, and the user Sv cannot view the business data.

[0086] The blockchain nodes of this application are mutually trusted, and the blockchain nodes manage the authentication mechanism of the internal subject of the trusted institution, which is convenient and fast. In addition, the identity of the trusted institution and the authenticity of the business data are verified, and multiple nodes authenticate the chain data to improve data reliability. The blockchain network is used, and the authentication within the trusted institution is also more transparent.

[0087] Optionally, the embodiment of the present application also provides a processing flow of a cross-institutional identity trusted service method, and the specific process is as follows.

[0088] The first trusted institution includes the first business platform. When the user Su of the first trusted institution logs in to the first account, the user's login authentication is performed through the unified identity authentication service. After the user Su logs in to the first business platform, a sum of original data for the business is initiated on the first trusted institution. After the original data is cleaned and converted, it forms a data packet file and flows to the first business platform. The first business platform has a built-in blockchain service SDK. The SDK performs a hash operation on the original data to obtain a summary, and uses a private key to encrypt the summary to obtain a digital signature of the original data, and generates business data carrying a digital signature. The first trusted institution sends the business data to the first node in the blockchain network. After the first node verifies the signature using the public key of the first trusted institution in the trusted institution certificate chain, it synchronizes the business data to other nodes in the blockchain network, such as the second node. The second node sends the business data to the second trusted institution. At this time, users in the second trusted institution cannot view the business data.

[0089] The second trusted institution includes a second business platform. When user Sv in the second trusted institution logs in to the second account, the user's login authentication is performed through the unified identity authentication service. If user Sv wants to view the business data, he clicks on the business data. The second trusted institution sends the business data to the second node. The second node obtains the public key of the first trusted institution from its own trusted institution certificate chain, verifies that the signature of the business data is correct, and then decrypts the digital signature through the public key to obtain the summary of the business data. Then the second node performs a hash operation on the original data to obtain the summary of the original data. If the second node determines that the summary of the business data is the same as the summary of the original data, it indicates that the business data has passed the verification and the identity of user Su has passed the verification.

[0090] Below, in order to explain this application more clearly, we first briefly introduce the working principle of smart contracts:

[0091] Building smart contracts: Smart contracts are jointly developed by multiple users within the blockchain and can be used for any transaction between any users. The agreement clearly defines the rights and obligations of both parties to the transaction. Developers program these rights and obligations electronically, and the code contains conditions that trigger the automatic execution of the contract.

[0092] Storing smart contracts: Once the coding is completed, the smart contract is uploaded to the blockchain network, that is, every node in the entire network can receive the smart contract.

[0093] Executing smart contracts: Smart contracts will periodically check whether there are relevant events and trigger conditions, and push events that meet the conditions to the queue for verification. The verification nodes on the blockchain will first verify the signature of the event to ensure its validity. Once most verification nodes reach a consensus on the event, the smart contract will be successfully executed and notified to the user.

[0094] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Fig. 9 As shown, it includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.

[0095] Memory 903, used for storing computer programs;

[0096] The processor 901 is used to implement the above steps when executing the program stored in the memory 903.

[0097] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0098] The communication interface is used for communication between the above electronic device and other devices.

[0099] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0100] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0101] In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0102] In another embodiment of the present invention, a computer program product including instructions is provided, which enables the computer to execute any one of the methods in the above embodiments when the computer program product is executed on the computer.

[0103] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0104] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0105] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. An identity trusted service system, characterized in that: The system comprises: A blockchain network having multiple nodes, each node storing the same trusted authority certificate chain, wherein the trusted authority certificate chain includes all account certificates issued by multiple trusted authorities; A target node, used to perform signature verification on the business data sent by a target trusted institution using the account certificate in the trusted institution certificate chain, wherein the target trusted institution is an institution among the multiple trusted institutions used to transmit the business data, and the target node is a node deployed on the target trusted institution; The system includes: a first trusted institution, which is used to sign the original data sent by the first account through a private key to obtain the business data carrying the digital signature, and send the business data to a first node, wherein the first account is an account opened in the first trusted institution; the first node is used to verify the signature of the business data through the public key of the first account in the certificate chain of the trusted institution, and upload the business data to the blockchain; The second trusted institution is used to send the query request sent by the second account to the second node when receiving the query request sent by the second account, wherein the query request is used to request query of the business data, and the second account is an account opened in the second trusted institution; the second node is used to verify the authenticity of the business data sent by the first node through the public key of the first trusted institution in the certificate chain of the trusted institution, and send the verification result to the second trusted institution if the verification is successful.

2. The system according to claim 1, characterized in that The business data includes institutional certificate issuance data, and the system includes: The target trusted institution is used to sign the institution certificate issuance data and upload the institution certificate issuance data carrying the digital signature to the target node; The target node is used to upload the institutional certificate issuance data carrying the digital signature to the blockchain network when the digital signature is verified to be authentic.

3. The system according to claim 1, characterized in that The business data includes institution certificate revocation data, and the system includes: The target trusted institution is used to sign the institution certificate revocation data and upload the institution certificate revocation data carrying the digital signature to the target node; The target node is used to upload the institutional certificate revocation data carrying the digital signature to the blockchain network when the digital signature is verified to be authentic.

4. The system according to claim 1, characterized in that The system comprises: A plurality of nodes in the blockchain network, wherein each of the nodes has a trusted channel between them; Each of the nodes corresponds to a trusted institution, wherein a plurality of the trusted institutions are connected via a peer-to-peer network.

5. A trusted identity service method, applied to a target node, characterized in that: The method comprises: Acquire business data sent by a target trusted institution, wherein the target node is a node deployed on the target trusted institution, and the target trusted institution is an institution among multiple trusted institutions for transmitting the business data; The business data is signed and verified by the account certificate in the trusted institution certificate chain, wherein the same trusted institution certificate chain is stored on each node, the trusted institution certificate chain includes all account certificates issued by multiple trusted institutions, and multiple nodes constitute a blockchain network; Wherein, the method further comprises: The business data is signed and verified by the public key of the first account in the certificate chain of the trusted institution, and the business data is chained to the blockchain, wherein the first account is an account opened in the first trusted institution, and the first trusted institution signs the original data sent by the first account by the private key to obtain the business data carrying the digital signature, and sends the business data to the first node; Obtain a query request for a second account sent by a second trusted institution, verify the authenticity of the business data sent by the first node through the public key of the first trusted institution in the certificate chain of the trusted institution, and send the verification result to the second trusted institution if the verification passes, wherein the query request is used to request a query for the business data, and the second account is an account opened in the second trusted institution.

6. The method according to claim 5, characterized in that The business data includes institutional certificate issuance data, The obtaining of the business data sent by the target trusted institution includes: obtaining the institution certificate issuance data with a digital signature sent by the target trusted institution; The signature verification of the institution certificate issuance data through the account certificate in the trusted institution certificate chain includes: when the digital signature is verified to be true, uploading the institution certificate issuance data carrying the digital signature to the blockchain network.

7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 5-6 when executing a program stored in a memory.

8. 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 steps described in any one of claims 5-6 are implemented.

Citation Information

Patent Citations

  • Managing communications among consensus nodes and client nodes

    US20190253265A1