CN110780945B - Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain - Google Patents

Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain Download PDF

Info

Publication number
CN110780945B
CN110780945B CN201911019460.8A CN201911019460A CN110780945B CN 110780945 B CN110780945 B CN 110780945B CN 201911019460 A CN201911019460 A CN 201911019460A CN 110780945 B CN110780945 B CN 110780945B
Authority
CN
China
Prior art keywords
chain
cross
application
pluggable
bridging
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.)
Active
Application number
CN201911019460.8A
Other languages
Chinese (zh)
Other versions
CN110780945A (en
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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN201911019460.8A priority Critical patent/CN110780945B/en
Publication of CN110780945A publication Critical patent/CN110780945A/en
Application granted granted Critical
Publication of CN110780945B publication Critical patent/CN110780945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application provides pluggable cross-chain bridging method equipment and storage medium of heterogeneous blockchains, which can be accessed into a cross-chain system through a pluggable cross-chain plug-in without changing the existing cross-chain system, wherein the pluggable cross-chain bridging method needs to meet the following characteristics: (1) The application chain intelligent contract can maintain and record the state of cross-chain transaction processing; (2) And monitoring events thrown on the self-application chain cross-chain intelligent contract, and forwarding the events to the intermediate person for processing. (3) And receiving the cross-link transaction sent by the relay link, and analyzing the specific operation of the cross-link transaction. (4) The Plugin can inquire the state of cross-chain transaction processing from the cross-chain intelligent contract so as to ensure that a man in the middle can normally resume the last processing site from downtime. The application combines the plug-in technology and the cross-chain intelligent contract technology, releases the cross-chain system from various heterogeneous block chains, and enhances the flexibility and convenience of the cross-chain.

Description

Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain
Technical Field
The application relates to the technical field of blockchain communication, in particular to a pluggable cross-chain bridging method, equipment and storage medium of a heterogeneous blockchain.
Background
The current blockchain bottom technology platforms are arranged in a hundred-flower way, and under different business application scenes, a unified interconnection mechanism is lacked among the blockchain platforms. For the existing cross-chain mechanism, isomorphic blockchains are easier in the aspect of interconnection cross-chain, but many heterogeneous blockchains have strong cross-chain requirements, and the heterogeneous blockchains are difficult to incorporate into a cross-chain system.
Disclosure of Invention
In view of the foregoing deficiencies or inadequacies of the prior art, it is desirable to provide a heterogeneous blockchain pluggable cross-chain bridging method, apparatus and storage medium.
In a first aspect, the present application provides a pluggable across-chain bridging method of heterogeneous blockchains, which can access across-chain systems through a pluggable across-chain plug-in without modifying existing across-chain systems, the pluggable across-chain bridging method needs to satisfy the following features:
(1) The application chain intelligence contract can maintain record the status of the cross-chain transaction processing, including the status of the cross-chain transactions that have been received from outside and the status of the cross-chain transactions that have been returned to the intermediary.
(2) The Plugin can monitor events thrown on the self-application chain cross-chain intelligent contract and forward the events to the middle person for processing.
(3) The Plugin can accept the cross-link transaction sent by the relay link, analyze the specific operation of the cross-link transaction, trigger the corresponding operation of the cross-link intelligent contract on the application link, and timely send back the receipt executed on the cross-link intelligent contract by the cross-link transaction.
(4) The Plugin can inquire the state of cross-chain transaction processing from the cross-chain intelligent contract so as to ensure that a man in the middle can normally resume the last processing site from downtime.
Further, the cross-chain application chain requires deployment of cross-chain intelligence contracts on the chain, maintaining cross-chain transaction related state information on the blockchain of the application chain.
Furthermore, under the condition that the application chain is updated, a cross-chain man does not need to restart, and only the Plugin is correspondingly updated and replaced to work again.
Furthermore, when the application chain needs to be newly added in the cross-chain system, the application chain can be conveniently accessed into the cross-chain system as long as the application chain is prepared as necessary.
Further, the cross-chain system may have non-inductive access to different heterogeneous blockchains rather than being adapted for a particular blockchain.
In a second aspect, the present application also provides an apparatus comprising one or more processors and memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a heterogeneous blockchain pluggable cross-chain bridging method provided in accordance with embodiments of the present application.
In a third aspect, the present application also provides a storage medium storing a computer program, where the computer program causes a computer to execute the heterogeneous blockchain pluggable cross-chain bridging method according to the embodiments of the present application.
Advantageous effects of the application
The application combines the plug-in technology and the cross-chain intelligent contract technology, releases the cross-chain system from various heterogeneous block chains, maintains respective pluggable cross-chain plug-ins through various application chains to be connected into the cross-chain system, and enhances the flexibility and convenience of the cross-chain; the problem that excessive complexity is brought to a cross-chain system when the heterogeneous blockchain is accessed into the cross-chain system, and upgrading and maintenance are inconvenient is solved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flowchart of a pluggable cross-chain bridging method for heterogeneous blockchains according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
FIG. 1 is a flowchart of a pluggable cross-chain bridging method for heterogeneous blockchains according to an embodiment of the present application. As shown in fig. 1, in this embodiment, the present application provides a pluggable cross-chain bridging method for heterogeneous blockchains, including:
(1) The application chain intelligence contract needs to maintain record the state of the cross-chain transaction processing, including the state of the cross-chain transaction that has been received from outside and the state of the cross-chain transaction that has been returned to the intermediary. The state information is used for recovering stateless Plugin from downtime.
(2) The Plugin can monitor events thrown on the self-application chain cross-chain intelligent contract and forward the events to the middle person for processing. According to the requirements of a cross-chain system, the intelligent contracts on the application chain need to throw out the appointed content and format, and Plugin is transferred to the middle person after certain conversion according to the thrown event.
(3) The Plugin can accept the cross-link transaction sent by the relay link and analyze specific operation of the cross-link transaction, including specific cross-link operation and parameter list of the operation, to trigger corresponding operation of the cross-link intelligent contract on the application link. The application chain should record the cross-chain transaction and generate receipt information based on the execution and send it back to the middleman in time.
(4) Plugin itself is stateless and is not responsible for ordering cross-chain transactions. In order to prevent the problem of multiple execution of the cross-chain transaction, the Plugin needs to be able to query the cross-chain intelligent contract for the state of the cross-chain transaction processing, and filter the completed and repeated cross-chain transaction to ensure that the man-in-the-middle can normally resume the last processing site from downtime.
Preferably, the cross-chain application chain requires deployment of cross-chain intelligence contracts on the chain, maintaining cross-chain transaction related state information on the blockchain of the application chain. Thereby achieving the effect of zero intrusion into the application chain.
Preferably, under the condition that an application chain is updated, a cross-chain man does not need to restart, but the hot plug effect is realized by a dynamic loading mode in the running process, namely, only the Plugin is correspondingly updated and replaced to work again.
Preferably, when an application chain needs to be newly added in the cross-chain system, the application chain can be conveniently accessed into the cross-chain system as long as the application chain provides corresponding blockchain information, registers to the cross-chain system and writes corresponding Plugin modules.
Fig. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
As shown in fig. 2, as another aspect, the present application also provides an apparatus 700 including one or more Central Processing Units (CPUs) 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data required for the operation of the device 700 are also stored. The CPU701, ROM702, and RAM703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the present disclosure, the heterogeneous blockchain pluggable cross-chain bridging method described in any of the embodiments above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing a heterogeneous blockchain pluggable cross-chain bridging method. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711.
As still another aspect, the present application also provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the apparatus of the above-described embodiment; or may be a computer-readable storage medium, alone, that is not assembled into a device. The computer readable storage medium stores one or more programs for use by one or more processors to perform the heterogeneous blockchain pluggable cross-chain bridging method described in the present application.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules involved in the embodiments of the present application may be implemented in software or in hardware. The described units or modules may also be provided in a processor, for example, each of the units may be a software program provided in a computer or a mobile smart device, or may be separately configured hardware devices. Wherein the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application referred to in the present application is not limited to the specific combinations of the technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the application. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (7)

1. The pluggable cross-chain bridging method of the heterogeneous blockchain is characterized by comprising the steps that an application chain needing cross-chain service does not need to change codes of a man in the middle, and can be dynamically accessed into a cross-chain system only by writing well-adapted Plugin according to the application chain of the application chain and matching with corresponding cross-chain intelligent contracts, and generally, the pluggable cross-chain bridging method needs to meet the following characteristics:
(1) The application chain intelligent contract can maintain and record the state of cross-chain transaction processing, including the state of the cross-chain transaction received from the outside and the state of the cross-chain transaction returned to the middleman;
(2) The Plugin can monitor events thrown from the self-application chain cross-chain intelligent contract and forward the events to the middle person for processing;
(3) The Plugin can accept the cross-link transaction sent by the relay link, analyze the specific operation of the cross-link transaction, trigger the corresponding operation of the cross-link intelligent contract on the application link, and timely send back the receipt executed by the cross-link transaction on the cross-link intelligent contract;
(4) The Plugin can inquire the state of cross-chain transaction processing from the cross-chain intelligent contract so as to ensure that a man in the middle can normally resume the last processing site from downtime.
2. The method for bridging heterogeneous blockchains in a pluggable manner according to claim 1, wherein an application chain requiring the bridging requires deployment of a bridging intelligent contract on the chain, and state information related to the bridging transaction is maintained on the blockchain of the application chain.
3. The method for bridging a pluggable heterogeneous blockchain according to claim 1, wherein under the condition that an application chain is updated, a person in the middle of the chain does not need to restart, and only the Plugin is correspondingly updated and replaced to work again.
4. The method for bridging a pluggable heterogeneous blockchain according to claim 1, wherein when an application chain needs to be newly added in the bridging system, the application chain can be conveniently accessed into the bridging system as long as the application chain is prepared, and the necessary preparation includes: as long as the application chain provides the corresponding blockchain information, registering is performed to the cross-chain system, and the corresponding Plugin module is written.
5. The method of claim 1, wherein the cross-chain system can access different heterogeneous blockchains without sense, rather than modifying specific blockchains, the sense-free access being application-chain zero-invasion.
6. An apparatus, the apparatus comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-5.
7. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-5.
CN201911019460.8A 2019-10-24 2019-10-24 Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain Active CN110780945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911019460.8A CN110780945B (en) 2019-10-24 2019-10-24 Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911019460.8A CN110780945B (en) 2019-10-24 2019-10-24 Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain

Publications (2)

Publication Number Publication Date
CN110780945A CN110780945A (en) 2020-02-11
CN110780945B true CN110780945B (en) 2023-09-08

Family

ID=69386404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911019460.8A Active CN110780945B (en) 2019-10-24 2019-10-24 Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain

Country Status (1)

Country Link
CN (1) CN110780945B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797171A (en) * 2020-07-22 2020-10-20 南京纯白矩阵科技有限公司 Data synchronization system based on block chain cross-chain technology
CN113157733A (en) * 2021-03-23 2021-07-23 华中科技大学 Efficient tracing query method for multi-chain data relevance

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN109409885A (en) * 2018-10-29 2019-03-01 深圳声笑科技有限公司 Across chain method of commerce, device and storage medium on block chain
CN109559227A (en) * 2018-11-29 2019-04-02 咪咕文化科技有限公司 A kind of method of commerce, device and the storage medium of transregional piece of chain network
CN109933407A (en) * 2019-02-26 2019-06-25 上海南潮信息科技有限公司 Block chain DAPP virtual machine, data processing method and calculating equipment
CN110046522A (en) * 2018-11-28 2019-07-23 阿里巴巴集团控股有限公司 Method for processing business and device, electronic equipment based on block chain
CN110223178A (en) * 2019-06-06 2019-09-10 杭州趣链科技有限公司 It is a kind of for alliance's chain across catenary system and across chain method
CN110264204A (en) * 2019-06-06 2019-09-20 杭州趣链科技有限公司 A kind of across chain method of commerce of block chain based on intelligent contract sequencing
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180191503A1 (en) * 2015-07-14 2018-07-05 Fmr Llc Asynchronous Crypto Asset Transfer and Social Aggregating, Fractionally Efficient Transfer Guidance, Conditional Triggered Transaction, Datastructures, Apparatuses, Methods and Systems
WO2019018776A1 (en) * 2017-07-21 2019-01-24 Patientory, Inc. Blockchain network for secure exchange of healthcare information
US11146380B2 (en) * 2017-08-03 2021-10-12 Parity Technologies Ltd. Methods and systems for a heterogeneous multi-chain framework
US20190303920A1 (en) * 2018-04-02 2019-10-03 American Express Travel Related Services Company, Inc. Transaction process using blockchain token smart contracts
US10521388B2 (en) * 2018-09-28 2019-12-31 Intel Corporation Multi-uplink device enumeration and management
SG11201906754SA (en) * 2018-12-13 2019-08-27 Alibaba Group Holding Ltd Off-chain smart contract service based on trusted execution environment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN109409885A (en) * 2018-10-29 2019-03-01 深圳声笑科技有限公司 Across chain method of commerce, device and storage medium on block chain
CN110046522A (en) * 2018-11-28 2019-07-23 阿里巴巴集团控股有限公司 Method for processing business and device, electronic equipment based on block chain
CN109559227A (en) * 2018-11-29 2019-04-02 咪咕文化科技有限公司 A kind of method of commerce, device and the storage medium of transregional piece of chain network
CN109933407A (en) * 2019-02-26 2019-06-25 上海南潮信息科技有限公司 Block chain DAPP virtual machine, data processing method and calculating equipment
CN110223178A (en) * 2019-06-06 2019-09-10 杭州趣链科技有限公司 It is a kind of for alliance's chain across catenary system and across chain method
CN110264204A (en) * 2019-06-06 2019-09-20 杭州趣链科技有限公司 A kind of across chain method of commerce of block chain based on intelligent contract sequencing
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium

Also Published As

Publication number Publication date
CN110780945A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN108733005B (en) Method and device for controlling linkage of intelligent equipment
CN110780945B (en) Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain
CN111240940B (en) Real-time service monitoring method and device, electronic equipment and storage medium
CN104503863A (en) Kernel mode and user mode data exchange method used for virtual container system disaster recovery
CN111782473A (en) Distributed log data processing method, device and system
CN109828830B (en) Method and apparatus for managing containers
CN114676205A (en) Event information processing method and device
CN109873861B (en) Cross-block chain node interaction method and device, storage medium and electronic equipment
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
CN114153862A (en) Service data processing method, device, equipment and storage medium
CN109995787A (en) A kind of data processing method and relevant device
CN111200653B (en) Multi-platform communication method, multi-platform communication device and intermediate server
CN111679892A (en) Distributed transaction processing method, device, equipment and medium
CN111190731A (en) Cluster task scheduling system based on weight
CN112910835B (en) Block chain-based configuration management method, apparatus, system, device, and medium
CN115562707A (en) Vehicle-mounted terminal model deployment method, device, equipment and medium
CN110795445B (en) Concurrent task processing method and device, server equipment and medium
JP2003303120A (en) Data backup method and system for implementing the same method
CN111752911A (en) Data transmission method, system, terminal and storage medium based on Flume
CN115378937B (en) Distributed concurrency method, device, equipment and readable storage medium for tasks
CN117472617B (en) Message processing method and device, electronic equipment and readable storage medium
CN110532322B (en) Operation and maintenance interaction method, system, computer readable storage medium and equipment
CN108664366A (en) Data transmission method, device and server
CN117033011A (en) Component communication method and device, electronic equipment and storage medium
CN114780293A (en) Remote double-activity disaster recovery method, device and equipment based on hadoop and readable storage medium

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