CN110766554A - Intelligent contract consensus method, system and storage medium based on multi-centralization management - Google Patents

Intelligent contract consensus method, system and storage medium based on multi-centralization management Download PDF

Info

Publication number
CN110766554A
CN110766554A CN201910936650.XA CN201910936650A CN110766554A CN 110766554 A CN110766554 A CN 110766554A CN 201910936650 A CN201910936650 A CN 201910936650A CN 110766554 A CN110766554 A CN 110766554A
Authority
CN
China
Prior art keywords
intelligent contract
node
transaction
nodes
deployment request
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.)
Pending
Application number
CN201910936650.XA
Other languages
Chinese (zh)
Inventor
石宁
甘子荣
李达
王晨旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Jinninghui Technology Co Ltd
Original Assignee
Nanjing Jinninghui Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Jinninghui Technology Co Ltd filed Critical Nanjing Jinninghui Technology Co Ltd
Priority to CN201910936650.XA priority Critical patent/CN110766554A/en
Publication of CN110766554A publication Critical patent/CN110766554A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/46Secure multiparty computation, e.g. millionaire problem
    • H04L2209/463Electronic voting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an intelligent contract consensus method, a system and a storage medium based on multi-centralization management, wherein one or more central nodes are determined according to transaction votes sent by nodes in a block chain; then voting is carried out on the deployment request through the one or more central nodes according to an intelligent contract deployment request sent by any node; and finally, after the deployment request is determined to pass according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data. The deployment of the intelligent contracts is placed on the chain for consensus and then is carried out in the nodes, so that on one hand, a multi-centralized management mode is realized, and the safety of the block chain item is enhanced; on the other hand, the consensus and the deployment process of the intelligent contract are carried out on the block chain, so that the efficiency of intelligent contract deployment is improved, and the method can be widely applied to the technical field of the block chain.

Description

