CN109753816A - A kind of method and realization system of the block chain across chain - Google Patents

A kind of method and realization system of the block chain across chain Download PDF

Info

Publication number
CN109753816A
CN109753816A CN201811525169.3A CN201811525169A CN109753816A CN 109753816 A CN109753816 A CN 109753816A CN 201811525169 A CN201811525169 A CN 201811525169A CN 109753816 A CN109753816 A CN 109753816A
Authority
CN
China
Prior art keywords
chain
block chain
network
local
data
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
CN201811525169.3A
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.)
Guangzhou Tongchain Computer Intelligence Technology Co Ltd
Original Assignee
Guangzhou Tongchain Computer Intelligence 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 Guangzhou Tongchain Computer Intelligence Technology Co Ltd filed Critical Guangzhou Tongchain Computer Intelligence Technology Co Ltd
Priority to CN201811525169.3A priority Critical patent/CN109753816A/en
Publication of CN109753816A publication Critical patent/CN109753816A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Method and realization system the invention discloses a kind of block chain across chain, provide efficient solution to do data interaction between block chain network.The following steps are included: S1, local main chain in block chain network is established, for recording the uplink data information of this area block chain;S2, establish it is local between long-range block chain network across chain link, do data interaction on chain between long-range block chain network for local;S3, local cache logic chain is established, is called for the interaction data in long-range block chain network to be cached in local logic chain for Distributed Application.The beneficial effects of the present invention are provide a kind of across chain method cached while do data interaction between block chain network, it is intended to improve throughput of system, resource utilization and system response time of the block chain across chain query.

Description

A kind of method and realization system of the block chain across chain
Technical field
The present invention relates to a kind of across the chain method of block chain, more particularly to one kind carried out between multi-tiling chain network data across The method of chain interaction.
Background technique
Block chain is substantially a kind of distributed, multicenter chain type account book database, but in block chain ecology In system, the presence of more and more block chain networks produces more and more " data silo ".Across the chain technology of block chain is exactly In order to solve the problems, such as data transmitting, transfer, exchange between two or more different blocks chain networks.Data not only can be with across chain Increase the expansibility of block chain network, while the cost of data sharing between block chain network can also be reduced.
But across the chain technology of block chain is still within developing stage at present, small, resource utilization that there is also across chain handling capacities The numerous disadvantages of low and response time slowly.
Summary of the invention
In order to overcome the above-mentioned deficiencies of the prior art, a kind of method the present invention provides block chain across chain and realization system System.
Method and realization system the present invention provides a kind of block chain across chain, include the following steps.
S1, local main chain in block chain network is established, for recording the uplink data information of this area block chain.
S2, establish it is local between long-range block chain network across chain link, for local between long-range block chain network Do data interaction on chain.
S3, local cache logic chain is established, for the interaction data in long-range block chain network to be cached to local logic It is called in chain for Distributed Application.
The local main chain in block chain network is established in the step S1, the uplink data for recording this area block chain is believed Breath, specifically includes following steps.
S11: a channel is established in local block chain network by the way of logic chain.
S12: the channel established S11 is denoted as local main chain, for recording the uplink data information of this area block chain.
Established in the step S2 it is local between long-range block chain network across chain link, for local with long-range block chain Data interaction on chain is done between network, specifically includes following steps.
Preferably, it S21: is done by the way of RestAPI across chain between local block chain network and long-range block chain network Data interaction, both sides respectively establish across chain connector (Cross Chain Connector, CCC), and centre carries out net by VPN Network connection.
Optionally, across chain data interaction is done by way of RPC, is connected to the network by special line.
S22: local block chain network by S21 establish across chain connector by main chain in long-range block chain network share Block chain data are fetched by the way of with the increment query for saving point.
S23: the main chain data buffer storage shared in the long-range block chain network that local block chain network fetches S22 to local In the logic chain of block chain network.
S24: local block chain network is responsible for the data on the chain of Distributed Application summary request.
Local cache logic chain is established in the step S3, for the interaction data in long-range block chain network to be cached to It is called in local logic chain for Distributed Application, specifically includes following steps.
S31: local cache logic chain is established respectively between across the chain object of block chain network.
S32: by the data in the long-range block chain data fetched in S22 step and local cache logic chain, local main chain Distributed application program is returned to after taking union.
The cache module of the local logic chain is and to be buffered in local patrol by across chain connector acquisition data It collects in chain, convenient for later inquiry, while reducing data volume interactive every time.
The present invention has the following advantages and beneficial effects: method and realization system the present invention provides a kind of block chain across chain System, this across chain method can not only do across chain data interaction while have the caching function of block chain data, can complete area Between block chain network while data interconnection intercommunication, throughput of system, resource utilization and system of the block chain across chain query are improved Response time.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of method and realization system of a kind of block chain provided by the invention across chain.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.The same or similar label correspond to the same or similar components in the attached drawing of the present embodiment;In this hair In bright description, it should be noted that unless otherwise indicated, the meaning of " plurality " is two or more;Term " on ", The orientation or positional relationship of the instructions such as "lower", "left", "right", "inner", "outside", " front end ", " rear end ", " head ", " tail portion " is It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark Show that signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as pair Limitation of the invention.In addition, term " first ", " second ", " third " etc. are used for description purposes only, and should not be understood as instruction or Imply relative importance.
In the description of the present invention, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integrally connect It connects;It can be Hard link, be also possible to be flexible coupling;It can be directly connected, it can also be indirectly connected through an intermediary.For For those skilled in the art, visual concrete condition understands the concrete meaning of above-mentioned term in the present invention.
1 pair of the embodiment of the present invention further illustrates with reference to the accompanying drawing.
As shown in figure 1 to a kind of structural representation of method and realization system of the block chain across chain provided in this embodiment Figure includes 3 block chain networks, wherein local block chain network 1 and long-range block chain network 2 cochain, also includes in figure One block chain network 3 to be added, is illustrated by the following examples process of the block chain data across chain.
S1, local main chain in block chain network 1 and block chain network 2 is established, for recording the cochain of this area block chain Data information.
S2, establish between block chain network 1 and block chain network 2 across chain link, for local with long-range block chain network Between do data interaction on chain.
S3, cache logic chain in block chain network 1 and block chain network 2 is established, for will be in long-range block chain network Interaction data be cached in local logic chain for Distributed Application call.
The local main chain in block chain network is established in the step S1, the uplink data for recording this area block chain is believed Breath, specifically includes following steps.
S11: a channel is established in block chain network 1 and block chain network 2 respectively by the way of logic chain.
S12: the channel established S11 is denoted as block chain network 1 and the respective local main chain of block chain network 2.
Established in the step S2 block chain network 1 and block chain network 2 across chain link, be used for 1 He of block chain network Data interaction on chain is done between block chain network 2, specifically includes following steps.
S21: the mode that RestAPI is respectively adopted between block chain network 1 and block chain network 2 does across chain data interaction, Both sides respectively establish across chain connector (Cross Chain Connector, CCC), and centre is connected to the network by VPN.
S22: the block chain for sharing main chain in block chain network 2 across chain connector that block chain network 1 is established by S21 Data are fetched by the way of with the increment query for saving point.
S23: the data buffer storage of main chain is to block chain network 1 in the block chain network 2 that block chain network 1 fetches S22 In logic chain.
S24: block chain network 1 is responsible for the data on the chain of Distributed Application summary request.
Local cache logic chain is established in the step S3, for the interaction data in block chain network 2 to be cached to this It is called in ground logic chain for Distributed Application, specifically includes following steps.
S31: local cache logic chain is established respectively in block chain network 1 and block chain network 2.
S32: will be in the data and local cache logic chain, local main chain in the block chain network 2 that fetched in S22 step Data take union.It should be finally the main chain of block chain network 1, block chain network 1 to the result that distribution application system returns 2 main chain of logic chain and block chain network increment query 3 results union.
Finally, it is stated that: embodiment described above is only presently preferred embodiments of the present invention, not to limit The present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in this Within the protection scope of invention.

Claims (8)

1. method and realization system of a kind of block chain across chain, which comprises the following steps:
S1, local main chain in block chain network is established;
S2, establish between local and long-range block chain network across chain link;
S3, local cache logic chain is established.
2. method and realization system of a kind of block chain according to claim 1 across chain, it is characterised in that: the step S1 The local main chain of middle foundation, for recording the uplink data information of this area block chain.
3. method and realization system of a kind of block chain according to claim 1 across chain, it is characterised in that: the step S2 Between the local of middle foundation and long-range block chain network across chain link, for doing number on chain between local and long-range block chain network According to interaction.
4. method and realization system of a kind of block chain according to claim 1 across chain, it is characterised in that: the step S3 In establish local cache logic chain, for by the interaction data in long-range block chain network be cached in local logic chain for distribution Formula application is called.
5. method and realization system of a kind of block chain according to claim 1 across chain, which is characterized in that described this area Network special line or VPN connection are used between block chain network and long-range block chain network.
6. method and realization system of a kind of block chain according to claim 1 across chain, which is characterized in that Distributed Application By carrying out data query on data cochain and chain again after connecting with block chain network.
7. method and realization system of a kind of block chain according to claim 1 across chain, which is characterized in that each block link network The block data of network be it is physically-isolated, use logic chain to open up a channel each other for caching the obtained data of interaction.
8. method and realization system of a kind of block chain according to claim 1 across chain, it is characterised in that: the step S2 Can be looked into according to point increment from long-range block chain network is saved across chain link between the local of middle foundation and long-range block chain network Ask new data.
CN201811525169.3A 2018-12-13 2018-12-13 A kind of method and realization system of the block chain across chain Pending CN109753816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811525169.3A CN109753816A (en) 2018-12-13 2018-12-13 A kind of method and realization system of the block chain across chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811525169.3A CN109753816A (en) 2018-12-13 2018-12-13 A kind of method and realization system of the block chain across chain

Publications (1)

Publication Number Publication Date
CN109753816A true CN109753816A (en) 2019-05-14

Family

ID=66403762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811525169.3A Pending CN109753816A (en) 2018-12-13 2018-12-13 A kind of method and realization system of the block chain across chain

Country Status (1)

Country Link
CN (1) CN109753816A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510298A (en) * 2020-04-10 2020-08-07 中国司法大数据研究院有限公司 Cross-domain trusted data exchange method and system based on block chain
CN112508704A (en) * 2020-12-17 2021-03-16 杭州趣链科技有限公司 Block chain cross-chain transaction method and device, computer equipment and storage medium
CN113111126A (en) * 2021-04-12 2021-07-13 浙江永旗区块链科技有限公司 Block chain cross-chain forwarding system and forwarding method thereof
CN113220717A (en) * 2021-05-11 2021-08-06 支付宝(杭州)信息技术有限公司 Block chain-based data verification method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108154366A (en) * 2017-12-25 2018-06-12 丁江 Across chain digital asset transfer method and terminal device
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108876618A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 A kind of exchange block catenary system and corresponding universal block chain mutual operation method and network
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108154366A (en) * 2017-12-25 2018-06-12 丁江 Across chain digital asset transfer method and terminal device
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
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
CN108876618A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 A kind of exchange block catenary system and corresponding universal block chain mutual operation method and network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510298A (en) * 2020-04-10 2020-08-07 中国司法大数据研究院有限公司 Cross-domain trusted data exchange method and system based on block chain
CN111510298B (en) * 2020-04-10 2022-03-25 中国司法大数据研究院有限公司 Cross-domain trusted data exchange method and system based on block chain
CN112508704A (en) * 2020-12-17 2021-03-16 杭州趣链科技有限公司 Block chain cross-chain transaction method and device, computer equipment and storage medium
CN113111126A (en) * 2021-04-12 2021-07-13 浙江永旗区块链科技有限公司 Block chain cross-chain forwarding system and forwarding method thereof
CN113220717A (en) * 2021-05-11 2021-08-06 支付宝(杭州)信息技术有限公司 Block chain-based data verification method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN109753816A (en) A kind of method and realization system of the block chain across chain
CN103297343B (en) Routing method based on delay tolerant network
Zhang et al. Deep reinforcement learning for social-aware edge computing and caching in urban informatics
CN103259683B (en) Based on the Web network management system L2 cache method for pushing of HTML5
CN109088892A (en) Data transmission method, system and proxy server
CN111770014A (en) Data information processing method, edge gateway and system for processing data information
CN101217497A (en) A path selecting method of wireless mesh network
CN103440223A (en) Layering system for achieving caching consistency protocol and method thereof
CN110062004A (en) A kind of message handling system and method based on Internet of Things fidonetFido
CN112348199A (en) Model training method based on federal learning and multi-task learning
CN108989317A (en) A kind of RoCE network card data communication method and network interface card based on FPGA
CN108964745A (en) Data processing method, the network architecture, electronic equipment and readable storage medium storing program for executing
CN108965365A (en) A kind of data processing method and terminal, computer storage medium
CN102624689A (en) Client proxy internet surfing method capable of realizing cache priority of local files of server
CN100563236C (en) The transmission method of QoS parameter
CN111901833B (en) Combined service scheduling and content caching method for unreliable channel transmission
CN102045809B (en) Routing method of opportunistic network based on wireless radio frequencies
CN105471718B (en) A kind of implementation method of full duplex message queue
CN1997005B (en) System and method for management and control of the network communication data
CN102075584A (en) Distributed file system and access method thereof
CN202282786U (en) Network architecture
US8719467B2 (en) Method, apparatus and system for mounting file system
CN114143295B (en) Transmission switch, FC-AE device and Ethernet device communication method
CN106503135A (en) A kind of method and apparatus of WEB page loading
CN101383771A (en) Route forwarding system and method uniformly connected between gateways

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190514