CN116823272B - Intelligent contract management system based on block chain consensus mechanism - Google Patents
Intelligent contract management system based on block chain consensus mechanism Download PDFInfo
- Publication number
- CN116823272B CN116823272B CN202311099972.6A CN202311099972A CN116823272B CN 116823272 B CN116823272 B CN 116823272B CN 202311099972 A CN202311099972 A CN 202311099972A CN 116823272 B CN116823272 B CN 116823272B
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- node
- representing
- nodes
- module
- 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
- 238000011156 evaluation Methods 0.000 claims abstract description 41
- 238000007726 management method Methods 0.000 claims description 134
- 238000004364 calculation method Methods 0.000 claims description 41
- 238000012216 screening Methods 0.000 claims description 32
- 238000010606 normalization Methods 0.000 claims description 21
- 239000003999 initiator Substances 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 230000008901 benefit Effects 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 2
- 230000006399 behavior Effects 0.000 description 30
- 238000012937 correction Methods 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Economics (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Strategic Management (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 provides an intelligent contract management system based on a block chain consensus mechanism, which comprises a block chain consensus management terminal, an intelligent contract application management terminal, an intelligent contract signing evaluation terminal and an intelligent contract execution terminal; the block chain consensus management terminal is used for dividing node levels for all nodes according to node information of all nodes in the block chain, and generating management layer list information and base layer list information; the intelligent contract application management terminal is used for receiving intelligent contract application initiated by a corresponding node in the blockchain; the intelligent contract signing and evaluating terminal is used for generating judging information corresponding to the intelligent contract application according to node information, management layer list information and base layer list information of all the nodes; the intelligent contract executing terminal is used for signing and executing corresponding intelligent contracts according to the judging information. The invention has the effect of improving the execution accuracy of the intelligent contract.
Description
Technical Field
The invention relates to the technical field of intelligent contract management systems, in particular to an intelligent contract management system based on a block chain consensus mechanism.
Background
The blockchain consensus mechanism is an algorithm for solving the problem of data consistency in distributed systems. An intelligent contract is an important component in blockchain technology, which is an automatically executed contract that contains a series of predefined rules and conditions. An intelligent contract management system is a set of software tools and services for managing, deploying, executing, and monitoring intelligent contracts. PoS (Proof of Stake) consensus is a blockchain consensus that is used to verify and validate new blocks and determine the producer of the next block. Unlike the traditional PoW (Proof of Work) consensus, the PoS selects and verifies the producer of the block based on the rights to hold digital currency, rather than competing for billing rights through computational challenges. In PoS consensus, participants may qualify for billing by locking a certain amount of digital currency into the network as collateral.
Many intelligent contract management systems have been developed, and through extensive searching and reference, the prior art intelligent contract management systems are found to be as disclosed in publication nos. CN106682983A, CN111445244A, CN112468309A, US11055703B2, EP3912118A1, JP2014509474A, which generally include: an intelligent contract application judging terminal, an intelligent contract executing terminal and an intelligent contract management terminal; the intelligent contract application judging terminal is used for auditing the corresponding intelligent contract application; the intelligent contract execution terminal is used for executing intelligent contracts which pass the intelligent contract application audit; the intelligent contract management terminal is used for managing all intelligent contract application information and intelligent contract information. The accuracy of the intelligent contract judging process is reduced due to the single management mode of the intelligent contract management system, so that the defect of reduced accuracy of intelligent contract execution of the intelligent contract management system is caused.
Disclosure of Invention
The invention aims to provide an intelligent contract management system based on a block chain consensus mechanism, aiming at the defects of the intelligent contract management system.
The invention adopts the following technical scheme:
an intelligent contract management system based on a block chain consensus mechanism comprises a block chain consensus management terminal, an intelligent contract application management terminal, an intelligent contract signing evaluation terminal and an intelligent contract execution terminal; the block chain consensus management terminal is used for dividing node levels for all nodes according to node information of all nodes in the block chain, and generating management layer list information and base layer list information; the intelligent contract application management terminal is used for receiving intelligent contract application initiated by a corresponding node in the blockchain; the intelligent contract signing and evaluating terminal is used for generating judging information corresponding to intelligent contract application according to node information, management layer list information and base layer list information of all nodes; the intelligent contract executing terminal is used for signing and executing corresponding intelligent contracts according to the judging information;
the block chain consensus management terminal comprises a block chain node information acquisition module and a block chain consensus management module; the block chain node information acquisition module is used for acquiring node information of all nodes in a block chain; the block chain consensus management module is used for dividing node levels for all nodes according to node information of all nodes in a block chain, and generating management layer list information and base layer list information;
the intelligent contract application management terminal comprises an intelligent contract application acquisition module and an intelligent contract application screening module; the intelligent contract application acquisition module is used for acquiring intelligent contract applications from corresponding nodes; the intelligent contract application screening module is used for carrying out normalization screening on the intelligent contract application according to the node information of the initiator node and the receiver node corresponding to the intelligent contract application;
the intelligent contract signing and evaluating terminal comprises an evaluation index calculation module and an intelligent contract signing and evaluating module; the evaluation index calculation module is used for calculating an evaluation index corresponding to the intelligent contract application according to node information, management layer list information and base layer list information of all the nodes; the intelligent contract signing and evaluating module is used for generating corresponding judging information according to the evaluation index.
Optionally, the blockchain consensus management module includes a hierarchical score calculation sub-module, a blockchain consensus management sub-module, and a hierarchical list generation sub-module; the hierarchy score calculation submodule is used for calculating corresponding hierarchy scores according to node information of the nodes; the block chain consensus management submodule is used for carrying out hierarchical division management on all nodes in the block chain according to the hierarchical score; the hierarchical list generation sub-module is used for generating corresponding management layer list information and base layer list information according to the hierarchical grading and hierarchical division management results;
when the hierarchical score calculation sub-module calculates, the following equation is satisfied:
;
wherein,a hierarchical score representing the corresponding node; />、/>And->Respectively representing a conversion coefficient of the monetary equity value, a conversion coefficient of the year proportion and a conversion coefficient of the success proportion, which are set by an administrator according to experience; />Representing real-time monetary value of interest of the corresponding node; />Representing the year of operation of the corresponding node; />Representing the coin-age value of the corresponding node; />Representing the year reference value, empirically set by an administrator; />Representing the number of intelligent contracts signed by the corresponding node in one year; />Representing the failure times of the corresponding node in one year;
when (when)When the corresponding node is divided into the management layers by the block chain consensus management module, the corresponding node is added toManagement layer list information; when->When the corresponding node is divided into a base layer by the block chain consensus management module, the corresponding node is added into the base layer list information; />The hierarchical division threshold is expressed and empirically set by an administrator.
Optionally, the intelligent contract application screening module includes an intelligent contract application specification score calculation sub-module and an intelligent contract application screening sub-module; the intelligent contract application specification score calculation sub-module is used for calculating corresponding intelligent contract application specification scores according to node information of an initiator node and a receiver node corresponding to the intelligent contract application; the intelligent contract application screening submodule is used for carrying out normalization screening on the intelligent contract application according to the intelligent contract application normalization score;
when the intelligent contract application specification score calculation submodule calculates, the following formula is satisfied:
;
;
wherein,a smart contract application specification score representing a corresponding smart contract application; />A coefficient selection function representing a monetary value based on the monetary value of the initiator node and the monetary value of the recipient node; />A monetary benefit value representing the initiator node; />A monetary benefit value representing the recipient node; />A daily average online time value representing the initiator node; />A daily average online time value representing the recipient node; />Representing an online time sum reference value, and setting by an administrator according to experience; />Representing the operator authentication number of the initiator node; />Representing the number of operator authentications for the recipient node; />Representing a sum reference value of the authentication quantity of the operators, and setting the sum reference value according to experience by an administrator;
when (when)When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application passes; when->When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application does not pass and screens the corresponding intelligent contract application; />The normalization determination threshold is set empirically by an administrator.
Optionally, the evaluation index calculation module comprises an information reading sub-module and an evaluation index calculation sub-module; the information reading submodule is used for reading node information, management layer list information and base layer list information of all nodes; the evaluation index calculation sub-module is used for calculating the evaluation index of the intelligent contract application passing through the normalization according to the node information, the management layer list information and the base layer list information of all the nodes;
when the evaluation index calculation sub-module calculates, the following equation is satisfied:
;
wherein,a rating index representing a normalized passing smart contract application; />Representing that the corresponding smart contract application comes from the base layer; />Representing a minimum monetary value of interest in all nodes in the blockchain that agree to the smart contract application; />Representing ++of all nodes in blockchain that agree to the Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that represent consent to the application of the smart contract; />Representing a maximum monetary benefit value in the blockchain representing all nodes that do not agree to the smart contract application; />Representing ++in all nodes in blockchain representing disagreement to Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that do not agree to the application for the smart contract;
2 represents that the corresponding smart contract application comes from the management layer; />Representing an average monetary value of interest representing all management layer nodes that agree to the application for the intelligent contract in the blockchain; />Representing ++th in all management layer nodes in blockchain that agree to a smart contract application>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are used for agreeing to the application of the intelligent contract; />Representing an average monetary equity value in the blockchain representing all management layer nodes that do not agree to the application for the smart contract; />Representing +.f in all management layer nodes in blockchain representing disagreeable to Smart contract applications>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are not agreed to the application of the intelligent contract;
when (when)When the intelligent contract signing rating module generates judging information for representing that the corresponding intelligent contract is allowed to sign; when->When the intelligent contract signing rating module generates judging information for indicating that the corresponding intelligent contract is not allowed to sign; />The sign-on determination threshold is expressed and empirically set by an administrator.
An intelligent contract management method based on a block chain consensus mechanism is applied to an intelligent contract management system based on the block chain consensus mechanism, and the intelligent contract management method comprises the following steps:
s1, dividing node levels for all nodes according to node information of all nodes in a blockchain, and generating management layer list information and base layer list information;
s2, receiving an intelligent contract application initiated by a corresponding node in the block chain;
s3, judging information corresponding to the intelligent contract application is generated according to node information, management layer list information and base layer list information of all the nodes;
s4, signing and executing the corresponding intelligent contract according to the judging information.
The beneficial effects obtained by the invention are as follows:
1. the block chain consensus management terminal, the intelligent contract application management terminal, the intelligent contract signing and evaluating terminal and the intelligent contract executing terminal are arranged to be beneficial to improving the safety and accuracy of intelligent contract application judgment through a block chain consensus technology, and the intelligent contract signing and evaluating mode is combined, so that the intelligent contract judging mode and process are enriched, the intelligent contract judgment is more accurate, and the intelligent contract executing accuracy is improved;
2. the block chain node information acquisition module and the block chain consensus management module are arranged to be beneficial to improving the accuracy and efficiency of block chain node information acquisition, so that the efficiency and accuracy of block chain consensus management are improved, and the accuracy of intelligent contract execution is improved;
3. the intelligent contract application acquisition module and the intelligent contract application screening module are arranged to be beneficial to improving the accuracy of the intelligent contract application acquisition process, and unqualified intelligent contract applications are screened out in advance through the intelligent contract application screening, so that a judgment mode is optimized, the system calculation force is saved, and the intelligent contract execution accuracy is improved;
4. the setting of the evaluation index calculation module and the intelligent contract signing evaluation module is beneficial to the function of signing evaluation through the evaluation index and the intelligent contract, so that the execution accuracy of the intelligent contract is further improved;
5. the arrangement of the hierarchical score calculation sub-module, the blockchain consensus management sub-module and the hierarchical list generation sub-module is matched with the hierarchical score calculation index, so that the hierarchical score of the node is improved, the accuracy of the hierarchical list and the accuracy of blockchain consensus management are improved, and the execution accuracy of the intelligent contract is further improved;
6. the arrangement of the intelligent contract application specification scoring computation sub-module and the intelligent contract application screening sub-module is matched with an intelligent contract application specification scoring algorithm, so that the computing efficiency and accuracy of the intelligent contract application specification scoring are improved, the accuracy of the screening process is further improved, and the intelligent contract execution accuracy is further improved;
7. the information reading sub-module and the evaluation index calculation sub-module are matched with an evaluation index algorithm applied by the intelligent contract, so that the accuracy of the evaluation index is improved, and the execution accuracy of the intelligent contract is improved;
8. the arrangement of the form behavior checking sub-module and the intelligent contract signing and evaluating sub-module is matched with the form behavior analysis index algorithm of the node, so that the generation accuracy of the form behavior checking instruction is improved, and the intelligent contract execution accuracy is improved by improving the evaluation index.
For a further understanding of the nature and the technical aspects of the present invention, reference should be made to the following detailed description of the invention and the accompanying drawings, which are provided for purposes of reference only and are not intended to limit the invention.
Drawings
FIG. 1 is a schematic diagram of the overall structure of the present invention;
FIG. 2 is a schematic block chain consensus management module according to the present invention;
FIG. 3 is a schematic diagram of a smart contract application screening module according to the present invention;
FIG. 4 is a schematic diagram of the structure of the evaluation index calculation module according to the present invention;
FIG. 5 is a flow chart of a method for intelligent contract management based on a block chain consensus mechanism according to the present invention;
fig. 6 is a schematic diagram of an intelligent contract signing rating module according to another embodiment of the present invention.
Detailed Description
The following embodiments of the present invention are described in terms of specific examples, and those skilled in the art will appreciate the advantages and effects of the present invention from the disclosure herein. The invention is capable of other and different embodiments and its several details are capable of modification and variation in various respects, all without departing from the spirit of the present invention. The drawings of the present invention are merely schematic illustrations, and are not drawn to actual dimensions, and are stated in advance. The following embodiments will further illustrate the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
Embodiment one: the embodiment provides an intelligent contract management system based on a block chain consensus mechanism. The application scene is as follows: intelligent contracts management scenarios between nodes within a blockchain. Referring to fig. 1, an intelligent contract management system based on a blockchain consensus mechanism includes a blockchain consensus management terminal, an intelligent contract application management terminal, an intelligent contract signing evaluation terminal and an intelligent contract execution terminal; the block chain consensus management terminal is used for dividing node levels for all nodes according to node information of all nodes in the block chain, and generating management layer list information and base layer list information; the intelligent contract application management terminal is used for receiving intelligent contract application initiated by a corresponding node in the blockchain; the intelligent contract signing and evaluating terminal is used for generating judging information corresponding to intelligent contract application according to node information, management layer list information and base layer list information of all nodes; the intelligent contract executing terminal is used for signing and executing corresponding intelligent contracts according to the judging information;
the block chain consensus management terminal comprises a block chain node information acquisition module and a block chain consensus management module; the block chain node information acquisition module is used for acquiring node information of all nodes in a block chain; the block chain consensus management module is used for dividing node levels for all nodes according to node information of all nodes in a block chain, and generating management layer list information and base layer list information;
the intelligent contract application management terminal comprises an intelligent contract application acquisition module and an intelligent contract application screening module; the intelligent contract application acquisition module is used for acquiring intelligent contract applications from corresponding nodes; the intelligent contract application screening module is used for carrying out normalization screening on the intelligent contract application according to the node information of the initiator node and the receiver node corresponding to the intelligent contract application;
the intelligent contract signing and evaluating terminal comprises an evaluation index calculation module and an intelligent contract signing and evaluating module; the evaluation index calculation module is used for calculating an evaluation index corresponding to the intelligent contract application according to node information, management layer list information and base layer list information of all the nodes; the intelligent contract signing and evaluating module is used for generating corresponding judging information according to the evaluation index.
Optionally, as shown in fig. 2, the blockchain consensus management module includes a hierarchical score calculation sub-module, a blockchain consensus management sub-module, and a hierarchical list generation sub-module; the hierarchy score calculation submodule is used for calculating corresponding hierarchy scores according to node information of the nodes; the block chain consensus management submodule is used for carrying out hierarchical division management on all nodes in the block chain according to the hierarchical score; the hierarchical list generation sub-module is used for generating corresponding management layer list information and base layer list information according to the hierarchical grading and hierarchical division management results;
when the hierarchical score calculation sub-module calculates, the following equation is satisfied:
;
wherein,a hierarchical score representing the corresponding node; />、/>And->Respectively representing a conversion coefficient of the monetary equity value, a conversion coefficient of the year proportion and a conversion coefficient of the success proportion, which are set by an administrator according to experience; />Representing real-time monetary value of interest of the corresponding node; />Representing the year of operation of the corresponding node; />Representing the coin-age value of the corresponding node; />Representing the year reference value, empirically set by an administrator; />Representing that the corresponding node is atThe number of intelligent contracts in a year; />Representing the failure times of the corresponding node in one year;
when (when)When the corresponding node is divided into a management layer by the block chain consensus management module, the corresponding node is added into the list information of the management layer; when->When the corresponding node is divided into a base layer by the block chain consensus management module, the corresponding node is added into the base layer list information; />The hierarchical division threshold is expressed and empirically set by an administrator.
Optionally, referring to fig. 3, the intelligent contract application screening module includes an intelligent contract application specification score calculating sub-module and an intelligent contract application screening sub-module; the intelligent contract application specification score calculation sub-module is used for calculating corresponding intelligent contract application specification scores according to node information of an initiator node and a receiver node corresponding to the intelligent contract application; the intelligent contract application screening submodule is used for carrying out normalization screening on the intelligent contract application according to the intelligent contract application normalization score;
when the intelligent contract application specification score calculation submodule calculates, the following formula is satisfied:
;
;
wherein,a smart contract application specification score representing a corresponding smart contract application; />A coefficient selection function representing a monetary value based on the monetary value of the initiator node and the monetary value of the recipient node; />A monetary benefit value representing the initiator node; />A monetary benefit value representing the recipient node; />A daily average online time value representing the initiator node; />A daily average online time value representing the recipient node; />Representing an online time sum reference value, and setting by an administrator according to experience; />Representing the operator authentication number of the initiator node; />Representing the number of operator authentications for the recipient node; />Representing a sum reference value of the authentication quantity of the operators, and setting the sum reference value according to experience by an administrator;
when (when)When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application passes; when->When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application does not pass and screens the corresponding intelligent contract application; />The normalization determination threshold is set empirically by an administrator.
Optionally, as shown in fig. 4, the evaluation index calculating module includes an information reading sub-module and an evaluation index calculating sub-module; the information reading submodule is used for reading node information, management layer list information and base layer list information of all nodes; the evaluation index calculation sub-module is used for calculating the evaluation index of the intelligent contract application passing through the normalization according to the node information, the management layer list information and the base layer list information of all the nodes;
when the evaluation index calculation sub-module calculates, the following equation is satisfied:
;
wherein,a rating index representing a normalized passing smart contract application; />Representing that the corresponding smart contract application comes from the base layer; />Representing a minimum monetary value of interest in all nodes in the blockchain that agree to the smart contract application; />Representing ++of all nodes in blockchain that agree to the Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that represent consent to the application of the smart contract; />Representing a maximum monetary benefit value in the blockchain representing all nodes that do not agree to the smart contract application; />Representing ++in all nodes in blockchain representing disagreement to Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that do not agree to the application for the smart contract;
2 represents that the corresponding smart contract application comes from the management layer; />Representing an average monetary value of interest representing all management layer nodes that agree to the application for the intelligent contract in the blockchain; />Representing ++th in all management layer nodes in blockchain that agree to a smart contract application>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are used for agreeing to the application of the intelligent contract; />Representing blockchainRepresenting average monetary equity values for all management layer nodes not agreeing to the application for the intelligent contract; />Representing +.f in all management layer nodes in blockchain representing disagreeable to Smart contract applications>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are not agreed to the application of the intelligent contract;
when (when)When the intelligent contract signing rating module generates judging information for representing that the corresponding intelligent contract is allowed to sign; when->When the intelligent contract signing rating module generates judging information for indicating that the corresponding intelligent contract is not allowed to sign; />The sign-on determination threshold is expressed and empirically set by an administrator.
An intelligent contract management method based on a block chain consensus mechanism is applied to the intelligent contract management system based on the block chain consensus mechanism, and is shown in fig. 5, and the intelligent contract management method comprises the following steps:
s1, dividing node levels for all nodes according to node information of all nodes in a blockchain, and generating management layer list information and base layer list information;
s2, receiving an intelligent contract application initiated by a corresponding node in the block chain;
s3, judging information corresponding to the intelligent contract application is generated according to node information, management layer list information and base layer list information of all the nodes;
s4, signing and executing the corresponding intelligent contract according to the judging information.
Embodiment two: the embodiment includes the whole content of the first embodiment, and provides an intelligent contract management system based on a blockchain consensus mechanism, and referring to fig. 6, the intelligent contract signing and evaluating module includes a tabular behavior checking sub-module and an intelligent contract signing and evaluating sub-module; the tabular behavior correction submodule is used for judging whether the tabular behavior of each node is abnormal according to the tabular behavior information of each node, if so, feeding back a corresponding instruction and requesting the corresponding node to carry out tabular behavior again; the intelligent contract signing and evaluating sub-module is used for generating corresponding judging information according to the collated form behaviors and the collated evaluation indexes.
The tabular behavior correction submodule comprises a tabular behavior information acquisition unit, a tabular behavior analysis index calculation unit and a tabular behavior correction instruction generation unit; the tabular state behavior information acquisition unit is used for acquiring tabular state behavior information from each node when in a tabular state; the formal behavior refers to behavior when a node makes permission or non-permission representation for a corresponding intelligent contract application; the tabular behavior information comprises tabular duration data and tabular period network data; the tabular state behavior analysis index calculation unit is used for calculating the tabular state behavior analysis index of the corresponding node according to the tabular state duration data and the tabular state period network data; the tabular form behavior correction instruction generation unit is used for generating a corresponding tabular form behavior correction instruction according to the tabular form behavior analysis index; the table state behavior correction instruction is used for driving the corresponding node to perform table state again, namely: and the operators of the corresponding nodes apply for the corresponding intelligent contracts to re-state.
When the tabular behavior analysis index calculation unit calculates, the following equation is satisfied:
;
wherein,representation ofThe form behavior analysis index of the corresponding node; />Representing the form duration difference conversion coefficient; />Representing a network delay difference conversion coefficient during a table state; />And->Are set by an administrator according to experience; />The method comprises the steps of representing the operation time length of performing the tabular operation on a corresponding node, wherein the operation time length refers to the time length from the pop-up of an operator of the node from a tabular option to the selection of the corresponding option; />The reference time length for representing the corresponding node to perform the tabular operation is set by an administrator according to experience; />Representing a network delay average during the tabular state; />Representing the network delay reference during the table state.
When (when)When the state behavior correction instruction generation unit generates a state behavior correction instruction for representing the re-performing of the state; when->When the state behavior correction instruction generation unit generates a state behavior correction instruction for representing that the state does not need to be carried out again; />The collation judgment threshold is expressed and empirically set by an administrator.
The foregoing disclosure is only a preferred embodiment of the present invention and is not intended to limit the scope of the invention, so that all equivalent technical changes made by the application of the present invention and the accompanying drawings are included in the scope of the invention, and in addition, the elements in the invention can be updated with the technical development.
Claims (2)
1. The intelligent contract management system based on the block chain consensus mechanism is characterized by comprising a block chain consensus management terminal, an intelligent contract application management terminal, an intelligent contract signing evaluation terminal and an intelligent contract execution terminal; the block chain consensus management terminal is used for dividing node levels for all nodes according to node information of all nodes in the block chain, and generating management layer list information and base layer list information; the intelligent contract application management terminal is used for receiving intelligent contract application initiated by a corresponding node in the blockchain; the intelligent contract signing and evaluating terminal is used for generating judging information corresponding to intelligent contract application according to node information, management layer list information and base layer list information of all nodes; the intelligent contract executing terminal is used for signing and executing corresponding intelligent contracts according to the judging information;
the block chain consensus management terminal comprises a block chain node information acquisition module and a block chain consensus management module; the block chain node information acquisition module is used for acquiring node information of all nodes in a block chain; the block chain consensus management module is used for dividing node levels for all nodes according to node information of all nodes in a block chain, and generating management layer list information and base layer list information;
the intelligent contract application management terminal comprises an intelligent contract application acquisition module and an intelligent contract application screening module; the intelligent contract application acquisition module is used for acquiring intelligent contract applications from corresponding nodes; the intelligent contract application screening module is used for carrying out normalization screening on the intelligent contract application according to the node information of the initiator node and the receiver node corresponding to the intelligent contract application;
the intelligent contract signing and evaluating terminal comprises an evaluation index calculation module and an intelligent contract signing and evaluating module; the evaluation index calculation module is used for calculating an evaluation index corresponding to the intelligent contract application according to node information, management layer list information and base layer list information of all the nodes; the intelligent contract signing and evaluating module is used for generating corresponding judging information according to the evaluation index;
the block chain consensus management module comprises a hierarchical grading calculation sub-module, a block chain consensus management sub-module and a hierarchical list generation sub-module; the hierarchy score calculation submodule is used for calculating corresponding hierarchy scores according to node information of the nodes; the block chain consensus management submodule is used for carrying out hierarchical division management on all nodes in the block chain according to the hierarchical score; the hierarchical list generation sub-module is used for generating corresponding management layer list information and base layer list information according to the hierarchical grading and hierarchical division management results;
when the hierarchical score calculation sub-module calculates, the following equation is satisfied:
;
wherein,a hierarchical score representing the corresponding node; />、/>And->Respectively representing a conversion coefficient of the monetary equity value, a year proportion conversion coefficient and a success proportion conversion coefficient; />Representing real-time monetary value of interest of the corresponding node; />Representing the year of operation of the corresponding node; />Representing the coin-age value of the corresponding node; />Representing year reference values; />Representing the number of intelligent contracts signed by the corresponding node in one year; />Representing the failure times of the corresponding node in one year;
when (when)When the corresponding node is divided into a management layer by the block chain consensus management module, the corresponding node is added into the list information of the management layer; when->When the corresponding node is divided into a base layer by the block chain consensus management module, the corresponding node is added into the base layer list information; />Representing a hierarchical division threshold;
the intelligent contract application screening module comprises an intelligent contract application specification scoring computation sub-module and an intelligent contract application screening sub-module; the intelligent contract application specification score calculation sub-module is used for calculating corresponding intelligent contract application specification scores according to node information of an initiator node and a receiver node corresponding to the intelligent contract application; the intelligent contract application screening submodule is used for carrying out normalization screening on the intelligent contract application according to the intelligent contract application normalization score;
when the intelligent contract application specification score calculation submodule calculates, the following formula is satisfied:
;
;
wherein,a smart contract application specification score representing a corresponding smart contract application; />A coefficient selection function representing a monetary value based on the monetary value of the initiator node and the monetary value of the recipient node; />A monetary benefit value representing the initiator node; />A monetary benefit value representing the recipient node; />A daily average online time value representing the initiator node; />A daily average online time value representing the recipient node; />Representing an online time sum reference value; />Representing the operator authentication number of the initiator node; />Representing the number of operator authentications for the recipient node; />Representing a sum reference value of the authentication quantity of the operator;
when (when)When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application passes; when->When the intelligent contract application screening submodule judges that the normalization of the corresponding intelligent contract application does not pass and screens the corresponding intelligent contract application; />Representing a normalization decision threshold;
the evaluation index calculation module comprises an information reading sub-module and an evaluation index calculation sub-module; the information reading submodule is used for reading node information, management layer list information and base layer list information of all nodes; the evaluation index calculation sub-module is used for calculating the evaluation index of the intelligent contract application passing through the normalization according to the node information, the management layer list information and the base layer list information of all the nodes;
when the evaluation index calculation sub-module calculates, the following equation is satisfied:
;
wherein,a rating index representing a normalized passing smart contract application; />Representing that the corresponding smart contract application comes from the base layer; />Representing a minimum monetary value of interest in all nodes in the blockchain that agree to the smart contract application; />Representing ++of all nodes in blockchain that agree to the Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that represent consent to the application of the smart contract; />Representing a maximum monetary benefit value in the blockchain representing all nodes that do not agree to the smart contract application; />Representing ++in all nodes in blockchain representing disagreement to Smart contract application>A coin-age value for each node; />Representing a total number of all nodes in the blockchain that do not agree to the application for the smart contract;
2 represents that the corresponding smart contract application comes from the management layer; />Representing an average monetary value of interest representing all management layer nodes that agree to the application for the intelligent contract in the blockchain; />Representing ++th in all management layer nodes in blockchain that agree to a smart contract application>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are used for agreeing to the application of the intelligent contract; />Representing an average monetary equity value in the blockchain representing all management layer nodes that do not agree to the application for the smart contract; />Representing +.f in all management layer nodes in blockchain representing disagreeable to Smart contract applications>A coin-age value for each node; />Representing the total number of all management layer nodes in the blockchain, which are not agreed to the application of the intelligent contract;
when (when)When the intelligent contract signing rating module generates judging information for representing that the corresponding intelligent contract is allowed to sign;when->When the intelligent contract signing rating module generates judging information for indicating that the corresponding intelligent contract is not allowed to sign; />Representing a subscription determination threshold.
2. An intelligent contract management method based on a block chain consensus mechanism, applied to an intelligent contract management system based on the block chain consensus mechanism as set forth in claim 1, characterized in that the intelligent contract management method includes:
s1, dividing node levels for all nodes according to node information of all nodes in a blockchain, and generating management layer list information and base layer list information;
s2, receiving an intelligent contract application initiated by a corresponding node in the block chain;
s3, judging information corresponding to the intelligent contract application is generated according to node information, management layer list information and base layer list information of all the nodes;
s4, signing and executing the corresponding intelligent contract according to the judging information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311099972.6A CN116823272B (en) | 2023-08-30 | 2023-08-30 | Intelligent contract management system based on block chain consensus mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311099972.6A CN116823272B (en) | 2023-08-30 | 2023-08-30 | Intelligent contract management system based on block chain consensus mechanism |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116823272A CN116823272A (en) | 2023-09-29 |
CN116823272B true CN116823272B (en) | 2023-11-17 |
Family
ID=88120736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311099972.6A Active CN116823272B (en) | 2023-08-30 | 2023-08-30 | Intelligent contract management system based on block chain consensus mechanism |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116823272B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108364232A (en) * | 2018-03-31 | 2018-08-03 | 成都主题智链信息技术有限公司 | A kind of signature of electronics contract and implementation and supervision system based on block chain technology |
CN116308445A (en) * | 2022-09-09 | 2023-06-23 | 国网浙江省电力有限公司 | Virtual power plant multi-mode transaction method, equipment and medium based on energy block chain |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10839107B2 (en) * | 2019-05-30 | 2020-11-17 | Advanced New Technologies Co., Ltd. | Managing a smart contract on a blockchain |
US11315120B2 (en) * | 2019-08-29 | 2022-04-26 | International Business Machines Corporation | Implementing a marketplace for risk assessed smart contracts issuers and execution providers in a blockchain |
-
2023
- 2023-08-30 CN CN202311099972.6A patent/CN116823272B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108364232A (en) * | 2018-03-31 | 2018-08-03 | 成都主题智链信息技术有限公司 | A kind of signature of electronics contract and implementation and supervision system based on block chain technology |
CN116308445A (en) * | 2022-09-09 | 2023-06-23 | 国网浙江省电力有限公司 | Virtual power plant multi-mode transaction method, equipment and medium based on energy block chain |
Non-Patent Citations (1)
Title |
---|
龚钢军.《中国电机工程学报》.2020,第40卷(第18期),第5898-5911页. * |
Also Published As
Publication number | Publication date |
---|---|
CN116823272A (en) | 2023-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Manadhata et al. | A formal model for a system’s attack surface | |
CN110519246B (en) | Trust degree calculation method based on trust block chain node | |
CN108011741B (en) | Method and system for simulating and testing blockchains of distributed networks | |
CN110009225A (en) | Risk evaluating system construction method, device, computer equipment and storage medium | |
CN105718805A (en) | Cloud-computing trust management method based on evaluation confidence degree | |
CN116611797B (en) | Service tracking and monitoring method, system and storage medium | |
CN111680420A (en) | Simulation system dynamics model for industrial policy influence and implementation method thereof | |
KR101368103B1 (en) | Risk-management device | |
TW201503029A (en) | Calculating a probability of a business being delinquent | |
CN117376228B (en) | Network security testing tool determining method and device | |
CN116823272B (en) | Intelligent contract management system based on block chain consensus mechanism | |
CN108399284B (en) | Big data transaction model analysis and restoration method based on deviation reduction | |
Yuan et al. | Lightweight and reliable decentralized reward system using blockchain | |
CN116361759B (en) | Intelligent compliance control method based on quantitative authority guidance | |
CN115131139B (en) | Method, device and medium for obtaining target result based on structural data | |
Saputri et al. | The model of life insurance claims with actuarial smoothing approach by using GLM Poisson regression | |
CN109743203B (en) | Distributed service security combination system and method based on quantitative information flow | |
CN116862513B (en) | High-safety public payment system based on PoS consensus | |
CN113094696A (en) | Password cracking effect evaluation method and device, electronic equipment and storage medium | |
Tan et al. | BIM-enabled Sustainability Assessment of Design for Manufacture and Assembly | |
Nguyen et al. | A Systematically Empirical Evaluation Of Vulnerability Discovery Models: A Study On Browsers' Vulnerabilities | |
Zarghami | No Scheduling Problem but Rather a Rescheduling Problem: Measuring Robustness of Schedule Network in Construction Projects | |
CN114742479B (en) | Account identification method, account identification device, server and storage medium | |
CN117422571A (en) | Financial balance evaluation system based on block chain | |
CN116996318A (en) | Feasibility assessment method, device, equipment and medium for security protection strategy |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |