Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-channel load balancing method based on Hyperledger-fabric

A load balancing, multi-channel technology, applied in the field of alliance chains, can solve the problems of reducing block data query performance, increasing operation and maintenance costs, etc., to achieve the effect of enhancing query speed, enhancing isolation and confidentiality, and achieving load balancing

Active Publication Date: 2019-11-12
上海浦东发展银行股份有限公司信用卡中心
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the amount of data in a single channel is very large, it will reduce the performance of block data query and increase the cost of operation and maintenance

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-channel load balancing method based on Hyperledger-fabric
  • Multi-channel load balancing method based on Hyperledger-fabric

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0022] The present invention relates to a kind of multi-channel load balancing method based on Hyperledger-fabric, and the method is processed at the client, including the following steps:

[0023] Step 1: Create multiple channels, add each Peer node to each channel, and split the block data to realize data splitting.

[0024] Step 2: Instantiate the smart contract, call the smart contract on the client side, and locate the channel where the data is uploaded to the chain, so that the data is evenly distributed among multiple channels.

[0025] Step 3: Poll the Peer node, obtain the organization object, and perform data upload or data query transactions.

[0026] Step 4: Initialize the multiple channels created, traverse the blockchain in each channel, and obtain query data.

[0027] This embodiment takes the scenario of "the total amount of block data is 10G, divided into 10 channels for access, and each channel is 1G" as an example:

[0028] a) Channel: Create 10 channels, ...

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 multi-channel load balancing method based on Hyperleder-fabric, and the method comprises the following steps: 1), creating a plurality of channels, adding each Peer node into each channel, and carrying out the shunting of block data, thereby achieving the data splitting; 2) instantiating the smart contract, calling the smart contract at a client, and positioning a channel of a data uplink, so that the data is uniformly distributed in a plurality of channels; 3) polling Peer nodes, obtaining organization objects, and performing data uplink or data query transaction; and 4) initializing the plurality of created channels, traversing the block chain in each channel, and querying data according to the primary key to complete load balancing of the plurality of channels. Compared with the prior art, the method has the advantages of realizing load balancing, enhancing isolation and confidentiality of the data, enhancing data query speed and the like.

Description

technical field [0001] The invention relates to the technical field of consortium chains, in particular to a multi-channel load balancing method based on Hyperledger-fabric. Background technique [0002] As a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm, blockchain has become the most concerned technology at present. Blockchain (Blockchain) is essentially a decentralized database. A series of data blocks associated with each other using cryptographic methods are used to verify the validity of the information (anti-counterfeiting) and generate the next block. However, almost without exception, domestic enterprise-level blockchain projects choose regulated, partially decentralized, high-performance alliance chains. [0003] Hyperledger Fabric is an alliance chain development platform, which is quite different from the popular public chain platforms such as Ethereum and...

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): G06F9/50G06F16/22G06F16/2458
CPCG06F9/5083G06F16/2255G06F16/2471
Inventor 李虎曾毅峰刘佳利吴昊
Owner 上海浦东发展银行股份有限公司信用卡中心