A Hierarchical Cross-Chain Supervision System for Blockchain and Its Reuse Implementation Method
Through the hierarchical cross-chain supervision system and relay routing components, the problem of heterogeneous interaction between the chain of supervision and business chain is solved, the security and flexibility of cross-chain data sharing is realized, and the rapid deployment and reuse of existing blockchain applications is supported.
Patent Information
- Application Number
- CN202310001341.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-01-03
AI Technical Summary
In the prior art, the heterogeneity of the chain of supervision and business chain in the hierarchical cross-chain supervision system leads to interaction difficulties, and lacks scalability and reusability, making it difficult to achieve effective interaction and data sharing of cross-chain supervision.
A hierarchical cross-chain supervision system is adopted, including the business layer, the supervision layer, the license layer and the cross-chain relay module. The relay routing components realize the loose coupling between the supervision layer and the business layer, and the attribute-based encryption algorithm is used to protect data privacy, and cross-chain data sharing and supervision are realized through the relay module. The relay module supports rapid deployment and reuse.
It realizes loose coupling between supervision and business, enhances the flexibility and scalability of the supervision structure, supports the security and privacy protection of cross-chain data sharing, and is easy to reuse in existing blockchain applications.
Smart Images

Figure CN116015685B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to layered cross-chain technology, and in particular to a layered cross-chain supervision system for blockchain and a multiplexing implementation method thereof. Background Art
[0002] A layered, cross-chain regulatory architecture is a governance approach for large-scale, multi-interactive blockchain networks. It aims to improve the centralized nature of information system oversight by building a decentralized regulatory chain, achieving decentralized and transparent data governance. In this layered, cross-chain regulatory approach, the separation of regulatory behavior from regulatory technology is achieved by separating the policy, regulatory, and business layers. The regulatory chain can access data from each business blockchain network through cross-chain methods such as node access, thereby achieving global oversight of all connected blockchains within the business blockchain network and ensuring the universality of the blockchain regulatory structure.
[0003] Layered cross-chain supervision technology involves the interaction between the supervisory chain and the business chain. However, due to the different regulatory and business requirements, the supervisory blockchain and the business blockchain are heterogeneous. The different business mechanisms and data structures of the heterogeneous chains make their interaction difficult. Therefore, a communication mechanism and cross-chain interoperability method that can achieve loosely coupled information interoperability between heterogeneous chains are urgently needed to help solve the problem of cross-chain supervisory interaction difficulties caused by the heterogeneity between the supervisory chain and the business chain.
[0004] The layered cross-chain regulatory structure can be widely applied to the supervision of various blockchain businesses. More importantly, the cross-chain method needs to have good scalability and reusability, and be universally applicable to existing blockchain applications. Without changing the underlying structure of the blockchain, the various modules can be encapsulated and interacted with each other through the mediator model, so that the architecture can be quickly reused in newly added regulatory and business blockchains. Summary of the Invention
[0005] Purpose of the invention: The purpose of the present invention is to address the deficiencies in the prior art and to provide a blockchain-oriented layered cross-chain supervision system and a method for its reuse.
[0006] Technical Solution: A layered cross-chain regulatory system for blockchains includes three business function modules: a business layer, a regulatory layer, and a permission layer, as well as a cross-chain relay module. The business layer is equipped with three types of business chains, including a business main chain, a business access chain responsible for specific business behaviors, and an information disclosure chain for recording and disclosing information. The regulatory layer is equipped with several regulatory chains used by regulatory agencies to oversee different business chains, thereby achieving cross-chain supervision. The permission layer is equipped with regulatory permission, business permission, and regulatory access permission modules, which jointly maintain the security and reliability of the business and regulatory functions of the regulatory structure. The cross-chain relay module implements cross-chain supervision and cross-chain data sharing between the regulatory layer and the business layer. The cross-chain relay module includes a relay routing component and a series of application chains. The application chains perform business logic functions and have cross-chain regulatory requirements. According to the regulatory process, the application chains can be divided into business chains and regulatory chains. The relay routing component includes a relay API and a relay chain. The relay API completes interaction with the business chain and regulatory chain and forwards cross-chain data. The relay chain is used to record cross-chain interactions and store cross-chain regulatory content.
[0007] The present invention's layered, cross-chain supervisory system for blockchains enables cross-chain data sharing and, to protect data security during cross-chain sharing, utilizes cryptographic methods to safeguard privacy and unauthorized access to shared data. The present invention's layered, cross-chain architecture achieves a loose coupling between the supervisory and business layers through cross-chain interaction modules, supporting the functional requirements of blockchain businesses and their oversight. Each module is independent and connected via relays, ensuring universal applicability and reusability.
[0008] Furthermore, the cross-chain supervision process of the cross-chain relay module is as follows:
[0009] Step S1: Application chain registration and token acquisition
[0010] The registration phase of the application chain (including the business chain and the supervision chain) includes two types of identity registration. The first type is that each user and device in the application must register their identity in the application to which they belong, and obtain the corresponding attribute key, system public key pk, master key mk and system private key sk according to their own attributes; the second type is that the application chain is registered in the relay chain to complete two-way confirmation to ensure the security of the cross-chain supervision process;
[0011] Step S2: Encrypted business data upload
[0012] Step S2.1: Data encryption
[0013] The business chain (including the business main chain, business access chain, and information disclosure chain) sets the access control policy As for the cross-chain regulatory data and generates an access control policy structure. It then uses the attribute-based encryption algorithm to complete the encryption operation on the access structure As and the cross-chain data M to be encrypted, and finally obtains the cross-chain data ciphertext CT containing the access control policy, where:
[0014] CT←ABE.Enc(pk,M,As) (1)
[0015] Step S2.2: Data signature
[0016] After the data encryption is completed, in order to avoid data damage during the upload process, the business chain private key sk is used to encrypt the result in the business chain. sig Sign and get the signature result Sig CT SIG(sk sig ,content)→Sig CT , and use the public key pk of the uploaded business chain in the relay routing module sig Verify the data sig , Sign CT );
[0017] Step S2.3: Data upload
[0018] The business chain determines the communication parameters of cross-chain interaction based on its own parameters and regulatory requirements, which mainly include the IP addresses of the business chain and the regulatory chain, the name of the interoperable channel, and the name of the chain code for interoperable execution. Then, the content is uploaded to the relay routing module in the form of an array, including the cross-chain data number id, data content values, etc. The data content is the ciphertext CT and signature Sig of the cross-chain regulatory data. CT ;
[0019] Step S3: The relay module records and forwards
[0020] Step S3.1: Relay route verification and acquisition
[0021] The relay router will set a listening port for the registered application chain. When the business chain initiates a cross-chain supervision, the relay router will obtain the cross-chain parameters and shared data content through the listening port. The relay router module will first perform signature verification:
[0022]
[0023] If the above equation is true, the verification is successful, and the relay routing node will receive the regulatory data ciphertext CT; Step S3.2, cross-chain content recording
[0024] After receiving the cross-chain request, the relay router stores the initiator, recipient, transaction number, transaction details, and access records of the cross-chain transaction in the relay chain;
[0025] Step S3.3: Relay routing cross-chain
[0026] The relay router will call the target chain contract through the listening port set for the target chain based on the cross-chain request’s supervision chain address, channel name, chain code name and other information to complete the cross-chain sharing of supervision data;
[0027] Cross_chain_data←Curl(request, url, head, (ip, channel, chaincode)) (3)
[0028] Step S4: Data decryption and result feedback
[0029] S4.1 Data Decryption
[0030] After the supervision chain obtains the business data, each node in the supervision chain can query and obtain the cross-chain shared ciphertext data. Each node can decrypt the ciphertext data content according to the key obtained from the attribute set. Only visitors who meet the access control policy set by the business chain can perform decryption to obtain the cross-chain data plaintext and perform supervision actions;
[0031] ABE.Dec(pk,sk,CT)→M (4)
[0032] S4.2. Access record status update
[0033] When a node in the supervision chain implements a supervision action, the access record status in the relay chain will be updated through the listening port to confirm the data accessor and ensure the accuracy of the data traceability afterwards.
[0034] Furthermore, during the registration of the application chain in the relay chain in step S1, in order to ensure that the relay router can perform query and invoke operations on the application chain in the subsequent process, a request will be made to obtain the bearer type token parameter of each application chain. The relay chain can only initiate service requests to each application chain using this token as the request header, otherwise access will be denied. To prevent the token from being stolen and copied, the token value is set to be automatically updated every 300 seconds;
[0035] bearer_token←Curl(request, url, header, (id, secret)) (5).
[0036] Furthermore, in the data signing process of step S2.2, the specific method for verifying the data is as follows:
[0037] Business chain based on sk sig As the signature private key, generate a signature for the regulatory data (regulatory request, regulated data); select a random number k and calculate the signature parameters R and S;
[0038]
[0039] You can get the signature Sig CT :=(R,S)←SIG(sk sig , CT).
[0040] Furthermore, the business layer comprises a business main chain, a business access chain, and an information disclosure chain. The business main chain, as the core component of the business layer, integrates specific business data from different business access chains and publishes the complete business data set to the information disclosure chain. Furthermore, because the business main chain possesses complete business data, the regulatory chain implements regulatory tracking of transaction records and acquisition of regulatory content through cross-chain access. The business access chain comprises multiple homogeneous / heterogeneous physical business blockchains used to implement specific business activities. Business subchains, when connected to the main chain, can obtain or upload data required or generated by business activities. The information disclosure chain serves as an information bulletin board within the business layer, enabling the public disclosure of business information and regulatory results within the business chain.
[0041] Furthermore, the regulatory layer is composed of different regulatory agencies that set up regulatory chains according to regulatory needs and strategies. In this structure, the regulatory layer implements comprehensive supervision of the business chain through three types of supervision: business main chain access supervision, where the regulatory chain can access the business main chain and obtain data within the business chain or call regulatory contracts according to regulatory needs to supervise the business behavior of the business chain; access chain supervision, where the regulatory chain implements further specific supervision of the access chain based on the main chain supervision results; and supervision result publication, where after the supervision action is completed, the supervision result is synchronized across chains to the public chain for recording and publicizing to ensure the authenticity and credibility of the supervision result.
[0042] Furthermore, the permission layer is set as an independent permission module, including business permission, regulatory permission and cross-layer access permission; the business permission module is responsible for the registration and access of the business entity or business access chain in the business main chain; the regulatory access permission module is responsible for the registration and access of the regulatory entity in the regulatory chain; the cross-layer access permission module is responsible for the access permission of the regulatory layer and the business layer in the relay module. Only through the authentication of the relay module can the interaction between the supervision and business layers be realized, and the supervision of the chain by chain can be realized.
[0043] The present invention also discloses a reuse implementation method for a layered cross-chain supervision system for blockchain, which is characterized in that: the layered cross-chain supervision system enables the mediator reuse mode, the mediator reuse mode encapsulates each functional blockchain (including the application chain management module, the auxiliary function module, the function execution module and the privacy protection module), and selects the proxy node, that is, selects the interface for each encapsulation module to interact with the intermediary, wherein the cross-chain supervision method constitutes a supervisory cross-chain relay routing component as a reusable intermediary, and different types of business chains and supervision chains can use the relay routing component to implement rapid deployment and supervision. Each functional chain initiates a registration request to the relay module through the selected cross-chain node. After the registration is completed, the monitoring module of the relay component receives the cross-chain request, completes the cross-chain supervision execution and recording, without modifying the business chain, and realizes the reusability of the relay module.
[0044] Furthermore, the relay routing component integrates relay routing functions, including application chain management module, auxiliary function module, function execution module and privacy protection module. The specific functions of each module are as follows:
[0045] The application chain management module is responsible for the management of the application chain network and the token value management function of each application chain node. A time expiration mechanism is designed. This module will periodically (for example, every 300 seconds) register with each application chain and apply for a token value. In addition, this module is responsible for relay routing and relay chain function settings.
[0046] The auxiliary function module is responsible for communication and status checking between the relay router and the application chain. In this module, the monitoring module and the execution module are responsible for monitoring the cross-chain requests of each function chain and calling the contracts of each application chain to complete the cross-chain function; in addition, the status check module mainly checks cross-chain transactions and data status to ensure the correct execution of the cross-chain process and content.
[0047] The function execution module is used to process cross-chain transactions of the application chain, participate in the query and invoke operations of the application chain, and implement the cross-chain process; the module also involves the relay business module responsible for recording, updating and querying cross-chain records and data;
[0048] The privacy protection module mainly uses cryptographic algorithms to achieve privacy protection and access control of cross-chain regulatory data.
[0049] Beneficial Effects: This invention proposes a hierarchical cross-chain supervision structure, and based on this architecture, proposes a cross-chain method and component based on relay routing, which achieves hierarchical decoupling of supervision and business functions, thereby improving the feasibility of supervision. In addition, the application of relay modules and integrated components ensures that this supervision structure can achieve efficient cross-chain supervision between business chains and supervision. Furthermore, the integrated components based on this method facilitate the deployment and reuse of relay modules. Compared with the existing technology, the beneficial effects of this invention are:
[0050] (1) Propose a blockchain regulatory structure based on layered cross-chain
[0051] This paper proposes a layered, cross-chain regulatory architecture for blockchain systems. This architecture separates the coupled regulatory and business functions of existing regulatory approaches, creating independent business and regulatory layers. Furthermore, to ensure business oversight, a relay interaction module enables the exchange of regulatory data. This architecture reconciles the need for centralized regulatory authority with the decentralized operational requirements of blockchain, addressing the challenges of blockchain regulation while minimizing the impact of regulatory activities on the underlying blockchain business.
[0052] (2) Achieve loose coupling between supervision and business, and enhance the flexibility of the regulatory structure
[0053] The chain-based regulatory structure proposed in this invention utilizes the relay module to share data across chains, thereby achieving relative independence between the regulatory chain and the business chain, and between regulatory content and business content; achieving relative independence between regulatory technology and regulatory content, and regulatory technology can be widely applied to the supervision of different business chains through smart contracts; achieving relative independence between regulatory rules and regulatory implementation, and the licensing layer can adjust regulatory strategies at any time according to demand, regardless of specific regulatory actions, thereby enhancing the regulatory flexibility of the regulatory structure.
[0054] (3) Easy to reuse in existing blockchain applications
[0055] The layered cross-chain supervision structure proposed in the present invention realizes the supervision interaction between the supervision chain and the business chain by integrating the relay routing module. There is no need to change the current blockchain underlying structure. Therefore, it is widely compatible with existing blockchains and can be easily reused in current blockchain applications, thereby regulating existing blockchain applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 This is the overall system architecture diagram of the present invention;
[0057] Figure 2 This is a schematic diagram of relay routing cross-chain data sharing in the embodiment;
[0058] Figure 3 It is a schematic diagram of the overall workflow of the present invention;
[0059] Figure 4 This is a structural diagram of the relay routing cross-chain data sharing integrated component in the embodiment;
[0060] Figure 5 Schematic diagram of the specific cross-chain regulatory data sharing stage of the embodiment. DETAILED DESCRIPTION
[0061] The technical solution of the present invention is described in detail below, but the protection scope of the present invention is not limited to the embodiments.
[0062] like Figure 1 As shown in the figure, the hierarchical cross-chain supervision system for blockchain of the present invention includes a supervision layer, a business layer, a permission layer, and a cross-chain relay module (relay interaction module). The business layer is responsible for integrating the current business blockchain to process business functions, as well as recording and storing business data, supervision results, and other content. The supervision layer is responsible for executing supervision actions, obtaining the data to be supervised by the business layer for supervision audit, and publishing supervision results. The permission layer is responsible for access control of each business layer within the structure, and is also responsible for permission control of collaborative interoperability between modules.
[0063] The relay interaction module is the core of cross-chain supervision. The relay-based cross-chain supervision structure and execution process are as follows: Figure 2 and Figure 3 As shown, the cross-chain relay module realizes cross-chain supervision and cross-chain data sharing between the supervision layer and the business layer. The cross-chain relay module includes a relay routing component and a series of application chains. The application chain performs business logic functions and has cross-chain supervision requirements. According to the supervision process, the application chain can be divided into a business chain and a supervision chain; the relay routing component includes a relay API and a relay chain. The relay API completes the interaction with the business chain and the supervision chain and cross-chain data forwarding, and the relay chain is used for cross-chain interaction records and storage of cross-chain supervision content. In order to improve the flexibility and reusability of cross-chain, this embodiment integrates the cross-chain relay into a relay routing component, through which the blockchain cross-chain network structure can be quickly deployed. The specific component structure is shown in the figure. Figure 4 shown.
[0064] like Figure 5 As shown in FIG, the cross-chain data sharing process of the hierarchical cross-chain supervision system for blockchain in this embodiment is summarized into 8 execution steps:
[0065] 1. The business chain completes internal registration and registration on the relay chain. Participants within the application chain initiate registration requests to the CA. Once approved, they can execute the contract on the application chain to complete business functions. To achieve cross-chain data sharing based on the relay, the application chain will register on the relay and complete mutual authentication between the relay and the application. After authentication is complete, the relay chain will request tokens from each business chain to serve as authentication header files for cross-chain transmissions to facilitate cross-chain communication between the business chain, achieving trusted interaction between the application chain and the relay router.
[0066] In this embodiment, in order to protect the privacy of the cross-chain ciphertext, the sending chain and the destination chain will also apply for attribute keys, and the key distribution center uses the key initialization algorithm ABE.KeyGen to generate the system public key pk and master key mk.
[0067] ABE.Setup(1λ )→(pk,mk) (2)
[0068] The key distribution center distributes pk and mk to the sending chain for cross-chain data encryption. The target chain node will apply for decryption private key based on its own attribute set, and the key distribution center uses the key generation algorithm to generate the private key sk.
[0069] ABE.KeyGen(pk,mk,S)→sk (3)
[0070] You can request a token using the following method:
[0071] curl --request POST\
[0072] --url http: / / appchain IP address:port / user / enroll\
[0073] --header'Authorization:Bearer'
[0074] --data'{"id":" <user-id>","secret":" <user-secret>"}'
[0075] 2. Data Encryption. After registration and authentication are complete, when a business chain needs to cross-chain, it can initiate a cross-chain transaction to the custody chain through the relay chain. To ensure privacy, security, and access control during the cross-chain process, the business chain will encrypt the shared data before uploading it across chains. In this embodiment, attribute-based encryption is used to achieve data privacy and access control. After encryption, the data remains encrypted during cross-chain sharing.
[0076] 3. Data upload. After data encryption is completed, the business chain will execute the sending request, sending the data to be shared and the cross-chain parameters as a sending request through the designated port. The monitoring module in the relay router will intercept the cross-chain request and complete the data upload.
[0077] 4. Relay routing acquisition. The relay routing module will listen to the designated port to obtain cross-chain requests and verify the content of the request. If there is an exception, an error will be returned. Otherwise, the relay module obtains specific cross-chain parameters and cross-chain content. The specific parameter data structure is described below.
[0078] from,to:{
[0079] "url":"",
[0080] "channel":"",
[0081] "chaincode":"",
[0082] "name""",
[0083] "token":"",
[0084] "method":"",
[0085] "key":[""]
[0086] }
[0087] According to the cross-chain parameters, you can specify the target chain address, target chain channel, chain code, function name, etc. of the cross-chain transaction.
[0088] 5. Relay routing. The relay routing will complete the cross-chain data forwarding based on the target chain parameters of the cross-chain transaction. By executing the business contract on the target chain through the relay routing, the cross-chain data forwarding can be completed. The data will be shared and synchronized with the on-chain ledger of the target chain.
[0089] The specific method of relay routing cross-chain is as follows:
[0090]
[0091] 6. Relay Chain Records. After the relay router completes data forwarding, it needs to store the cross-chain transaction records on the relay chain. The relay chain will record the cross-chain sending chain, target chain, cross-chain timestamp, cross-chain status, and specific cross-chain confidential content.
[0092] 7. Decryption on the supervisory chain. After relay routing, cross-chain data will be synchronized to the supervisory chain ledger. Supervisory nodes can query and obtain the key cross-chain content. Each node can attempt to decrypt the cross-chain content based on the attribute key obtained from its own attribute set. If the attribute set meets the access control requirements, the cross-chain content can be decrypted and the plaintext can be obtained, completing the data sharing process.
[0093] 8. Access status update. When a node in the custody chain completes access to cross-chain data, the custody chain will request to update the cross-chain access status on the relay chain through the listening port and record the visitor.
[0094] Example:
[0095] This embodiment describes the above eight steps as follows:
[0096]
Claims
1. A layered cross-chain supervision system for blockchain, characterized by: It includes three business function modules: business layer, regulatory layer, and permission layer, as well as a cross-chain relay module; The business layer is equipped with three types of business chains, including the business main chain, the business access chain responsible for specific business behaviors, and the information disclosure chain for recording and disclosing information; the regulatory layer is equipped with several regulatory chains used by regulatory agencies to supervise different business chains to achieve cross-chain supervision; the permission layer is equipped with regulatory permission, business permission and regulatory access permission modules to jointly maintain the security and reliability of the business and regulatory functions of the regulatory structure; the cross-chain relay module realizes cross-chain supervision and cross-chain data sharing between the regulatory layer and the business layer. The cross-chain relay module includes a relay routing module and a series of application chains. The application chain executes business logic functions and has cross-chain supervision requirements. According to the supervision process, the application chain can be divided into business chain and supervision chain; the relay routing module includes a relay API and a relay chain. The relay API completes the interaction and cross-chain data forwarding with the business chain in the business layer and the supervision chain in the regulatory layer, and the relay chain is used to store cross-chain interaction records and cross-chain supervision content.
2. The layered cross-chain supervision system for blockchain according to claim 1 is characterized by: The detailed process of cross-chain supervision of the cross-chain relay module is as follows: Step S1: Application chain registration and token acquisition The application chain registration phase includes two types of identity registration. The first type is that each user and device within the application must register their identity in the application to which they belong, and obtain the corresponding attribute keys based on their own attributes: system public key pk, master key mk and system private key sk; the second type is that the application chain is registered in the relay chain to complete two-way confirmation; Step S2: Encrypted business data upload Step S2.1: Data encryption The business chain sets the access control policy As for cross-chain regulatory data and generates an access control policy structure. It then uses the attribute-based encryption algorithm to complete the encryption operation on the access structure As and the cross-chain data M to be encrypted, and finally obtains the cross-chain data ciphertext CT containing the access control policy, where: CT←ABE.Enc(pk,M,As) (1) Step S2.2: Data signature After the data encryption is completed, the business chain private key sk is used for the encryption result within the business chain sig Sign and get the signature result SigCT, where SIG(sk sig ,content)→Sig CT , and use the public key pk of the uploaded business chain in the relay routing module sig Verify the data sig ,Sig CT ); Step S2.3: Data upload The business chain determines the communication parameters for cross-chain interaction based on its own parameters and regulatory requirements. The communication parameters include the IP addresses of the business chain and the regulatory chain, the name of the interoperable channel, and the name of the chain code for interoperable execution. Then, the content is uploaded to the relay routing module in the form of an array, including the cross-chain data number id and data content values. The data content is the ciphertext CT and signature Sig of the cross-chain regulatory data. CT ; Step S3: The cross-chain relay module records and forwards Step S3.1: Relay route verification and acquisition The relay routing module will set a listening port for the registered application chain. When the business chain initiates a cross-chain supervision, the relay routing will obtain the cross-chain parameters and shared data content through the listening port. The relay routing module will first perform signature verification: if the verification passes, the relay routing module will receive the regulatory data ciphertext CT; Step S3.2: Cross-chain content recording After receiving the cross-chain request, the relay routing module stores the initiator, recipient, transaction number, transaction details, and access records of the cross-chain transaction in the relay chain; Step S3.3: Relay routing cross-chain The relay routing module will call the target chain contract through the listening port set for the target chain based on the cross-chain request’s supervision chain address, channel name, and chain code name to complete the cross-chain sharing of supervision data; Step S4: Data decryption and result feedback S4.1 Data Decryption After the supervision chain obtains the business data, each node in the supervision chain can query and obtain the cross-chain shared ciphertext data. Each node can decrypt the ciphertext data content according to the key obtained from the attribute set. Only visitors who meet the access control policy set by the business chain can perform decryption to obtain the cross-chain data plaintext and perform supervision actions; ABE.Dec(pk,sk,CT)→M (4) S4.
2. Access record status update When a node in the supervision chain implements a supervision action, the access record status in the relay chain will be updated through the listening port to confirm the data accessor.
3. The layered cross-chain supervision system for blockchain according to claim 2 is characterized by: During the registration of the application chain in the relay chain in step S1, in order to ensure that the relay router can perform query and invoke operations on the application chain in the subsequent process, a request will be made to obtain the bearer type token parameter of each application chain. The relay chain can only initiate service requests to each application chain using this token as the request header, otherwise access will be denied. To prevent the token from being stolen and copied, the token value is set to be automatically updated periodically; bearer_token←Curl(request,url,header,(id,secret)) (5).
4. The layered cross-chain supervision system according to claim 2, characterized in that: During the data signing process in step S2.2, the specific method for verifying the data is as follows: Business chain based on sk sig As the signature private key, generate a signature for the regulatory data; select a random number k and calculate the signature parameters R and S; Finally get the signature Sig CT :=(R,S)←SIG(sk sig , CT).
5. The layered cross-chain supervision system for blockchain according to claim 1 is characterized by: The business main chain of the business layer integrates the specific business data of different business access chains and publishes the complete business data set to the information disclosure chain. Since the business main chain has complete business data, the supervision chain implements the supervision tracking of transaction records and the acquisition of supervision content through cross-chain access; the business access chain is a plurality of homogeneous / heterogeneous entity business blockchains, which are used to implement specific business behaviors. When the business sub-chain is connected to the main chain, it obtains or uploads the data required or generated by the business behavior; the information disclosure chain serves as an information bulletin board in the business layer to realize the disclosure of business information and supervision results within the business chain.
6. The layered cross-chain supervision system for blockchain according to claim 1 is characterized by: The supervision chain in the supervision layer is set up by different regulatory agencies in accordance with regulatory needs and policies; when the business main chain is brought under supervision, the supervision chain can be connected to the business main chain, obtain data within the business chain or call the supervision contract according to regulatory needs, and realize the supervision of the business behavior of the business chain; when the business access chain is brought under supervision, the supervision chain implements further specific supervision of the access chain according to the supervision results of the main chain; the supervision results are released, and after the supervision action is completed, the supervision results are synchronized across chains to the public chain for record and publicity.
7. The layered cross-chain supervision system for blockchain according to claim 1, characterized in that: The business permission module of the permission layer is responsible for the registration and access of the business entity or business access chain in the business main chain; the supervision access permission module of the permission layer is responsible for the registration and access of the supervision entity in the supervision chain; the cross-layer access permission module of the permission layer is responsible for the access permission of the supervision layer and the business layer in the relay module. Only through the authentication of the relay module can the interaction between the supervision and business layers be realized.
8. A method for implementing a multiplexing layered cross-chain supervision system for blockchain according to any one of claims 1 to 7, characterized in that: The layered cross-chain regulatory system enables the reuse of mediators; The intermediary reuse mode encapsulates each functional blockchain, and selecting the proxy node is to select the interface for each encapsulated module to interact with the intermediary. The cross-chain supervision method constitutes a supervisory cross-chain relay routing module as a reusable intermediary. Different types of business chains and supervision chains use the relay routing module for rapid deployment and supervision; each functional chain initiates a registration request to the relay module through the selected cross-chain node. After the registration is completed, the listening module of the relay component receives the cross-chain request and completes the cross-chain supervision execution and recording without modifying the business chain, thereby realizing the reusability of the relay module.
9. The method for implementing a multiplexing layered cross-chain supervision system for blockchain according to claim 8, characterized in that: The relay routing module integrates relay routing functions, including application chain management module, auxiliary function module, function execution module and privacy protection module. The specific functions of each module are as follows: The application chain management module is responsible for the management of the application chain network and the management function of the token value of each application chain node. It contains a time expiration mechanism. The application chain management module will periodically register with each application chain and apply for a token value once. In addition, this module is responsible for relay routing and relay chain function settings; The auxiliary function module is responsible for communication and status checking between the relay router and the application chain. In this auxiliary function module, the monitoring module and the execution module are responsible for monitoring the cross-chain requests of each function chain and calling the contracts of each application chain to complete the cross-chain function; The function execution module is used to process cross-chain transactions of the application chain, participate in the query and invoke operations of the application chain, and implement the cross-chain process; the function execution module can also realize the relay business module responsible for recording, updating and querying cross-chain records and data; The privacy protection module mainly uses cryptographic algorithms to achieve privacy protection and access control of cross-chain regulatory data.
Citation Information
Patent Citations
Data cross-blockchain access control method and system in multi-blockchain scene, equipment and terminal
CN113364735A
Relay chain cross-chain architecture-oriented access control and resource access control method and system
CN113572825A