CN113111126A - Block chain cross-chain forwarding system and forwarding method thereof - Google Patents

Block chain cross-chain forwarding system and forwarding method thereof Download PDF

Info

Publication number
CN113111126A
CN113111126A CN202110389580.8A CN202110389580A CN113111126A CN 113111126 A CN113111126 A CN 113111126A CN 202110389580 A CN202110389580 A CN 202110389580A CN 113111126 A CN113111126 A CN 113111126A
Authority
CN
China
Prior art keywords
chain
cross
transaction
verification
relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110389580.8A
Other languages
Chinese (zh)
Inventor
王保春
张蛟鹏
余洋
莫恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Yongqi Blockchain Technology Co Ltd
Original Assignee
Zhejiang Yongqi Blockchain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Yongqi Blockchain Technology Co Ltd filed Critical Zhejiang Yongqi Blockchain Technology Co Ltd
Priority to CN202110389580.8A priority Critical patent/CN113111126A/en
Publication of CN113111126A publication Critical patent/CN113111126A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a block chain cross-chain forwarding system and a forwarding method thereof, wherein the system is applied to cross-chain forwarding transaction among block chains and comprises the following steps: the system comprises a block chain, and a cross-chain gateway, a relay chain and a cache logic chain which are arranged among different block chain transaction nodes, wherein each transaction node is connected with the corresponding cross-chain gateway, each cross-chain gateway is connected with the relay chain to form a cross-chain transaction architecture, the cache logic chain is connected with the relay chain and is used for caching transaction data in the block chain network into the logic chain for distributed application calling, and a cross-chain verification engine is further arranged on the relay chain. The block chain cross-chain forwarding system and the forwarding method thereof have simple transaction form, realize data synchronization through data cache, and improve the block chain cross-chain throughput and the resource utilization rate.

Description

Block chain cross-chain forwarding system and forwarding method thereof
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain cross-chain forwarding system and a forwarding method thereof.
Background
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retaining in the whole process, traceability, collective maintenance, openness and transparency and the like. With the development of blockchain technology, blockchain networks are more and more, the requirement for data interaction between blockchains is increasing, and more data islands are generated. The block chain cross-chain technology is used for solving the problems of data transmission, transfer and exchange between two or more different block chain networks. The data cross-link can not only increase the expansibility of the block link network, but also reduce the cost of data sharing among the block link networks. However, the current blockchain cross-link technology is still in a development stage, and the problems of small cross-link throughput, low resource utilization rate, poor data synchronism and the like exist.
Disclosure of Invention
The invention aims to provide a block chain cross-chain forwarding system and a forwarding method thereof, which have simple transaction forms, realize data synchronization through data cache and improve the block chain cross-chain throughput and the resource utilization rate.
In order to achieve the purpose, the invention provides the following scheme:
a block chain cross-chain forwarding system is applied to cross-chain forwarding transaction between block chains, and comprises the following steps: the system comprises a block chain, and a cross-chain gateway, a relay chain and a cache logic chain which are arranged among different block chain transaction nodes, wherein each transaction node is connected with the corresponding cross-chain gateway, each cross-chain gateway is connected with the relay chain to form a cross-chain transaction architecture, the cache logic chain is connected with the relay chain and is used for caching transaction data in the block chain network into the logic chain for distributed application calling, and a cross-chain verification engine is further arranged on the relay chain.
Further, the relay chain comprises a transaction execution layer, the transaction execution layer is used for cross-chain transactions, the cross-chain transactions adopt a bridge protocol, the bridge protocol adopts a lightweight BFT consistency algorithm for verification, the consistency verification is successful, the transaction process is started, and the consistency verification is unsuccessful, then the cross-chain transactions are stopped.
Further, the cache logic chain comprises a transaction data reading layer, a transaction data updating layer and a transaction data storage layer, the transaction data reading layer is used for reading the transaction data in the relay chain in real time, the transaction data updating layer is used for updating the data read by the transaction data reading layer in real time, and the transaction data storage layer is used for synchronizing and compressing the transaction data to obtain backup data and storing the backup data.
Further, the cross-chain verification engine comprises an analysis module, a verification rule module and a verification execution module, wherein the analysis module is used for receiving and analyzing the transaction data on the relay chain to obtain the identification information of the block chain, the identification information is used for identifying the attribute of the block chain, the verification rule module is used for matching and judging the verification rule of the attribute of the block chain according to the identification information, and the verification execution module is used for verifying the transaction data according to the matched verification rule.
The invention also provides a block chain cross-chain forwarding method, which is applied to the block chain cross-chain forwarding system and comprises the following steps:
s1, the transaction node on the first blockchain forms a cross-chain transaction architecture with the relay chain through the cross-chain gateway;
s2, receiving cross-chain forwarding transaction request information sent by a first blockchain, generating transaction data after analyzing the cross-chain forwarding transaction request information, and acquiring attribute information of the first blockchain, wherein the attribute information is used for identifying the first blockchain, and the transaction verification is performed by a relay chain;
s3, verifying successfully, and performing cross-chain forwarding through a cross-chain transaction architecture;
and S4, caching the transaction data in the blockchain network into the logic chain for the distributed application to call by the caching logic chain.
Further, in step S2, the transaction verification performed by the relay chain specifically includes:
the relay chain carries out cross-chain transaction verification through a transaction execution layer, the cross-chain transaction adopts a bridge protocol, the bridge protocol adopts a lightweight BFT consistency algorithm for verification, the consistency verification is successful, the transaction process is started, and the consistency verification is unsuccessful, the cross-chain transaction is stopped;
the relay chain carries out rule verification through a cross-chain verification engine, the analysis module receives and analyzes the transaction data on the relay chain to obtain the identification information of the block chain, the verification rule module matches and judges the verification rule of the attribute of the block chain according to the identification information, and the verification execution module verifies the transaction data according to the matched verification rule.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: according to the block chain cross-chain forwarding system and the forwarding method thereof, a cross-chain transaction framework among cross-chain transaction nodes is constructed by adopting the relay chain, the cross-chain gateway and the cross-chain verification engine, so that the flexibility and the applicability of cross-chain transaction are improved; by setting the cache logic chain, the cross-chain data interaction can be realized, and the cache function of the block chain data can be realized, so that the data interconnection and intercommunication among the block chain networks can be completed, and the system throughput and the resource utilization rate of the block chain cross-chain query can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a block chain cross-chain forwarding system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a block chain cross-chain forwarding system and a forwarding method thereof, the block chain cross-chain forwarding system and the forwarding method thereof have simple transaction forms, realize data synchronization through data cache, and improve the block chain cross-chain throughput and the resource utilization rate.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 1, the block chain cross-chain forwarding system provided in the embodiment of the present invention is applied to a cross-chain forwarding transaction between block chains, and includes: the system comprises a block chain, and a cross-chain gateway, a relay chain and a cache logic chain which are arranged among different block chain transaction nodes, wherein each transaction node is connected with the corresponding cross-chain gateway, each cross-chain gateway is connected with the relay chain to form a cross-chain transaction architecture, the cache logic chain is connected with the relay chain and is used for caching transaction data in the block chain network into the logic chain for distributed application calling, and a cross-chain verification engine is further arranged on the relay chain. The relay chain comprises a transaction execution layer, the transaction execution layer is used for cross-chain transaction, the cross-chain transaction adopts a bridging protocol, the bridging protocol adopts a lightweight BFT consistency algorithm for verification, the consistency verification is successful, the transaction process is started, and the cross-chain transaction is stopped if the consistency verification is unsuccessful. The cache logic chain comprises a transaction data reading layer, a transaction data updating layer and a transaction data storage layer, wherein the transaction data reading layer is used for reading transaction data in the relay chain in real time, the transaction data updating layer is used for updating data read by the transaction data reading layer in real time, and the transaction data storage layer is used for synchronizing and compressing the transaction data to obtain backup data and storing the backup data. The cross-chain verification engine comprises an analysis module, a verification rule module and a verification execution module, wherein the analysis module is used for receiving and analyzing the transaction data on the relay chain, acquiring identification information of the block chain, the identification information is used for identifying the attribute of the block chain, the verification rule module is used for matching and judging the verification rule of the attribute of the block chain according to the identification information, and the verification execution module is used for verifying the transaction data according to the matched verification rule. Fig. 1 shows a schematic diagram of a relay chain mode in blockchain cross-chain transaction implemented according to the present invention, in this scenario, a cross-chain transaction platform selects a relay chain, a cross-chain gateway, and a cross-chain verification engine as cross-chain transaction components, and constructs a cross-chain transaction architecture in which a blockchain a is connected to a cross-chain gateway a, a blockchain B is connected to a cross-chain gateway B, and the cross-chain gateway a and the cross-chain gateway B are indirectly connected through the relay chain. In the relay chain mode, the validity of the cross-chain transaction is ensured by the relay chain, because each node of the relay chain is responsible for each alliance participating in the cross-chain transaction, and the cross-chain transaction needs to be signed by each node of the relay chain and can be executed through the verification of a cross-chain transaction verification engine. Fig. 1 only shows two block chains, and in an actual application scenario, more block chains may be included, and each block chain may interact with each other through the same relay chain or through multiple relay chains.
The invention also provides a block chain cross-chain forwarding method, which is applied to the block chain cross-chain forwarding system and comprises the following steps:
s1, the transaction node on the first blockchain forms a cross-chain transaction architecture with the relay chain through the cross-chain gateway;
s2, receiving cross-chain forwarding transaction request information sent by a first blockchain, generating transaction data after analyzing the cross-chain forwarding transaction request information, and acquiring attribute information of the first blockchain, wherein the attribute information is used for identifying the first blockchain, and the transaction verification is performed by a relay chain;
s3, verifying successfully, and performing cross-chain forwarding through a cross-chain transaction architecture;
and S4, caching the transaction data in the blockchain network into the logic chain for the distributed application to call by the caching logic chain.
In step S2, the transaction verification performed by the relay chain specifically includes:
the relay chain carries out cross-chain transaction verification through a transaction execution layer, the cross-chain transaction adopts a bridge protocol, the bridge protocol adopts a lightweight BFT consistency algorithm for verification, the consistency verification is successful, the transaction process is started, and the consistency verification is unsuccessful, the cross-chain transaction is stopped;
the relay chain carries out rule verification through a cross-chain verification engine, the analysis module receives and analyzes the transaction data on the relay chain to obtain the identification information of the block chain, the verification rule module matches and judges the verification rule of the attribute of the block chain according to the identification information, and the verification execution module verifies the transaction data according to the matched verification rule.
According to the block chain cross-chain forwarding system and the forwarding method thereof, a cross-chain transaction framework among cross-chain transaction nodes is constructed by adopting the relay chain, the cross-chain gateway and the cross-chain verification engine, so that the flexibility and the applicability of cross-chain transaction are improved; by setting the cache logic chain, the cross-chain data interaction can be realized, and the cache function of the block chain data can be realized, so that the data interconnection and intercommunication among the block chain networks can be completed, and the system throughput and the resource utilization rate of the block chain cross-chain query can be improved.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (6)

1. A block chain cross-chain forwarding system is applied to cross-chain forwarding transaction between block chains, and is characterized by comprising the following steps: the system comprises a block chain, and a cross-chain gateway, a relay chain and a cache logic chain which are arranged among different block chain transaction nodes, wherein each transaction node is connected with the corresponding cross-chain gateway, each cross-chain gateway is connected with the relay chain to form a cross-chain transaction architecture, the cache logic chain is connected with the relay chain and is used for caching transaction data in the block chain network into the logic chain for distributed application calling, and a cross-chain verification engine is further arranged on the relay chain.
2. The blockchain cross-chain forwarding system of claim 1, wherein the relay chain comprises a transaction execution layer, the transaction execution layer is configured to perform cross-chain transactions, the cross-chain transactions employ a bridge protocol, the bridge protocol employs a lightweight BFT conformance algorithm for verification, the conformance verification is successful, the transaction process is started, and the cross-chain transactions are stopped if the conformance verification is unsuccessful.
3. The blockchain cross-chain forwarding system according to claim 1, wherein the cache logic chain includes a transaction data reading layer, a transaction data updating layer and a transaction data storage layer, the transaction data reading layer is configured to read transaction data in the relay chain in real time, the transaction data updating layer is configured to update data read by the transaction data reading layer in real time, and the transaction data storage layer is configured to synchronize and compress the transaction data to obtain backup data and store the backup data.
4. The blockchain inter-chain forwarding system according to claim 1, wherein the inter-chain verification engine includes an analysis module, a verification rule module, and a verification execution module, the analysis module is configured to receive and analyze transaction data on the relay chain to obtain identification information of the blockchain, the identification information is used to identify an attribute of the blockchain, the verification rule module is configured to match a verification rule for determining the attribute of the blockchain according to the identification information, and the verification execution module is configured to verify the transaction data according to the matched verification rule.
5. A method for forwarding a blockchain across a chain, which is applied to the blockchain across-chain forwarding system of any one of claims 1 to 4, the method comprising the following steps:
s1, the transaction node on the first blockchain forms a cross-chain transaction architecture with the relay chain through the cross-chain gateway;
s2, receiving cross-chain forwarding transaction request information sent by a first blockchain, generating transaction data after analyzing the cross-chain forwarding transaction request information, and acquiring attribute information of the first blockchain, wherein the attribute information is used for identifying the first blockchain, and the transaction verification is performed by a relay chain;
s3, verifying successfully, and performing cross-chain forwarding through a cross-chain transaction architecture;
and S4, caching the transaction data in the blockchain network into the logic chain for the distributed application to call by the caching logic chain.
6. The method for protecting privacy of blockchain data according to claim 5, wherein in the step S2, the verifying the transaction by the relay chain specifically includes:
the relay chain carries out cross-chain transaction verification through a transaction execution layer, the cross-chain transaction adopts a bridge protocol, the bridge protocol adopts a lightweight BFT consistency algorithm for verification, the consistency verification is successful, the transaction process is started, and the consistency verification is unsuccessful, the cross-chain transaction is stopped;
the relay chain carries out rule verification through a cross-chain verification engine, the analysis module receives and analyzes the transaction data on the relay chain to obtain the identification information of the block chain, the verification rule module matches and judges the verification rule of the attribute of the block chain according to the identification information, and the verification execution module verifies the transaction data according to the matched verification rule.
CN202110389580.8A 2021-04-12 2021-04-12 Block chain cross-chain forwarding system and forwarding method thereof Pending CN113111126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110389580.8A CN113111126A (en) 2021-04-12 2021-04-12 Block chain cross-chain forwarding system and forwarding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110389580.8A CN113111126A (en) 2021-04-12 2021-04-12 Block chain cross-chain forwarding system and forwarding method thereof

Publications (1)

Publication Number Publication Date
CN113111126A true CN113111126A (en) 2021-07-13

Family

ID=76715657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110389580.8A Pending CN113111126A (en) 2021-04-12 2021-04-12 Block chain cross-chain forwarding system and forwarding method thereof

Country Status (1)

Country Link
CN (1) CN113111126A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006911A (en) * 2021-12-31 2022-02-01 杭州趣链科技有限公司 Data processing method and device, terminal equipment and storage medium
CN114448646A (en) * 2022-03-22 2022-05-06 深圳壹账通智能科技有限公司 Method, system, equipment and medium for managing authority of cross-chain transaction
CN114760288A (en) * 2022-03-18 2022-07-15 国网四川省电力公司天府新区供电公司 Block chain-based file cross-chain transmission method
CN114980023A (en) * 2022-06-02 2022-08-30 昆明理工大学 Internet of vehicles data sharing method based on cross-chain technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753816A (en) * 2018-12-13 2019-05-14 广州通链计算机智能技术有限责任公司 A kind of method and realization system of the block chain across chain
US20190340267A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN110751475A (en) * 2019-10-24 2020-02-04 杭州趣链科技有限公司 Cross-chain method, system, equipment and storage medium for blockchain transaction
CN110766408A (en) * 2019-10-24 2020-02-07 杭州趣链科技有限公司 Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain
CN111445328A (en) * 2020-03-16 2020-07-24 西安交通大学 Cross-link gateway interaction system and method and supply chain data management method
CN111797171A (en) * 2020-07-22 2020-10-20 南京纯白矩阵科技有限公司 Data synchronization system based on block chain cross-chain technology
CN112508704A (en) * 2020-12-17 2021-03-16 杭州趣链科技有限公司 Block chain cross-chain transaction method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190340267A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN109753816A (en) * 2018-12-13 2019-05-14 广州通链计算机智能技术有限责任公司 A kind of method and realization system of the block chain across chain
CN110751475A (en) * 2019-10-24 2020-02-04 杭州趣链科技有限公司 Cross-chain method, system, equipment and storage medium for blockchain transaction
CN110766408A (en) * 2019-10-24 2020-02-07 杭州趣链科技有限公司 Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain
CN111445328A (en) * 2020-03-16 2020-07-24 西安交通大学 Cross-link gateway interaction system and method and supply chain data management method
CN111797171A (en) * 2020-07-22 2020-10-20 南京纯白矩阵科技有限公司 Data synchronization system based on block chain cross-chain technology
CN112508704A (en) * 2020-12-17 2021-03-16 杭州趣链科技有限公司 Block chain cross-chain transaction method and device, computer equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006911A (en) * 2021-12-31 2022-02-01 杭州趣链科技有限公司 Data processing method and device, terminal equipment and storage medium
CN114760288A (en) * 2022-03-18 2022-07-15 国网四川省电力公司天府新区供电公司 Block chain-based file cross-chain transmission method
CN114760288B (en) * 2022-03-18 2024-02-06 国网四川省电力公司天府新区供电公司 File cross-chain transmission method based on block chain
CN114448646A (en) * 2022-03-22 2022-05-06 深圳壹账通智能科技有限公司 Method, system, equipment and medium for managing authority of cross-chain transaction
CN114980023A (en) * 2022-06-02 2022-08-30 昆明理工大学 Internet of vehicles data sharing method based on cross-chain technology

Similar Documents

Publication Publication Date Title
CN113111126A (en) Block chain cross-chain forwarding system and forwarding method thereof
CN110784346B (en) Reputation value-based PBFT consensus system and method
CN110990408B (en) Business information collaboration method based on block chain, business system and alliance chain
CN108282474B (en) Block chain based digital asset transaction consistency maintenance method
CN108492108A (en) Across the chain communication means of block chain, system and computer readable storage medium
CN113194126B (en) Transverse federal learning model construction method based on blockchain
CN113556234A (en) Block chain cross-chain communication method and system
CN110535654A (en) Parallel system dispositions method, device and computer equipment based on block chain
CN113726890B (en) Federal prediction method and system for block chain data service
CN112398956B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN112508704A (en) Block chain cross-chain transaction method and device, computer equipment and storage medium
CN110930254A (en) Data processing method, device, terminal and medium based on block chain
CN111861481A (en) Block chain account checking method and system
CN106487712A (en) For accessing method, device and the server of multiple external systems
CN112506771A (en) Message comparison method and device
CN113190616B (en) Block chain reconciliation system and method, computer device and readable storage medium
CN115701078B (en) Cross-chain transaction processing method, device, electronic equipment and storage medium
CN117294757B (en) Complex service splitting execution method, system, equipment and medium based on block chain
CN111625474B (en) Automatic testing method of alliance chain
CN113239056B (en) Data checking method and system based on block chain
CN113111125B (en) Business evidence-storing method based on block chain
CN112699136B (en) Cross-link certificate storage method and related device
CN111310945B (en) Operation and maintenance management method and device and electronic equipment
CN115115360A (en) Cross-chain resource transfer method, device, medium and electronic equipment
CN112381599A (en) Shared charger rental system and method based on block chain technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210713

RJ01 Rejection of invention patent application after publication