CN111475777B - Upgrading method of intelligent block chain contracts - Google Patents
Upgrading method of intelligent block chain contracts Download PDFInfo
- Publication number
- CN111475777B CN111475777B CN202010159179.0A CN202010159179A CN111475777B CN 111475777 B CN111475777 B CN 111475777B CN 202010159179 A CN202010159179 A CN 202010159179A CN 111475777 B CN111475777 B CN 111475777B
- Authority
- CN
- China
- Prior art keywords
- contract
- module
- intelligent contract
- data
- controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012795 verification Methods 0.000 claims abstract description 57
- 238000012216 screening Methods 0.000 claims description 34
- 239000011159 matrix material Substances 0.000 claims description 9
- 238000007689 inspection Methods 0.000 claims description 8
- 230000009467 reduction Effects 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 claims description 4
- 238000004422 calculation algorithm Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 238000007637 random forest analysis Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000012706 support-vector machine Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000013101 initial test Methods 0.000 claims description 2
- 238000012986 modification Methods 0.000 claims description 2
- 230000004048 modification Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000012797 qualification Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/105—Arrangements for software license management or administration, e.g. for managing licenses at corporate level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/629—Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/10—Machine learning using kernel methods, e.g. support vector machines [SVM]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- Medical Informatics (AREA)
- Mathematical Physics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Technology Law (AREA)
- Multimedia (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to an upgrade method of a blockchain intelligent contract, which takes a blockchain technology as a support, builds a contract architecture system of a controller contract and a data contract, wherein an editing bare interface of the data contract is only opened to the controller contract, so that the authority of unified access and editing of data is realized, the authority control of unified access and editing of data is realized by opening the editing bare interface of the data only to the controller contract, and the user qualification of issuing contract upgrade request information is strictly checked through a secondary verification mode of user identity initial verification and public verification voting, thereby ensuring the safety and reliability of the contract upgrade process.
Description
Technical Field
The invention relates to the technical field of blockchain, in particular to a method for upgrading a blockchain intelligent contract.
Background
The intelligent contract is used as a program which is driven by events, has a state and runs on a blockchain system, can store and process digital points on a blockchain ledger, and can realize partial functions of a traditional application system. However, the intelligent contract is different from the traditional application program in that the intelligent contract cannot be changed once being issued on the blockchain, even if the Bug in the intelligent contract needs to be repaired or business logic is changed, the intelligent contract cannot be directly modified on the original contract and then reissued, so that the maintainability of the blockchain system is poor, and a great hidden trouble exists. Therefore, reasonable upgrade mechanisms need to be considered in combination with business scenarios at the beginning of design.
Disclosure of Invention
In view of the above, the present invention provides a method for upgrading a blockchain smart contract that solves or partially solves the above-mentioned problems. In order to achieve the effects of the technical scheme, the technical scheme of the invention is as follows: the method comprises the following steps: the intelligent contract system comprises a controller, a contract module, a data contract module, a first test module and a public test module; the controller contract module provides an interface of intelligent contract upgrading service for a user; the controller contract module comprises a first controller contract sub-module, a second controller contract sub-module, … … and an Nth controller contract sub-module, wherein N is determined by the intelligent contract system, and all the controller contract sub-modules are stored in a distributed mode on a blockchain;
the second method is as follows: the data contract module stores intelligent contract codes, the intelligent contract codes calculate hash values through hash operation, and the hash values are stored in a distributed mode on a blockchain; the data contract module comprises a first data contract sub-module, a second data contract sub-module, … … and an N-th data contract sub-module, wherein each data contract sub-module stores a section of encapsulated intelligent contract code to generate a corresponding hash value and an editing bare interface;
and a third method: the data contract sub-module editing bare interfaces are in one-to-one correspondence with the controller contract sub-modules, namely the first controller contract sub-module can access the first data contract sub-module editing bare interfaces, the N-th controller contract sub-module can access the N-th data contract sub-module editing bare interfaces, one or more controller contract sub-modules can synchronously access one or more corresponding data contract sub-modules, and the response level of the data synchronous access is determined by the intelligent contract system;
the method four: the initial verification module is responsible for carrying out preliminary verification on the upgrade request information; the public inspection module is responsible for carrying out secondary verification on the upgrade request information;
and a fifth method: the intelligent contract upgrading method comprises the following steps:
step one: the controller contract submodule is connected with external service equipment through an interface, a user sends upgrade request information to one or more controller contract submodules through the external service equipment, and the upgrade request information comprises user information, a hash value of an intelligent contract code, an intelligent contract code screening mark of modification, a controller contract submodule address and a data contract submodule address;
step two: the initial test module respectively establishes a data set for hash values of 1 st to N th intelligent contract codes, intelligent contract code screening marks, controller contract sub-module addresses and data contract sub-module addresses, wherein the hash values of the intelligent contract codes are one-dimensional data sets, the intelligent contract code screening marks are two-dimensional data sets, the controller contract sub-module addresses are three-dimensional data sets, the data contract sub-module addresses are four-dimensional data sets, a random forest model is utilized to establish a four-dimensional mapping relation matrix, a distribution law of the intelligent contract code screening marks in each group of matrix sequences in the intelligent contract code screening marks requested to be modified by a user is calculated, the ratio of the distribution law to the intelligent contract code screening mark length requested to be modified by the user is used as a state coefficient, the gain of the intelligent contract code labels in each group of matrix sequences is calculated as a full-state coefficient, the state coefficient is multiplied by the full-state coefficient to obtain weights of each group of the intelligent contract code labels, a weight list is formed, a weight threshold is calculated by a least square method according to the distribution of the weight list, the weight threshold is calculated by the weight threshold, and the weight list is added into a judgment mark and the identity history model is expanded, and the dimension is established; the history mark is used for identifying history upgrading information, and specifically comprises user information, upgrading state, upgrading time and upgrading profile; the judging mark judges the upgrading state and the weight of the history mark, the history information with failed upgrading state is moved into a blacklist database, and the intelligent contract code screening mark with weight lower than the weight threshold value is moved into the blacklist database; the judging mark compares the user information and the intelligent contract code screening mark input by the user with the blacklist database, and if the user information or the intelligent contract code screening mark is in the blacklist database, the upgrading request is refused, and refused information is sent to the controller contract submodule; if the user information and the intelligent contract code screening mark are not in the blacklist database, sending a primary verification passing instruction and the upgrading request information to the public verification module for secondary verification;
step three: after receiving the preliminary verification passing instruction, the public verification module initiates broadcast to all citizens in the blockchain, and the citizens need to pay the mortgage points meeting the regulations to the negotiable members to participate in the public verification voting, and sets a mortgage point interval as [ a, b ] for limiting the voting right range]The citizens can determine the payment amount according to the self-point conditions, and the citizens with the payment amount lower than a or higher than b cannot participate in the public inspection voting, so that the determined coefficients of the public inspection voting are determined according to the specified mortgage point payment amount:wherein P is i The decision coefficients for the ith participating voted user, i=1, 2, …, n, represent that a total of n users qualify for the votes, M i Representing the mortgage point payment amount, M, of the ith participating voting user 1 ~M n Expressing the mortgage point payment amounts of the 1 st to nth participating public voting users; the user who issues the upgrade request information needs to pay a certain amount of application points Q, the application points are frozen in the agenda account and cannot be returned, the application points are used for rewarding users participating in voting according to a decision coefficient after the voting is finished, and the ith reward points B obtained by the users participating in the voting are used for rewarding the users participating in the voting i The method comprises the following steps: b (B) i =QP i Wherein->If the user applies for N * If the intelligent contract code is updated, N needs to be initiated * Secondary vote, N * Is [1, N]Natural number of (3); the voting mechanism votes the upgrade request information by the users participating in the voting, calculates the voting result C,/and the like>Wherein alpha is i Voting result for the ith participating voting user, alpha i The value range is 0 or 1, if C is less than 50% and the upgrading request is refused, refusing information is sent to the controller contract submodule; if C is more than or equal to 50%, the upgrading request passes the secondary verification;
step four: when the upgrade request passes the secondary verification, an upgrade instruction is allowed to be sent to the initial verification module, the identity verification space model is subjected to dimension reduction through a support vector machine algorithm, a hash value of an intelligent contract code corresponding to an intelligent contract code screening mark which is requested to be modified by a user, a controller contract sub-module address and a data contract sub-module address are obtained, the dimension reduction result is sent to the controller sub-module, the controller sub-module accesses the corresponding data contract sub-module according to the received data contract sub-module address, an editing bare interface for storing data is obtained, the user matches the hash value of the obtained intelligent contract code with the intelligent contract code in the data contract sub-module through the editing bare interface, the intelligent contract code corresponding to the hash value is obtained, and the intelligent contract code is edited and stored, so that the intelligent upgrade of the block chain contract is completed.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the invention is described in detail below with reference to the embodiments. It should be noted that the specific embodiments described herein are only for explaining the present invention, and are not intended to limit the present invention, and products capable of achieving the same function are included in the scope of protection of the present invention as equivalents and improvements. The specific method comprises the following steps:
example 1: the embodiment specifically illustrates the steps of a method for upgrading a blockchain intelligent contract, which are as follows:
the intelligent contract system comprises a controller contract module, a data contract module, a first verification module and a public verification module.
The controller contract module provides an interface of intelligent contract upgrading service for the user; the controller contract module comprises a first controller contract sub-module, a second controller contract sub-module, … … and an Nth controller contract sub-module, N is determined by the intelligent contract system, and all the controller contract sub-modules are distributed and stored on the block chain.
The data contract module stores intelligent contract codes, the intelligent contract codes calculate hash values through hash operation, and the hash values are stored in a distributed mode on a block chain; the data contract module comprises a first data contract sub-module, a second data contract sub-module, … … and an N-th data contract sub-module, wherein each data contract sub-module stores a section of encapsulated intelligent contract code to generate a corresponding hash value and an editing bare interface; the data contract sub-module editing bare interfaces are in one-to-one correspondence with the controller contract sub-modules, namely, a first controller contract sub-module can access the first data contract sub-module editing bare interfaces, an N controller contract sub-module can access the N data contract sub-module editing bare interfaces, one or more controller contract sub-modules can synchronously access one or more corresponding data contract sub-modules, and the response level of the data synchronous access is determined by the intelligent contract system.
The initial verification module is responsible for carrying out preliminary verification on the upgrade request information. The method comprises the steps that a primary verification module respectively establishes a data set for hash values of 1 st to N th intelligent contract codes, intelligent contract code screening marks, controller contract submodule addresses and data contract submodule addresses, the hash values of the intelligent contract codes are one-dimensional data sets, the intelligent contract code screening marks are two-dimensional data sets, the controller contract submodule addresses are three-dimensional data sets, the data contract submodule addresses are four-dimensional data sets, a random forest model is utilized to establish a four-dimensional mapping relation matrix, the distribution law of the intelligent contract code screening marks in each group of matrix sequences in the intelligent contract code screening marks requested to be modified by a user is calculated, the ratio of the distribution law to the intelligent contract code screening mark length requested to be modified by the user is used as a state coefficient, the gain of the intelligent contract code labels in each group of matrix sequences is calculated as a full-state coefficient, the state coefficient is multiplied by the full-state coefficient to obtain the weight of each group of the intelligent contract code labels, a weight list is formed, a weight threshold is calculated by a least square method according to the weight distribution of the weight list, a judgment mark and a tag expansion dimension is calculated by the least square method, and an identity verification space is established; the history mark is used for identifying history upgrading information, and specifically comprises user information, upgrading state, upgrading time and upgrading profile; judging the upgrading state and the weight of the historical mark by the judging mark, moving the historical information with the failed upgrading state into a blacklist database, and moving the intelligent contract code screening mark with the weight lower than the weight threshold into the blacklist database; the judgment mark compares the user information input by the user and the intelligent contract code screening mark with the blacklist database.
The public verification module is responsible for carrying out secondary verification on the upgrade request information. The verification method of the verification module comprises the following steps: after receiving the preliminary verification passing instruction, broadcasting to all citizens in the blockchain, wherein the citizens need to pay the mortgage points meeting the regulations to the negotiator to participate in the publicsVoting, setting a mortgage integration interval as [ a, b ] to limit the voting right range]The citizens can determine the payment amount according to the self-point conditions, and the citizens with the payment amount lower than a or higher than b cannot participate in the public inspection voting, so that the determined coefficients of the public inspection voting are determined according to the specified mortgage point payment amount:wherein P is i The decision coefficients for the ith participating voted user, i=1, 2, …, n, represent that a total of n users qualify for the votes, M i Representing the mortgage point payment amount, M, of the ith participating voting user 1 ~M n Expressing the mortgage point payment amounts of the 1 st to nth participating public voting users; the user who issues the upgrade request information needs to pay a certain amount of application points Q, the application points are frozen in the accounts of the negotiable members and cannot be returned, the user who participates in the voting is rewarded to the user who participates in the voting according to the decision coefficient after the voting is finished, and the rewarded points B obtained by the ith participating in the public voting user i The method comprises the following steps: b (B) i =QP i Wherein->If the user applies for N * If the intelligent contract code is updated, N needs to be initiated * Secondary vote, N * Is [1, N]Natural number of (3); the voting mechanism votes for the upgrade request information by the users participating in the voting, calculates the voting result C,/and->Wherein alpha is i Voting result for the ith participating voting user, alpha i The value range is 0 or 1.
The intelligent contract upgrading method comprises the following steps:
step one: the controller contract submodule is connected with the external service equipment through an interface, a user sends upgrade request information to one or more controller contract submodules through the external service equipment, and the upgrade request information comprises user information, a hash value of an intelligent contract code requested, an intelligent contract code screening mark requested to be modified, a controller contract submodule address requested and a data contract submodule address requested;
step two: the judgment mark of the initial verification module compares the user information input by the user, the intelligent contract code screening mark and the blacklist database, and if the user information or the intelligent contract code screening mark is in the blacklist database, the upgrading request is refused, and refused information is sent to the controller contract sub-module; if the user information and the intelligent contract code screening mark are not in the blacklist database, sending the primary verification passing instruction and the upgrading request information to a public verification module for secondary verification;
step three: after receiving the preliminary verification passing instruction, the public verification module organizes all citizens in the blockchain to carry out public verification voting, and after voting, the public verification module counts a voting result C, and if C is less than 50% and indicates that the upgrading request is refused, the refusing information is sent to the controller contract sub-module; if C is more than or equal to 50%, the upgrading request passes the secondary verification;
step four: when the upgrade request passes the secondary verification, an upgrade instruction is allowed to be sent to the initial verification module, the dimension of the identity verification space model is reduced through a support vector machine algorithm, a hash value of an intelligent contract code corresponding to an intelligent contract code screening mark requested to be modified by a user, a controller contract sub-module address and a data contract sub-module address are obtained, the dimension reduction result is sent to the controller sub-module, the controller sub-module accesses the corresponding data contract sub-module according to the received data contract sub-module address, an editing bare interface for storing data is obtained, the user matches the hash value of the obtained intelligent contract code with the intelligent contract code in the data contract sub-module through the editing bare interface, the intelligent contract code corresponding to the hash value is obtained, and the intelligent contract code is edited and stored, so that the upgrade of the block chain intelligent contract is completed.
The above description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the claims. While the invention has been described in terms of what are presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments.
The beneficial results are as follows: the invention provides an upgrading method of a blockchain intelligent contract, which takes a blockchain technology as a technical support, builds a contract architecture system of a controller contract and a data contract, wherein an editing bare interface of the data contract is only opened to the controller contract, thereby realizing authority control of unified access and editing of data, strictly checking the user qualification of issuing contract upgrading request information through a secondary verification mode of user identity primary verification and public verification voting, and ensuring the safety and reliability of the contract upgrading process.
Claims (1)
1. A method for upgrading a blockchain intelligent contract is characterized by comprising the following steps of:
the intelligent contract system comprises a controller contract module, a data contract module, a first verification module and a public verification module; the controller contract module provides an interface of intelligent contract upgrading service for a user; the controller contract module comprises a first controller contract sub-module, a second controller contract sub-module, … … and an Nth controller contract sub-module, wherein N is determined by the intelligent contract system, and all the controller contract sub-modules are stored in a distributed mode on a blockchain;
the data contract module stores intelligent contract codes, the intelligent contract codes calculate hash values through hash operation, and the hash values are stored in a distributed mode on a blockchain; the data contract module comprises a first data contract sub-module, a second data contract sub-module, … … and an N-th data contract sub-module, wherein each data contract sub-module stores a section of encapsulated intelligent contract code to generate a corresponding hash value and an editing interface;
the data contract submodule editing interfaces are in one-to-one correspondence with the controller contract submodules, namely the first controller contract submodule can access the first data contract submodule editing interfaces, the Nth controller contract submodule can access the Nth data contract submodule editing interfaces, one or more controller contract submodules can synchronously access one or more corresponding data contract submodules, and the response level of the data synchronous access is determined by the intelligent contract system;
the initial verification module is responsible for carrying out preliminary verification on the upgrade request information; the public inspection module is responsible for carrying out secondary verification on the upgrade request information;
the intelligent contract upgrading method comprises the following steps:
step one: the controller contract submodule is connected with external service equipment through an interface, a user sends upgrade request information to one or more controller contract submodules through the external service equipment, and the upgrade request information comprises user information, a hash value of an intelligent contract code, an intelligent contract code screening mark of modification, a controller contract submodule address and a data contract submodule address;
step two: the initial test module respectively establishes a data set for hash values of 1 st to N th intelligent contract codes, intelligent contract code screening marks, controller contract sub-module addresses and data contract sub-module addresses, wherein the hash values of the intelligent contract codes are one-dimensional data sets, the values of the intelligent contract code screening marks are two-dimensional data sets, the controller contract sub-module addresses are three-dimensional data sets, the data contract sub-module addresses are four-dimensional data sets, a random forest model is utilized to establish a four-dimensional mapping relation matrix, a distribution law of the intelligent contract code screening marks in each group of matrix sequences in the intelligent contract code screening marks requested to be modified by a user is calculated, the ratio of the distribution law to the intelligent contract code screening mark length requested to be modified by the user is used as a state coefficient, the gain of the intelligent contract code labels in each group of matrix sequences is calculated as a full-state coefficient, the state coefficient is multiplied by the full-state coefficient to obtain weights of each group of the intelligent contract code labels, a weight list is formed, a weight threshold is calculated by a least square method according to the weight distribution of the weight list, the weight is added into a judgment mark and an identity history model is established, and the space dimension is verified; the history mark is used for identifying history upgrading information, and specifically comprises user information, upgrading state, upgrading time and upgrading profile; the judging mark judges the upgrading state and the weight of the history mark, the history information with failed upgrading state is moved into a blacklist database, and the intelligent contract code screening mark with weight lower than the weight threshold value is moved into the blacklist database; the judging mark compares the user information and the intelligent contract code screening mark input by the user with the blacklist database, and if the user information or the intelligent contract code screening mark is in the blacklist database, the upgrading request is refused, and refused information is sent to the controller contract submodule; if the user information and the intelligent contract code screening mark are not in the blacklist database, sending a primary verification passing instruction and the upgrading request information to the public verification module for secondary verification;
step three: after receiving the preliminary verification passing instruction, the public verification module initiates broadcast to all citizens in the blockchain, and the citizens need to pay the mortgage points meeting the regulations to the negotiable members to participate in the public verification voting, and sets a mortgage point interval as [ a, b ] for limiting the voting right range]The citizens can determine the payment amount according to the self-point conditions, and the citizens with the payment amount lower than a or higher than b cannot participate in the public inspection voting, so that the determined coefficients of the public inspection voting are determined according to the specified mortgage point payment amount:wherein P is i The decision coefficients for the ith participating voted user, i=1, 2, …, n, represent that a total of n users qualify for the votes, M i Representing the mortgage point payment amount, M, of the ith participating voting user 1 ~M n Expressing the mortgage point payment amounts of the 1 st to nth participating public voting users; the user who issues the upgrade request information needs to pay a certain amount of application points Q, the application points are frozen in an agenda account and cannot be returned, and the application points are used for rewarding users participating in voting according to a decision coefficient after voting, and the ith reward points B obtained by the users participating in the public voting are rewarded i The method comprises the following steps: b (B) i =QP i Wherein->If the user applies for N * If the intelligent contract code is updated, N needs to be initiated * Secondary vote, N * Is [1, N]Natural number of (3); the voting mechanism votes the upgrade request information by the users participating in the voting, calculates the voting result C,/and the like>Wherein alpha is i Voting result for the ith participating voting user, alpha i The value range is 0 or 1, if C is less than 50% and the upgrading request is refused, refusing information is sent to the controller contract submodule; if C is more than or equal to 50%, the upgrading request passes the secondary verification;
step four: when an upgrade request passes through secondary verification, an upgrade instruction is allowed to be sent to the initial verification module, the identity verification space model is subjected to dimension reduction through a support vector machine algorithm, a hash value of an intelligent contract code corresponding to an intelligent contract code screening mark which is requested to be modified by a user, a controller contract sub-module address and a data contract sub-module address are obtained, the dimension reduction result is sent to the controller contract sub-module, the controller contract sub-module accesses the corresponding data contract sub-module according to the received data contract sub-module address, an editing bare interface for storing data is obtained, the user matches the obtained hash value of the intelligent contract code with the intelligent contract code in the data contract sub-module through the editing bare interface, the intelligent contract code corresponding to the hash value is obtained, and the intelligent contract code is edited and stored, so that the upgrade of the intelligent contract of the block chain is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010159179.0A CN111475777B (en) | 2020-03-09 | 2020-03-09 | Upgrading method of intelligent block chain contracts |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010159179.0A CN111475777B (en) | 2020-03-09 | 2020-03-09 | Upgrading method of intelligent block chain contracts |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111475777A CN111475777A (en) | 2020-07-31 |
CN111475777B true CN111475777B (en) | 2023-04-25 |
Family
ID=71747314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010159179.0A Active CN111475777B (en) | 2020-03-09 | 2020-03-09 | Upgrading method of intelligent block chain contracts |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111475777B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114331731A (en) * | 2022-02-28 | 2022-04-12 | 国网电子商务有限公司 | PCA and RF based block chain abnormity detection method and related device |
CN116436979B (en) * | 2023-06-15 | 2023-08-11 | 湖南湘江树图信息科技创新中心有限公司 | Method and system for invoking external services by alliance block chain |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109003187A (en) * | 2018-07-25 | 2018-12-14 | 广东工业大学 | A kind of update upgrade method of block chain intelligence contract |
CN110474865A (en) * | 2018-05-11 | 2019-11-19 | 北京轻信科技有限公司 | Block chain user right system and implementation method |
CN110543783A (en) * | 2019-08-19 | 2019-12-06 | 湖南正宇软件技术开发有限公司 | Voting system and implementation method, equipment and storage medium thereof |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107464148A (en) * | 2017-08-23 | 2017-12-12 | 众安信息技术服务有限公司 | A kind of intelligent contract upgrade method and system based on alliance's chain |
CN109284627B (en) * | 2018-09-10 | 2022-02-08 | 中山大学 | Credit credit method and device based on block chain intelligent contract |
CN109658238B (en) * | 2018-10-26 | 2020-06-16 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN110009362B (en) * | 2019-04-02 | 2021-07-06 | 北京众享比特科技有限公司 | Block chain intelligent contract modification method and device and computer readable storage medium |
CN110018840B (en) * | 2019-04-11 | 2021-12-03 | 深圳市迅雷网络技术有限公司 | Intelligent contract upgrading method and device, block chain link point equipment and medium |
-
2020
- 2020-03-09 CN CN202010159179.0A patent/CN111475777B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474865A (en) * | 2018-05-11 | 2019-11-19 | 北京轻信科技有限公司 | Block chain user right system and implementation method |
CN109003187A (en) * | 2018-07-25 | 2018-12-14 | 广东工业大学 | A kind of update upgrade method of block chain intelligence contract |
CN110543783A (en) * | 2019-08-19 | 2019-12-06 | 湖南正宇软件技术开发有限公司 | Voting system and implementation method, equipment and storage medium thereof |
Also Published As
Publication number | Publication date |
---|---|
CN111475777A (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110827032B (en) | Intelligent wind control decision method and system and service processing method and system | |
CN111475777B (en) | Upgrading method of intelligent block chain contracts | |
CN103077467B (en) | A kind of method and system verifying authenticity of products | |
CN110611701B (en) | Parameter configuration and transaction processing method based on block chain | |
CN106778109A (en) | A kind of certification authority evaluation method and device based on intelligent contract | |
CN108234127A (en) | A kind of Internet of Things method and device based on block chain | |
CN111553576B (en) | Data verification method, device and system suitable for electric power spot market | |
CN1998019A (en) | System and method for securely authorizing and distributing stored-value card data | |
CN104966229A (en) | Information processing method and credit platform | |
CN112700329A (en) | Response method of wind control rule engine and wind control rule engine | |
CN110990879B (en) | Data evidence storing method based on block chain | |
CN115456603A (en) | Double-chain structure-based approval process processing method and device | |
CN110930158A (en) | Block chain DPoS common recognition method based on reward and punishment mechanism | |
CN114154132A (en) | Data sharing method based on service system | |
CN111475579B (en) | Cochain voting method and system for intelligent contracts in data sharing alliance chain | |
CN116957759A (en) | Wind control system of financing lease wind control rule | |
CN112000943A (en) | Information verification method based on edge computing and cloud edge fusion and central cloud platform | |
CN114745135A (en) | Block chain system for energy transaction based on V-raft consensus algorithm | |
CN111369246B (en) | Calling authentication method and device of intelligent contract, electronic equipment and storage medium | |
CN113709098A (en) | Data transmission method and device | |
CN111738860A (en) | Multi-object transaction method based on block chain and digital currency or digital credit | |
CN112598466A (en) | Agricultural machinery self-service payment leasing method based on alliance chain | |
CN112330252A (en) | Cold chain logistics monitoring system based on block chain technology | |
CN112765281A (en) | Vehicle circulation system and method, computer device and storage medium | |
CN112231634A (en) | Credit limit calculation method, system and equipment based on enterprise information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 200,135 Building C3, No. 101, Eshan Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai Applicant after: Shanghai Lingshuzhonghe Information Technology Co.,Ltd. Address before: 18ef, China Resources Times Plaza, 500 Zhangyang Road, Pudong New Area, Shanghai, 200120 Applicant before: NENG LIAN TECH. LTD. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |