Cross-chain relay platform-based cross-chain method and system

A platform and cross-chain technology, applied in the cross-chain field, can solve problems such as inconsistent data types of different blockchains, inconsistent language protocols, and blockchains that do not provide interfaces

Inactive Publication Date: 2018-07-10
深圳四方精创资讯股份有限公司
View PDF16 Cites 80 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the blockchain technology is in an era when a hundred flowers are blooming and a hundred schools of thought are contending. Various blockchains have emerged one after another, and the interactive operation between different blockchains has become a very important and urgent need;

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-chain relay platform-based cross-chain method and system
  • Cross-chain relay platform-based cross-chain method and system
  • Cross-chain relay platform-based cross-chain method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0033] Such as Figure 1 to Figure 3 Specific examples shown, such as figure 1 As shown, the present invention discloses a cross-chain method based on a cross-chain relay platform, including the following steps:

[0034] Step 1, send the user request to the business contract;

[0035] Step 2, the business contract judges whether a cross-chain transaction occurs; if so, proceed to step 3, if not, proceed to step 6;

[0036] Step 3, call the cross-chain contract, generate an event, and pass the parameters to the cross-chain relay platform;

[0037] Step 4: Receive the event notification from the blockchain, call the cross-chain contract of another chain, and then the cross-chain contract calls the business contract to complete the t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a cross-chain relay platform-based cross-chain method and system. The cross-chain method includes the following steps that: step 1, a user request is sent to a service contract; step 2, whether a cross-chain transaction occurs is determined; if a cross-chain transaction occurs, the method enters a step 3, if no cross-chain transactions occur, the method enters a step 6; step 3, a cross-chain contract is called, an event is generated, and parameters are transferred to a cross-link relay platform; step 4, an event notification transferred from a blockchain is received, and the cross-chain contract of an another chain is called, and the cross-chain contract is adopted to call the service contract, so that the transaction can be completed; step 5, the transaction savesan execution state, if the on-chain transaction of two transaction parties is successful, the state is updated, and if the execution of one party fails, the transaction is rolled back; and step 6, the method enters a blockchain network platform. With the method and system of the invention adopted, different data types can be well unified; and the same method is adopted to call different blockchain platforms, the inconsistence of the interfaces and parameters of different chains can be ignored; and message transmission between the different blockchains can be realized.

Description

technical field [0001] The present invention relates to a cross-chain method, and more specifically refers to a cross-chain method and system based on a cross-chain relay platform. Background technique [0002] At present, the blockchain technology is in an era when a hundred flowers are blooming and a hundred schools of thought are contending. Various blockchains have emerged one after another, and the interactive operation between different blockchains has become a very important and urgent need; however, the existing technology There are the following problems: 1. The data types of different blockchains are not uniform; 2. The Sdk calling methods are quite different, and the language protocols are not unified; 3. Different blockchains do not provide interfaces to transfer data to each other. [0003] Therefore, it is necessary to design a cross-chain method based on a cross-chain relay platform to unify different data types and use the same method to call the blockchain p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06Q40/04G06F9/54
CPCG06F9/542G06Q40/04
Inventor 张华飞梁永甫王超
Owner 深圳四方精创资讯股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products