CN112765264A - Block chain intelligent contract-based uplink voting control method - Google Patents

Block chain intelligent contract-based uplink voting control method Download PDF

Info

Publication number
CN112765264A
CN112765264A CN202011601110.5A CN202011601110A CN112765264A CN 112765264 A CN112765264 A CN 112765264A CN 202011601110 A CN202011601110 A CN 202011601110A CN 112765264 A CN112765264 A CN 112765264A
Authority
CN
China
Prior art keywords
block chain
voting
contribution
network
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011601110.5A
Other languages
Chinese (zh)
Inventor
朱仪轩
昌盛
侯锦坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Data Center of China Life Insurance Co Ltd
Original Assignee
Shanghai Data Center of China Life Insurance 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 Shanghai Data Center of China Life Insurance Co Ltd filed Critical Shanghai Data Center of China Life Insurance Co Ltd
Priority to CN202011601110.5A priority Critical patent/CN112765264A/en
Publication of CN112765264A publication Critical patent/CN112765264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention relates to a block chain intelligent contract-based uplink voting control method, which is applied to a alliance chain, wherein each network node in the alliance chain is provided with a block chain contribution degree, and the following steps are specifically executed during voting: s1, the target node selects an intelligent contract to be linked for voting, and a certain number of block chain contribution degrees are attached; s2, selecting agreement or objection of the rest network nodes according to the development situation of the intelligent contract on the block chain network ecology, and attaching a certain number of block chain contribution degrees; s3, calculating the total consenting block chain contribution degree of the target node and the selected consenting network node, simultaneously calculating the total objecting block chain contribution degree of the selected objecting network node, detecting whether the total consenting block chain contribution degree is larger than the total objecting block chain contribution degree, if yes, voting is successful, otherwise voting is failed. Compared with the prior art, the method has the advantages of improving the stability and the safety of the uplink voting, effectively preventing the behavior of harming the block chain network ecology and the like.

Description

Block chain intelligent contract-based uplink voting control method
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain intelligent contract-based uplink voting control method.
Background
Because the blockchain network is decentralized, the blockchain network does not have a judgment standard for judging whether the intelligent contract can be linked up, and a centralized mechanism special for judging the intelligent contract is not provided. Therefore, there is no measure for whether the intelligent contract will damage the existing ecology, so that the behavior of endangering the ecology of the blockchain network cannot be prevented.
The prior art CN201910042352.6 discloses a method and an apparatus for upgrading software based on a blockchain, where a verification user node on a blockchain network votes for a proposal for upgrading the software, and supports forward compatible smooth upgrade of blockchain software in a chain governance manner, and starts a software upgrading process by each node participating in the voting proposal, and switches to a protocol of a new version at an appointed future block height, and makes complete compatibility with data on a chain of a historical version, but there is a large error in chaining only by voting through the user node, and the stability is poor.
Disclosure of Invention
The invention aims to provide a block chain intelligent contract-based uplink voting control method for overcoming the defects of poor uplink voting stability and incapability of preventing behaviors damaging the ecology of a block chain network in the prior art.
The purpose of the invention can be realized by the following technical scheme:
a block chain intelligent contract-based uplink voting control method is applied to a alliance chain, each network node in the alliance chain is provided with a corresponding block chain contribution degree, and the following steps are specifically executed during voting:
s1, the target node selects an intelligent contract to be linked for voting, and a certain number of block chain contribution degrees are attached;
s2, selecting agreement or objection of the rest network nodes according to the development situation of the intelligent contract on the block chain network ecology, and attaching a certain number of block chain contribution degrees;
s3, calculating the total consenting block chain contribution degree of the target node and the selected consenting network node, simultaneously calculating the total objecting block chain contribution degree of the selected objecting network node, detecting whether the total consenting block chain contribution degree is larger than the total objecting block chain contribution degree, if yes, voting is successful, otherwise voting is failed.
In step S3, the contribution degrees of all blockchains participating in the voting are cleared after the voting is successful.
In the step S3, the contribution degrees of all block chains participating in the voting are cleared after the decision fails, and the target node and the network node that has chosen to agree cannot submit the intelligent contract again for voting within a certain time.
And the block chain contribution degree is calculated according to the time of the network node joining the block chain network, the building degree of each community participating in the block chain network and the degree of participating in the block chain point system.
Further, the network node obtains a certain number of block chain contribution degrees when agreeing by participating in voting and voting agreement tickets, and the final voting result is also agreement.
Further, the behavior of the network node participating in the blockchain credit system comprises providing commodity exchange and holding a certain credit amount for the blockchain credit system.
Further, the network node converts the behavior of providing commodity exchange for the blockchain scoring system according to the exchange value of the commodity and the ratio of times to obtain the blockchain contribution degree.
The specific process of selective agreement or objection of the rest network nodes in the step S2 includes determining that the intelligent contract of the target node is beneficial to the development of the block chain network ecology, and selectively agreeing; judging whether the ecological development of the block chain network is facilitated, but the ecological development of the block chain network is rejected by partial network nodes, and selecting to agree and attaching a certain number of block chain contribution degrees; the ecology of the whole block chain network is judged to be unfavorable, and a certain amount of block chain contribution degree is selected to resist and be attached.
And a contribution degree threshold value is set in the alliance chain, and the block chain contribution degree of the network node is smaller than or equal to the contribution degree threshold value.
Further, the contribution threshold is calculated according to the total contribution of the federation chain, and the contribution threshold is smaller than half of the total contribution. The intelligent contract for voting can be rejected by a certain percentage of contribution degrees of the whole network, decentralized of the block chain network cannot be influenced, and uplink voting of the alliance chain cannot be interrupted independently by a single decision of a network node with high block chain contribution degrees.
Compared with the prior art, the invention has the following beneficial effects:
the invention solves the defect that the decentralized blockchain network can not prevent the behavior damaging the ecology of the blockchain network, and leads the nodes deeply participating in the ecological construction of the blockchain network in the form of contribution degree weight voting, thereby having more decision-making rights for more nodes contributing to the ecology and realizing the on-chain management of the intelligent contract and the autonomic management of the blockchain ecology.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
A block chain intelligent contract-based uplink voting control method is characterized in that a contribution node decision weight is increased according to a contribution degree serving as a weight, the decision weight is applied to a alliance chain, each network node in the alliance chain is provided with a corresponding block chain contribution degree, and the following steps are specifically executed during voting:
s1, the target node selects an intelligent contract to be linked for voting, and a certain number of block chain contribution degrees are attached;
s2, selecting agreement or objection of the rest network nodes according to the development situation of the intelligent contract on the block chain network ecology, and attaching a certain number of block chain contribution degrees;
s3, calculating the total consenting block chain contribution degree of the target node and the selected consenting network node, simultaneously calculating the total objecting block chain contribution degree of the selected objecting network node, detecting whether the total consenting block chain contribution degree is larger than the total objecting block chain contribution degree, if yes, voting is successful, otherwise voting is failed.
In step S3, the contribution of all blockchains participating in the voting is cleared after the voting is successful.
In step S3, the contribution degrees of all block chains participating in the voting are cleared after the decision fails, and the target node and the network node that has been selected and agreed cannot submit the intelligent contract again for voting within a certain time.
The block chain contribution degree is calculated according to the time of the network node joining the block chain network, the building degree of each community participating in the block chain network and the degree of participating in the block chain point system.
The network nodes participate in voting and vote agreement tickets, and the final voting result also obtains a certain number of block chain contribution degrees when agreement is met.
The behavior of the network node participating in the blockchain credit system comprises the steps of providing commodity exchange and holding a certain credit amount for the blockchain credit system.
And the network node converts the behavior of providing commodity exchange for the block chain scoring system according to the exchange value of the commodity and the ratio of times to obtain the block chain contribution degree.
The specific process of selecting agreement or objection of the rest network nodes in the step S2 comprises the steps of judging that the intelligent contract of the target node is beneficial to the development of the block chain network ecology, and selecting agreement; judging whether the ecological development of the block chain network is facilitated, but the ecological development of the block chain network is rejected by partial network nodes, and selecting to agree and attaching a certain number of block chain contribution degrees; the ecology of the whole block chain network is judged to be unfavorable, and a certain amount of block chain contribution degree is selected to resist and be attached.
A contribution degree threshold value is set in the alliance chain, and the block chain contribution degree of the network node is smaller than or equal to the contribution degree threshold value.
And the contribution degree threshold value is obtained by calculation according to the total contribution degree of the alliance chain, and is smaller than half of the total contribution degree. The intelligent contract for voting can be rejected by a certain percentage of contribution degrees of the whole network, decentralized of the block chain network cannot be influenced, and uplink voting of the alliance chain cannot be interrupted independently by a single decision of a network node with high block chain contribution degrees.
Examples
As shown in fig. 1, node a needs to submit a voting intelligence contract and is accompanied by a contribution degree NA, node B agrees to the intelligence contract and is accompanied by a contribution degree NB, and nodes C and D both choose to object and are accompanied by contribution degrees NC and ND. If the agreement ticket NA + NB > negative ticket NC + ND, the voting is successful, and the intelligent contract can be linked up, and meanwhile, the contribution degree NA attached to the node A, the NB attached to the node B and the NC and ND used when the node C, D rejects are erased. If the agreement ticket NA + NB < the negative ticket NC + ND, the voting fails, the intelligent contract cannot be linked up, the contribution degrees NA, NB, NC and ND are erased, and the nodes A and B are agreed that the intelligent contract cannot be submitted again within a certain time.
The node B may obtain a certain number of blockchain contributions when the voting is successful.
In addition, it should be noted that the specific embodiments described in the present specification may have different names, and the above descriptions in the present specification are only illustrations of the structures of the present invention. Minor or simple variations in the structure, features and principles of the present invention are included within the scope of the present invention. Various modifications or additions may be made to the described embodiments or methods may be similarly employed by those skilled in the art without departing from the scope of the invention as defined in the appending claims.

Claims (10)

1. A block chain intelligent contract-based uplink voting control method is applied to a alliance chain, each network node in the alliance chain is provided with a corresponding block chain contribution degree, and the following steps are specifically executed during voting:
s1, the target node selects an intelligent contract to be linked for voting, and a certain number of block chain contribution degrees are attached;
s2, selecting agreement or objection of the rest network nodes according to the development situation of the intelligent contract on the block chain network ecology, and attaching a certain number of block chain contribution degrees;
s3, calculating the total consenting block chain contribution degree of the target node and the selected consenting network node, simultaneously calculating the total objecting block chain contribution degree of the selected objecting network node, detecting whether the total consenting block chain contribution degree is larger than the total objecting block chain contribution degree, if yes, voting is successful, otherwise voting is failed.
2. The method of claim 1, wherein the step S3 is performed by emptying the contribution degrees of all the blockchains participating in the current voting after the decision is successful.
3. The method of claim 1, wherein the step S3 is performed by clearing all blockchain contribution degrees participating in the current voting after the voting fails, and the target node and the selectively agreed network node cannot submit the intelligent contract again for voting within a certain time.
4. The method of claim 1, wherein the blockchain contribution is calculated according to a time of the network node joining the blockchain network, building degrees of communities participating in the blockchain network, and a degree of participation in a blockchain credit system.
5. The method of claim 4, wherein the network node obtains a certain number of blockchain contributions for agreement by participating in the voting and voting agreement tickets.
6. The method of claim 4, wherein the act of the network node participating in the blockchain credit scheme comprises providing commodity redemption and holding a credit amount for the blockchain credit system.
7. The method of claim 6, wherein the network node converts the behavior of providing commodity exchange for the blockchain scoring system to obtain the blockchain contribution degree according to the ratio of the exchange value to the number of times of the commodity.
8. The method according to claim 1, wherein the specific process of the selection approval or disapproval of the remaining network nodes in the step S2 includes determining that the intelligent contract of the target node is favorable for the development of the ecology of the blockchain network, and selecting approval; judging whether the ecological development of the block chain network is facilitated, but the ecological development of the block chain network is rejected by partial network nodes, and selecting to agree and attaching a certain number of block chain contribution degrees; the ecology of the whole block chain network is judged to be unfavorable, and a certain amount of block chain contribution degree is selected to resist and be attached.
9. The method of claim 1, wherein a contribution threshold is set in the federation chain, and the blockchain contribution of the network node is less than or equal to the contribution threshold.
10. The method of claim 9, wherein the contribution threshold is calculated according to a total contribution of the federation chain, and the contribution threshold is less than half of the total contribution.
CN202011601110.5A 2020-12-29 2020-12-29 Block chain intelligent contract-based uplink voting control method Pending CN112765264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601110.5A CN112765264A (en) 2020-12-29 2020-12-29 Block chain intelligent contract-based uplink voting control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601110.5A CN112765264A (en) 2020-12-29 2020-12-29 Block chain intelligent contract-based uplink voting control method

Publications (1)

Publication Number Publication Date
CN112765264A true CN112765264A (en) 2021-05-07

Family

ID=75697144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601110.5A Pending CN112765264A (en) 2020-12-29 2020-12-29 Block chain intelligent contract-based uplink voting control method

Country Status (1)

Country Link
CN (1) CN112765264A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951448A (en) * 2019-01-31 2019-06-28 中国互联网络信息中心 Domain name authentic authentication method and device based on block chain
CN110168582A (en) * 2018-11-30 2019-08-23 阿里巴巴集团控股有限公司 Use decentralization decision more new block chain intelligence contract
CN110298641A (en) * 2019-06-12 2019-10-01 广东投盟科技有限公司 Rule update method, device, block chain node and the network of block chain
CN111444210A (en) * 2020-03-26 2020-07-24 腾讯科技(深圳)有限公司 Block chain consensus node management method, device, equipment and storage medium
CN111475577A (en) * 2020-04-21 2020-07-31 吴海娟 Uplink voting method and system for intelligent contract in credit union chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110168582A (en) * 2018-11-30 2019-08-23 阿里巴巴集团控股有限公司 Use decentralization decision more new block chain intelligence contract
CN109951448A (en) * 2019-01-31 2019-06-28 中国互联网络信息中心 Domain name authentic authentication method and device based on block chain
CN110298641A (en) * 2019-06-12 2019-10-01 广东投盟科技有限公司 Rule update method, device, block chain node and the network of block chain
CN111444210A (en) * 2020-03-26 2020-07-24 腾讯科技(深圳)有限公司 Block chain consensus node management method, device, equipment and storage medium
CN111475577A (en) * 2020-04-21 2020-07-31 吴海娟 Uplink voting method and system for intelligent contract in credit union chain

Similar Documents

Publication Publication Date Title
CN110677485B (en) Dynamic layered Byzantine fault-tolerant consensus method based on credit
CN112039964B (en) Node reputation consensus method based on block chain
CN112395640B (en) Industry internet of things data light-weight credible sharing technology based on block chain
CN111010278B (en) High-fault-tolerance layering consensus method based on DPoS
CN109819022A (en) A kind of block chain common recognition method based on credit appraisal
CN110796547A (en) Improved practical Byzantine fault-tolerant system based on alliance block chain
CN109255713A (en) In a kind of block chain network in certain time period book keeping operation power acquisition methods
CN111131181A (en) Reputation mechanism and DPBFT algorithm-based block chain dynamic DPoS consensus method
CN106168799A (en) A kind of method carrying out batteries of electric automobile predictive maintenance based on big data machine learning
CN110602705A (en) Improved PBFT consensus method suitable for Internet of vehicles environment
CN112788137A (en) Alliance chain consensus method based on RAFT algorithm
CN103139803B (en) A kind of based on multifactorial wireless sensor network trust administrative model
CN105574680A (en) Diagnosis method and system of enterprise competitiveness
CN108961048A (en) A kind of energy trade managing system and method based on DPoS block chain
CN114003584B (en) Bayesian-preemption fault-tolerant consensus method based on evolution game
CN106709607A (en) Intelligent operation and maintenance monitoring system of distributed photovoltaic power station
CN115499129A (en) Multimode trust cross-chain consensus method, system, medium, equipment and terminal
CN115841382A (en) Virtual power plant transaction block chain, credit evaluation method thereof and consensus mechanism thereof
CN115766035A (en) Multi-node consensus method and system
CN113298668B (en) Mobile crowd-sourcing aware user large-scale rapid recruitment method considering social network
CN113283778B (en) Layered convergence federal learning method based on security evaluation
CN112765264A (en) Block chain intelligent contract-based uplink voting control method
CN113365229A (en) Network time delay optimization method of multi-union chain consensus algorithm
CN109040075A (en) Management method, server and the system of wireless mobile sensor network interior joint
CN111490994A (en) Consensus mechanism method for combining DPOS between block link point groups and POW in node group

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication