Method, system, apparatus and device for monitoring heterogeneous consortium blockchain, and storage medium

By deploying monitoring side chains in heterogeneous consortium chains for data encryption and auditing, the problem of being unable to effectively monitor heterogeneous consortium chains in existing technologies is solved, achieving high versatility, security and ease of monitoring and management, ensuring ensure data security and traceability.

WO2024174720A1PCT designated stage expired Publication Date: 2024-08-29LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/142074
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-12-26
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing technology cannot effectively balance versatility, security and ease of use, and monitor and manage multiple heterogeneous alliance chains, resulting in the risk of releasing harmful information.

Method used

By pre-deploying a monitoring side chain connected to the monitored business alliance chain, the data to be uploaded is encrypted and reviewed. If it passes the review, the upload operation is performed. Monitoring side chains and cryptography-based data shielding methods are used for supervision and isolation of supervision operations. Completed in the side chain, it adapts to a variety of heterogeneous business alliance chains without major changes to business nodes.

Benefits of technology

It achieves highly versatile monitoring and management of a variety of heterogeneous alliance chains, ensuring data security and traceability, shielding data that has not passed the review, and allowing the monitoring and processing operations to be restored.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023142074_29082024_PF_FP_ABST
    Figure CN2023142074_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of blockchains, and specifically discloses a method, system, apparatus and device for monitoring a heterogeneous consortium blockchain, and a storage medium. The method comprises: pre-deploying a monitoring sidechain, which is connected to a monitored service consortium blockchain; performing first encryption processing on data to be audited, which is to be uploaded to the monitored service consortium blockchain; uploading ciphertext of said data to a monitoring sidechain, so as to perform auditing processing on said data; and if said data passes auditing, executing the operation of uploading said data to the monitored service consortium blockchain. A service consortium blockchain is supervised by using a monitoring sidechain and a cryptography-based data shielding method, and the service consortium blockchain serves as a main chain to achieve loose coupling between same and the monitoring sidechain; a supervision operation is completed in the monitoring sidechain in an isolated manner, without being affected by underlying consortium blockchain techniques of the service consortium blockchain; and the method can be adapted to various heterogeneous service consortium blockchains, without the need to make a relatively significant change to a service node, such that data, which does not pass the auditing, is shielded, a monitoring processing operation is traceable, and the data shielding can be restored.
Need to check novelty before this filing date? Find Prior Art

Description

Monitoring method, system, device, equipment and storage medium for heterogeneous alliance chain

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 24, 2023, with application number 202310159481.X, and entitled “Monitoring method, system, device, equipment and storage medium for heterogeneous alliance chain”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of blockchain technology, and in particular to a monitoring method, system, device, equipment and computer non-volatile readable storage medium for a heterogeneous alliance chain. Background Art

[0004] Blockchain is essentially a distributed database featuring decentralization, trustlessness, distributed storage, transparent data, immutability, and traceability. A key difference from traditional information systems is that transactions on a blockchain do not require the endorsement of an authoritative institution, but instead rely on cryptographic algorithms and consensus mechanisms, ensuring high credibility. Furthermore, a copy of the blockchain's ledger data is stored on each distributed node (full node). In theory, once data is written, it is permanently stored and publicly accessible, unable to be deleted or tampered with. While the blockchain's immutability and traceability enhance data credibility, they also make it vulnerable to attackers exploiting it to disseminate harmful or negative information, potentially causing lasting or even permanent harm to society. Therefore, a secure and reliable regulatory approach is urgently needed to promptly remove or block harmful data from the blockchain.

[0005] However, the solution for monitoring and managing the business alliance chain has special requirements for the implementation of the business alliance chain (special hash algorithm or chain structure), which is highly restrictive and has poor versatility and cannot handle complex regulatory scenarios.

[0006] In existing technologies, in order to effectively monitor and manage multiple heterogeneous consortium chains, the adoption of an in-process supervision strategy is an effective solution. Existing in-process supervision strategies mainly include the use of data filtering technology, cryptography-based methods, and smart contract-based methods.

[0007] However, the existing technology cannot achieve universality, security and feasibility when regulating multiple heterogeneous alliance chains. Ultimately, it is impossible to effectively monitor and manage multiple heterogeneous alliance chains, resulting in the risk of heterogeneous alliance chains publishing harmful information.

[0008] Summary of the Invention

[0009] The purpose of this application is to provide a monitoring method, system, device, equipment and computer non-volatile readable storage medium for a heterogeneous alliance chain, which is used to effectively monitor and manage multiple heterogeneous alliance chains with high versatility.

[0010] To solve the above technical problems, the present invention provides a monitoring method for a heterogeneous consortium chain, including:

[0011] Pre-deploy a monitoring side chain connected to the monitored business alliance chain;

[0012] When receiving data to be reviewed and uploaded to the monitored business alliance chain, performing a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed;

[0013] Upload the ciphertext of the data to be reviewed to the monitoring side chain for review and processing;

[0014] If the data to be reviewed passes the review, the operation of uploading the data to be reviewed to the monitored business alliance chain will be performed.

[0015] In some embodiments of the present application, a monitoring side chain connected to the monitored business alliance chain is pre-deployed, specifically:

[0016] The monitoring side chain is pre-deployed based on a first SPV light node located in the business cluster where the monitored business alliance chain is located and a second SPV light node located in the monitoring cluster.

[0017] In some embodiments of the present application, the data to be reviewed and uploaded to the monitored business alliance chain is received, specifically:

[0018] After receiving the data to be reviewed, ordinary nodes other than the accounting nodes of the monitoring side chain in the monitoring cluster of the monitoring side chain broadcast the data to be reviewed to the accounting nodes.

[0019] In some embodiments of the present application, the data to be audited is first encrypted to obtain a ciphertext of the data to be audited, specifically:

[0020] The data to be audited is encrypted using the public key agreed upon by each accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited.

[0021] In some embodiments of the present application, the data to be audited is encrypted using the public key agreed upon by the accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited, specifically:

[0022] The data to be audited is encrypted using the first public key of the supervisory node in the accounting node and the second public key of the inspection node in the accounting node to obtain the ciphertext of the data to be audited.

[0023] In some embodiments of the present application, performing a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited specifically includes:

[0024] Obtain the audit data encryption strategy negotiated by the accounting node of the monitoring side chain from the monitoring side chain;

[0025] The audit data encryption strategy is used to perform a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited.

[0026] In some embodiments of the present application, the audit data encryption policy negotiated by the accounting node of the monitoring side chain is obtained from the monitoring side chain, specifically:

[0027] Obtain the audit data encryption policy from the key management channel of the self-monitoring side chain;

[0028] Upload the ciphertext of the data to be reviewed to the monitoring side chain for review and processing, specifically:

[0029] The ciphertext of the data to be reviewed is uploaded to the regulatory data channel of the monitoring side chain to review the data to be reviewed.

[0030] In some embodiments of the present application, the audit data encryption policy negotiated by the accounting node of the monitoring side chain is obtained from the monitoring side chain, specifically:

[0031] Obtain the randomly generated keys of each accounting node from the monitoring side chain;

[0032] The audit data encryption strategy is used to perform the first encryption process on the audit data to obtain the ciphertext of the audit data, specifically:

[0033] The data to be audited is first encrypted using the randomly generated keys of each accounting node to obtain the ciphertext of the data to be audited.

[0034] In some embodiments of the present application, after uploading the ciphertext of the data to be audited to the monitoring side chain for auditing the data to be audited, the following is further included:

[0035] Add review status information for the data to be reviewed and set the initial status to unreviewed;

[0036] Update the audit status information based on the audit results of the data to be audited.

[0037] In some embodiments of the present application, further comprising:

[0038] If the data to be reviewed fails to pass the review, the encrypted shielded state of the data to be reviewed will be maintained and a supervisory review of the data that has not passed the review will be triggered.

[0039] In some embodiments of the present application, the user with supervisory authority over the data to be reviewed is specifically all accounting nodes monitoring the side chain;

[0040] The accounting node also has the authority to audit the data to be audited and the authority to update the audit status information.

[0041] In some embodiments of the present application, the user with supervision authority over the data to be reviewed is specifically a supervision node among the accounting nodes monitoring the side chain;

[0042] The accounting node also includes a supervision node that has the authority to audit the data to be audited and the authority to update the audit status information.

[0043] In some embodiments of the present application, after uploading the ciphertext of the data to be audited to the monitoring side chain for auditing the data to be audited, the following is further included:

[0044] Submit the index information of the data to be reviewed on the monitoring side chain and the registration information of the data to be reviewed to the monitored business alliance chain.

[0045] In some embodiments of the present application, the operation of uploading the data to be reviewed to the monitored business alliance chain specifically includes:

[0046] Perform a first decryption process on the ciphertext of the data to be reviewed to obtain the reviewed data;

[0047] Upload the reviewed data to the monitored business alliance chain.

[0048] In some embodiments of the present application, the operation of uploading the data to be audited to the monitored business alliance chain is specifically as follows:

[0049] The supervisory key corresponding to the ciphertext of the data to be reviewed is made public to the supervisory data channel of the monitoring side chain so that all nodes in the monitoring cluster of the monitoring side chain can view it, so as to provide the ciphertext and supervisory key of the data to be reviewed when a request for approved data is received.

[0050] In some embodiments of the present application, the operation of uploading the data to be audited to the monitored business alliance chain is specifically as follows:

[0051] The audit status information of the data to be audited is updated to the approved status in the regulatory data channel of the monitoring side chain, so that when a request for obtaining the approved data is received, the ciphertext of the data to be audited is first decrypted to obtain and provide the approved data.

[0052] The embodiment of the present application also provides a monitoring system for a heterogeneous alliance chain, including: a first accounting node and a common node;

[0053] Among them, the ordinary node is used to broadcast the pending data to the first accounting node when receiving the pending data to be uploaded to the monitored business alliance chain;

[0054] The first accounting node is used to maintain a monitoring side chain pre-deployed in the monitoring cluster and connected to the monitored business alliance chain. When receiving the data to be reviewed, the first encryption processing is performed on the data to be reviewed to obtain the ciphertext of the data to be reviewed; the ciphertext of the data to be reviewed is uploaded to the monitoring side chain for review processing; if the data to be reviewed passes the review, the operation of uploading the data to the monitored business alliance chain is performed.

[0055] In some embodiments of the present application, a second accounting node is further included that jointly maintains and monitors the side chain with the first accounting node; the first accounting node is a supervisory node, and the second accounting node is an inspection node;

[0056] The supervision node is also used to trigger supervision and review of unapproved data;

[0057] The inspection node is used to perform inspection and review tasks on the unapproved data on the monitoring side chain.

[0058] The present application also provides a monitoring device for a heterogeneous consortium chain, including:

[0059] A deployment unit, used to pre-deploy a monitoring side chain connected to the monitored business alliance chain;

[0060] A first encryption unit is configured to, upon receiving data to be reviewed and uploaded to the monitored business alliance chain, perform a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed;

[0061] The first uploading unit is used to upload the ciphertext of the data to be reviewed to the monitoring side chain so as to review the data to be reviewed;

[0062] The second uploading unit is configured to upload the data to be reviewed to the monitored business alliance chain if the data to be reviewed passes the review.

[0063] The present application also provides a monitoring device for a heterogeneous alliance chain, including:

[0064] memory for storing computer programs;

[0065] A processor is used to execute a computer program, which, when executed by the processor, implements the steps of any of the above-mentioned heterogeneous alliance chain monitoring methods.

[0066] An embodiment of the present application also provides a computer non-volatile readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned heterogeneous alliance chain monitoring methods are implemented.

[0067] The monitoring method of the heterogeneous alliance chain provided in the embodiment of the present application pre-deploys a monitoring side chain connected to the monitored business alliance chain, performs a first encryption process on the data to be reviewed uploaded to the monitored business alliance chain, obtains the ciphertext of the data to be reviewed, and uploads the ciphertext of the data to be reviewed to the monitoring side chain for review processing of the data to be reviewed. If the review is passed, the operation of uploading to the monitored business alliance chain is executed. By utilizing the monitoring side chain and the data shielding method based on cryptography to supervise the business alliance chain, the business alliance chain as the main chain is loosely coupled with the monitoring side chain, and the supervision operation is isolated and completed in the monitoring side chain, which is not affected by the underlying alliance chain technology of the business alliance chain. Therefore, it can adapt to a variety of heterogeneous business alliance chains without making major changes to the business nodes, ensuring the shielding of data that has not passed the review, the monitoring and processing operations are traceable, and the data shielding is recoverable.

[0068] The embodiments of the present application also provide a monitoring system, device, equipment and computer non-volatile readable storage medium for a heterogeneous alliance chain, which have the above-mentioned beneficial effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0070] FIG1 is a flowchart of a monitoring method for a heterogeneous alliance chain provided in an embodiment of the present application;

[0071] FIG2 is an example diagram of heterogeneous alliance chain supervision provided by an embodiment of the present application;

[0072] FIG3 is a schematic diagram of a node network structure of a business alliance chain and a monitoring side chain provided in an embodiment of the present application;

[0073] FIG4 is a schematic diagram of a monitoring side chain based on a key management channel provided in an embodiment of the present application;

[0074] FIG5 is a schematic diagram of a copyright chain supervision scenario provided by an embodiment of the present application;

[0075] FIG6 is a flowchart of another method for monitoring a heterogeneous alliance chain provided in an embodiment of the present application;

[0076] FIG7 is a schematic diagram of the structure of a monitoring device for a heterogeneous alliance chain provided in an embodiment of the present application;

[0077] FIG8 is a schematic diagram of the structure of a monitoring device for a heterogeneous alliance chain provided in an embodiment of the present application;

[0078] FIG9 is a schematic structural diagram of a computer non-volatile readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION

[0079] A consortium chain is a decentralized blockchain where participants join through authorization and data read and write permissions are controlled by authorized parties. Currently, consortium chains are widely used to implement business chain application systems (such as copyright chains, judicial evidence chains, production chains, and medical data chains) in fields such as the digital economy and social governance. Consortium-based business chains differ from public chains in that they do not compete for ledger ownership. Instead, they maintain ledger data jointly through a designated strategy and consensus mechanism (such as the state machine replication algorithm PBFT and Practical Byzantine Fault Tolerance). These business chains are often developed and implemented based on different underlying consortium chain technologies, with different block data structures, data protocols, consensus mechanisms, smart contracts, and basic functional abstractions. This makes data mutual recognition, interoperability, and interoperability difficult among different consortium chains, and poses significant difficulties and challenges to the regulation of heterogeneous consortium chains.

[0080] Monitoring and management solutions for business alliance chains can be categorized into pre-emptive, in-process, and post-event monitoring strategies, based on the timing of monitoring. Pre-emptive monitoring primarily involves auditing and analyzing the smart contract code of the business alliance chain to identify contract code vulnerabilities in advance, but it cannot block harmful data before it is uploaded to the business alliance chain. In-process monitoring processes data before it is uploaded to the business alliance chain to filter out or block harmful data, but this requires significant changes to each node in the blockchain. Post-event monitoring processes harmful data on the business alliance chain, but has special requirements for its implementation (such as a special hash algorithm or chain structure). This approach is highly restrictive, lacks versatility, and cannot handle complex regulatory scenarios.

[0081] As we can see, to effectively monitor and manage multiple heterogeneous consortium chains, adopting an in-process supervision strategy is the right approach. Existing in-process supervision strategies mainly include the use of data filtering technology, cryptography-based methods, and smart contract-based methods.

[0082] Among them, the use of data filtering technology is an off-chain shielding method, specifically detecting and identifying bad information in transactions, and shielding the bad information through data shielding methods (such as deletion, modification, encryption, etc.). This method is generally completed off-chain and can perform data filtering before the data is uploaded to the chain. However, as explained above, the use of data filtering technology requires implementation changes on all nodes of the business alliance chain and the addition of a data filtering module. Not only is the deployment more complex, but it is also highly dependent on the timeliness of the data filtering algorithm of the data filtering module. That is, if the data filtering algorithm or rules are not updated in a timely manner, non-compliant data will be uploaded to the chain.

[0083] Cryptography-based methods are on-chain shielding methods. Specifically, they involve designing a data supervision and audit process to encrypt and shield unregulated data, thus controlling the harm of harmful information at the source. However, simply using cryptography-based methods to encrypt and shield unregulated data makes it impossible to recover the shielding if the key is disclosed, resulting in significant security vulnerabilities.

[0084] The smart contract-based method belongs to the on-chain processing method. Specifically, it is to design regulatory-oriented smart contract code and corresponding regulatory processes. It can automate and program the regulatory processing and improve regulatory efficiency. However, it can only execute simple and fixed regulatory procedures and cannot handle complex regulatory scenarios.

[0085] Therefore, when regulating multiple heterogeneous alliance chains, the existing technology cannot achieve universality, security and feasibility at the same time, and ultimately cannot effectively monitor and manage multiple heterogeneous alliance chains, resulting in the risk of heterogeneous alliance chains publishing harmful information.

[0086] The core of this application is to provide a monitoring method, system, device, equipment and computer non-volatile readable storage medium for a heterogeneous alliance chain, which is used to effectively monitor and manage multiple heterogeneous alliance chains with high versatility.

[0087] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0088] In some embodiments of the application, Figure 1 is a flowchart of a monitoring method for a heterogeneous alliance chain provided in an embodiment of the present application.

[0089] As shown in FIG1 , a monitoring method for a heterogeneous consortium chain provided in an embodiment of the present application includes:

[0090] S101: Pre-deploy a monitoring side chain connected to the monitored business alliance chain.

[0091] S102: When receiving the data to be reviewed to be uploaded to the monitored business alliance chain, performing a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed.

[0092] S103: Upload the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed.

[0093] S104: If the data to be reviewed passes the review, the operation of uploading the data to be reviewed to the monitored business alliance chain is performed.

[0094] The heterogeneous consortium chain monitoring method provided in the embodiments of this application is a real-time supervision method that uses sidechain technology to achieve supervision of business consortium chains. Sidechains were originally a channel that facilitates the transfer of digital assets between different blockchains, connecting different blockchains to achieve blockchain expansion. Sidechains are completely independent of the blockchain, but the sidechain ledgers can "interoperate" with the main chain ledger to achieve interaction.

[0095] In the specific implementation, for S101, the monitored business alliance chain is used as the main chain, and a side chain connected to the main chain is created as the monitoring side chain. The type of the monitored business alliance chain can be any business alliance chain, such as a copyright chain, a judicial evidence chain, and a medical data chain. A monitoring side chain can be connected to one monitored business alliance chain, or it can be connected to multiple monitored business alliance chains. The method for implementing the monitoring side chain can adopt any existing method of creating a side chain, such as single custody, multi-signature alliance model, simplified payment verification (SPV) light node, drive chain, and hybrid model. Taking the SPV light node as an example, the monitoring side chain can be connected to the monitored business alliance chain through the SPV light node, and the monitored business alliance chain only needs to introduce the SPV light node of the monitoring side chain to interact with the monitoring side chain for data, thereby realizing the docking of the monitoring side chain and the monitored business alliance chain.

[0096] A blockchain is essentially a distributed database. A monitored business alliance chain corresponds to a business cluster. All nodes in the business cluster, and even nodes outside the business cluster, can view the data on the monitored business alliance chain. However, only nodes in the business cluster can perform transactions (such as submitting, modifying, and blocking) on ​​the data on the monitored business alliance chain. The monitoring side chain provided in the embodiments of the present application corresponds to a monitoring cluster, which includes the accounting nodes and ordinary nodes of the monitoring side chain. Only the accounting nodes can perform transactions (such as submitting, modifying, and blocking) on ​​the data on the monitoring side chain.

[0097] Therefore, after deploying the monitoring side chain, that is, after deploying the monitoring cluster, a monitoring side chain connected to the monitored business alliance chain is created between the monitoring cluster and the business cluster.

[0098] The monitoring method of the heterogeneous alliance chain provided in the embodiment of the present application can be applied to the accounting nodes in the monitoring cluster.

[0099] In S102, all data to be uploaded to the monitored business alliance chain is monitored and reviewed. Unreviewed data is first encrypted and uploaded to the monitoring sidechain. Specifically, the data to be uploaded to the monitored business alliance chain comes from node users in the business cluster. If the monitored business alliance chain is a copyright chain, the data to be uploaded to the monitored business alliance chain comes from copyright registration users. The monitoring cluster interacts with the business cluster through sidechain technology to obtain the data to be reviewed. The business cluster does not upload unreviewed data to the chain, but instead sends it to the monitoring cluster for review.

[0100] In S102, the data to be uploaded to the monitored business alliance chain is received. Specifically, the data to be uploaded to the monitoring side chain can be broadcasted to the accounting node by ordinary nodes other than the accounting node of the monitoring side chain in the monitoring cluster of the monitoring side chain after receiving the data to be uploaded. In other words, ordinary nodes that deploy the monitoring side chain do not have the authority to upload data to the monitoring side chain. When receiving the data to be uploaded to the monitoring side chain, the ordinary nodes broadcast the data to the accounting node of the monitoring side chain, and the accounting node performs the first encryption process on the data to be uploaded to the monitoring side chain.

[0101] In S103, after the accounting node performs the first encryption process on the data to be audited, it uploads the ciphertext of the data to be audited to the monitoring side chain for audit processing. Specifically, the audit processing of the data to be audited can be performed by the accounting node. The accounting node obtains the ciphertext of the data to be audited from the monitoring side chain, decrypts the ciphertext of the data to be audited using the decryption method corresponding to the first encryption process to obtain the plaintext, and then performs the audit processing.

[0102] Data audit algorithms can be pre-deployed on accounting nodes to enable automated audit processing of pending data. Specifically, different data audit algorithms can be pre-deployed based on the type of data to be audited. Manual audit processing can be performed on pending data that does not have a data audit algorithm registered or is marked for manual processing. When performing manual audit processing, the authorized user of the accounting node is a user with manual audit processing permissions.

[0103] Based on this, it is possible to design some accounting nodes on the monitoring sidechain to act as nodes for auditing pending data. Alternatively, different types of pending data can be divided and audited by different accounting nodes. After receiving and identifying the type of pending data, a regular node, or after receiving and identifying the type of pending data broadcast by a regular node, triggers the corresponding accounting node based on the type of pending data to begin decrypting the ciphertext of the pending data uploaded to the monitoring sidechain and then performing the auditing task.

[0104] For S104, for the data that has passed the review, the operation of uploading the business alliance chain is carried out in the agreed manner.

[0105] Specifically, S104: uploading the pending data to the monitored business alliance chain may include: performing a first decryption process on the ciphertext of the pending data to obtain approved data; and uploading the approved data to the monitored business alliance chain. That is, when the accounting node determines that the pending data has passed the review, it may perform a first decryption process on the ciphertext of the pending data on the monitoring side chain to obtain approved data. The approved data is then uploaded directly to the monitored business alliance chain via the channel between the monitoring side chain and the monitored business alliance chain.

[0106] Alternatively, after determining that the data to be reviewed has passed the review, the accounting node can directly perform a first decryption process on the ciphertext of the data to be reviewed on the monitoring side chain and obtain the reviewed data, and then update the ciphertext of the data to be reviewed on the monitoring side chain to the plaintext of the reviewed data, waiting for other nodes (such as ordinary nodes in the monitoring cluster) to access and upload it to the monitored business alliance chain.

[0107] The monitoring method of the heterogeneous alliance chain provided by the embodiment of the present application is to pre-deploy a monitoring side chain connected to the monitored business alliance chain, perform a first encryption process on the data to be reviewed uploaded to the monitored business alliance chain, obtain the ciphertext of the data to be reviewed, and upload the ciphertext of the data to be reviewed to the monitoring side chain for review processing of the data to be reviewed. If the review is passed, the operation of uploading to the monitored business alliance chain is executed. By using the monitoring side chain and the data shielding method based on cryptography to supervise the business alliance chain, the supervision operation is isolated and completed in the monitoring side chain, which is not affected by the underlying alliance chain technology of the business alliance chain. Therefore, it can adapt to a variety of heterogeneous business alliance chains without making major changes to the business nodes; all data operation records are saved on the monitoring side chain, and the processing traces of transaction data (such as submission, modification, and shielding) can be traced. Users with viewing permissions can view the review status of the data to be reviewed and other supervision history records; since all processing operations of data supervision are completed on the monitoring side chain and isolated from the business main chain, the degree of correlation between the monitoring side chain and the monitored business alliance chain is reduced to a minimum, realizing loose coupling between the business main chain and the monitoring side chain.

[0108] In some embodiments of the present application, Figure 2 is an example diagram of heterogeneous alliance chain supervision provided in an embodiment of the present application; Figure 3 is a schematic diagram of the node network structure of a business alliance chain and a monitoring side chain provided in an embodiment of the present application.

[0109] In the above embodiment, it is described that any existing method for creating a side chain can be used to achieve the creation of a monitoring side chain. In the heterogeneous consortium chain monitoring method provided in the embodiment of this application, the SPV light node is used as an example to further illustrate the method of creating a monitoring side chain.

[0110] In the embodiment of the present application, the monitoring side chain and the monitored business alliance chain achieve inter-chain data exchange through the SPV light node mechanism. Using the Merkle Proof mechanism, the SPV light node only needs to save all the block header data of the longest blockchain (without saving the block body data) to verify the authenticity of a transaction data. This is because each block header stores a Merkle tree formed by the hash values ​​of all transaction data within the block. The SPV light node can obtain specific transaction data from the full node to which it is connected, and can also complete the chain processing of new transaction data through the full node to which it is connected.

[0111] As shown in Figure 2, taking the monitored business alliance chain as an example, the copyright chain is composed of multiple blocks. Within the business cluster corresponding to the monitored business alliance chain, an SPV light node is deployed on a node, denoted as the first SPV light node 201. The monitoring side chain is composed of multiple blocks. Within the monitoring cluster corresponding to the monitoring side chain, an SPV light node is deployed on a node, denoted as the second SPV light node 202. Through the first SPV light node 201 of the monitored business alliance chain, the monitoring side chain can obtain specific data on a specified transaction on the monitored business alliance chain or submit new transaction data to the monitored business alliance chain. Conversely, the monitored business alliance chain can obtain specific data on an executed transaction on the monitoring side chain or submit a new transaction to the monitoring side chain through the second SPV light node 202 of the monitoring side chain. Taking the monitored business alliance chain as the copyright chain as an example, the copyright chain sends the copyright registration information to the monitoring side chain through the first SPV light node 201 for review. After the review is passed, the monitoring side chain sends the copyright registration information to the copyright chain through the second SPV light node 202 for on-chain, completing the copyright registration.

[0112] In the monitoring method of the heterogeneous alliance chain provided in the embodiment of the present application, the monitoring side chain connected to the monitored business alliance chain is pre-deployed in S101, which can be specifically: the monitoring side chain is pre-deployed based on the first SPV light node 201 located in the business cluster where the monitored business alliance chain is located and the second SPV light node 202 located in the monitoring cluster.

[0113] As shown in FIG3 , it is assumed that the business cluster includes nodes 1, 2, 3, ..., n, and the monitoring cluster includes nodes 1, 2, 3, and m (it should be noted that node 1 in the business cluster and node 1 in the monitoring cluster are nodes in two clusters, respectively, and can be nodes of different types. The same applies to nodes with other labels). In the business cluster, data can be exchanged between nodes. One or more nodes are selected to deploy the first SPV light node 201. When data to be uploaded to the monitored business alliance chain appears to be pending for review, the data to be reviewed is forwarded to the first SPV light node 201 through the nodes in the business cluster, and then sent to the monitoring cluster via the first SPV light node 201. Assuming that node 2 in the monitoring cluster is a bookkeeping node and node m is an ordinary node, after receiving the data to be reviewed, node m sends the data to be reviewed to node 2 in the form of broadcast. Node 2 performs a first encryption process on the data to be reviewed and uploads it to the monitoring side chain. After the review is passed, the data to be reviewed is converted into reviewed data. Node 2 can make the reviewed data public and forward it through other nodes in the monitoring cluster, and then send it to the business cluster through the second SPV light node 202 to complete the upload process to the monitored business alliance chain.

[0114] In some embodiments of the present application, based on the above embodiments, the embodiments of the present application further illustrate a method for the first encryption processing of the data to be audited.

[0115] In the monitoring method of the heterogeneous consortium chain provided in the embodiment of the present application, in S102, the data to be audited is first encrypted to obtain the ciphertext of the data to be audited, which can be specifically:

[0116] The data to be audited is encrypted using the public key agreed upon by each accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited.

[0117] For the convenience of management, or to facilitate one accounting node to perform a first encryption process on the data to be audited and then upload it to the monitoring side chain so that another accounting node can audit the data to be audited, or to facilitate other accounting nodes to view the audit status during the audit process, in an embodiment of the present application, each accounting node of the monitoring side chain can pre-agree on a fixed encryption method to achieve the first encryption process on the data to be audited.

[0118] The first encryption method can be symmetric, asymmetric, or other encryption methods. To ensure security, asymmetric encryption is preferred. The data to be audited can be encrypted using the public key pre-agreed upon by each accounting node monitoring the sidechain, resulting in a ciphertext of the data to be audited.

[0119] To further enhance data security, each accounting node can pre-agreed on more than one public key. Multiple accounting nodes can provide multiple public keys, which together serve as the public key for the first encryption of the data to be audited. A corresponding combination can also be pre-agreed on by each accounting node, or generated ad hoc. After uploading the ciphertext of the data to be audited to the monitoring sidechain, each accounting node can decrypt the ciphertext of the data to be audited using its private key (and the agreed combination).

[0120] In the heterogeneous consortium chain monitoring method of the present embodiment, the accounting nodes of the monitoring side chain can be divided into supervision nodes and inspection nodes. The supervision nodes perform the processes of encrypting the data to be audited, uploading it to the monitoring side chain, and auditing it in S102 to S104, while the inspection nodes perform the processes of reviewing all transactions and supervision records of the monitoring side chain and verifying the violation details for data that fails the audit. The supervision nodes and accounting nodes can correspond to auditors with different permissions.

[0121] The data to be audited is encrypted with the public key agreed upon by the accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited. Specifically, the data to be audited is encrypted with the first public key of the supervision node in the accounting node and the second public key of the inspection node in the accounting node to obtain the ciphertext of the data to be audited.

[0122] To facilitate the acquisition of public keys by accounting nodes used to encrypt data to be audited, the node ID of the accounting node can be used as the public key. The first public key can be the node ID of the supervisory node, and the second public key can be the node ID of the inspection node.

[0123] In some embodiments of the present application, FIG4 is a schematic diagram of a monitoring side chain based on a key management channel provided in an embodiment of the present application.

[0124] The above embodiment provides a method for a bookkeeping node to perform a first encryption process on data to be audited using a fixed encryption method. In addition, the embodiment of the present application further describes another method for the first encryption process of data to be audited.

[0125] In the monitoring method of the heterogeneous consortium chain provided in the embodiment of the present application, the first encryption processing is performed on the data to be audited in S102 to obtain the ciphertext of the data to be audited, which may specifically include:

[0126] Obtain the audit data encryption strategy negotiated by the accounting node of the monitoring side chain from the monitoring side chain;

[0127] The audit data encryption strategy is used to perform a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited.

[0128] To further enhance the security of data to be audited and prevent the leakage of harmful data if the audit fails, in this embodiment of the application, the accounting nodes of the monitoring side chain use a negotiated approach to determine the audit data encryption strategy. This means that a non-fixed encryption method can be used to perform the initial encryption processing on the audit data. This audit data encryption strategy can also be recorded on the monitoring side chain for interaction between different accounting nodes.

[0129] The audit data encryption strategy agreed upon by each accounting node can be obtained from the monitoring side chain by providing a key. The audit data encryption strategy agreed upon by the accounting node of the monitoring side chain can be:

[0130] Obtain the randomly generated keys of each accounting node from the monitoring side chain.

[0131] The audit data encryption strategy is used to perform a first encryption process on the audit data to obtain the ciphertext of the audit data, which can be specifically:

[0132] The data to be audited is first encrypted using the randomly generated keys of each accounting node to obtain the ciphertext of the data to be audited.

[0133] Specifically, each accounting node can randomly generate a key, encrypt it using a pre-agreed key encryption key, and upload the key ciphertext to the monitoring sidechain. The accounting node performing the first encryption of the audited data retrieves the key ciphertext from the monitoring sidechain, decrypts it using the pre-agreed key encryption key, and obtains the key provided by each accounting node to perform the first encryption of the audited data. Other accounting nodes can use the same method to obtain the key and decrypt the ciphertext of the audited data.

[0134] Alternatively, after randomly generating a key, each accounting node can upload the key to a channel in the monitoring side chain that is accessible only to the accounting node to avoid key leakage.

[0135] To facilitate differentiation, the monitoring sidechain can be divided into different data channels, one for interactively reviewing data encryption policies and information about pending data. On the monitoring sidechain, a channel can be created between accounting nodes, named the key management channel. The key management channel consists of multiple blocks. As shown in Figure 4, on the monitoring sidechain, the key management channel is used to negotiate, share, and exchange data encryption methods and keys. Only users (or nodes) who join the channel can access the data stored in the channel (such as encryption policy data). Furthermore, users (or nodes) in the channel can negotiate encryption algorithms and keys, such as whether to use symmetric or asymmetric encryption algorithms for a particular transaction, and key parameters (such as key length). The channel accessible to both accounting nodes 401 and ordinary nodes 402 in the monitoring cluster is named the regulatory data channel and consists of multiple blocks.

[0136] The accounting node 401 (responsible for maintaining the ledger) of the monitoring sidechain is managed by the inspection node and the regulatory node. In actual applications, when an ordinary node 402 in the monitoring cluster receives data to be audited (such as a copyright registration message), the ordinary node 402 will broadcast it to the accounting node 401 (the inspection node or the regulatory node). The accounting node 401 can generate a random key (such as a random public-private key pair) based on the audit data encryption policy negotiated in the key management channel and store the random key on the key management channel. The data to be audited can be encrypted using the random key (such as a random public key or a random private key). The ciphertext of the data to be audited is then saved to the regulatory data channel of the monitoring sidechain. The regulatory data channel allows access to all nodes in the monitoring sidechain. The node that generates the data to be audited in the business cluster (such as the copyright registration user) and the second SPV light node 202 of the monitoring cluster can also access the ledger data in the regulatory data channel.

[0137] The audit data encryption policy negotiated with the monitoring sidechain's accounting node 401 is obtained from the monitoring sidechain. Specifically, the audit data encryption policy can be obtained from the monitoring sidechain's key management channel. The ciphertext of the data to be audited is uploaded to the monitoring sidechain for audit processing. Specifically, the ciphertext of the data to be audited is uploaded to the monitoring sidechain's regulatory data channel for auditing.

[0138] The monitoring method of the heterogeneous alliance chain provided in the embodiment of the present application can flexibly negotiate the audit data encryption strategy for different data to be audited by creating a key management channel and a supervision data channel respectively on the monitoring side chain, so as to further avoid the leakage of unreviewed data and ensure the reliability of supervision.

[0139] In some embodiments of the present application, since data review, especially manual data review, takes a certain amount of time, users who want to check the review status will appear during this process. Based on the above embodiment, after S103: uploading the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed, the monitoring method of the heterogeneous alliance chain provided in the embodiment of the present application may also include:

[0140] Add review status information for the data to be reviewed and set the initial status to unreviewed;

[0141] Update the audit status information based on the audit results of the data to be audited.

[0142] To facilitate audit status tracing, the embodiment of the present application adds audit status information to the data uploaded to the monitoring side chain.

[0143] In specific implementations, index information is assigned to the data to be reviewed, and the index information and ciphertext of the data to be reviewed (on the monitoring sidechain) are uploaded to the monitoring sidechain. Simultaneously, audit status information for the data to be reviewed is generated and uploaded to the monitoring sidechain under the same index information. The data to be reviewed is initially in an unreviewed state. Thereafter, the accounting node can collect the audit status of the data to be reviewed and update the audit status information of the data to be reviewed on the monitoring sidechain. In addition to the initial unreviewed state, the audit status information of the data to be reviewed can also include the under-review state, the approved state, and the unapproved state.

[0144] In order to facilitate users of the business alliance chain to be reviewed, especially users who generate data to be reviewed, to view the review status of the data to be reviewed, in S103: uploading the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed, the monitoring method of the heterogeneous alliance chain provided by the embodiment of the present application may also include: submitting the index information of the data to be reviewed and the registration information of the data to be reviewed on the monitoring side chain to the monitored business alliance chain. That is to say, when the business cluster generates data to be reviewed, the data to be reviewed is first sent to the monitoring cluster for review, and at the same time, the index information assigned by the accounting node of the monitoring cluster to the data to be reviewed and other publicly available registration information of the data to be reviewed are first uploaded to the monitored business alliance chain for viewing by users of the business cluster and even users outside the business cluster.

[0145] If the node user of the business cluster that generates the data to be reviewed is allowed to view the audit status information of the data to be reviewed, the node user can initiate a request to view the audit status information of the data to be reviewed to the monitoring side chain through the index information of the data to be reviewed. After the accounting node or ordinary node of the monitoring side chain verifies that the request permission is passed, it will query the audit status information of the data to be reviewed at the current moment and return it to the node user.

[0146] In some embodiments of the present application, it is introduced that the accounting nodes of the monitoring side chain can be divided into supervision nodes and inspection nodes, and the embodiments of the present application further explain this.

[0147] The monitoring method of the heterogeneous consortium chain provided in the embodiment of the present application may further include:

[0148] If the data to be reviewed fails to pass the review, the encrypted shielded state of the data to be reviewed will be maintained and a supervisory review of the data that has not passed the review will be triggered.

[0149] In specific implementation, the accounting node responsible for reviewing the data to be reviewed can trigger a supervisory review by updating the audit status information corresponding to the data to be reviewed on the monitoring side chain to the unreviewed status after determining that the data to be reviewed has not passed the review, or by generating and triggering a supervisory review task to trigger a supervisory review.

[0150] Users with supervisory authority over pending data are specifically all accounting nodes on the monitoring sidechain. Accounting nodes also have the authority to audit pending data and update audit status information. This means that all accounting nodes on the monitoring sidechain can audit pending data and conduct supervisory reviews of unapproved data.

[0151] Alternatively, the roles of accounting nodes can be divided. The users with supervisory authority for data pending for review are specifically supervisory nodes within the accounting nodes of the monitoring sidechain. Accounting nodes also include supervisory nodes, which have the authority to review data pending for review and update audit status information. In other words, the accounting nodes corresponding to the monitoring sidechain are divided into supervisory nodes and supervisory nodes. Supervisory nodes perform the review of data pending for review, while supervisory nodes perform the review of unapproved data.

[0152] In some embodiments of this application, an operation of uploading pending audit data to a monitored business alliance chain is described. Specifically, this method can be a method of uploading the plain text of approved data to the monitored business alliance chain. Because audit standards and audit policies may change over time, to further prevent the leakage of harmful information to the monitored business alliance chain, embodiments of this application provide another method for uploading approved data to the chain.

[0153] In the heterogeneous alliance chain monitoring method provided in the embodiment of the present application, S104: performing the operation of uploading the data to be audited to the monitored business alliance chain may specifically be:

[0154] The supervisory key corresponding to the ciphertext of the data to be reviewed is made public to the supervisory data channel of the monitoring side chain so that all nodes in the monitoring cluster of the monitoring side chain can view it, so as to provide the ciphertext and supervisory key of the data to be reviewed when a request for approved data is received.

[0155] In a specific implementation, when the data to be reviewed passes the review, the information on the review data in the monitoring cluster is only the ciphertext of the data to be reviewed on the monitoring side chain. The accounting node can disclose the regulatory key corresponding to the ciphertext of the data to be reviewed to the regulatory data channel of the monitoring side chain (see Figure 4 for details) for viewing by all nodes in the monitoring cluster of the monitoring side chain. In the business cluster, the review status information of the data to be reviewed can be queried based on the index information of the data to be reviewed. After the regulatory key of the data to be reviewed disclosed on the monitoring side chain is queried, the ciphertext and regulatory key of the data to be reviewed under the same index information can be obtained, and the ciphertext of the data to be reviewed can be decrypted to obtain the reviewed data, and then the reviewed data can be uploaded to the monitored business alliance chain. Or the process of uploading the reviewed data to the monitored business alliance chain will not be performed until the reviewed data needs to be fully disclosed.

[0156] In some embodiments of the present application, in addition to the above embodiments, the embodiments of the present application provide a method for uploading reviewed data to the chain.

[0157] In the heterogeneous alliance chain monitoring method provided in the embodiment of the present application, S104: performing the operation of uploading the data to be audited to the monitored business alliance chain may specifically be:

[0158] The audit status information of the data to be audited is updated to the approved status in the regulatory data channel of the monitoring side chain, so that when a request for obtaining the approved data is received, the ciphertext of the data to be audited is first decrypted to obtain and provide the approved data.

[0159] In a specific implementation, when the data to be reviewed passes the review, the accounting node can only update the review status information of the data to be reviewed to the reviewed status in the regulatory data channel of the monitoring side chain, and neither disclose the reviewed data nor the regulatory key corresponding to the ciphertext of the data to be reviewed. Whenever a request for obtaining the reviewed data is received, the ciphertext of the data to be reviewed is decrypted for the first time to obtain and provide the reviewed data. The process of uploading the reviewed data to the monitored business alliance chain will not be executed until the reviewed data needs to be fully disclosed.

[0160] In some embodiments of the present application, Figure 5 is a schematic diagram of a copyright chain supervision scenario provided in an embodiment of the present application; Figure 6 is a flowchart of another heterogeneous alliance chain monitoring method provided in an embodiment of the present application.

[0161] On the basis of the above embodiments, taking the monitored business alliance chain as a copyright chain as an example, the embodiment of the present application provides a monitoring method for heterogeneous alliance chains in practical applications.

[0162] In the supervision of the copyright chain, the entities involved include the accounting nodes of the monitoring cluster (including regulatory nodes and inspection nodes), the monitoring side chain, the copyright registration nodes (users) of the business cluster, the copyright query nodes (users) and the copyright chain.

[0163] Among them, the monitoring side chain is a blockchain used to store all unaudited on-chain transaction data (such as copyright registration) and regulatory audit records on the copyright chain. It includes three types of users: copyright registration users, regulatory users and inspection users. Different users have different permissions. Copyright registration users only have the authority to submit copyright registration or modify registration. Regulatory users have the authority to modify the transaction supervision status. Inspection users have the authority to view all transactions and their regulatory records.

[0164] The Copyright Chain is a copyright notarization blockchain, whose users include copyright registrants and copyright query users. As shown in Figure 5, building on the heterogeneous consortium chain supervision diagram shown in Figure 2, when a Copyright Chain node receives copyright registration data from a copyright registrant, it forwards it to the monitoring sidechain via a second SPV light node 202 for processing. Alternatively, the copyright registrant can directly send the copyright registration data to the monitoring sidechain.

[0165] The copyright registration node (user) submits the copyright registration data (i.e., data to be reviewed) to the copyright chain or the monitoring side chain. When the monitoring side chain receives the copyright registration data (which may come directly from the copyright registration user or from the copyright chain forwarded via the second SPV light node 202), the monitoring side chain node uses the supervisory public key (managed and provided by the supervisory user) and the inspection public key (managed and provided by the inspection user) to encrypt the copyright registration data before storing it on the chain. It also adds the review status information to the copyright registration data, setting it to the initial state, i.e., the unreviewed state. The index information and registration information registered on the monitoring side chain are then submitted to the copyright chain via the first SPV light node 201.

[0166] A copyright query node (user) is a user who needs to query the copyright chain for detailed information about a copyright registration. Upon receiving the copyright query message, the copyright chain node retrieves the index information of the copyright registration in the monitoring sidechain from the copyright chain. It then retrieves the copyright registration details from the monitoring sidechain via the second SPV light node 202. Upon receiving the copyright registration data query message from the second SPV light node 202, the monitoring sidechain node checks the review status of the copyright registration record. If the review status indicates approved, the detailed copyright registration data is returned in plain text; otherwise, an error message indicating the review status (not reviewed or failed) is returned.

[0167] The supervisory node (user) manages the supervisory public-private key pair and publishes the supervisory public key to the supervisory sidechain node. The supervisory node (user) can obtain the ciphertext of the copyright registration data from the supervisory sidechain, decrypt the data using the supervisory private key, and then perform compliance testing on the plaintext of the copyright registration data. If it is compliant, the audit status information of the corresponding copyright registration record is modified to "approved" and the copyright registration data is submitted to the copyright chain in plaintext. Otherwise, the supervisory node changes the audit status information to "failed". In addition, for transactions that have been processed by the supervisory review, the supervisory node (user) can modify the supervisory review status of the specified transaction according to needs in subsequent use (for example, from "failed" to "approved" and the transaction data is submitted to the chain in plaintext).

[0168] The supervisory node (user) manages the supervisory public-private key pair and publishes the supervisory public key to the monitoring sidechain node. The supervisory node (user) can obtain all copyright registration records and their regulatory audit records from the monitoring sidechain. For registration data with an audit status of "Unaudited", the supervisory node (user) can obtain the ciphertext of the registration data and decrypt it using the supervisory private key to view the plaintext registration data. For registration data with an audit status of "Approved", the supervisory node (user) can directly obtain the plaintext registration data from the monitoring sidechain. For registration data that has failed the audit, the supervisory node (user) can first obtain the ciphertext registration data from the monitoring sidechain, decrypt it into plaintext, and verify the details of the violation.

[0169] Based on this, as shown in Figure 6, a complete copyright registration information review and chain-up process includes:

[0170] S601: The copyright registration node uploads copyright registration information;

[0171] S602: The supervisory node obtains the copyright registration information to be reviewed, performs a first encryption process on the registration information to be reviewed, and uploads the ciphertext of the registration information to be reviewed to the monitoring side chain;

[0172] S603: The supervision node marks the review status information of the copyright registration information to be reviewed as unreviewed;

[0173] S604: The monitoring side chain node uploads the index information and registration information of the copyright registration information to be reviewed to the copyright chain;

[0174] S605: The supervisory node decrypts the ciphertext of the copyright registration information to be reviewed on the monitoring side chain and reviews the plaintext of the copyright registration information to be reviewed;

[0175] S606: The inspection node obtains the review status information of the copyright registration information to be reviewed from the monitoring side chain;

[0176] S607: The copyright query user initiates a request to query copyright registration information to the copyright chain;

[0177] S608: The copyright chain node obtains copyright registration details from the monitoring side chain based on the index information;

[0178] S609: The copyright chain node queries the monitoring side chain node for copyright registration details;

[0179] S610: The monitoring side chain node returns copyright registration details based on the review status information;

[0180] S611: The copyright chain node returns copyright registration details to the copyright query user;

[0181] S612: The monitoring side chain node updates the audit status information according to the audit results;

[0182] S613: The copyright registration information is reviewed and approved, and the plain text of the copyright registration information is uploaded to the monitoring side chain;

[0183] S614: Upload the copyright registration information in plain text to the copyright chain.

[0184] Among them, S607 to S611 and other steps can be executed in parallel.

[0185] The above details the various embodiments corresponding to the monitoring method of the heterogeneous alliance chain. On this basis, the present application also discloses a monitoring system, monitoring device, equipment and computer non-volatile readable storage medium for the heterogeneous alliance chain corresponding to the above method.

[0186] In some embodiments of the present application, the monitoring system of the heterogeneous alliance chain provided by the embodiments of the present application includes: a first accounting node and a common node;

[0187] Among them, the ordinary node is used to broadcast the pending data to the first accounting node when receiving the pending data to be uploaded to the monitored business alliance chain;

[0188] The first accounting node is used to maintain a monitoring side chain pre-deployed in the monitoring cluster and connected to the monitored business alliance chain. When receiving the data to be reviewed, the first encryption processing is performed on the data to be reviewed to obtain the ciphertext of the data to be reviewed; the ciphertext of the data to be reviewed is uploaded to the monitoring side chain for review processing; if the data to be reviewed passes the review, the operation of uploading the data to the monitored business alliance chain is performed.

[0189] The monitoring system of the heterogeneous consortium chain provided in the embodiment of the present application may further include a second accounting node that jointly maintains the monitoring side chain with the first accounting node; the first accounting node is a supervision node, and the second accounting node is an inspection node;

[0190] The supervision node is also used to trigger supervision and review of unapproved data;

[0191] The inspection node is used to perform inspection and review tasks on the unapproved data on the monitoring side chain.

[0192] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, and they will not be repeated here.

[0193] In some embodiments of the present application, Figure 7 is a structural diagram of a monitoring device for a heterogeneous alliance chain provided in an embodiment of the present application.

[0194] As shown in FIG7 , the monitoring device for a heterogeneous alliance chain provided in an embodiment of the present application includes:

[0195] A deployment unit 701 is used to pre-deploy a monitoring side chain connected to the monitored business alliance chain;

[0196] The first encryption unit 702 is configured to, upon receiving data to be uploaded to the monitored business alliance chain, perform a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed;

[0197] The first uploading unit 703 is used to upload the ciphertext of the data to be reviewed to the monitoring side chain so as to review the data to be reviewed;

[0198] The second uploading unit 704 is configured to upload the data to be reviewed to the monitored business alliance chain if the data to be reviewed passes the review.

[0199] In some embodiments of the present application, the deployment unit 701 pre-deploys a monitoring side chain connected to the monitored business alliance chain, specifically:

[0200] The monitoring side chain is pre-deployed based on a first SPV light node located in the business cluster where the monitored business alliance chain is located and a second SPV light node located in the monitoring cluster.

[0201] In some embodiments of the present application, the first encryption unit 702 receives data to be uploaded to the monitored business alliance chain for review, specifically:

[0202] After receiving the data to be reviewed, ordinary nodes other than the accounting nodes of the monitoring side chain in the monitoring cluster of the monitoring side chain broadcast the data to be reviewed to the accounting nodes.

[0203] In some embodiments of the present application, the first encryption unit 702 performs a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited, specifically:

[0204] The data to be audited is encrypted using the public key agreed upon by each accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited.

[0205] In some embodiments of the present application, the first encryption unit 702 encrypts the data to be audited using the public key agreed upon by the accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited, specifically:

[0206] The data to be audited is encrypted using the first public key of the supervisory node in the accounting node and the second public key of the inspection node in the accounting node to obtain the ciphertext of the data to be audited.

[0207] In some embodiments of the present application, the first public key is specifically the node ID of the supervisory node, and the second public key is specifically the node ID of the inspection node.

[0208] In some embodiments of the present application, the first encryption unit 702 performs a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited, specifically including:

[0209] Obtain the audit data encryption strategy negotiated by the accounting node of the monitoring side chain from the monitoring side chain;

[0210] The audit data encryption strategy is used to perform a first encryption process on the data to be audited to obtain a ciphertext of the data to be audited.

[0211] In some embodiments of the present application, the first encryption unit 702 obtains the audit data encryption policy negotiated by the accounting node of the monitoring side chain from the monitoring side chain, specifically:

[0212] Obtain the audit data encryption policy from the key management channel of the self-monitoring side chain;

[0213] The first uploading unit 703 uploads the ciphertext of the data to be reviewed to the monitoring side chain to perform review processing on the data to be reviewed, specifically:

[0214] The ciphertext of the data to be reviewed is uploaded to the regulatory data channel of the monitoring side chain to review the data to be reviewed.

[0215] In some embodiments of the present application, the first encryption unit 702 obtains the audit data encryption policy negotiated by the accounting node of the monitoring side chain from the monitoring side chain, specifically:

[0216] Obtain the randomly generated keys of each accounting node from the monitoring side chain;

[0217] The first encryption unit 702 performs a first encryption process on the audit data using the audit data encryption strategy to obtain the ciphertext of the audit data, specifically:

[0218] The data to be audited is first encrypted using the randomly generated keys of each accounting node to obtain the ciphertext of the data to be audited.

[0219] In some embodiments of the present application, the monitoring device for a heterogeneous alliance chain provided in the embodiments of the present application further includes:

[0220] An audit status generating unit is used to add audit status information to the data to be audited after uploading the ciphertext of the data to be audited to the monitoring side chain for audit processing, and set the initial state to be unaudited;

[0221] The audit status updating unit is used to update the audit status information according to the audit results of the data to be audited.

[0222] In some embodiments of the present application, the monitoring device for a heterogeneous alliance chain provided in the embodiments of the present application further includes:

[0223] The supervisory review unit is used to keep the data to be reviewed in an encrypted and shielded state and trigger a supervisory review of the data that has not passed the review if the data to be reviewed fails to pass the review.

[0224] In some embodiments of the present application, the user with supervisory authority over the data to be reviewed is specifically all accounting nodes monitoring the side chain;

[0225] The accounting node also has the authority to audit the data to be audited and the authority to update the audit status information.

[0226] In some embodiments of the present application, the user with the right to view the audit status information is the supervisory node among the accounting nodes monitoring the side chain;

[0227] The accounting node also includes a supervision node that has the authority to audit the data to be audited and the authority to update the audit status information.

[0228] In some embodiments of the present application, the monitoring device for a heterogeneous alliance chain provided in the embodiments of the present application further includes:

[0229] The index upload unit is used to upload the ciphertext of the data to be reviewed to the monitoring side chain for review and then submit the index information of the data to be reviewed and the registration information of the data to be reviewed on the monitoring side chain to the monitored business alliance chain.

[0230] In some embodiments of the present application, the second uploading unit 704 performs an operation of uploading the data to be reviewed to the monitored business alliance chain, specifically including:

[0231] Perform a first decryption process on the ciphertext of the data to be reviewed to obtain the reviewed data;

[0232] Upload the reviewed data to the monitored business alliance chain.

[0233] In some embodiments of the present application, the second uploading unit 704 performs the operation of uploading the data to be reviewed to the monitored business alliance chain, specifically:

[0234] The supervisory key corresponding to the ciphertext of the data to be reviewed is made public to the supervisory data channel of the monitoring side chain so that all nodes in the monitoring cluster of the monitoring side chain can view it, so as to provide the ciphertext and supervisory key of the data to be reviewed when a request for approved data is received.

[0235] In some embodiments of the present application, the second uploading unit 704 performs an operation of uploading the data to be reviewed to the monitored business alliance chain, specifically:

[0236] The audit status information of the data to be audited is updated to the approved status in the regulatory data channel of the monitoring side chain, so that when a request for obtaining the approved data is received, the ciphertext of the data to be audited is first decrypted to obtain and provide the approved data.

[0237] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, and they will not be repeated here.

[0238] In some embodiments of the present application, Figure 8 is a structural diagram of a monitoring device for a heterogeneous alliance chain provided in an embodiment of the present application.

[0239] As shown in FIG8 , the monitoring device of the heterogeneous alliance chain provided in the embodiment of the present application includes:

[0240] a memory 810 for storing a computer program 811;

[0241] The processor 820 is used to execute the computer program 811, which, when executed by the processor 820, implements the steps of the monitoring method of the heterogeneous alliance chain as described in any of the above embodiments.

[0242] Among them, the processor 820 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 820 can be implemented in at least one hardware form of digital signal processing DSP (Digital Signal Processing), field programmable gate array FPGA (Field-Programmable Gate Array), and programmable logic array PLA (Programmable Logic Array). The processor 820 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as the central processing unit CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 820 may be integrated with a graphics processing unit GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 820 may also include an artificial intelligence AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0243] The memory 810 may include one or more computer non-volatile readable storage media, which may be non-transitory. The memory 810 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 810 is at least used to store the following computer program 811, wherein, after the computer program 811 is loaded and executed by the processor 820, it can implement the relevant steps in the monitoring method of the heterogeneous alliance chain disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 810 may also include an operating system 812 and data 813, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 812 may be Windows. Data 813 may include but is not limited to the data involved in the above method.

[0244] In some embodiments, the monitoring device of the heterogeneous alliance chain may also include a display screen 830, a power supply 840, a communication interface 850, an input and output interface 860, a sensor 870 and a communication bus 880.

[0245] Those skilled in the art will understand that the structure shown in FIG8 does not constitute a limitation on the monitoring device of the heterogeneous alliance chain, and may include more or fewer components than shown in the figure.

[0246] The monitoring device for the heterogeneous alliance chain provided in the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the above-mentioned monitoring method for the heterogeneous alliance chain, and the effect is the same as above.

[0247] It should be noted that the above-described embodiments of the apparatus and equipment are merely illustrative. For example, the division of modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of the apparatus or module, which may be electrical, mechanical or other forms. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0248] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.

[0249] If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a non-volatile computer-readable storage medium and executes all or part of the steps of the various embodiments of the present application.

[0250] To this end, an embodiment of the present application also provides a computer non-volatile readable storage medium, as shown in Figure 9, on which a computer program 901 is stored. When the computer program 901 is executed by the processor, the steps of the monitoring method of the heterogeneous alliance chain are implemented.

[0251] The computer non-volatile readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory ROM (Read-Only Memory), a random access memory RAM (Random Access Memory), a magnetic disk or an optical disk, and other media that can store program codes.

[0252] The computer program contained in the computer non-volatile readable storage medium provided in this embodiment can implement the steps of the above-mentioned heterogeneous alliance chain monitoring method when executed by the processor, and the effect is the same as above.

[0253] The above is a detailed introduction to the monitoring method, system, device, equipment and computer non-volatile readable storage medium for a heterogeneous alliance chain provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the systems, devices, equipment and computer non-volatile readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.

[0254] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only 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 "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A monitoring method for heterogeneous alliance chains, It is characterized in that include: Pre-deploy a monitoring side chain connected to the monitored business alliance chain; When receiving the data to be reviewed to be uploaded to the monitored business alliance chain, performing a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed; Uploading the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed; If the data to be reviewed passes the review, the operation of uploading the monitored business alliance chain is performed on the data to be reviewed.

2. The monitoring method according to claim 1, It is characterized in that The monitoring side chain pre-deployed and connected to the monitored business alliance chain is specifically: The monitoring side chain is pre-deployed based on a first SPV light node located in the business cluster where the monitored business alliance chain is located and a second SPV light node located in the monitoring cluster.

3. The monitoring method according to claim 1, It is characterized in that The received data to be uploaded to the monitored business alliance chain for review is specifically: After receiving the data to be reviewed, the ordinary nodes other than the accounting node of the monitoring side chain in the monitoring cluster of the monitoring side chain broadcast the data to be reviewed to the accounting node.

4. The monitoring method according to claim 1, It is characterized in that The first encryption process is performed on the data to be reviewed to obtain the ciphertext of the data to be reviewed, specifically: The data to be audited is encrypted with the public key agreed upon by each accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited.

5. The monitoring method according to claim 4, It is characterized in that The data to be audited is encrypted with the public key agreed upon by the accounting node of the monitoring side chain to obtain the ciphertext of the data to be audited, specifically: The data to be audited is encrypted using the first public key of the supervisory node in the accounting node and the second public key of the inspection node in the accounting node to obtain the ciphertext of the data to be audited.

6. The monitoring method according to claim 1, It is characterized in that The first encryption process is performed on the data to be reviewed to obtain the ciphertext of the data to be reviewed, specifically including: Obtaining from the monitoring side chain the audit data encryption strategy negotiated by the accounting node of the monitoring side chain; The first encryption process is performed on the data to be audited using the audit data encryption strategy to obtain a ciphertext of the data to be audited.

7. The monitoring method according to claim 6, It is characterized in that The audit data encryption strategy negotiated by the accounting node of the monitoring side chain obtained from the monitoring side chain is specifically: Obtaining the audit data encryption policy from the key management channel of the monitoring side chain; The ciphertext of the data to be reviewed is uploaded to the monitoring side chain to review the data to be reviewed, specifically: The ciphertext of the data to be reviewed is uploaded to the supervision data channel of the monitoring side chain to review the data to be reviewed.

8. The monitoring method according to claim 6, It is characterized in that The audit data encryption strategy negotiated by the accounting node of the monitoring side chain obtained from the monitoring side chain is specifically: Obtaining a randomly generated key from each of the accounting nodes from the monitoring side chain; The first encryption process is performed on the data to be audited by using the audit data encryption strategy to obtain the ciphertext of the data to be audited, specifically: The first encryption process is performed on the data to be audited using the key randomly generated by each of the accounting nodes to obtain the ciphertext of the data to be audited.

9. The monitoring method according to claim 1, It is characterized in that After uploading the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed, the method further includes: Adding audit status information to the data to be audited, and setting the initial status to an unaudited status; The audit status information is updated according to the audit result of the data to be audited.

10. The monitoring method according to claim 1, It is characterized in that Also includes: If the data to be reviewed fails to pass the review, the encrypted shielding state of the data to be reviewed is maintained and a supervisory review of the data that has not passed the review is triggered.

11. The monitoring method according to claim 1 or 10, It is characterized in that If the data to be reviewed does not contain harmful data, the data to be reviewed passes the review.

12. The monitoring method according to claim 10, It is characterized in that The users with the supervision authority for the data to be reviewed are specifically all the accounting nodes of the monitoring side chain; The accounting node also has the authority to audit the data to be audited and the authority to update the audit status information.

13. The monitoring method according to claim 10, It is characterized in that The user with the supervision authority for the data to be reviewed is specifically the supervision node in the accounting node of the monitoring side chain; The accounting node also includes a supervision node having the authority to audit the data to be audited and the authority to update the audit status information.

14. The monitoring method according to claim 1, It is characterized in that After uploading the ciphertext of the data to be reviewed to the monitoring side chain to review the data to be reviewed, the method further includes: Submit the index information of the data to be reviewed and the registration information of the data to be reviewed on the monitoring side chain to the monitored business alliance chain.

15. The monitoring method according to claim 1, It is characterized in that The operation of uploading the data to be reviewed to the monitored business alliance chain specifically includes: Performing a first decryption process on the ciphertext of the data to be reviewed to obtain reviewed data; The reviewed data is uploaded to the monitored business alliance chain.

16. The monitoring method according to claim 1, It is characterized in that The operation of uploading the data to be reviewed to the monitored business alliance chain is specifically: The supervision key corresponding to the ciphertext of the data to be reviewed is made public to the supervision data channel of the monitoring side chain, so as to be viewed by all nodes in the monitoring cluster of the monitoring side chain, so as to provide the ciphertext of the data to be reviewed and the supervision key when a request for obtaining the reviewed data is received.

17. The monitoring method according to claim 1, It is characterized in that The operation of uploading the data to be reviewed to the monitored business alliance chain is specifically: The audit status information of the data to be audited is updated to a reviewed status in the supervision data channel of the monitoring side chain, so that when a request for obtaining the reviewed data is received, the ciphertext of the data to be audited is first decrypted to obtain and provide the reviewed data.

18. A monitoring system for heterogeneous alliance chains, It is characterized in that include: The first accounting node and ordinary node; The common node is used to receive the data to be uploaded to the monitored business alliance chain for review. The data to be reviewed is broadcasted to the first accounting node; The first accounting node is used to maintain a monitoring side chain pre-deployed in the monitoring cluster and connected to the monitored business alliance chain. When the data to be reviewed is received, the first encryption processing is performed on the data to be reviewed to obtain the ciphertext of the data to be reviewed; the ciphertext of the data to be reviewed is uploaded to the monitoring side chain to review the data to be reviewed; if the data to be reviewed passes the review, the operation of uploading the data to be reviewed to the monitored business alliance chain is performed.

19. The monitoring system according to claim 18, It is characterized in that It also includes a second accounting node that jointly maintains the monitoring side chain with the first accounting node; the first accounting node is a supervision node, and the second accounting node is an inspection node; The supervision node is also used to trigger supervision and review of unapproved data; The inspection node is used to perform inspection and review tasks on the unreviewed data on the monitoring side chain.

20. The monitoring system according to claim 18, It is characterized in that If the data to be reviewed does not contain harmful data, the data to be reviewed passes the review.

21. A monitoring device for a heterogeneous alliance chain, It is characterized in that include: A deployment unit, used to pre-deploy a monitoring side chain connected to the monitored business alliance chain; A first encryption unit is used for, when receiving the data to be reviewed to be uploaded to the monitored business alliance chain, performing a first encryption process on the data to be reviewed to obtain a ciphertext of the data to be reviewed; A first uploading unit, used for uploading the ciphertext of the data to be reviewed to the monitoring side chain, so as to review the data to be reviewed; The second uploading unit is used to upload the data to be reviewed to the monitored business alliance chain if the data to be reviewed passes the review.

22. The monitoring device for heterogeneous alliance chain according to claim 21, It is characterized in that If the data to be reviewed does not contain harmful data, the data to be reviewed passes the review.

23. A monitoring device for a heterogeneous alliance chain, It is characterized in that include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the monitoring method of the heterogeneous alliance chain as described in any one of claims 1 to 17 are implemented.

24. A computer non-volatile readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the monitoring method of a heterogeneous alliance chain as described in any one of claims 1 to 17 are implemented.

Citation Information

Patent Citations

  • Tax system consensus method based on alliance chain

    CN109859024A

  • Block chain information management method, device and equipment and storage medium

    CN110119428A

  • Internet-of-Things information recording method and system

    CN112073440A

  • Heterogeneous alliance chain monitoring method, system, device and equipment and storage medium

    CN115840683A

  • Method and apparatus for querying account privacy information in blockchain

    WO2021179743A1