CN111475578B - Uplink voting method and system for intelligent contract in credit investigation union chain - Google Patents

Uplink voting method and system for intelligent contract in credit investigation union chain Download PDF

Info

Publication number
CN111475578B
CN111475578B CN202010319333.6A CN202010319333A CN111475578B CN 111475578 B CN111475578 B CN 111475578B CN 202010319333 A CN202010319333 A CN 202010319333A CN 111475578 B CN111475578 B CN 111475578B
Authority
CN
China
Prior art keywords
voting
contribution
uplink
contribution degree
intelligent contract
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
Application number
CN202010319333.6A
Other languages
Chinese (zh)
Other versions
CN111475578A (en
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.)
Buchwaite Technology Co ltd
Original Assignee
Buchwaite 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 Buchwaite Technology Co ltd filed Critical Buchwaite Technology Co ltd
Priority to CN202010319333.6A priority Critical patent/CN111475578B/en
Publication of CN111475578A publication Critical patent/CN111475578A/en
Application granted granted Critical
Publication of CN111475578B publication Critical patent/CN111475578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C13/00Voting apparatus

Abstract

The invention relates to a cochain voting method and a cochain voting system for intelligent contracts in a credit investigation alliance chain, which comprises the following steps: setting uplink voting time; calculating the current contribution degree of each block link point = credit investigation contribution degree + adding duration contribution degree + voting contribution degree; a certain block link point submits an intelligent contract to be subjected to uplink voting, and adds contribution degrees, and voting information of each block link point to the intelligent contract is received within uplink voting time; comparing the sum of the corresponding contribution degrees of the vote agreement and the vote rejection, if the sum of the corresponding contribution degrees of the vote agreement is greater than the sum of the corresponding contribution degrees of the vote rejection, linking the intelligent contract, subtracting the attached contribution degrees from the current contribution degrees of the block link points participating in the linking vote, and rewarding the contribution degrees of the block link points participating in the linking vote; and if the sum of the corresponding contribution degrees of the agreement tickets is smaller than the sum of the corresponding contribution degrees of the rejection tickets, the intelligent contract does not uplink, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in uplink voting, so that the contribution degrees are rewarded for the block link points throwing the rejection tickets.

Description

Uplink voting method and system for intelligent contract in credit investigation union chain
Technical Field
The invention relates to the technical field of alliance chains, in particular to an uplink voting method and system for intelligent contracts in credit investigation alliance chains.
Background
The blockchain is a novel decentralized information technology, can safely store digital transactions or other data, cannot be forged and falsified, and is a bottom layer technology of digital currencies such as bitcoin, ethernet currency and the like. And the transaction confirmation on the blockchain is completed by the consensus of all the nodes on the blockchain, and the block is packed and written after the consensus is successful. The block chain maintains a public account book for storing all transactions on the block chain network, and any node of the public account book on the storage block is a complete copy, so that the common account book can not be forged and falsified, information sharing is realized, and the efficiency of transaction and information circulation can be improved.
The league chain, an implementation form of the block chain, is only for members of a certain group and limited third parties, and generation of each block is jointly determined by all the preselected nodes. Members of a federation chain refer to enterprises, financial institutions, and other institutions that join the federation through federation authentication.
The intelligent contract on the block chain refers to a string of binary codes which are written and compiled by languages such as Solidity and LLL and run on the block chain, data storage, reading and writing and some logic operations on the block chain can be realized through the intelligent contract, and most block chain applications run based on the intelligent contract at present. The identity language used by the intelligent contract is image-based and can realize all operations of the application business logic.
In the existing alliance chain, a judgment standard for judging whether the intelligent contract can be linked does not exist, and therefore, it is particularly important to design a technical scheme for judging whether the intelligent contract can be linked.
Disclosure of Invention
The invention provides a method and a system for uplink voting of an intelligent contract in a credit investigation alliance chain, aiming at the problems and the defects in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides an uplink voting method of an intelligent contract in a credit investigation alliance chain, which is characterized in that the credit investigation alliance chain comprises a plurality of block chain nodes, the credit investigation alliance chain stores a corresponding relation between credit investigation values and contribution degrees of the block chain nodes and a corresponding relation between adding duration and contribution degrees of the block chain nodes, and the uplink voting method comprises the following steps:
setting the cochain voting time of the intelligent contract;
calculating the current contribution degree of each block link node = credit investigation contribution degree + adding duration contribution degree + voting contribution degree;
the credit contribution degree = the contribution degree corresponding to the credit value of the block chain node and the weight value of the credit contribution degree;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed and negative votes are denied and not passed-contribution degree attached when voting) voting contribution degree weight value;
a certain block link point submits an intelligent contract to be uplink voted and attaches a contribution degree, voting information of each block link point in a credit union chain aiming at the intelligent contract to be uplink voted is received within a set uplink voting time, the voting information comprises the vote agreeing to the intelligent contract uplink voted to be uplink voted and the attached contribution degree, or the vote rejecting the intelligent contract uplink voted to be uplink voted and the attached contribution degree, wherein the voting information of the block link node submitting the intelligent contract to be uplink voted defaults to be the vote agreeing;
comparing the sum of the contribution degrees attached to the block link points of the intelligent contract link points agreeing to link vote with the sum of the contribution degrees attached to the block link points of the intelligent contract link points rejecting the intelligent contract link vote to link vote, and if the sum of the contribution degrees corresponding to the agreement vote and the rejection vote is greater than the sum of the contribution degrees corresponding to the rejection vote, the intelligent contract link points agreeing to link vote is subjected to link voting, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in link voting, and meanwhile, the contribution degrees of awards are given to the block link points voting; if the sum of the contribution degrees corresponding to the agreement tickets is smaller than the sum of the contribution degrees corresponding to the rejection tickets, the intelligent contract for pending uplink voting does not allow uplink, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in uplink voting, and meanwhile, the contribution degrees of awards are given to the block link points for rejecting tickets; if the sum of the contribution degrees corresponding to the vote of agreement is equal to the sum of the contribution degrees corresponding to the vote of denial, the set uplink voting time is given again for voting.
Preferably, the contribution degree of the block-link point is smaller than the current contribution degree of the block-link node, and the contribution degree of the block-link point is smaller than half of the sum of the current contribution degrees of all the block-link nodes in the credit union chain.
Preferably, the contribution degree of other block link points except the block link point in the credit union chain is smaller than the current contribution degree of the corresponding block link node.
The invention also provides an uplink voting system of the intelligent contract in the credit investigation alliance chain, which is characterized in that the credit investigation alliance chain comprises a plurality of block chain nodes, the credit investigation alliance chain stores the corresponding relation between credit investigation values and contribution degrees of the block chain nodes and the corresponding relation between adding time lengths and contribution degrees of the block chain nodes, and the uplink voting system comprises a setting module, a calculating module, a receiving module, a voting module, an agreement module, a rejection module and a resetting module;
the setting module is used for setting the uplink voting time of the intelligent contract;
the calculation module is used for calculating the current contribution degree of each block chain node = credit contribution degree + join duration contribution degree + voting contribution degree;
the credit investigation contribution degree = the contribution degree corresponding to the credit investigation value of the block chain node and the credit investigation contribution degree weight value;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed + contribution degree obtained when voting is denied and failed-contribution degree attached at the time of voting) = voting contribution degree weight value;
the receiving module is used for receiving voting information of each block link point in a credit unions chain aiming at the intelligent contract to be subjected to uplink voting in a set uplink voting time when a certain block link point submits the intelligent contract to be subjected to uplink voting and attaches the contribution degree, wherein the voting information comprises the voting agreeing to the intelligent contract to be subjected to uplink voting and the attached contribution degree, or the voting overruling to the intelligent contract to be subjected to uplink voting and the attached contribution degree, and the voting information of the block link node submitting the intelligent contract to be subjected to uplink voting defaults to be subjected to voting agreeing to the voting;
the voting module is used for comparing the sum of the contribution degrees attached to the block link points of the intelligent contract chain voting granting the to-be-chain voting with the sum of the contribution degrees attached to the block link points of the intelligent contract chain voting denying the to-be-chain voting, if the sum of the contribution degrees corresponding to the voting granting tickets is greater than the sum of the contribution degrees corresponding to the voting denying tickets, the granting module is called to grant the intelligent contract chain of the to-be-chain voting, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in the chain voting, and meanwhile, the awarded contribution degrees are endowed to the block link points granting the tickets; if the sum of the contribution degrees corresponding to the vote-granting is smaller than the sum of the contribution degrees corresponding to the vote-denying, the denying module is called to denying the intelligent contract uplink to be uplink voted, the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in uplink voting, and meanwhile the block link points to which the denying vote is granted are endowed with the contribution degrees of awards; if the sum of the contribution degrees corresponding to the vote agreement is equal to the sum of the contribution degrees corresponding to the vote rejection, the reset module is called to give the set uplink voting time again for voting.
Preferably, the contribution degree of the block link point is smaller than the current contribution degree of the block link node, and the contribution degree of the block link point is smaller than half of the sum of the current contribution degrees of all the block link nodes in the credit union chain.
Preferably, the contribution degree of other block link points except the block link point in the credit union chain is smaller than the current contribution degree of the corresponding block link node.
The positive progress effects of the invention are as follows: in the invention, each block chain node in the credit investigation alliance chain has voting right, and the intelligent voting of whether the intelligent contract can uplink is realized through whether the agreement ticket or the rejection ticket is voted by the specific voting of each block chain node.
Drawings
Fig. 1 is a flowchart of a method for uplink voting for a smart contract in a credit-investigation alliance chain according to a preferred embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a uplink voting system for intelligent contracts in a credit investigation union chain according to a preferred embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
As shown in fig. 1, the present embodiment provides a uplink voting method for an intelligent contract in a credit-investigation alliance chain, where the credit-investigation alliance chain includes a plurality of block-chain nodes, and the credit-investigation alliance chain stores a corresponding relationship between credit-investigation values and contribution degrees of the block-chain nodes and a corresponding relationship between join durations and contribution degrees of the block-chain nodes, and the uplink voting method includes the following steps:
step 110, setting the uplink voting time of the intelligent contract.
For example: after the intelligent contract to be subjected to the uplink voting is set to be submitted, the voting opinions are submitted to each block link point within the set uplink voting time (24 hours), and after the set uplink voting time (24 hours), the submission of the voting opinions is closed.
And step 120, calculating the current contribution degree of each blockchain node = credit contribution degree + join duration contribution degree + voting contribution degree.
The credit investigation contribution degree = the contribution degree corresponding to the credit investigation value of the block chain node and the credit investigation contribution degree weight value;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed + contribution degree obtained when voting is denied and failed-contribution degree attached at the time of voting) = voting contribution degree weight value;
the credit contribution degree weight value + the join duration contribution degree weight value + the voting contribution degree weight value =1.
Step 130, a certain block link point submits an intelligent contract to be uplinked for voting, and adds a contribution degree, and receives voting information of each block link point in the credit union chain for the intelligent contract to be uplinked for voting in a set uplink voting time, wherein the voting information comprises the voting of the intelligent contract to be uplinked for voting and the added contribution degree, or the voting of the intelligent contract to be uplinked for voting and the added contribution degree, and the voting information of the block link node submitting the intelligent contract to be uplinked for voting defaults to voting and the added contribution degree, and the voting information of the block link node is defaulted to be the voting agreement for voting.
The contribution degree attached to the block link point is smaller than the current contribution degree of the block link node, and the contribution degree attached to the block link point is smaller than half of the sum of the current contribution degrees of all the block link nodes in the credit investigation union chain, so that the credit investigation union chain is not monopolized by a block link node with a high contribution degree.
The contribution degree of other block link points except the block link point in the credit union chain is smaller than the current contribution degree of the corresponding block link node.
Step 140, comparing the sum of the contribution degrees attached to the block link points of the intelligent contract link votes agreeing to link votes to be linked with the sum of the contribution degrees attached to the block link points of the intelligent contract link votes overruling to be linked with the sum of the contribution degrees attached to the intelligent contract link points of the intelligent contract link votes approving to link votes to be linked, if the sum of the contribution degrees corresponding to the votes to be linked with the intelligent contract link points agreeing to link votes to be linked with the intelligent contract link points of the intelligent contract link votes to be linked with the intelligent contract link points of the intelligent contract link votes to be linked with the intelligent contract link votes to link, entering step 150, if the sum of the contribution degrees corresponding to the votes to be linked with the intelligent contract link points to be linked with the contract, entering step 160, and entering step 170.
And 150, linking the intelligent contract to be linked for the link voting, and subtracting the attached contribution degree from the current contribution degree of each block link point participating in the link voting, and endowing the block link point for the agreement vote with a reward contribution degree.
At step 160, the intelligent contract for pending uplink voting does not allow uplink, and subtracts the attached contribution from the current contribution of each block link point participating in uplink voting, while assigning a bonus contribution to the block link point awarding negative votes.
And step 170, the set uplink voting time is given again for voting again.
As shown in fig. 2, this embodiment further provides a uplink voting system for an intelligent contract in a credit investigation alliance chain, where the credit investigation alliance chain includes a plurality of block chain nodes, and the credit investigation alliance chain stores a corresponding relationship between credit investigation values and contribution degrees of the block chain nodes and a corresponding relationship between join durations and contribution degrees of the block chain nodes, and the uplink voting system includes a setting module 1, a calculating module 2, a receiving module 3, a voting module 4, an agreement module 5, a denial module 6, and a resetting module 7.
The setting module 1 is used for setting the uplink voting time of the intelligent contract.
For example: after the intelligent contract which sets a waiting for winding up voting is submitted, the voting opinions are submitted to each block link point within the set winding up voting time (24 hours), and after the set winding up voting time (24 hours), the submission of the voting opinions is closed.
The calculating module 2 is configured to calculate the current contribution degree of each blockchain node = credit contribution degree + join duration contribution degree + voting contribution degree.
The credit investigation contribution degree = the contribution degree corresponding to the credit investigation value of the block chain node and the credit investigation contribution degree weight value;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed + contribution degree obtained when voting is denied and failed-contribution degree attached at the time of voting) = voting contribution degree weight value;
credit contribution weight + join duration contribution weight + vote contribution weight =1.
The receiving module 3 is configured to receive voting information of each block link point in the credit union chain for the intelligent contract to be subjected to uplink voting within a set uplink voting time when a certain block link point submits the intelligent contract to be subjected to uplink voting and attaches the contribution degree, where the voting information includes the votes agreeing to the intelligent contract to be subjected to uplink voting and the attached contribution degree, or the votes negating the intelligent contract to be subjected to uplink voting and the attached contribution degree, and the voting information of the block link node submitting the intelligent contract to be subjected to uplink voting defaults to be submitted to agreement voting.
The contribution degree of the block link point is smaller than the current contribution degree of the block link node, and the contribution degree of the block link point is smaller than half of the sum of the current contribution degrees of all the block link nodes in the credit union chain.
And the contribution degree of other block link points except the block link point in the credit investigation union chain is smaller than the current contribution degree of the corresponding block link node.
The voting module 4 is used for comparing the total contribution degree attached to the block link points of the intelligent contract uplink vote agreeing to uplink vote with the total contribution degree attached to the block link points of the intelligent contract uplink vote negating the intelligent contract uplink vote, if the total contribution degree corresponding to the vote agreement is larger than the total contribution degree corresponding to the vote negation, the agreement module 5 is called to agree to the intelligent contract uplink of the contract uplink vote, the attached contribution degree is subtracted from the current contribution degree of each block link point participating in uplink vote, and meanwhile, the block link points awarded with the vote are endowed with bonus contribution degrees; if the sum of the contribution degrees corresponding to the vote acceptance is smaller than the sum of the contribution degrees corresponding to the vote rejection, the rejection module 6 is invoked to reject the intelligent contract uplink to be uplink voted, the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in uplink voting, and meanwhile, the contribution degrees of the rewards are endowed to the block link points which vote rejection; if the sum of the contribution degrees corresponding to the vote agreement is equal to the sum of the contribution degrees corresponding to the vote rejection, the reset module 7 is called to give the set uplink voting time again for voting.
The present invention is further described below with reference to a specific example, which illustrates a method and system for uplink voting of intelligent contracts in a credit investigation union chain.
The credit investigation union chain comprises 5 block chain nodes which are respectively a block chain link point 1, a block chain link point 2, a block chain link point 3, a block chain link point 4 and a block chain link point 5, firstly setting uplink voting time of an intelligent contract for 24 hours, and then calculating the current contribution degree of each block chain node.
The block chain node 1 submits an intelligent contract T to be uplink voted and attaches a contribution degree C1, and within 24 hours of the set uplink voting time, the block chain node 1 must agree to vote because the intelligent contract T is proposed by the block chain node 1. Receiving voting information of an intelligent contract voted by each block link point in the credit unions chain for the to-be-uplinked chain, such as: the block chain node 2 casts a negative ticket and attaches a contribution degree C2, the block chain node 3 casts a positive ticket and attaches a contribution degree C3, the block chain node 4 casts a positive ticket and attaches a contribution degree C4, and the block chain node 5 casts a negative ticket and attaches a contribution degree C5.
The sum of the contribution degrees attached to the agreement ticket = C1+ C3+ C4 and the sum of the contribution degrees attached to the rejection ticket = C2+ C5 for the intelligent contract T, and the comparison is made, where C1+ C3+ C4 > C2+ C5, indicating that the decision is passed, allowing the intelligent contract T to chain, subtract the attached contribution degree C1 from the current contribution degree of the block link point 1, subtract the attached contribution degree C2 from the current contribution degree of the block link point 2, subtract the attached contribution degree C3 from the current contribution degree of the block link point 3, subtract the attached contribution degree C4 from the current contribution degree of the block link point 4, and subtract the attached contribution degree C5 from the current contribution degree of the block link point 5; meanwhile, the contribution degree C of the prize is given to the block chain node 1, the block link point 3, and the block link point 4 that cast the agreement ticket.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (2)

1. A uplink voting method for an intelligent contract in a credit investigation union chain is characterized in that the credit investigation union chain comprises a plurality of block chain nodes, the credit investigation union chain stores a corresponding relation between credit investigation values and contribution degrees of the block chain nodes and a corresponding relation between joining durations and contribution degrees of the block chain nodes, and the uplink voting method comprises the following steps:
setting the uplink voting time of the intelligent contract;
calculating the current contribution degree of each block chain node = credit contribution degree + join duration contribution degree + voting contribution degree;
the credit investigation contribution degree = the contribution degree corresponding to the credit investigation value of the block chain node and the weight value of the credit investigation contribution degree;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed + contribution degree obtained when voting is denied and failed-contribution degree attached at the time of voting) = voting contribution degree weight value;
the credit investigation contribution degree weight value + the adding duration contribution degree weight value + the voting contribution degree weight value =1;
submitting an intelligent contract to be subjected to uplink voting by a certain block link point and attaching contribution degrees, and receiving voting information of each block link point in a credit union chain aiming at the intelligent contract to be subjected to uplink voting within a set uplink voting time, wherein the voting information comprises voting for granting the intelligent contract uplink voting to be subjected to uplink voting and the attached contribution degrees or voting for denying the intelligent contract uplink voting to be subjected to uplink voting and the attached contribution degrees, the voting information of the block link node submitting the intelligent contract to be subjected to uplink voting defaults to grant the vote, the attached contribution degree of the block link point is smaller than the current contribution degree of the block link node, the attached contribution degree of the block link point is smaller than half of the sum of the current contribution degrees of all block link nodes in the credit union chain, and the attached contribution degrees of other block link points except the block link point in the credit union chain are smaller than the current contribution degree of the corresponding block link node;
comparing the sum of the contribution degrees attached to the block link points of the intelligent contract link points agreeing to link vote with the sum of the contribution degrees attached to the block link points of the intelligent contract link points rejecting the intelligent contract link vote to link vote, and if the sum of the contribution degrees corresponding to the agreement vote and the rejection vote is greater than the sum of the contribution degrees corresponding to the rejection vote, the intelligent contract link points agreeing to link vote is subjected to link voting, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in link voting, and meanwhile, the contribution degrees of awards are given to the block link points voting; if the sum of the contribution degrees corresponding to the agreement tickets is smaller than the sum of the contribution degrees corresponding to the rejection tickets, the intelligent contract for pending uplink voting does not allow uplink, and the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in uplink voting, and meanwhile, the contribution degrees of awards are given to the block link points for rejecting tickets; if the sum of the contribution degrees corresponding to the vote of the agreement is equal to the sum of the contribution degrees corresponding to the vote of the rejection, the set uplink voting time is given again for voting again.
2. A credit investigation alliance chain uplink voting system of an intelligent contract is characterized in that the credit investigation alliance chain comprises a plurality of block chain nodes, the credit investigation alliance chain stores the corresponding relation between credit investigation values and contribution degrees of the block chain nodes and the corresponding relation between joining durations and the contribution degrees of the block chain nodes, and the uplink voting system comprises a setting module, a calculating module, a receiving module, a voting module, an agreement module, a rejection module and a resetting module;
the setting module is used for setting the uplink voting time of the intelligent contract;
the calculation module is used for calculating the current contribution degree of each block chain node = credit contribution degree + join duration contribution degree + voting contribution degree;
the credit investigation contribution degree = the contribution degree corresponding to the credit investigation value of the block chain node and the credit investigation contribution degree weight value;
adding duration contribution degree = adding duration contribution degree weight value corresponding to the adding duration of the block chain node;
voting contribution degree = (contribution degree obtained when voting is granted and passed + contribution degree obtained when voting is denied and failed-contribution degree attached at the time of voting) = voting contribution degree weight value;
the credit investigation contribution weight value + the adding duration contribution weight value + the voting contribution weight value =1;
the receiving module is used for receiving voting information of each block link point in the credit union chain aiming at the intelligent contract to be subjected to uplink voting when the intelligent contract to be subjected to uplink voting is submitted and a contribution degree is added, wherein the voting information comprises votes agreeing to the intelligent contract uplink voting of the intelligent contract to be subjected to uplink voting and the added contribution degree or rejects the votes and the added contribution degree of the intelligent contract uplink voting of the intelligent contract to be subjected to uplink voting, the voting information of the block link node submitting the intelligent contract to be subjected to uplink voting is defaulted to agree with votes, the contribution degree added to the block link point is smaller than the current contribution degree of the block link node, the contribution degree added to the block link point is smaller than half of the sum of the current contribution degrees of all block link nodes in the credit union chain, and the contribution degrees added to other block link points in the credit union chain except the block link point are smaller than the current contribution degree of the corresponding block link node;
the voting module is used for comparing the contribution sum attached to the block link points which agree with the intelligent contract chain voting to be subjected to chain voting with the contribution sum attached to the block link points which deny the intelligent contract chain voting to be subjected to chain voting, if the contribution sum corresponding to the vote-agreeing is greater than the contribution sum corresponding to the vote-negating, the agreement module is called to agree with the intelligent contract chain of the chain voting to be subjected to chain voting, the attached contribution degrees are subtracted from the current contribution degrees of the block link points participating in chain voting, and meanwhile the block link points which agree with the vote are endowed with awarded contribution degrees; if the sum of the contribution degrees corresponding to the vote acceptance is smaller than the sum of the contribution degrees corresponding to the vote rejection, calling the rejection module to reject the intelligent contract uplink to be uplink voted, subtracting the attached contribution degrees from the current contribution degrees of the block link points participating in uplink voting, and endowing the block link points to which the vote rejection is cast with the contribution degrees of rewards; if the sum of the contribution degrees corresponding to the vote agreement is equal to the sum of the contribution degrees corresponding to the vote rejection, the reset module is called to give the set uplink voting time again for voting.
CN202010319333.6A 2020-04-21 2020-04-21 Uplink voting method and system for intelligent contract in credit investigation union chain Active CN111475578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010319333.6A CN111475578B (en) 2020-04-21 2020-04-21 Uplink voting method and system for intelligent contract in credit investigation union chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010319333.6A CN111475578B (en) 2020-04-21 2020-04-21 Uplink voting method and system for intelligent contract in credit investigation union chain

Publications (2)

Publication Number Publication Date
CN111475578A CN111475578A (en) 2020-07-31
CN111475578B true CN111475578B (en) 2022-12-13

Family

ID=71756004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010319333.6A Active CN111475578B (en) 2020-04-21 2020-04-21 Uplink voting method and system for intelligent contract in credit investigation union chain

Country Status (1)

Country Link
CN (1) CN111475578B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014644B (en) * 2021-02-25 2023-11-10 科海电子股份有限公司 Traffic information management method and system based on alliance block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109767315A (en) * 2018-12-14 2019-05-17 平安普惠企业管理有限公司 Business reference confirmation method, device, equipment and storage medium based on block chain
CN109886694A (en) * 2019-03-26 2019-06-14 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment based on block chain
CN110400224A (en) * 2019-07-29 2019-11-01 上海金融期货信息技术有限公司 A kind of over-the-counter bond trade clearing system and method based on license chain
CN110599370A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Property management method and device based on block chain and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109767315A (en) * 2018-12-14 2019-05-17 平安普惠企业管理有限公司 Business reference confirmation method, device, equipment and storage medium based on block chain
CN109886694A (en) * 2019-03-26 2019-06-14 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment based on block chain
CN110400224A (en) * 2019-07-29 2019-11-01 上海金融期货信息技术有限公司 A kind of over-the-counter bond trade clearing system and method based on license chain
CN110599370A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Property management method and device based on block chain and storage medium

Also Published As

Publication number Publication date
CN111475578A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
US11250518B2 (en) Method for secure ledger distribution and computer system using secure distributed ledger technology
CN112235114B (en) Block chain-based service processing system
US11544794B2 (en) Claim settlement method and apparatus employing blockchain technology
CN110033271B (en) Cross-chain transaction method, system and computer readable storage medium
KR101876674B1 (en) Method of managing common account using block chain and system performing the same
CN111475577B (en) Uplink voting method and system for intelligent contract in credit union chain
CN112036849B (en) Cross-border payment system and method based on distributed account book technology
CN111475579B (en) Cochain voting method and system for intelligent contracts in data sharing alliance chain
CN111475578B (en) Uplink voting method and system for intelligent contract in credit investigation union chain
CN115456603A (en) Double-chain structure-based approval process processing method and device
CN110930158A (en) Block chain DPoS common recognition method based on reward and punishment mechanism
Tschanz The contributions of the Aminoil award to the law of state contracts
CN112200670A (en) Event-driven intelligent contract platform design
CN112070503A (en) Contract execution method, device, equipment and storage medium based on block chain
Grybniak et al. Waterfall: Salto Collazo. Tokenomics
CN116452207A (en) Cross-link combined payment method based on relay link
Garrett State of Campaign Finance Policy: Recent Developments and Issues for Congess
Petrova et al. Perceptions of the EU’s power in the Eastern Partnership Region: The case of Armenia
CN112785285B (en) Multi-bank payment method, system, server and storage medium
CN115526710A (en) Credit data processing method and device based on block chain
CN111475580B (en) Data sharing method and system in alliance chain
CN114118987A (en) Cross-border remittance method and device based on block chain and electronic equipment
CN112488814A (en) Method, device, electronic equipment and medium for automatically generating accounting entry
Di Lucido A cross-country survey of general-purpose central bank digital currencies
CN111353895A (en) Method and system for managing asset allocation of block chain technology enterprise

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221128

Address after: Room 05, 23rd Floor, Building G/Unit, Wuhan Exhibition and Trade Center, President's Residence and Elite Apartment, Wuhan Living Room Small Exhibition Center Construction Project, No. 8 Hongtu Road, Dongxihu District, Wuhan City, 430000 Hubei Province

Applicant after: Buchwaite Technology Co.,Ltd.

Address before: 201800 403, No.5, Lane 588, Yunping Road, Jiading District, Shanghai

Applicant before: Wu Haijuan

GR01 Patent grant
GR01 Patent grant