Intelligent contract consensus method, system and storage medium based on multi-centralization management
Technical Field
The invention relates to the technical field of block chains, in particular to an intelligent contract consensus method, an intelligent contract consensus system and a storage medium based on multi-centralized management.
Background
When the deployment of the blockchain intelligent contract is divided into two types, one type is in a public link environment, and in this case, each node has the authority to submit the intelligent contract into the blockchain network, and the intelligent contract is installed in a local node after being verified by the node. In this case, the node is only responsible for checking the syntax problem of the intelligent contract and then compiling the intelligent contract into bytecode through the virtual machine, the bytecode being executed when processing the transaction calling the intelligent contract. Another is in the context of a federation chain, such communications are typically negotiated offline between federation chain nodes, and then artificially copy the intelligent contract code to the nodes for local installation and deployment. This approach is equivalent to a centralized server deployment operation and maintenance management approach.
In the public chain, as long as the uploaded intelligent contract is grammatically legal, other nodes must deploy the intelligent contract, otherwise, the transaction for calling the intelligent contract after the intelligent contract cannot be processed; in the actual operation of a federation chain, it is also generally desirable to have an organization node to orchestrate offline orchestration intelligence to approximate deployments on the chain. In the actual operation of the alliance chain, manual intervention is needed, so that the workload of intelligent contract deployment is increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide an intelligent contract consensus method, system and storage medium based on multi-centric management, which can improve intelligent contract deployment efficiency.
In a first aspect, an embodiment of the present invention provides an intelligent contract consensus method based on multi-centralized management, including the following steps:
determining one or more central nodes according to transaction votes sent by nodes in the block chain;
voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and after determining that the deployment request passes according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data.
Further, the step of determining one or more central nodes according to the transaction votes transmitted by the nodes in the blockchain includes:
in the public chain, the nodes vote by sending transactions, and one or more nodes with high vote number are selected as central nodes; wherein, token held by the node is used as the voteable number held by the node;
in the federation chain, transaction information is sent according to a certificate which can be verified in an organization, and a central node is determined by counting the votes of the nodes.
Further, the step of voting the deployment request by the one or more central nodes according to the intelligent contract deployment request issued by any node includes the following steps:
any node sends out a deployment request of the intelligent contract in a transaction mode, wherein the deployment request comprises the intelligent contract, an identity certificate of the current node, a voting block height interval and an effective block height;
checking the grammatical validity and semantic validity of the intelligent contract through the central node;
after passing the validity check, the central node sends a transaction to vote for the deployment request.
Further, after passing the validity check, the step of voting the deployment request by sending a transaction through the central node specifically includes:
the transaction of the node issuing the deployment request is signed and a new transaction containing the signature is broadcast to the blockchain network.
Further, the step of voting the deployment request by the one or more central nodes according to the intelligent contract deployment request issued by any node further includes the following steps:
determining voting time according to the voting block height interval and the effective block height;
after the voting time is over, counting the voting number of the blocks in the voting block height interval, judging whether the voting number exceeds a threshold value, and if so, determining that the deployment request passes; otherwise, determining that the deployment request does not pass.
Further, the method also comprises the following steps:
when a node in the block chain processes a transaction needing to call the intelligent contract, judging whether the intelligent contract is effective or not according to data on the block chain, and if so, receiving the transaction; otherwise, the transaction is not received.
Further, the step of determining whether the intelligent contract has been validated according to the data on the blockchain specifically includes:
after the block height is determined to reach the effective block height, whether the intelligent contract is deployed at the current node or not is judged, and if yes, the intelligent contract is determined to be effective; otherwise, the intelligent contract is determined not to be effective.
In a second aspect, an embodiment of the present invention further provides an intelligent contract consensus system based on multi-centralized management, including:
the central node determining module is used for determining one or more central nodes according to the transaction votes sent by the nodes in the block chain;
the deployment request determining module is used for voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and the intelligent contract deployment module is used for acquiring and deploying the intelligent contract according to the transaction data by all the nodes after the deployment request is determined to pass according to the voting result of the central node.
In a third aspect, an embodiment of the present invention further provides an intelligent contract consensus system based on multi-centralized management, including:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the intelligent contract consensus approach based on multi-centric management.
In a fourth aspect, an embodiment of the present invention further provides a storage medium having stored therein processor-executable instructions, which when executed by a processor, are configured to perform the intelligent contract consensus method based on multi-centric management.
One or more of the above-described embodiments of the present invention have the following advantages: firstly, determining one or more central nodes according to transaction votes sent by nodes in a block chain; then voting is carried out on the deployment request through the one or more central nodes according to an intelligent contract deployment request sent by any node; finally, after determining that the deployment request passes according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data; the deployment of the intelligent contracts is placed on the chain for consensus and then is carried out in the nodes, so that on one hand, a multi-centralized management mode is realized, and the safety of the block chain item is enhanced; on the other hand, the consensus and the deployment process of the intelligent contract are performed on the block chain, so that the efficiency of intelligent contract deployment is improved.
Drawings
FIG. 1 is a schematic diagram of an intelligent contract deployment process according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a transaction processing flow for invoking smart contracts, in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart illustrating the overall steps of the present invention.
Detailed Description
The invention will be further explained and explained with reference to the drawings and the embodiments in the description. The step numbers in the embodiments of the present invention are set for convenience of illustration only, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.
Referring to fig. 3, an embodiment of the present invention provides an intelligent contract consensus method based on multi-centralized management, including the following steps:
determining one or more central nodes according to transaction votes sent by nodes in the block chain;
voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and after determining that the deployment request passes according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data.
Further, as a preferred embodiment, the step of determining one or more central nodes according to the transaction votes sent by the nodes in the blockchain specifically includes:
in the public chain, the nodes vote by sending transactions, and one or more nodes with high vote number are selected as central nodes; wherein, token held by the node is used as the voteable number held by the node;
in the federation chain, transaction information is sent according to a certificate which can be verified in an organization, and a central node is determined by counting the votes of the nodes.
Specifically, in this embodiment, the block link points select a consensus central node responsible for intelligent contract deployment through voting, and in the public chain, the voting may be based on the holding amount of token; in a federation chain, each organization node may vote on a certificate that is verifiable within the organization. The process of voting is to send the votes to the blockchain network in a transaction mode and to form consensus on the transactions.
After all voting transactions form a consensus, the node can obtain a set of central nodes according to the votes on the blockchain data.
Further, as a preferred embodiment, the voting, by the one or more central nodes, on the deployment request according to the intelligent contract deployment request issued by any node includes the following steps:
any node sends out a deployment request of the intelligent contract in a transaction mode, wherein the deployment request comprises the intelligent contract, an identity certificate of the current node, a voting block height interval and an effective block height;
checking the grammatical validity and semantic validity of the intelligent contract through the central node;
after passing the validity check, the central node sends a transaction to vote for the deployment request.
Specifically, in this embodiment, the node submits a transaction for applying for intelligent contract deployment, and the main contents of the transaction include an intelligent contract, a node signature, a voting block height interval, and an effective block height.
Further as a preferred embodiment, the step of sending a transaction to vote for a deployment request through the central node after passing the validity check specifically includes:
the transaction of the node issuing the deployment request is signed and a new transaction containing the signature is broadcast to the blockchain network.
Specifically, after verifying the validity of the intelligent contract, the central node signs a transaction corresponding to a deployment request submitted by the node and broadcasts a new transaction containing the signature to the blockchain network.
It should be noted that the verification mentioned in the present invention may be to verify only the validity of the syntax, or may also verify the validity of the logic (for example, operations similar to the emptying of the database cannot occur, and the verification of the emptying of the database requires human intervention to ensure the security for the blockchain application).
Further, as a preferred embodiment, the voting, by the one or more central nodes, on the deployment request according to the intelligent contract deployment request issued by any node further includes the following steps:
determining voting time according to the voting block height interval and the effective block height;
after the voting time is over, counting the voting number of the blocks in the voting block height interval, judging whether the voting number exceeds a threshold value, and if so, determining that the deployment request passes; otherwise, determining that the deployment request does not pass.
In this embodiment, the node counts the number of votes on the block of the voting block height interval specified by the transaction corresponding to the submitted deployment request, and if more than half of the central nodes give votes, the node acquires the intelligent contract from the transaction and deploys the intelligent contract on the local node.
Further as a preferred embodiment, the method further comprises the following steps:
when a node in the block chain processes a transaction needing to call the intelligent contract, judging whether the intelligent contract is effective or not according to data on the block chain, and if so, receiving the transaction; otherwise, the transaction is not received.
Further as a preferred embodiment, the step of determining whether the intelligent contract has been validated according to the data on the blockchain specifically includes:
after the block height is determined to reach the effective block height, whether the intelligent contract is deployed at the current node or not is judged, and if yes, the intelligent contract is determined to be effective; otherwise, the intelligent contract is determined not to be effective.
Specifically, in this embodiment, when a node processes a transaction for invoking the intelligent contract, it is first determined whether the block height reaches a specified effective block height, and if yes, the node deploys the intelligent contract, and the intelligent contract is processed normally; otherwise the transaction is denied.
The following describes in detail the specific implementation steps of the intelligent contract consensus based on multi-centralized management according to the present invention, with reference to the attached drawings:
s 0: the nodes in the alliance chain vote to select a central node which is in charge of the alliance chain intelligent contract by sending a transaction form, wherein the central node can be one, a plurality of or all alliance chain nodes, and the voting result is determined by counting votes on block chain data;
s 1: as shown in fig. 1, a node a first makes a request for intelligent contract deployment in the form of a transaction, where the request for intelligent contract deployment includes an intelligent contract and an identity certificate of the node a;
s 2: when processing the block transaction data after consensus, when finding the transaction of the intelligent contract deployment request, the central node checks the legality of the grammar and the semantics of the intelligent contract, and after the check is passed, sends a voting transaction to show that the transaction of the intelligent contract deployment request is approved, wherein the legality of the grammar and the semantics of the intelligent contract can be checked based on a virtual machine operated by the intelligent contract or can be checked manually;
s 3: as shown in fig. 1, after the voting time is over, all nodes (for example, nodes C-F in fig. 1) determine whether the request passes by checking the voting transaction in the block data, and acquire and deploy the intelligent contract in the transaction data if the request passes; the voting time is specified in the transaction of the intelligent contract deployment request in a block height mode or is a default value;
s 4: when a node processes a transaction for calling the intelligent contract, firstly, data on a block chain needs to be checked to judge whether the intelligent contract is effective or not, if so, the transaction is received, and if not, the transaction is rejected.
In this embodiment: the intelligent contract deployment in the alliance chain is carried out on the chain in a trading mode, and whether the trading is passed or not is determined by voting through a special central node, so that the block chain intelligent contract deployment issued by the method has the characteristics of multi-centralization management and high efficiency;
in this embodiment: as shown in fig. 1, the whole intelligent contract deployment process is uploaded to block chain data in a transaction manner, so that the integrity of recorded data in the whole process can be ensured;
in this embodiment: as shown in fig. 2, when a transaction invoking the intelligent contract requested to be deployed is processed, it is first required to determine whether the intelligent contract has passed and become effective, if so, the transaction is executed, otherwise, the transaction invoking the intelligent contract is rejected;
additionally, in some embodiments, offline elections may be employed when electing the central node responsible for intelligent contract deployment, and the final result written in the foundational block.
Corresponding to the method in fig. 3, an embodiment of the present invention further provides an intelligent contract consensus system based on multi-centralized management, including:
the central node determining module is used for determining one or more central nodes according to the transaction votes sent by the nodes in the block chain;
the deployment request determining module is used for voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and the intelligent contract deployment module is used for acquiring and deploying the intelligent contract according to the transaction data by all the nodes after the deployment request is determined to pass according to the voting result of the central node.
Corresponding to the method in fig. 3, an embodiment of the present invention further provides an intelligent contract consensus system based on multi-centralized management, including:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the intelligent contract consensus approach based on multi-centric management.
The contents in the above method embodiments are all applicable to the present system embodiment, the functions specifically implemented by the present system embodiment are the same as those in the above method embodiment, and the beneficial effects achieved by the present system embodiment are also the same as those achieved by the above method embodiment.
In correspondence with the method of fig. 3, an embodiment of the present invention further provides a storage medium having stored therein processor-executable instructions, which when executed by a processor, are configured to perform the intelligent contract consensus method based on multi-centric management.
In summary, compared with the prior art, the intelligent contract consensus method, system and storage medium based on multi-centralized management of the invention have the following advantages:
firstly, determining one or more central nodes according to transaction votes sent by nodes in a block chain; then voting is carried out on the deployment request through the one or more central nodes according to an intelligent contract deployment request sent by any node; finally, after determining that the deployment request passes according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data; the deployment of the intelligent contracts is placed on the chain for consensus and then is carried out in the nodes, so that on one hand, a multi-centralized management mode is realized, and the safety of the block chain item is enhanced; on the other hand, the consensus and the deployment process of the intelligent contract are performed on the block chain, so that the efficiency of intelligent contract deployment is improved.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flow charts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the described functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. The intelligent contract consensus method based on the multi-centralization management is characterized in that: the method comprises the following steps:
determining one or more central nodes according to transaction votes sent by nodes in the block chain;
voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and after determining that the deployment request passes according to the voting result of the central node, all the nodes acquire and deploy the intelligent contract according to the transaction data.
2. The intelligent contract consensus method based on multicenter management of claim 1, wherein: the step of determining one or more central nodes according to the transaction votes sent by the nodes in the blockchain includes:
in the public chain, the nodes vote by sending transactions, and one or more nodes with high vote number are selected as central nodes; wherein, token held by the node is used as the voteable number held by the node;
in the federation chain, transaction information is sent according to a certificate which can be verified in an organization, and a central node is determined by counting the votes of the nodes.
3. The intelligent contract consensus method based on multicenter management of claim 1, wherein: the step of voting the deployment request by the one or more central nodes according to the intelligent contract deployment request sent by any node comprises the following steps:
any node sends out a deployment request of the intelligent contract in a transaction mode, wherein the deployment request comprises the intelligent contract, an identity certificate of the current node, a voting block height interval and an effective block height;
checking the grammatical validity and semantic validity of the intelligent contract through the central node;
after passing the validity check, the central node sends a transaction to vote for the deployment request.
4. The intelligent contract consensus method based on multicenter management of claim 3, wherein: after passing the validity check, the step of voting the deployment request by sending a transaction through the central node specifically comprises:
the transaction of the node issuing the deployment request is signed and a new transaction containing the signature is broadcast to the blockchain network.
5. The intelligent contract consensus method based on multicenter management of claim 3, wherein: the step of voting the deployment request by the one or more central nodes according to the intelligent contract deployment request sent by any node further comprises the following steps:
determining voting time according to the voting block height interval and the effective block height;
after the voting time is over, counting the voting number of the blocks in the voting block height interval, judging whether the voting number exceeds a threshold value, and if so, determining that the deployment request passes; otherwise, determining that the deployment request does not pass.
6. The intelligent contract consensus method based on multicenter management of claim 3, wherein: further comprising the steps of:
when a node in the block chain processes a transaction needing to call the intelligent contract, judging whether the intelligent contract is effective or not according to data on the block chain, and if so, receiving the transaction; otherwise, the transaction is not received.
7. The intelligent contract consensus method based on multicenter management of claim 6, wherein: the step of judging whether the intelligent contract is effective or not according to the data on the block chain specifically comprises the following steps:
after the block height is determined to reach the effective block height, whether the intelligent contract is deployed at the current node or not is judged, and if yes, the intelligent contract is determined to be effective; otherwise, the intelligent contract is determined not to be effective.
8. Intelligent contract consensus system based on multicenter management, its characterized in that: the method comprises the following steps:
the central node determining module is used for determining one or more central nodes according to the transaction votes sent by the nodes in the block chain;
the deployment request determining module is used for voting the deployment request through the one or more central nodes according to the intelligent contract deployment request sent by any node;
and the intelligent contract deployment module is used for acquiring and deploying the intelligent contract according to the transaction data by all the nodes after the deployment request is determined to pass according to the voting result of the central node.
9. Intelligent contract consensus system based on multicenter management, its characterized in that: the method comprises the following steps:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the intelligent contract consensus method based on decentralized management according to any one of claims 1-6.
10. A storage medium having stored therein instructions executable by a processor, the storage medium comprising: the processor-executable instructions, when executed by a processor, are for performing the intelligent contract consensus method based on multicenter management of any of claims 1-6.
CN201910936650.XA 2019-09-29 2019-09-29 Intelligent contract consensus method, system and storage medium based on multi-centralization management Pending CN110766554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936650.XA CN110766554A (en) 2019-09-29 2019-09-29 Intelligent contract consensus method, system and storage medium based on multi-centralization management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936650.XA CN110766554A (en) 2019-09-29 2019-09-29 Intelligent contract consensus method, system and storage medium based on multi-centralization management

Publications (1)

Publication Number Publication Date
CN110766554A true CN110766554A (en) 2020-02-07

Family

ID=69329083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936650.XA Pending CN110766554A (en) 2019-09-29 2019-09-29 Intelligent contract consensus method, system and storage medium based on multi-centralization management

Country Status (1)

Country Link
CN (1) CN110766554A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210358A (en) * 2020-04-23 2020-05-29 成都华栖云科技有限公司 News propagation analysis method based on block chain
CN111563822A (en) * 2020-05-14 2020-08-21 上海简苏网络科技有限公司 DPOS (distributed data processing System) consensus method and system realized by intelligent contracts
CN111639127A (en) * 2020-05-11 2020-09-08 支付宝实验室(新加坡)有限公司 Method, system, device and equipment for updating intelligent contract
CN112037062A (en) * 2020-08-31 2020-12-04 成都质数斯达克科技有限公司 Transaction consensus method, device, electronic equipment and readable storage medium
CN112291327A (en) * 2020-10-23 2021-01-29 中化能源股份有限公司 Block link point management method and device and electronic equipment
CN112764714A (en) * 2021-01-28 2021-05-07 上海朝夕网络技术有限公司 Self-excitation random number generation method based on intelligent contract and terminal equipment
CN112950201A (en) * 2021-02-08 2021-06-11 深圳前海益链网络科技有限公司 Node management method and related device applied to block chain system
CN113193992A (en) * 2021-04-16 2021-07-30 宁波图灵奇点智能科技有限公司 Block chain platform, method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256859A (en) * 2018-01-02 2018-07-06 中国工商银行股份有限公司 Financial product transaction common recognition method, node and system based on block chain
CN108833398A (en) * 2018-06-08 2018-11-16 浙江超脑时空科技有限公司 A kind of block chain intelligence contract update method, device and equipment
CN108965399A (en) * 2018-06-25 2018-12-07 百度在线网络技术(北京)有限公司 Execution method, apparatus, equipment and the storage medium of intelligent contract
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109150971A (en) * 2018-06-29 2019-01-04 腾讯科技(深圳)有限公司 Super node ballot and electoral machinery, device and network node
CN109615517A (en) * 2018-12-07 2019-04-12 北京瑞卓喜投科技发展有限公司 A kind of intelligence contract execution method and intelligent contract execute system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256859A (en) * 2018-01-02 2018-07-06 中国工商银行股份有限公司 Financial product transaction common recognition method, node and system based on block chain
CN108833398A (en) * 2018-06-08 2018-11-16 浙江超脑时空科技有限公司 A kind of block chain intelligence contract update method, device and equipment
CN108965399A (en) * 2018-06-25 2018-12-07 百度在线网络技术(北京)有限公司 Execution method, apparatus, equipment and the storage medium of intelligent contract
CN109150971A (en) * 2018-06-29 2019-01-04 腾讯科技(深圳)有限公司 Super node ballot and electoral machinery, device and network node
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109615517A (en) * 2018-12-07 2019-04-12 北京瑞卓喜投科技发展有限公司 A kind of intelligence contract execution method and intelligent contract execute system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210358A (en) * 2020-04-23 2020-05-29 成都华栖云科技有限公司 News propagation analysis method based on block chain
CN111639127A (en) * 2020-05-11 2020-09-08 支付宝实验室(新加坡)有限公司 Method, system, device and equipment for updating intelligent contract
CN111639127B (en) * 2020-05-11 2022-05-13 支付宝实验室(新加坡)有限公司 Method, system, device and equipment for updating intelligent contract
CN111563822A (en) * 2020-05-14 2020-08-21 上海简苏网络科技有限公司 DPOS (distributed data processing System) consensus method and system realized by intelligent contracts
CN112037062A (en) * 2020-08-31 2020-12-04 成都质数斯达克科技有限公司 Transaction consensus method, device, electronic equipment and readable storage medium
CN112037062B (en) * 2020-08-31 2023-08-25 成都质数斯达克科技有限公司 Transaction consensus method, device, electronic equipment and readable storage medium
CN112291327A (en) * 2020-10-23 2021-01-29 中化能源股份有限公司 Block link point management method and device and electronic equipment
CN112764714A (en) * 2021-01-28 2021-05-07 上海朝夕网络技术有限公司 Self-excitation random number generation method based on intelligent contract and terminal equipment
CN112764714B (en) * 2021-01-28 2023-10-03 上海朝夕网络技术有限公司 Self-excitation random number generation method based on intelligent contract and terminal equipment
CN112950201A (en) * 2021-02-08 2021-06-11 深圳前海益链网络科技有限公司 Node management method and related device applied to block chain system
CN112950201B (en) * 2021-02-08 2023-10-27 深圳前海益链网络科技有限公司 Node management method and related device applied to block chain system
CN113193992A (en) * 2021-04-16 2021-07-30 宁波图灵奇点智能科技有限公司 Block chain platform, method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110766554A (en) Intelligent contract consensus method, system and storage medium based on multi-centralization management
CN110245186B (en) Service processing method based on block chain and related equipment
DE69923466T2 (en) DEVICE FOR CHECKING THE INTEGRITY AND AUTHORIZING A COMPUTER PROGRAM BEFORE ITS EXECUTION ON A LOCAL PLATFORM
CN106778109A (en) A kind of certification authority evaluation method and device based on intelligent contract
CN112632629B (en) Voting management method, device, medium and electronic equipment based on block chain
CN110310205A (en) A kind of block chain data monitoring method, device, equipment and medium
CN108234134A (en) Block synchronous method and system
CN110881059B (en) Application deployment system, method, release engine and computer equipment
CN111611612B (en) Block chain-based integrating system, device, storage medium and operation method thereof
CN109828958A (en) Event recording method and record system based on block chain
CN111709718A (en) Intelligent warranty asset service platform, method and storage medium based on artificial intelligence
CN111090581A (en) Intelligent contract testing method and device, computer equipment and storage medium
CN110599355A (en) Block chain-based vehicle insurance information system, insurance policy registration method and claim settlement method
CN110766340A (en) Business auditing method, device and equipment
CN113064759A (en) Block chain data rollback processing method and processing system thereof
CN107220169B (en) Method and equipment for simulating server to return customized data
CN114090683A (en) Intelligent contract management method, equipment and storage medium based on alliance administration
KR102317656B1 (en) Electronic vote record management system based on blockchain
CN107566410A (en) A kind of data save message request treating method and apparatus from damage
CN109767309A (en) A kind of method and system obtaining invoice examination information
CN114154996A (en) Cross-block-chain data transfer method and system, storage medium and terminal
CN112102079A (en) Service data processing method and device, computer equipment and storage medium
CN113541969A (en) Data acquisition method and system
CN109544340B (en) Intermediary mechanism management method for regional stock market
CN107578289B (en) Method and system for settling accounts of machine + X products

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication