Algorithm protection method, device, device and storage medium based on go language

An algorithm and language technology, applied in the field of information security, can solve problems such as the inability to protect the source code of the algorithm, and achieve the effect of protecting the intellectual property rights of the core algorithm and being easy to implement

Inactive Publication Date: 2019-02-01
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved in the present invention is to overcome the problem that the source code of the algorithm cannot be protected in the block chain in the prior art, and proposes an algorithm protection method, device, equipment and storage medium based on th

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
  • Algorithm protection method, device, device and storage medium based on go language
  • Algorithm protection method, device, device and storage medium based on go language
  • Algorithm protection method, device, device and storage medium based on go language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described by way of examples below, but the present invention is not limited to the scope of the examples.

[0044] First of all, the present invention proposes an algorithm protection method based on the Go language to protect the algorithm in the smart contract.

[0045] In the first embodiment, such as figure 1 As shown, the algorithm protection method based on Go language includes the following steps:

[0046] Step 01: Write the algorithm library source file in go language.

[0047] The go language mentioned here is the second open source programming language released by Google, which can reduce the complexity of the code without sacrificing application performance.

[0048] Because the go language plug-in system of the go language v1.8 and above supports the call of the dynamic link library, this method is only for smart contracts written in the go language v1.8 and above.

[0049] The algorithm library mentioned here is mainly a zero-kno...

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 algorithm protection method based on go language, belonging to the field of information security. The invention relates to an algorithm protection method based on go language, which is used for protecting the algorithm in intelligent contract. The method comprises the following steps: compiling an algorithm library source file by go language; The algorithm library sourcefile is compiled to generate the corresponding algorithm dynamic library file and the API function prototype of the algorithm dynamic library file. Upload the intelligent contract and algorithm dynamic library files to docker, deploy and initialize the intelligent contract; The intelligent contract is written in go language, and the algorithm part of the intelligent contract is realized by calling the API interface of the algorithm dynamic library file. Deploying includes specifying the call path of the algorithm dynamic library file in the docker in the smart contract; Initializing includesdynamically invoking the API interface of the algorithm dynamic library according to the invocation path to load the algorithm dynamic library. The invention does not need to make any modification tothe original deployment flow of the intelligent contract, and is easy to realize.

Description

Technical field [0001] The present invention relates to the field of information security, and relates to an algorithm protection method, device, equipment and storage medium based on Go language. Background technique [0002] A smart contract is a digital form of contract, which is a piece of executable code written and implemented by a computer language. [0003] With the popularization of blockchain applications, the use of smart contracts has become more and more extensive. In many smart contracts, third-party algorithm libraries are used to complete certain established, specific, industry-recognized and indisputable The functions of these third-party algorithm libraries are often inconvenient to disclose their source code due to the protection of their own intellectual property rights by third-party companies. [0004] Take the zero-knowledge proof algorithm library that is widely used in terms of privacy protection as an example. The function of the zero-knowledge proof algori...

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): G06F21/12G06F9/445
CPCG06F21/125G06F9/44521
Inventor 谢丹力张松松
Owner PING AN TECH (SHENZHEN) CO LTD
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