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

A method to improve the deployment efficiency of hyperledger composer chain code

A chain code and efficiency technology, applied in the field of improving the deployment efficiency of hyperledgercomposer business network, can solve problems such as failure, inconvenient deployment, and high cost

Active Publication Date: 2021-01-05
广州科创空间信息科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the actual business network deployment through hyperledger composer, the ccenv of the underlying fabric will compile the source code to generate binary files, which generally takes a long time and often times out.
For this reason, in the existing technology, this problem is solved by building an npm mirror server locally, but this cost is relatively high, and it is not suitable for small businesses and individual users; or by modifying the official ccenv mirror to avoid frequent installation of npm dependencies, this The technical requirements are also relatively high, and in the production environment, it is not convenient to deploy, and it will also bring relatively large risks
In addition, by passing the parameter registry=http: / / mycompanynpmregistry.com:4873, through this parameter, an instruction is sent to npm to make the URL specified by the registry search for the corresponding npm package, but from the test results, it is unsuccessful

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
  • A method to improve the deployment efficiency of hyperledger composer chain code
  • A method to improve the deployment efficiency of hyperledger composer chain code
  • A method to improve the deployment efficiency of hyperledger composer chain code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0017] Wherein, the accompanying drawings are only for illustrative purposes, showing only schematic diagrams, rather than physical drawings, and should not be construed as limitations on this patent; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings will be omitted, Enlargement or reduction does not represent the size of the actual product; for those skilled in the art, it is understandable that certain known structures and their descriptions in the drawings may be omitted.

[0018] In the drawings of the embodiments of the present invention, the same or similar symbols correspond to the same or similar components; , "inner", "outer" and other indicated orientations or positional relationships are based on the orientations or positional ...

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 method for improving the deployment efficiency of hyperledger composer chain codes, that is, in deploying a business network through hyperledger composer, a proxy server is established using proxy service software, and the address of the proxy server is passed in through parameters, and the ccenv of the underlying fabric is informed to go to Access the proxy server, and obtain the corresponding binary file from the mirror server through the proxy server when ccenv compiles the chaincode. The present invention is easy to implement, greatly improves the stability of deploying chain codes, and the success rate of deployment can reach 99%. Secondly, it greatly shortens the time for deploying chain codes, mainly avoiding access to aws timeout and grpc to a large extent The compilation of the source code and the test on the same machine show that the deployment time of the prior art needs ≥ 10 minutes, but the present invention shortens it to 2-3 minutes.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a method and technology for improving the deployment efficiency of a hyperledger composer business network. Background technique [0002] In the actual business network deployment through hyperledger composer, the ccenv of the underlying fabric will compile the source code to generate binary files, which generally takes a long time and often times out and fails. For this reason, in the existing technology, this problem is solved by building an npm mirror server locally, but this cost is relatively high, and it is not suitable for small businesses and individual users; or by modifying the official ccenv mirror to avoid frequent installation of npm dependencies, this The technical requirements are also relatively high, and in the production environment, it is not convenient to deploy, and it will also bring relatively large risks. In addition, by passing the parameter registr...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06H04L12/24G06F8/41
CPCH04L67/02H04L67/06H04L67/34H04L69/08H04L41/0893G06F8/41H04L67/1095H04L67/51H04L67/56
Inventor 郭俊汪志超陈文元张嘉杰胡西冲
Owner 广州科创空间信息科技有限公司