CN113452781A - Block chain cross-chain system and method - Google Patents
Block chain cross-chain system and method Download PDFInfo
- Publication number
- CN113452781A CN113452781A CN202110716723.1A CN202110716723A CN113452781A CN 113452781 A CN113452781 A CN 113452781A CN 202110716723 A CN202110716723 A CN 202110716723A CN 113452781 A CN113452781 A CN 113452781A
- Authority
- CN
- China
- Prior art keywords
- cross
- chain
- link
- request
- gateway
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A blockchain cross-chain system includes a cross-chain gateway, a registry, and an adapter. The cross-link gateway is used for receiving the cross-link request and sending the cross-link request through a route; the registration center is used for acquiring connection configuration among different cross-link gateways; and the adapter is used for analyzing the cross-chain calling information, distributing the cross-chain calling request and returning the corresponding request of the cross-chain calling.
Description
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a block chain cross-chain system and a block chain cross-chain method.
Background
The blockchain technology has the advantages of decentralization, and can realize point-to-point transaction, coordination and cooperation based on decentralization credit in a distributed system with nodes not needing to trust each other through means such as data encryption, time stamping, distributed consensus, economic incentive and the like, thereby providing a solution for solving the problems of high cost, low efficiency, unsafe data storage and the like commonly existing in a centralization mechanism.
The block chain has been developed for more than ten years in a primary scale, a large number of public chains, private chains and alliance chains exist independently, most block chain networks are relatively independent networks, data information cannot be intercommunicated and interconnected, and the problem of information isolated island exists. The difficulty of cooperation between different blockchain networks is great, which greatly limits the development of blockchain applications.
How to realize inter-block chain cross-chain interoperation and multi-chain fusion becomes one of hot spots of research in the field of current block chains. The chain crossing technology is just a link for connecting each block chain, and the existence of the chain crossing technology can not only increase the expansibility of the block chain, but also solve the problem of data isolated island caused by difficult transaction among different chains. Through technical means, the information and the value on originally different and independent block chains are exchanged and circulated. If the isolated island of the block chain can be broken and the information on the block chain can be circulated in a wider world, the value of the information on the block chain can be increased in a wider range, and the rapid development of the block chain industry is promoted. The chain-crossing technology is just dedicated to building a trust bridge between chains, breaks the situation of one chain and one island, and realizes information interoperation between the chains so as to realize true win-win.
Disclosure of Invention
The invention provides a block chain cross-chain system, which aims to solve the problem of block chain island and realize information interoperation between block chains.
In one embodiment of the present invention, a blockchain information cross-chain system based on an adapter + gateway cross-chain architecture includes,
the adapter module is used for analyzing the cross-chain calling information, distributing a cross-chain calling request and returning a corresponding cross-chain calling request;
the cross-link gateway module is used for receiving a cross-link request from a user and sending the cross-link request to a corresponding gateway through a route;
and the registration center module is used for acquiring connection configuration among different cross-link gateways.
The adapter module encapsulates user calling information into a uniform calling request before sending the calling request to the gateway, then calls a target resource of a target application chain through a block chain client generated in the adapter, executes corresponding request calling by the application chain, and returns a corresponding result to the adapter.
The cross-chain gateway module adopts a direct connection mode, can be directly connected to other cross-chain gateways to transmit cross-chain transactions, and is a key access port capable of meeting the requirements of heterogeneous block chain access cross-chain system convenience and multi-level cross-chain system expansibility.
The registry module obtains connection configuration among different cross-link gateways through the registry, and communicates through network routing to enable cross-link calling.
The cross-chain architecture system based on the adapter and the gateway fully considers the cross-chain interaction characteristic of the block chain, can realize information interaction among different block chains, and realizes the data value of the block chain. The system architecture comprises a cross-link adapter module, a cross-link adapter module and a cross-link adapter module, wherein the cross-link adapter module is used for abstracting and packaging information such as contracts, blocks, transactions, states and the like of a heterogeneous block chain into resources with a uniform format; the cross-link gateway module is used for opening a resource calling interface to the outside, analyzing and processing a cross-link request; and the cross-chain registry module is used for storing and managing the structural body information of the cross-chain system.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 is a flow diagram of a cross-chain architecture according to one embodiment of the invention.
FIG. 2 is a functional framework diagram of a cross-chain architecture according to one embodiment of the invention.
Detailed Description
According to one or more embodiments, a blockchain cross-chain architecture system is provided, and a system architecture flow thereof is shown in fig. 1. The architecture system includesUser' sThe system comprises an adapter module, a cross-link gateway module and a registry module.
Adapter modulePackaging the user call information before sending the call request to the gatewayAnd forming a uniform calling request, calling a target resource of a target application chain through a block chain client generated in the adapter, executing corresponding request calling by the application chain, and returning a corresponding result to the adapter.
Cross-chain gateway moduleThe direct connection mode is adopted, the system can be directly connected to other cross-link gateways to transmit cross-link transactions, and the key access port can meet the requirements of heterogeneous block link access cross-link system convenience and multi-level cross-link system expansibility.
Registration center modulePassing between different inter-chain gatewaysRegistration centerThe connection configurations are obtained from each other and communicated through network routes to enable cross-chain invocation.
In a blockchain cross-chain architecture system,adapter moduleThe method mainly realizes the linking and resource encapsulation of the bottom layer block chain, abstracts and encapsulates information such as contracts, blocks, transactions, states and the like of the heterogeneous block chain into resources with a uniform format. The different adapters are independent of each other, are responsible for the connection and encapsulation of the respective block chains, and call services for the internal open block chain resources.
Cross-chain gateway moduleAnd the system is responsible for calling an interface for external open resources, analyzing and processing a cross-link request. After receiving the cross-link request, the gateway judges the network of the target link, if the network is a local network, the gateway directly sends the request to the local adapter, and if the network is a remote network, the gateway sends the request to the remote gateway. This enables the inter-network blockchain to implement data interconnection. In addition, the gateway is also responsible for synchronizing the blockchain information in the local network to the registry.
Registration center moduleThe main responsibility is to store the connection configuration of each gateway and the adapter for the gateway to use when the gateway performs cross-chain calling. In order to facilitate the use of upper-layer application, the registration center also provides the functions of saving and inquiring the resources of each block chain, the functions of each resource and the like, and saving and inquiring the cross-chain system call records and the like.
In this embodiment, the blockchain inter-chain system adopts a blockchain inter-chain technology of "adapter + gateway", and after a user submits an inter-chain request, the request is submitted to the gateway for analysis, and the registry checks whether the request is legal. And then judging whether the sub-request exists in the request by the gateway, if so, analyzing the sub-request, repeating the steps until the request is connected to the gateway corresponding to the application chain after being analyzed completely, and calling the adapter API by the gateway corresponding to the application chain for actual execution. When the adapter receives the request, the adapter automatically combines the request according to different requirements of different block chains, executes a calling method, acquires data, packages an analysis result into a uniform structure and returns the result. The results may be saved in the registry to invoke the query. And if the request belongs to the sub-requests, the result is sent back to the gateway for recombining the requests until all the sub-requests are analyzed, and the final result is returned.
In accordance with one or more embodiments, as shown in FIG. 2, a functional framework diagram of a cross-chain architecture system. Based on the technology of 'adapter + gateway', in the process of information data interaction of block chain interconnection and intercommunication, the whole cross-chain platform needs to ensure the consistency and correctness on the chain.
The cross-chain adapter connects the bottom layer blockchain through SDKs and API interfaces provided by different blockchain authorities, packages cross-chain resources and opens the cross-chain resources to a cross-chain gateway through the interfaces, and cross-chain calling of the heterogeneous blockchain is achieved. The gateway proxies the resource calling services of all adapters in the same network and provides a uniform calling interface to the outside. The gateways acquire the connection configuration of the other side through the registration center, and route the cross-link requests mutually to realize the cross-link call of the block chain of the different network. And the cross-link browser realizes modules such as block link browsing, registration information browsing, online calling, calling record query and the like by calling the gateway interface and the registration center interface.
Bottom layer block chain: the system is based on different built application block chains, and realizes data interconnection of heterogeneous and different network block chains through technologies such as abstract resources, gPC communication and the like.
A cross-chain adapter: the cross-link adapter mainly realizes the link and resource encapsulation of the bottom layer block chain, abstracts and encapsulates information such as contracts, blocks, transactions, states and the like of the heterogeneous block chain into resources with a uniform format. The different adapters are independent of each other, are responsible for the connection and encapsulation of the respective block chains, and call services for the internal open block chain resources.
And (3) cross-chain gateway: the main responsibilities of the cross-link gateway are to open a resource call interface to the outside, analyze and process a cross-link request. After receiving the cross-link request, the gateway judges the network of the target link, if the network is a local network, the gateway directly sends the request to the local adapter, and if the network is a remote network, the gateway sends the request to the remote gateway. This enables the inter-network blockchain to implement data interconnection. In addition, the gateway is also responsible for synchronizing the blockchain information in the local network to the registry.
The registration center: the main responsibility of the registry is to store the connection configuration of each gateway and the adapter for the gateway to use when making cross-chain call. In order to facilitate the use of upper-layer application, the registration center also provides the functions of saving and inquiring the resources of each block chain, the functions of each resource and the like, and saving and inquiring the cross-chain system call records and the like.
According to one or more embodiments, the chain crossing architecture based on the adapter and the gateway comprises a blockchain adapter module, in a chain crossing system, the adapter plays a role in starting from the top in the chain crossing system, is connected with the gateway and the bottom application chain in the chain crossing system, and has the functions of analyzing chain crossing call information, distributing a chain crossing call request and returning a chain crossing call response.
And the block chain adapter interface module opens a resource calling interface, a bottom-layer chain list interface, a chain state interface, a resource list interface, a block information query interface and a transaction information query interface to the gateway through an adapter of the cross-chain system.
And the cross-chain gateway module is responsible for receiving a cross-chain request from a user and sending the cross-chain request to the corresponding gateway through a route, so that the aim of calling different block chain resources is fulfilled, and the function of 'starting and stopping from the top' is achieved.
The cross-chain registration center module is a center for data intersection and storage of a cross-chain system, different cross-chain gateways mutually acquire connection configuration through the cross-chain registration center, and communicate through a network route to enable cross-chain calling.
The adapter abstracts resources on the bottom layer block chain; calling a gateway API to acquire information of a target chain through a registration center; the information of the chain is registered to a registry. The adapter opens a resource calling interface, a bottom-layer chain list interface, a chain state interface, a resource list interface, a block information query interface and a transaction information query interface to the gateway. Some call interfaces are opened across the chain switch. The registry needs to provide an external interface.
Compared with the prior chain-crossing technical scheme, the invention has the following beneficial effects:
the cross-chain architecture system based on the adapter and the gateway can effectively solve the difficult problem of interconnection and intercommunication among heterogeneous block chains;
the adapter technology is adopted to ensure that the data formats of the user request data are consistent when the user requests the data, the calling results are uniformly packaged and returned to the gateway sending the calling request, and a complete cross-link request is completed;
for the design of a cross-chain structure interface, rich information on a plurality of block chains can be acquired;
the functions of cross-link request calling, gateway updating, local link list acquisition, block acquisition according to range, block transaction acquisition according to transaction Hash and gateway query are realized;
and data interaction with a user and a gateway is realized.
It should be noted that while the foregoing has described the spirit and principles of the invention with reference to several specific embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in these aspects cannot be combined. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (3)
1. A blockchain cross-chain system is characterized in that the system comprises a cross-chain gateway, a registration center and an adapter,
the cross-link gateway is used for receiving the cross-link request and sending the cross-link request through a route;
the registration center is used for acquiring connection configuration among different cross-link gateways;
adapter for parsingCross-chain call informationDistribution ofCross-chain call requestGo back toCross-chain invocation of corresponding requests。
2. The blockchain cross-chain system of claim 1, wherein the processing step of the cross-chain system includes,
after submitting the cross-link request, firstly analyzing by a cross-link gateway, and checking whether the cross-link request is legal or not in a registration center;
the cross-link gateway judges whether a sub-request exists in the cross-link request or not, and if the sub-request exists, the sub-request is analyzed;
after all the cross-link requests are analyzed, connecting the cross-link requests to a gateway corresponding to the application link, and calling an adapter API by the gateway corresponding to the application link to perform actual execution;
after receiving the request, the adapter automatically combines the request according to different requirements of different block chains, executes a calling method, packages the analysis result into a uniform structure after acquiring data and returns the result, the returned result is stored in a registration center to call and inquire, if the request belongs to a sub-request, the returned result is sent back to the cross-chain gateway for carrying out the reorganization request until all sub-requests are analyzed, and the final result is returned.
3. A blockchain inter-chain method based on the blockchain system of claim 1, the method comprising the steps of:
the cross-link gateway receives the cross-link request and sends the cross-link request through a route;
acquiring connection configuration among different cross-link gateways through a registration center;
adapter resolutionCross-chain call informationDistribution ofCross-chain call requestGo back toCross-chain invocation of corresponding requests。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110716723.1A CN113452781B (en) | 2021-06-28 | 2021-06-28 | Block chain cross-chain system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110716723.1A CN113452781B (en) | 2021-06-28 | 2021-06-28 | Block chain cross-chain system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113452781A true CN113452781A (en) | 2021-09-28 |
CN113452781B CN113452781B (en) | 2023-02-14 |
Family
ID=77813341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110716723.1A Active CN113452781B (en) | 2021-06-28 | 2021-06-28 | Block chain cross-chain system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113452781B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114579611A (en) * | 2022-05-05 | 2022-06-03 | 北京理工大学 | Data parallel query method and device for cross-link system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876370A (en) * | 2018-06-12 | 2018-11-23 | 北京航空航天大学 | The architectural framework of the shared open data of transregional piece of chain under a kind of isomery multichain framework |
WO2019211225A1 (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 |
US20200278958A1 (en) * | 2019-03-01 | 2020-09-03 | Wanchain Ltd. | System and method for universal blockchain interoperability |
CN111741026A (en) * | 2020-08-07 | 2020-10-02 | 百度在线网络技术(北京)有限公司 | Cross-chain transaction request processing method, device, equipment and storage medium |
CN112529577A (en) * | 2020-12-17 | 2021-03-19 | 上海万向区块链股份公司 | Block chain cross-chain system and method based on excitation treatment |
CN112583917A (en) * | 2020-12-10 | 2021-03-30 | 浙商银行股份有限公司 | CSCP-based hybrid chain construction method |
CN112632164A (en) * | 2020-12-21 | 2021-04-09 | 杭州云象网络技术有限公司 | Universal cross-chain programming interface method for realizing trusted authority access |
CN112733174A (en) * | 2020-10-29 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Authentication management method and system of block chain system and electronic equipment |
CN112926033A (en) * | 2021-03-18 | 2021-06-08 | 南京星链高科技发展有限公司 | Task process tracing system based on block chain cross-chain cooperation |
-
2021
- 2021-06-28 CN CN202110716723.1A patent/CN113452781B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019211225A1 (en) * | 2018-05-01 | 2019-11-07 | International Business Machines Corporation | Blockchain implementing cross-chain transactions |
CN108876370A (en) * | 2018-06-12 | 2018-11-23 | 北京航空航天大学 | The architectural framework of the shared open data of transregional piece of chain under a kind of isomery multichain framework |
US20200278958A1 (en) * | 2019-03-01 | 2020-09-03 | Wanchain Ltd. | System and method for universal blockchain interoperability |
CN110751475A (en) * | 2019-10-24 | 2020-02-04 | 杭州趣链科技有限公司 | Cross-chain method, system, equipment and storage medium for blockchain transaction |
CN111741026A (en) * | 2020-08-07 | 2020-10-02 | 百度在线网络技术(北京)有限公司 | Cross-chain transaction request processing method, device, equipment and storage medium |
CN112733174A (en) * | 2020-10-29 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Authentication management method and system of block chain system and electronic equipment |
CN112583917A (en) * | 2020-12-10 | 2021-03-30 | 浙商银行股份有限公司 | CSCP-based hybrid chain construction method |
CN112529577A (en) * | 2020-12-17 | 2021-03-19 | 上海万向区块链股份公司 | Block chain cross-chain system and method based on excitation treatment |
CN112632164A (en) * | 2020-12-21 | 2021-04-09 | 杭州云象网络技术有限公司 | Universal cross-chain programming interface method for realizing trusted authority access |
CN112926033A (en) * | 2021-03-18 | 2021-06-08 | 南京星链高科技发展有限公司 | Task process tracing system based on block chain cross-chain cooperation |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114579611A (en) * | 2022-05-05 | 2022-06-03 | 北京理工大学 | Data parallel query method and device for cross-link system |
CN114579611B (en) * | 2022-05-05 | 2022-07-05 | 北京理工大学 | Data parallel query method and device of cross-link system |
Also Published As
Publication number | Publication date |
---|---|
CN113452781B (en) | 2023-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110443704B (en) | Method and device for sending resources in cross-link mode | |
CN112330326B (en) | Business processing method and device applied to bank transaction blockchain system | |
CN110311790B (en) | Method and device for sending authenticable message in cross-link mode | |
CN108665372B (en) | Information processing, inquiring and storing method and device based on block chain | |
CN103684963B (en) | Framework system and implementation method of middleware applied to car networking | |
CN110266815B (en) | Micro service network system based on block chain | |
CN105656947B (en) | A kind of methods, devices and systems that transaction middleware is interacted with third party system | |
WO2011116556A1 (en) | Wireless communication terminal in machine to machine network and its application method | |
JPH10187641A (en) | Method for supporting address interaction between 1st entity and 2nd entity, converter for address interaction, and computer system | |
JP4565748B2 (en) | Exchange system and message processing method thereof | |
WO2023040502A1 (en) | User service registration | |
CN113452781B (en) | Block chain cross-chain system and method | |
CN110231980A (en) | Processing method, device and the transaction processor of distributed transaction | |
WO2023040498A1 (en) | User service utilization | |
CN112417049A (en) | Cross-chain interaction method and system based on block chain all-in-one machine | |
WO2023040496A1 (en) | Virtual resource allocation based on blockchain | |
CN112926033A (en) | Task process tracing system based on block chain cross-chain cooperation | |
CN112291305A (en) | Code chain construction method and device based on unified identification | |
CN110099068B (en) | Method, device and equipment for interaction between open platforms based on block chains | |
CN113452701A (en) | Cross-chain system and cross-chain system-oriented distributed user identity authentication model | |
WO2023040450A1 (en) | Blockchain service network establishment | |
CN112615868A (en) | Method and device for sending authenticable message in cross-link mode | |
CN114356606A (en) | Block chain cross-chain method, device, equipment and product | |
US6694002B2 (en) | Generic service component for wireless services | |
KR100629018B1 (en) | The legacy interface system and operating method for enterprise wireless application service |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |