
基本信息:
- 专利标题: 基于go语言的算法保护方法、装置、设备及存储介质
- 专利标题(英):Algorithm protection method, device, device and storage medium based on go language
- 申请号:CN201811055763.0 申请日:2018-09-11
- 公开(公告)号:CN109299587A 公开(公告)日:2019-02-01
- 发明人: 谢丹力 , 张松松
- 申请人: 平安科技(深圳)有限公司
- 申请人地址: 广东省深圳市福田区福田街道福安社区益田路5033号平安金融中心23楼
- 专利权人: 平安科技(深圳)有限公司
- 当前专利权人: 平安科技(深圳)有限公司
- 当前专利权人地址: 广东省深圳市福田区福田街道福安社区益田路5033号平安金融中心23楼
- 代理机构: 北京英特普罗知识产权代理有限公司
- 代理人: 林彦之
- 主分类号: G06F21/12
- IPC分类号: G06F21/12 ; G06F9/445
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.