CN109934608B - Block chain consensus method - Google Patents

Block chain consensus method Download PDF

Info

Publication number
CN109934608B
CN109934608B CN201711361470.0A CN201711361470A CN109934608B CN 109934608 B CN109934608 B CN 109934608B CN 201711361470 A CN201711361470 A CN 201711361470A CN 109934608 B CN109934608 B CN 109934608B
Authority
CN
China
Prior art keywords
voting
block
participation
transaction
nodes
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
CN201711361470.0A
Other languages
Chinese (zh)
Other versions
CN109934608A (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.)
Benchainless Technology (Shenzhen) Co.,Ltd.
Original Assignee
Xiamen Instinct Blockchain 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 Xiamen Instinct Blockchain Technology Co ltd filed Critical Xiamen Instinct Blockchain Technology Co ltd
Priority to CN201711361470.0A priority Critical patent/CN109934608B/en
Publication of CN109934608A publication Critical patent/CN109934608A/en
Application granted granted Critical
Publication of CN109934608B publication Critical patent/CN109934608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a block chain consensus mechanism, when a new block is formed, the voter selects a high-quality node from all nodes as a voting representative participating in block making after comprehensively considering participation degree certification; voting represents to perform blocking; screening out effective votes participating in block making, and determining corresponding voting nodes; the reward generated by the forming block is distributed to the voting representatives and the voters according to the distribution rule, a novel block chain consensus mechanism is adopted, the enthusiasm of the users for voting is obviously improved, high-quality nodes can be selected to become the voting representatives, the participation degree is introduced to prove that different nodes in the network can obtain reasonable reward, the participation degree of each participating node can be increased to a certain degree in activities on the network, and thus participants with different dimensions can participate in consensus and management of the network, and the defect caused by the single dimension consensus mechanism is effectively avoided.

Description

Block chain consensus method
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain consensus method.
Background
The consensus mechanism is a soul of a block chain, is a necessary means for a block chain network to achieve consistency in a decentralized environment, and the block chain develops from 2009 to the present, and various consensus mechanisms appear, each of which has advantages and disadvantages.
(1) Advantages of the current consensus mechanisms
A. Workload attestation mechanism POW
The nodes with the strongest computing power are blocked, so that the cost for doing malicious work can be effectively improved; the difficulty promotion strategy ensures that the probability that any plurality of blocks on the block chain are rewritten simultaneously through technical means is reduced to a minimum.
B. Equity certification mechanism POS
The competition blocking in the node with the maximum interest can avoid the waste of computing resources, the cost of doing the malicious work is directly related to the interest of the node with the maximum interest, and the probability of doing the malicious work is reduced to a certain extent by means of business.
C. Byzantine fault tolerance mechanism PBFT
All nodes in the network participate in voting, and the voting is less than (N-1)/3 nodes achieve agreement and block in reverse time synchronization.
Over time, the business is diversified and deep, and these consensus mechanisms with obvious advantages begin to have symptoms of inattention and show obvious defects in specific scenes.
(2) Problems with current consensus mechanisms
A. Wasted computing power
In the workload proving mechanism POW, only the nodes with the strongest computing power can be blocked, which results in a great deal of wasted computing power and prevents the general public from really participating in the consensus of the nodes.
B. Rights and interests are centralized to the top layer
In the equity proving mechanism POS, the probability of getting block qualification is higher for people with larger equity, and block means reward, which results in mutual promotion of 'getting reward and raising block probability' and 'getting greater equity by raising block probability', resulting in small equity nodes being marginalized and losing consensus participation right.
C. Low cost of doing malignant
In the accounting mode depending on the power and the rights, after the power and the rights are concentrated at the top level, the nodes in the top level set do harm to the nodes outside the top level set, and therefore, almost no cost exists; in the Byzantine fault tolerance mechanism, since all nodes can participate in consensus voting, the service attribute represented by the voting is weakened, and an unprivileged node has little penalty cost in the consensus process.
Therefore, for the sake of longer ecological block chain, it is more important to avoid the unburdened nodes, the high-rights group with low cost, and the above three common recognition mechanisms.
Disclosure of Invention
The invention aims to provide a block chain consensus method, which effectively inherits the service attribute of POS, the efficient attribute of DPOS and the full participation attribute of PBFT, and can also effectively avoid the problems of low cost caused by unprivileged nodes and high interest groups.
A block chain consensus method, wherein said consensus mechanism comprises the following process steps:
s1, when a new block is formed, the voter selects a high-quality node from all nodes as the voting representative to participate in block making after comprehensively considering the equity certification and the participation degree certification;
s2 voting represents block-making;
s3, screening out effective votes participating in block making, and determining corresponding voting nodes;
s4 distributing the reward generated by forming the block to the voting representative and the voter according to a distribution rule, wherein:
the voter refers to a node participating in the network activity of the block chain; the voting representatives are representative nodes which are selected by voters according to the rights and interests certification and the participation certification and represent the voters to participate in the block making, and the premise of participation certification is that the voters have participation through the participation acquisition.
Preferably, the equity certificate includes a direct equity certificate and an indirect composite equity certificate.
Preferably, the direct equity certificate includes the number of IBTs held by each node participating in the network activity, and the transaction amount of the node participating in the current round of activity.
Preferably, the transaction amount is the number of transactions that the voting representative will select from high to low to be packed into the new block according to the transaction commission and the transaction byte when generating the new block, and only the voting that the voting transaction is packed into the new block in the current round is effective voting.
Preferably, the indirect synthetic equity certificate includes a number of data transaction rings formed by the voter in conducting the network transaction.
Preferably, the allocation rule is such that 50% of the prize accrued by a new block is allocated directly to the voting representative of the production block, the remainder being allocated in terms of percentage of the interest of the participating voters.
Preferably, the participation degree obtaining mode includes providing high-reliability network performance to obtain the participation degree, obtaining the participation degree through providing terminal service, obtaining the participation degree through network activity, and obtaining the participation degree according to whether the transaction is completed fully, and the participation degree is increased along with the continuous superposition of the transaction by the node.
Preferably, the increase of the participation degree includes obtaining the service label name of the served node as the basis, and the 'self-participation' is based on the submitted effective transaction certificate.
Compared with the prior art, the invention has the following beneficial effects:
(1) the enthusiasm of participating users in voting is remarkably improved, and high-quality nodes can be selected to become voting representatives;
(2) by introducing the participation degree, different nodes in the network can be reasonably rewarded;
(3) the participation degree of each participating node in the activity on the network can be increased to a certain degree, so that participants with different dimensionalities can participate in the consensus and management of the network, and the defect caused by a single-dimensionality consensus mechanism is effectively avoided.
Drawings
FIG. 1 is a schematic diagram illustrating a participation process of a consensus mechanism of the present invention;
FIG. 2 is a schematic diagram of a participation degree obtaining manner of the scheme of the present invention;
FIG. 3 is a schematic diagram of the participation increasing mode of the scheme of the invention;
FIG. 4 is a schematic diagram of the proof of rights composition of the inventive arrangements;
fig. 5-21 are encoded content encompassed by the inventive arrangements.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It should be noted that the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1: a block chain consensus method comprises a block chain network, voters participating in voting of the block chain network and voting representatives participating in block-making; in the space carrier of the block chain network, when a new block is generated, the node in the block chain network is used as a voter, and after comprehensive consideration of the equity certification and the participation degree certification, a high-quality node is selected from all the nodes to be used as a voting representative; selecting voting to represent descendant table nodes to participate in block making, wherein the blocks refer to blocks, all transaction information is stored in the blocks in a block chain network, and the block making refers to managing the block transaction information; generating reward after the new block is formed, screening out effective votes participating in block making, and determining corresponding voting nodes; finally, the reward obtained after the creation of a new block is distributed, with 50% being directly distributed to the voting representatives of the production block and the remainder being distributed according to the percentage of interest to the participating voters.
Referring to fig. 2: furthermore, when block information is managed, not all nodes can participate in blocking, and a representative node is selected from the nodes to participate in block information management according to the right and interest certification and the participation certification.
Furthermore, the right certificate is considered from two aspects of direct right certificate and indirect comprehensive right certificate, and the direct right certificate comprises the IBT quantity held by each node participating in the network activity and the transaction quantity of the node participating in the current round of activity; indirect synthetic equity certificates require consideration of the number of data transaction rings that the voter forms when conducting network transactions.
Referring to fig. 3: further, the premise of the participation degree certification is that the nodes need to obtain the participation degree, and the ways of obtaining the participation degree by the nodes of different types are different, wherein: the S-Node (service Node) acquires The participation degree by providing terminal service; the R-Node obtains The participation in order to provide highly reliable network performance, and in addition, The participation obtaining method further includes obtaining The participation through network activity, and obtaining The participation according to whether The transaction is completed sufficiently.
Referring to fig. 4: furthermore, the participation degree of the nodes is increased along with the continuous superposition of the transaction, and the increase mode of the participation degree comprises that the service label name of the served node is obtained as the basis, and the 'self-participation' is based on the submitted effective transaction voucher.
Further, a block chain consensus method, the specific encoding process includes:
(1)calculate account equity
Figure GDA0002670674240000041
Figure GDA0002670674240000051
Figure GDA0002670674240000061
(2)Reset account equity
Figure GDA0002670674240000062
Figure GDA0002670674240000071
Figure GDA0002670674240000081
Figure GDA0002670674240000091
(3)Distribution reward
Figure GDA0002670674240000092
Figure GDA0002670674240000101
Figure GDA0002670674240000111
Figure GDA0002670674240000121
Figure GDA0002670674240000131
Figure GDA0002670674240000141
Figure GDA0002670674240000151
Figure GDA0002670674240000161
Figure GDA0002670674240000171
Figure GDA0002670674240000181
the above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the technical scope of the present invention, so that the changes and modifications made by the claims and the specification of the present invention should fall within the scope of the present invention.

Claims (8)

1. A block chain consensus method, wherein said consensus mechanism comprises the following process steps:
s1 when a new block is formed, the voter selects a high-quality node from all nodes after comprehensively considering the equity certification and the participation degree certification as a voting representative to participate in block-making, and the block-making means managing the block transaction information;
s2 voting represents block-making;
s3, screening out effective voters participating in block making, and determining corresponding voting nodes;
s4 distributing the generated reward for the new block to the voting representative and the voter according to a distribution rule, wherein:
the voter includes a plurality of nodes participating in a blockchain network activity; the voting representatives are representative nodes which are selected by the voters according to the participation degree certification and the rights and interests certification and represent the voters to participate in the block making, and the participation degree certification is based on the premise that the nodes have participation degrees in a participation degree obtaining mode.
2. A blockchain consensus method as claimed in claim 1, wherein said equity certificates comprise direct equity certificates and indirect aggregate equity certificates.
3. A blockchain consensus method according to claim 2, wherein said direct interest-proof comprises the amount of interest held by each node participating in the network activity, and the transaction amount of the node participating in the current round of activity.
4. A blockchain consensus method according to claim 3, wherein said transaction amount comprises a vote representative of a transaction selected from high to low according to a transaction commission and a transaction byte to be packed into a new block when generating a new block, and wherein the vote packed into a new block is only a valid vote if the current round of voting transaction is packed into a new block.
5. The blockchain consensus method of claim 2, wherein the indirect synthetic equity certificate includes a number of data transaction rings formed by the voter when conducting the network transaction.
6. A blockchain consensus method according to claim 1 wherein said allocation rule is to allocate 50% of the prize accrued by new blocks directly to voting representatives of the production blocks, the remainder being allocated according to the percentage of interest of participating voters.
7. The blockchain consensus method of claim 1, wherein the participation acquisition method comprises providing highly reliable network performance acquisition participation, acquiring participation by providing terminal services, acquiring participation by network activity, and increasing participation of the node as the transaction increases depending on whether the transaction is completed sufficiently.
8. The blockchain consensus method of claim 7, wherein said increasing of participation comprises "self-participation" based on obtaining a valid transaction credential submitted by the served node.
CN201711361470.0A 2017-12-18 2017-12-18 Block chain consensus method Active CN109934608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711361470.0A CN109934608B (en) 2017-12-18 2017-12-18 Block chain consensus method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711361470.0A CN109934608B (en) 2017-12-18 2017-12-18 Block chain consensus method

Publications (2)

Publication Number Publication Date
CN109934608A CN109934608A (en) 2019-06-25
CN109934608B true CN109934608B (en) 2020-10-30

Family

ID=66982163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711361470.0A Active CN109934608B (en) 2017-12-18 2017-12-18 Block chain consensus method

Country Status (1)

Country Link
CN (1) CN109934608B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110517139B (en) * 2019-08-23 2021-12-28 电子科技大学 Voting mechanism-based alliance block chain power sharing consensus method
CN110599141B (en) * 2019-09-16 2023-06-30 上海保险交易所股份有限公司 Method, apparatus, system, and medium for assigning processing fees to nodes
CN113381858B (en) * 2020-03-10 2024-03-29 本无链科技(深圳)有限公司 Method and system for maintaining block chain node capability balance
CN112600682B (en) * 2020-12-09 2022-01-18 四川大学 Block chain consensus method and device based on delegation interest certification algorithm
CN112769936B (en) * 2021-01-11 2022-08-16 电子科技大学 POVT consensus algorithm based on voting and credit mechanism
CN112801791B (en) * 2021-01-29 2023-06-16 武汉大学 Block chain consensus method and system based on authorization
CN113438283B (en) * 2021-06-07 2022-09-27 北京科技大学 Improved method of block chain DPOS (distributed data processing System) consensus mechanism based on HK (K-k) clustering
CN115314248B (en) * 2021-09-28 2023-11-10 北京理工大学 Node hierarchical access control method based on block chain
CN114466042A (en) * 2022-01-25 2022-05-10 北京工业大学 Consensus method applied to agricultural product supply chain scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106530072A (en) * 2016-11-22 2017-03-22 天津米游科技有限公司 Block chain consensus mechanism
CN106548397A (en) * 2016-11-22 2017-03-29 天津米游科技有限公司 A kind of block chain common recognition mechanism
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN106920097A (en) * 2017-02-27 2017-07-04 钱德君 A kind of generation time block chain method of Quantum Chain common recognition agreement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9734659B2 (en) * 2014-08-06 2017-08-15 Mido Play Inc. Single platform system for multiple jurisdiction lotteries and social media

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106530072A (en) * 2016-11-22 2017-03-22 天津米游科技有限公司 Block chain consensus mechanism
CN106548397A (en) * 2016-11-22 2017-03-29 天津米游科技有限公司 A kind of block chain common recognition mechanism
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN106920097A (en) * 2017-02-27 2017-07-04 钱德君 A kind of generation time block chain method of Quantum Chain common recognition agreement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
加密数字货币系统共识机制综述;夏清等;《计算机系统应用》;第2节;20170430;第26卷(第4期);第2节 *
区块链技术中的共识机制研究;韩璇等;《信息网络安全》;20171130(第9期);第2节 *

Also Published As

Publication number Publication date
CN109934608A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN109934608B (en) Block chain consensus method
Gao A latecomer's strategy to promote a technology standard: The case of Datang and TD-SCDMA
Zhou et al. TRUST: A general framework for truthful double spectrum auctions
Miljan et al. Hidden agendas: How journalists influence the news
Wang et al. Gentrification and Shanghai’s new middle-class: Another reflection on the cultural consumption thesis
CN108737375A (en) A kind of block chain common recognition method and system
Gottlieb et al. A signaling theory of distributive policy choice: evidence from Senegal
CN109951474A (en) A method of realizing that block chain is known together out block
Schelkle Collapsing Worlds and Varieties of welfare capitalism: In search of a new political economy of welfare
Neo Unpacking the postpolitics of golf course provision in Singapore
Alexander The Internet and democratization: the development of Russian Internet policy
Meso et al. Can national information infrastructures enhance social development in the least developed countries? An empirical investigation
Lin et al. Getting the China story right: Insights from national economic censuses
Farnsworth et al. News coverage of US presidential campaigns: Reporting on primaries and general elections, 1988–2012
Huang et al. Consensus of whom? A spectrum of blockchain consensus protocols and new directions
Frey Reflections on philanthropy and organizing in the United States
Webb et al. The changing British party system: Two-party equilibrium or the emergence of moderate pluralism?
Tortajada et al. Water scarcity and regional security in India
Bennett Testing times for business partners in regional and local development: the past and future of chambers of commerce
Francesconi et al. The renewed case for farmers’ cooperatives,’
Moeis et al. Social Network Analysis of the Pilkada Serentak 2018: Towards National Coalition in the 2019 Indonesia's General Election
Rosenberry Circulation, population factor into social media use
Yeom Economic Reform and Government—Business Relations in Korea: Towards an Institutional Approach
Shat et al. E-voting versus E-trust: A case study for e-democracy in Palestine
LaMonte POLITICS AND WELFARE IN BIRMINGHAM, ALABAMA: 1900-75.

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

Effective date of registration: 20210330

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361000 unit 21, 201, building B, 86 Haijing Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Patentee before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right