Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-party cross-chain method based on consistent hash consensus protocol

A consistency and hash algorithm technology, applied in the blockchain field, can solve the problems that cannot solve the needs of cross-chain consensus

Active Publication Date: 2020-05-19
HANGZHOU YUNXIANG NETWORK TECH
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] It can be seen that the current cross-chain technology cannot solve the growing blockchain demand for cross-chain consensus, and it is urgent to propose various effective solutions

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
  • Multi-party cross-chain method based on consistent hash consensus protocol
  • Multi-party cross-chain method based on consistent hash consensus protocol
  • Multi-party cross-chain method based on consistent hash consensus protocol

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0050] 1. figure 1 It shows an implementation form according to the present invention, and shows a schematic diagram of the overall architecture of a multi-party cross-chain method based on a consistent hash consensus protocol. This schematic diagram shows a model that carries the method of the present invention. User U={U 1 , U 2 ,...,U n} Cross-chain transactions occur, assets need to be transferred, U i Generally refers to the i-th user, and the specific implementation steps are as follows:

[0051] (1) Formulate a consensus protocol for multi-party cross-chain systems to realize the smooth progress of verification transactions, thereby ensuring the security of users' assets, and calculate the user U according to the hash function of the consistent hash algorithm. i Hash value, where user U i at chain X i superior;

[0052] (2) Find the user U according to the hash value i The position of the corresponding virtual node on the hash ring, when preparing to conduct cro...

specific Embodiment 2

[0058] 2. In another example, take the present invention to realize the consensus protocol based on the consistent hash algorithm as an example, such as figure 2 shown. Adopting this scheme has the advantage of realizing system load balancing. Moreover, this manner is only an illustration of a preferred example, but is not limited thereto. When implementing the present invention, the implementation style of the application scene can be changed according to user requirements. The consistent hash consensus protocol in the step (1) also includes the user U iConsists of various message processing nodes, including proposal nodes, which are used to propose transaction proposals (proposal number PID and proposal content V); consensus nodes: participate in the process of verifying consensus; backup nodes: obtain approved proposals. All nodes in the blockchain can be proposal nodes, consensus nodes and backup nodes. All notification messages contain only the PID. The specific imp...

specific Embodiment 3

[0073] 3. If image 3 Shown is a flow chart for realizing the cross-chain consensus of the present invention, which takes asset transaction transfer as an example to illustrate the specific implementation process of the multi-party cross-chain consensus of the present invention. Among them, the step (3) includes: during the transaction process of the user U, the total amount of assets involved satisfies the condition: U can form a tradable matrix A, if and only if the equation , the transaction can proceed smoothly.

[0074] The step (4), or the process of realizing load balancing, also includes realizing virtual node data backup and dynamic migration, wherein the step of realizing virtual node data backup includes: according to the storage and processing capabilities of the server or each node, allocating the corresponding capabilities For matching tasks, the capabilities are matched, that is, considering the size of stored data and asset requirements, that is, assigning ta...

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 discloses a multi-party cross-chain method based on a consistent hash consensus protocol. The method comprises the following steps: (1) formulating a consensus protocol for a multi-partycross-chain system; (2) finding the position of a corresponding virtual node according to a consistent hash algorithm; (3) enabling multi-party users to interact with each other; (4) storing user data to corresponding virtual nodes; (6) receiving the verification interaction request, triggering the smart contract to carry out a cross-chain consensus process, and completing data cross-chain afterthe interaction verification is passed and a consensus is reached. According to the multi-party cross-chain method, efficient consensus between cross-chains can be achieved, and the consensus efficiency is improved through the consistent hash algorithm, so load balancing of the system in the cross-chain interaction process of multiple parties is achieved.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a multi-party cross-chain method based on a consistent hash consensus protocol. Background technique [0002] The essence of blockchain is a decentralized distributed chain system. This system can include the mutual cooperation of multiple chains. Its unique distributed chain structure realizes the traceability of data on the chain. Based on cryptography technology and The consensus mechanism realizes functions such as non-tampering and non-forgery, and then coordinates the security and data sharing among multiple blockchains. However, due to the strong specificity and variety of each chain on the blockchain, and the increase in the number of multi-chain channels for blockchain applications, the interoperability and consistency issues between blockchain chains have gradually become prominent. [0003] The core technology of distributed systems is consensus techn...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/06H04L29/08G06F9/455G06Q20/38G06Q40/04
CPCH04L9/0643H04L67/1008H04L67/1095G06Q20/3827G06F9/45558G06Q40/04G06F2009/4557Y02D10/00
Inventor 黄步添周伟华罗春凤肖震刘振广
Owner HANGZHOU YUNXIANG NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products