Implementation method and device of code hosting warehouse based on block chain and medium

An implementation method, blockchain technology, applied in software maintenance/management, version control, digital data authentication, etc., can solve problems such as easy insertion of malicious code and loss of data, so as to reduce malicious code being written and code The effect of static errors

Pending Publication Date: 2021-05-07
浪潮云洲工业互联网有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides an implementation method, device and medium of a blockchain-based code hosting warehouse, which is used to solve the technical problems that the existing code warehouse is prone to failure, data loss and malicious code insertion during deployment.

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
  • Implementation method and device of code hosting warehouse based on block chain and medium
  • Implementation method and device of code hosting warehouse based on block chain and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0024] The current code hosting warehouses include gitlab, etc. Its main functions include code hosting, version control, etc., but its data security and security measures are still insufficient. Malicious code can be implanted in the hosted code.

[0025] The embodiment of the present application provides a method, device, and medium for implementin...

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 an implementation method and device for a code hosting warehouse based on a block chain and a medium, and aims to solve the technical problems that an existing code warehouse is easy to fail to lose data and is easy to insert malicious codes during deployment. The method comprises the steps of obtaining preset block chain information uploaded by a first user, and creating a block chain based on the preset block chain information; deploying a code developer as a second user on the block chain node; receiving a smart contract code input by a first user and writing the smart contract code into the block chain; uploading the smart contract code to a second user through the block chain node; when a modification code input by a second user is received, brining the modification code automatically into the smart contract code, and verifying whether the modification code accords with the agreement of the smart contract code; and when the agreement is met, writing the modification code into the block chain. By means of the method, distributed storage of the codes is achieved, and the problems of code static errors, malicious code writing and the like are avoided.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to an implementation method, device and medium of a blockchain-based code hosting warehouse. Background technique [0002] At this stage, the method used for code hosting is mainly a stand-alone deployment hosting method. When a bug occurs in the online product corresponding to the code, the code developer can modify the code through the code warehouse. [0003] However, when code hosting is deployed, especially when it is deployed on a single machine, it is prone to failure and data loss. In addition, attackers can pretend to be code developers, bypass permission verification based on vulnerabilities, etc., and implant malicious codes in managed codes, making the functions of online products unable to be used normally. Contents of the invention [0004] The embodiment of the present application provides an implementation method, device, and medium of a blockchain...

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): G06F8/71G06F21/31
CPCG06F8/71G06F21/31
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