首页> 外国专利> METHOD AND CONTRACT REWRITING FRAMEWORK SYSTEM FOR SUPPORTING SMART CONTRACTS IN A BLOCKCHAIN NETWORK

METHOD AND CONTRACT REWRITING FRAMEWORK SYSTEM FOR SUPPORTING SMART CONTRACTS IN A BLOCKCHAIN NETWORK

机译:用于在区块链中支持智能合同的方法和合同重写框架系统

摘要

A method for A method for supporting smart contracts in a blockchain network, wherein the blockchain network is a distributed blockchain network having nodes, wherein each node that validates transactions runs a virtual machine for executing a smart contract, wherein a contract rewriting framework system is provided, wherein said contract rewriting framework system comprises a vulnerability detection tool, a rewriter tool and a deployment component, the method comprising: obtaining, by the deployment component, a permission to upgrade a smart contract, wherein said permission is granted to the deployment component by a creator and/or owner of the smart contract during a creation phase of the smart contract; retrieving, by the contract rewriting framework system, the smart contract from the blockchain network, wherein the smart contract is passed to the vulnerability detection tool; detecting, by the vulnerability detection tool, a vulnerability in the smart contract, wherein the vulnerability detection tool determines a type of the vulnerability and an instruction location of the vulnerability; rewriting, by the rewriter tool, the smart contract to include a patch for fixing the vulnerability, wherein a patched smart contract is generated by the rewriter tool based on the type of the vulnerability and the instruction location of the vulnerability; issuing, by the deployment component, an upgrade transaction including the patched smart contract to the blockchain network, such that the patched smart contract is deployed in the blockchain network. Furthermore, a corresponding contract rewriting framework system is disclosed.
机译:一种方法,用于支持区块链中的智能契约的方法,其中块链网络是具有节点的分布式区块链网络,其中验证事务的每个节点运行用于执行智能合同的虚拟机,其中提供了合同重写框架系统其中所述合同重写框架系统包括漏洞检测工具,重写机工具和部署组件,该方法包括:通过部署组件来获得升级智能合同的许可,其中所述许可被授予部署组件在智能合约的创建阶段期间智能合同的创造者和/或所有者;通过合同重写框架系统检索,来自区块链网络的智能合同,其中智能合同将传递给漏洞检测工具;通过漏洞检测工具检测智能合同中的漏洞,其中漏洞检测工具确定漏洞的类型和漏洞的指令位置; Rewrition Tool重写智能合同,包括用于修复漏洞的修补程序,其中,基于漏洞的类型和漏洞的指令位置的Rewriter工具生成了修补程序的智能合同;通过部署组件发出升级事务,包括修补的智能合同到区块链网络,使得已修补的智能合同部署在区块链网络中。此外,公开了一种相应的合同重写框架系统。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号