A data cross-domain transaction system supporting fine-grained supervision
By using relay chains and multi-module systems in cross-domain data transactions, the problem of difficulty in achieving fine-grained supervision of cross-domain data transactions in the existing technology is solved, the security of transactions and data integrity are achieved, and the effects of decentralization, availability and tamper-proof are achieved.
Patent Information
- Application Number
- CN202411831545.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-04
AI Technical Summary
The existing technology is difficult to implement fine-grained supervision in cross-domain data transactions, resulting in complex and limited transaction processes, and the security and compliance of data transactions cannot be guaranteed.
The identities of both parties to the transaction and the data to be traded are determined through the relay chain, and the status of the cross-domain transaction contract is transmitted. Combined with the cross-chain information verification module, supervision module, transaction verification module, cross-chain payment module and cross-domain information transfer module, fine-grained supervision and transaction verification are achieved.
It realizes the decentralization, availability and tamper-proofness of cross-domain data transactions, ensures the security of transactions and the integrity of data, has fine-grained regulatory capabilities, and can dynamically adapt to the requirements of different laws and regulations.
Smart Images

Figure CN119762062A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a data cross-domain transaction system that supports fine-grained supervision. Background Art
[0002] The present invention mainly solves the security and compliance issues of data trading systems for cross-domain transactions. Other current technical solutions use blockchain technology to implement decentralized data trading systems. In order to ensure that transactions follow the rules established by the system or to ensure the security and controllability of data transactions, it is usually required that both parties to the transaction register accounts in the same system, and the purchased data assets must also be registered on the current system. This results in complex and restricted transaction processes when dealing with cross-regional, cross-industry and cross-national data transactions. Since data cannot be separated from the blockchain to gain mutual trust, if a cross-domain data transaction occurs, the data trading system where the buyer and seller are located cannot perform fine-grained supervision of this cross-domain data transaction. Summary of the invention
[0003] 1. Technical issues to be resolved
[0004] In view of the shortcomings of the prior art, the present invention provides a data cross-domain transaction system that supports fine-grained supervision, focusing on the security of transactions and fine-grained supervision characteristics. First, the identities of the transaction parties and the data to be traded can be determined through the relay chain, and the cross-domain transaction contract status can be trusted to ensure the security of the transaction. In addition, based on the identity data transmitted by the relay chain, identity attributes can be used to perform supervision based on identity attribute granularity.
[0005] (II) Technical solution
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a data cross-domain transaction system supporting fine-grained supervision, including a cross-chain information verification module, a supervision module, a transaction verification module, a cross-chain payment module and a cross-domain information transmission module;
[0007] The cross-chain information verification module is used to verify the information transmitted from the external domain. The cross-chain information verification module ensures the integrity and real-time performance of the transmitted data;
[0008] The supervision module is written according to the laws and regulations of the location where the data trading system is located, and supervises the identities of the transaction parties and the data assets being traded;
[0009] The transaction verification module is used to execute the transaction logic, including verifying whether the transaction amount paid by the buyer meets the price defined by the seller, the additional terms of the transaction, and certain special agreements between the two parties to the transaction;
[0010] The cross-chain payment module transfers funds from an account on one blockchain to an account on another blockchain;
[0011] The cross-domain information transmission module is implemented by blockchain and deployed on the relay chain. The cross-domain data asset transaction process can be divided into two stages, each running on the blockchain smart contract on the buyer's domain BCp and the seller's domain BCq.
[0012] Preferably, the cross-chain information verification module verifies the information transmitted from the external domain, including the cross-domain resolved identity and certain states on the external domain blockchain.
[0013] Preferably, the cross-chain information verification module function is defined as: SCp.Verify(BCq,rootHash,Key,Value)→Bool.
[0014] Preferably, the supervision module performs fine-grained supervision on data assets entering and leaving the domain by parsing the information in the ID document from the ID identifier of the data asset, or specifies identity attributes and requires both users of the transaction to submit corresponding verifiable credentials for attribute-based supervision. The supervision module is defined as: SCp.Regulate(ID,[]Attr,statement)→Bool.
[0015] Preferably, the transaction verification module has no return value, but releases a set of contract events to fix the results of the transaction execution on the blockchain. The transaction verification module is defined as: SCp.Transact([]param,statement)Event(BuySuccess,[]data).
[0016] Preferably, the cross-chain payment module refers to the ERC20 standard and is defined as:
[0017] SCp.Approve(IDb,IDs,num)=>Event(TransferSuccess);
[0018] SCq.TransferFrom(IDb,IDs,num).
[0019] Preferably, the cross-domain information transmission module has two tasks: first, data collection function, collecting and transmitting the intermediate status of cross-domain data transactions released in the form of logs on SCp and SCq, and querying its specific identity information according to the user or data ID;
[0020] The second data transfer function transfers the collected data to another domain through contract calls. The above two functions can be defined as:
[0021] SCr.Set(Key,Value);
[0022] SCr.Send(Addr,Key,Value).
[0023] Preferably, the buyer's contract specifically includes the following steps:
[0024] S1. When user Ub fully understands the data asset information outside the domain through the identity cross-domain mechanism and decides to purchase this data, user Ub calls the cross-domain information verification module to verify the asset to be purchased and the seller's identity information;
[0025] S2. When the identity information is verified, the supervision module is called to supervise the transaction. The attribute information is obtained by parsing the ID document, or by actively providing verifiable credentials;
[0026] S3. After passing the supervision, call the transaction verification module and pass in the necessary transaction parameters, such as the price of the data to be purchased and the amount to be paid;
[0027] S4. After the transaction verification module is executed, it means that the buyer's system approves the transaction and calls SCp.Approve(IDb,IDs,num) to perform cross-chain transfer;
[0028] S5. The relay chain collects events released by the transaction verification module, which includes the proof of approved transaction BuySuccess, and events released by the cross-chain payment module, which includes the proof of successful payment TransferSuccess. The relay chain constructs and sends the transaction to the blockchain BCq, calling the seller contract SCq.
[0029] Preferably, the seller contract specifically includes the following steps:
[0030] T1. In addition to verifying the off-domain identity information, the cross-domain information verification module should also verify whether the transaction is approved and whether the cross-chain payment is successful;
[0031] T2. The regulatory module is basically the same as the buyer's contract, but the statement should be adjusted according to the laws and regulations that the current system complies with;
[0032] T3. The transaction verification module shall verify whether the digital asset price and the amount of cross-chain payment match, and perform other verifications according to the transaction regulations of the system;
[0033] T4. After the transaction verification module is executed, it means that the seller system approves the transaction and calls SCq.TransferFrom(IDb,IDs,num) to perform cross-chain transfer;
[0034] T5. The relay chain initiates an off-domain request ENp.request(BCq,{GetSellState}) to obtain the event released by the domain BCq transaction verification module. The response result includes the proof of approved transaction, the root hash value of the data block, the node list of the hosting node where the data asset is located, and the event released by the cross-chain payment module. The relay chain sends the cross-domain request result to the user to complete the cross-chain transaction. After that, the user initiates an off-domain data transmission request based on the proof.
[0035] (III) Beneficial effects
[0036] The present invention provides a data cross-domain transaction system that supports fine-grained supervision. Compared with the prior art, it has the following beneficial effects:
[0037] (1) The cross-domain data transaction system that supports fine-grained supervision can ensure the decentralization, availability, and tamper-proofness of cross-domain data transactions by using relay chain technology as a trusted intermediary for cross-domain data transactions. The present invention first transmits the user's identity information through the relay chain, and embeds a supervision mechanism based on identity attribute information in the transaction module, which can ensure the fine-grained superviseability of cross-domain data transactions. The present invention designs a transaction rollback mechanism, which can safely ensure the security of funds and data when abnormalities occur in data transactions, such as violations of regulatory rules, insufficient funds, etc.
[0038] (2) The data cross-domain transaction system that supports fine-grained supervision uses the relay chain as a bridge to connect different blockchain domains to achieve identity confirmation and trusted status transmission of cross-domain transaction parties and transaction data. The relay chain not only collects and transmits the contract execution status, but also undertakes the task of aggregating and transmitting the identity information of users and data on the chain to ensure the security of transactions and the integrity of data. The present invention utilizes identity attributes and an ID-based resolution mechanism to achieve fine-grained supervision of the identities of both parties to the transaction and the data assets being traded. The supervision module can dynamically supervise based on the information obtained by resolving the ID identifier of the data asset, or it can require both parties to the transaction to provide verifiable credentials and implement attribute-based supervision to meet the requirements of different laws and regulations.
[0039] (3) The data cross-domain transaction system that supports fine-grained supervision is responsible for verifying information from the external domain, including cross-domain resolved identities and certain states on the blockchain, to ensure the integrity and real-time nature of the transmitted data. The key to the implementation of this module is to ensure the security and accuracy of data during cross-chain transmission and provide reliable information support for both parties to the transaction. With reference to the ERC20 standard, the present invention realizes the transfer of funds from one blockchain account to another blockchain account. This module not only ensures the security of funds, but also confirms and records the payment success status through smart contract events (such as TransferSuccess).
[0040] (4) The data cross-domain transaction system that supports fine-grained supervision is deployed on the relay chain and is responsible for collecting the intermediate state information of cross-domain data transactions released on the smart contract and securely transmitting it to another domain. This function ensures the smoothness and security of data transactions, allowing transaction information to flow reliably between different blockchain domains, by executing transaction logic, including but not limited to verifying whether the transaction amount paid by the buyer meets the price defined by the seller, the additional terms of the transaction, and the special agreement between the two parties. The transaction verification module is automatically executed through smart contracts to ensure the transparency and fairness of the transaction process. The key technology is to fix the transaction results through blockchain events to ensure the immutability and traceability of transaction information.
[0041] (5) The data cross-domain transaction system that supports fine-grained supervision, the smart contract in the present invention will release a series of events, such as BuySuccess and TransferSuccess, after the transaction verification is passed. These events not only indicate the success of the transaction, but also provide verifiable evidence for each transaction on the chain, which increases the trust of the system and reduces transaction disputes. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a structural principle diagram of the system of the present invention;
[0043] Figure 2 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] See also Figure 1-2 ,The embodiment of the present invention provides two technical solutions: a data cross-domain transaction system supporting fine-grained supervision, including a cross-chain information verification module, a supervision module, a transaction verification module, a cross-chain payment module, and a cross-domain information transmission module;
[0046] The cross-chain information verification module is used to verify the information transmitted from the external domain. The cross-chain information verification module ensures the integrity and real-time performance of the transmitted data;
[0047] The supervision module is written according to the laws and regulations of the location where the data trading system is located, and supervises the identities of the transaction parties and the data assets being traded;
[0048] The transaction verification module is used to execute the transaction logic, including verifying whether the transaction amount paid by the buyer meets the price defined by the seller, the additional terms of the transaction, and certain special agreements between the two parties;
[0049] Cross-chain payment module. Currently, there are many cross-chain payment solutions. This article does not go into the technical details of cross-chain payment. The cross-chain payment function is abstracted as transferring funds from an account on one blockchain to an account on another blockchain.
[0050] The cross-domain information transmission module is implemented by the blockchain and deployed on the relay chain. The cross-domain data asset transaction process can be divided into two stages, each running on the blockchain smart contract on the buyer's domain BCp and the seller's domain BCq.
[0051] In the embodiment of the present invention, the cross-chain information verification module verifies the information transmitted from the external domain, including the cross-domain resolved identity and certain states on the external domain blockchain. The function of the cross-chain information verification module is defined as: SCp.Verify(BCq,rootHash,Key,Value)→Bool.
[0052] In an embodiment of the present invention, the supervision module performs fine-grained supervision on data assets entering and leaving the domain by parsing the information in the ID document from the ID identifier of the data asset, or specifies identity attributes and requires both users of the transaction to submit corresponding verifiable credentials to perform attribute-based supervision. The supervision module is defined as: SCp.Regulate(ID,[]Attr,statement)→Bool.
[0053] In the embodiment of the present invention, the transaction verification module has no return value, but will release a set of contract events to fix the results of the transaction execution on the blockchain. The transaction verification module is defined as: SCp.Transact([]param,statement)Event(BuySuccess,[]data).
[0054] In the embodiment of the present invention, the cross-chain payment module refers to the ERC20 standard and is defined as:
[0055] SCp.Approve(IDb,IDs,num)=>Event(TransferSuccess);
[0056] SCq.TransferFrom(IDb,IDs,num).
[0057] The cross-domain information transmission module has two tasks: the first is the data collection function, which collects and transmits the intermediate status of cross-domain data transactions released in the form of logs on SCp and SCq, and queries its specific identity information based on the user or data ID;
[0058] The second data transfer function transfers the collected data to another domain through contract calls. The above two functions can be defined as:
[0059] SCr.Set(Key,Value);
[0060] SCr.Send(Addr,Key,Value).
[0061] Embodiment 2: The technical solution implemented in the present invention is different from that in Embodiment 1 in that: the buyer's contract specifically includes the following steps:
[0062] S1. When user Ub fully understands the data asset information outside the domain through the identity cross-domain mechanism and decides to purchase this data, user Ub calls the cross-domain information verification module to verify the asset to be purchased and the seller's identity information;
[0063] SCb.Verify(BCq,rootHash,IDs,Attrs)&SCb.Verify(BCq,rootHash,IDd,Attrd).
[0064] S2. When the identity information is verified, the supervision module is called to supervise the transaction. The attribute information is obtained by parsing the ID document, or by actively providing verifiable credentials;
[0065] SCp.Regulate(IDs,{Attrs,VC1,...,VCn},statement)&SCp.Regulate(IDb,{Attrb,VC1,...,VCn},statement)
[0066] &SCp.Regulate(IDd,{Attrd},statement).
[0067] S3. After passing the supervision, call the transaction verification module and pass in the necessary transaction parameters, such as the price of the data to be purchased and the amount to be paid;
[0068] SCp.Transact({IDd,Attrd,token,number,...},statement).
[0069] S4. After the transaction verification module is executed, it means that the buyer's system approves the transaction and calls SCp.Approve(IDb,IDs,num) to perform cross-chain transfer;
[0070] S5. The relay chain collects events released by the transaction verification module, which includes the proof of approved transaction BuySuccess, and events released by the cross-chain payment module, which includes the proof of successful payment TransferSuccess. The relay chain constructs and sends the transaction to the blockchain BCq, {BuySuccess, TransferSuccess, IDb, IDd, Sigb}, and calls the seller contract SCq.
[0071] In the embodiment of the present invention, the seller contract specifically includes the following steps:
[0072] T1. In addition to verifying the off-domain identity information, the cross-domain information verification module should also verify whether the transaction is approved and whether the cross-chain payment is successful;
[0073] SCq.Verify(BCp,rootHash,tx,BuySuccess)&SCq.Verify(BCp,rootHash,tx,TransferSuccess).
[0074] T2. The regulatory module is basically the same as the buyer's contract, but the statement should be adjusted according to the laws and regulations that the current system complies with;
[0075] T3. The transaction verification module shall verify whether the digital asset price and the amount of cross-chain payment match, and perform other verifications according to the transaction regulations of the system;
[0076] T4. After the transaction verification module is executed, it means that the seller system approves the transaction and calls SCq.TransferFrom(IDb,IDs,num) to perform cross-chain transfer;
[0077] T5. The relay chain initiates an off-domain request ENp.request(BCq,{GetSellState}) to obtain the event released by the domain BCq transaction verification module. The response result includes the proof of approved transaction, the root hash value of the data block, the node list of the hosting node where the data asset is located, {SellSuccess, rootHashd, {DNd}}, and the event released by the cross-chain payment module. The relay chain sends the cross-domain request result to the user to complete the cross-chain transaction. After that, the user initiates an off-domain data transmission request based on the proof.
[0078] In summary, the present invention can ensure the decentralization, availability, and tamper-proofness of cross-domain data transactions by using relay chain technology as a trusted intermediary for cross-domain data transactions. The present invention first transmits the user's identity information through the relay chain, and embeds a supervision mechanism based on identity attribute information in the transaction module, which can ensure the fine-grained supervision of cross-domain data transactions. The present invention designs a transaction rollback mechanism. When data transactions are abnormal, such as violations of regulatory rules, insufficient funds, etc., the security of funds and data can be safely guaranteed. The relay chain is used as a bridge connecting different blockchain domains to achieve cross-domain transaction parties and transaction data identity confirmation and trusted state transmission. The relay chain not only collects and transmits the contract execution status, but also undertakes the task of summarizing and transmitting the identity information of users and data on the chain to ensure the security of transactions and the integrity of data. The present invention uses identity attributes and an ID-based parsing mechanism to achieve fine-grained supervision of the identities of both parties to the transaction and the data assets being traded. The supervision module can dynamically supervise according to the information obtained by parsing the ID identifier of the data asset, or require both parties to the transaction to provide verifiable credentials, implement attribute-based supervision, and adapt to the requirements of different laws and regulations. It is responsible for verifying information from external domains, including cross-domain resolved identities and certain states on the blockchain to ensure the integrity and real-time nature of the transmitted data. The key to the implementation of this module is to ensure the security and accuracy of data during cross-chain transmission, and provide reliable information support for both parties to the transaction. With reference to the ERC20 standard, the present invention realizes the transfer of funds from one blockchain account to another blockchain account. This module not only ensures the security of funds, but also confirms and records the payment success status through smart contract events (such as TransferSuccess). It is deployed on the relay chain and is responsible for collecting the intermediate state information of cross-domain data transactions released on the smart contract and transferring it securely to another domain. This function ensures the smoothness and security of data transactions, allowing transaction information to flow reliably between different blockchain domains, by executing transaction logic, including but not limited to verifying whether the transaction amount paid by the buyer meets the price defined by the seller, the additional terms of the transaction, and the special agreement of the two parties to the transaction. The transaction verification module is automatically executed through smart contracts to ensure the transparency and fairness of the transaction process. The key technology is to fix the transaction results through blockchain events to ensure the immutability and traceability of transaction information. The smart contract in this invention will release a series of events after the transaction verification is passed, such as BuySuccess and TransferSuccess. These events not only mark the success of the transaction, but also provide verifiable evidence for each transaction on the chain, which increases the trust of the system and reduces transaction disputes.
[0079] Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0081] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A data cross-domain transaction system supporting fine-grained supervision, characterized by: Including cross-chain information verification module, supervision module, transaction verification module, cross-chain payment module and cross-domain information transmission module; The cross-chain information verification module is used to verify the information transmitted from the external domain. The cross-chain information verification module ensures the integrity and real-time performance of the transmitted data; The supervision module is written according to the laws and regulations of the location where the data trading system is located, and supervises the identities of the transaction parties and the data assets being traded; The transaction verification module is used to execute the transaction logic, including verifying whether the transaction amount paid by the buyer meets the price defined by the seller, the additional terms of the transaction, and certain special agreements between the two parties to the transaction; The cross-chain payment module transfers funds from an account on one blockchain to an account on another blockchain; The cross-domain information transmission module is implemented by blockchain and deployed on the relay chain. The cross-domain data asset transaction process can be divided into two stages, each running on the blockchain smart contract on the buyer's domain BCp and the seller's domain BCq.
2. According to claim 1, a data cross-domain transaction system supporting fine-grained supervision is characterized in that: The cross-chain information verification module verifies the information transmitted from the external domain, including the cross-domain resolved identity and certain states on the external domain blockchain.
3. A data cross-domain transaction system supporting fine-grained supervision according to claim 2, characterized in that: The cross-chain information verification module function is defined as: SCp.Verify(BCq,rootHash,Key,Value)→Bool.
4. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized in that: The supervision module performs fine-grained supervision on data assets entering and leaving the domain by parsing the information in the ID document from the ID identifier of the data asset, or specifies identity attributes and requires both transaction users to submit corresponding verifiable credentials for attribute-based supervision. The supervision module is defined as: SCp.Regulate(ID,[]Attr,statement)→Bool.
5. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized in that: The transaction verification module has no return value, but will release a set of contract events to fix the results of the transaction execution on the blockchain. The transaction verification module is defined as: SCp.Transact([]param,statement)Event(BuySuccess,[]data).
6. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized in that: The cross-chain payment module refers to the ERC20 standard and is defined as: SCp.Approve(IDb,IDs,num)=>Event(TransferSuccess); SCq.TransferFrom(IDb,IDs,num).
7. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized by: The cross-domain information transmission module has two tasks: the first data collection function collects and transmits the intermediate status of cross-domain data transactions released in the form of logs on SCp and SCq, and queries its specific identity information according to the user or data ID; The second data transfer function transfers the collected data to another domain through contract calls. The above two functions can be defined as: SCr.Set(Key,Value); SCr.Send(Addr,Key,Value).
8. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized by: The buyer's contract specifically includes the following steps: S1. When user Ub fully understands the data asset information outside the domain through the identity cross-domain mechanism and decides to purchase this data, user Ub calls the cross-domain information verification module to verify the asset to be purchased and the seller's identity information; S2. When the identity information is verified, the supervision module is called to supervise the transaction. The attribute information is obtained by parsing the ID document, or by actively providing verifiable credentials; S3. After passing the supervision, call the transaction verification module and pass in the necessary transaction parameters, such as the price of the data to be purchased and the amount to be paid; S4. After the transaction verification module is executed, it means that the buyer's system approves the transaction and calls SCp.Approve(IDb,IDs,num) to perform cross-chain transfer; S5. The relay chain collects events released by the transaction verification module, which includes the proof of approved transaction BuySuccess, and events released by the cross-chain payment module, which includes the proof of successful payment TransferSuccess. The relay chain constructs and sends the transaction to the blockchain BCq, calling the seller contract SCq.
9. The data cross-domain transaction system supporting fine-grained supervision according to claim 1 is characterized by: The seller's contract specifically includes the following steps: T1. In addition to verifying the off-domain identity information, the cross-domain information verification module should also verify whether the transaction is approved and whether the cross-chain payment is successful; T2. The regulatory module is basically the same as the buyer's contract, but the statement should be adjusted according to the laws and regulations that the current system complies with; T3. The transaction verification module shall verify whether the digital asset price and the amount of cross-chain payment match, and perform other verifications according to the transaction regulations of the system; T4. After the transaction verification module is executed, it means that the seller system approves the transaction and calls SCq.TransferFrom(IDb,IDs,num) to perform cross-chain transfer; T5. The relay chain initiates an off-domain request ENp.request(BCq,{GetSellState}) to obtain the event released by the domain BCq transaction verification module. The response result includes the proof of approved transaction, the root hash value of the data block, the node list of the hosting node where the data asset is located, and the event released by the cross-chain payment module. The relay chain sends the cross-domain request result to the user to complete the cross-chain transaction. After that, the user initiates an off-domain data transmission request based on the proof.