WO2022095621A1 - 一种锥体区块链共识系统、方法及网络 - Google Patents
一种锥体区块链共识系统、方法及网络 Download PDFInfo
- Publication number
- WO2022095621A1 WO2022095621A1 PCT/CN2021/120048 CN2021120048W WO2022095621A1 WO 2022095621 A1 WO2022095621 A1 WO 2022095621A1 CN 2021120048 W CN2021120048 W CN 2021120048W WO 2022095621 A1 WO2022095621 A1 WO 2022095621A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- consensus
- node
- hash value
- cone
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000013475 authorization Methods 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 7
- 238000005065 mining Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Definitions
- the invention belongs to the technical field of block chain, and in particular relates to a cone block chain consensus system, method and network.
- the blockchain system is a distributed information database. Each node competes with each other, but the consistency and validity of the data are achieved through consensus.
- the core structure of the blockchain is the block structure and the chain structure.
- the transaction information is stored in the block body.
- the block header contains the version number of the generated block, the hash value of the previous block, the timestamp, the random number, the
- the block broadcast gets the Merkle root value of the transaction information.
- the chain structure of the blockchain is connected by hash values, and the random and immutable characteristics of hash values prevent the information in the block from being tampered with to a certain extent.
- the consensus mechanism is the core part of the blockchain technology system. Consensus is the consensus that all participating nodes in the network reach a consensus on a certain information.
- the consensus mechanism is a set of consensus algorithms designed for reaching consensus, such as Proof of Work (POW), Proof of Stake (POS), Proof of Share Authority (DPOS), Practical Byzantine Fault Tolerance (PBFT), etc.
- POW Proof of Work
- POS Proof of Stake
- DPOS Proof of Share Authority
- PBFT Practical Byzantine Fault Tolerance
- the problems existing in the blockchain POW consensus algorithm are: the design of computing power competition leads to a centralized mining pool, a large amount of energy consumption, and low business processing performance; the advantage of POS is that it removes a lot of computing power competition and does not need to pass New coins are constantly issued to motivate miners to participate in the computing power competition.
- the computing power competition design mode of POW has led to the increasing concentration of computing power in large mining pools, which may lead to large mining pools destroying the entire network, resulting
- the present invention provides a cone block chain consensus system, method and network, which can solve the problems of resource waste, low work efficiency, lack of security, etc. existing in the existing block chain consensus mechanism.
- the technical scheme adopted in the present invention is:
- a cone block chain consensus system including cone blocks and cone blocks composed of several cone blocks, the cone blocks including node blocks, itemized unit blocks and user areas
- the block, node block, itemized unit block and user block are connected to form a pyramid block;
- the node block is the top-level block of the pyramid block;
- the itemized unit block is the middle block of the pyramid block,
- the classified block belonging to the node block is a sub-block of the node block;
- the user block is the bottom block of the pyramid block;
- One of the several cone blocks is the total cone block, and the other cone blocks are divided according to their category or nature: the cone blocks of the same category or nature are located in the same row and on the same row.
- the node blocks in each cone block are connected to form a linear chain; according to the different categories or properties, a linear chain of several columns is formed; the linear chains of different columns intersect with the node blocks in the total cone block, Constitute the cone blockchain structure;
- a consensus is reached between node blocks to form a node block group; a consensus is reached between sub-unit blocks to form a sub-unit block group; a consensus is reached between user blocks to form a user block group; node block group , A consensus is reached between the sub-unit block group and the user block group.
- Node block groups, itemized unit block groups and user block groups are implemented within each block group and between block groups according to the consensus algorithm of the same column adjacent level, the same column and the same layer, the non-column and the same layer, and the association level relationship. reach a consensus.
- Cone blocks on the same column are layered according to levels and form a private chain according to the associated consensus relationship. Cone blocks with the same level are in the same layer; linear chains in different columns form a conical alliance chain according to the consensus relationship.
- the cone private chain includes the consensus of each block in the same column, the same layer and the adjacent level in the same column.
- the consensus of the private chain does not require authorization, and a consensus is reached to store the hash value;
- the cone alliance chain includes non-column and same layer, association
- the consensus of the relationship, the consensus of the alliance chain requires authorization, and a consensus is reached to store the hash value, related event content and address.
- a consensus method of a cone block chain node block group includes:
- the node block After the node block is authenticated by the legal person, apply for the registration of the node block code, and determine the column and the level on the column of the node block in the cone blockchain through the code;
- the content generated by the block authentication of the associated node at the level of the block column of this node, the encoded hash value of the associated node block, the administrator hash value, and the content of the block reach a consensus.
- a consensus method for a pyramid block chain itemized unit block group includes:
- the node block sets up sub-unit blocks according to the nature of the business.
- the sub-unit block code is composed of the node block code and the business nature number.
- the same column has the same business nature and each level has the same number.
- the hash value of the itemized unit block code, the administrator hash value and the code hash value of the itemized unit block of the same column, the same layer and the same business nature reach a consensus
- the itemized unit block code hash value, the administrator hash value and the itemized unit block code hash value of the non-column and same layer reach a consensus
- the itemized unit block code hash value, the administrator hash value and the associated itemized unit block code hash value reach a consensus.
- a consensus method for the second-level unit block group of a cone blockchain includes:
- the second-level unit block code is composed of the sub-unit block code and the second-level unit legal person identification code business property number
- the hash value is composed of the sub-unit block code, the legal person authentication code business property number, and the second-level unit block Address, server ID, random number, timestamp;
- the coding hash value of the secondary unit block reaches a consensus with the coding hash value of the secondary unit block of the upper and lower levels in the same column;
- the content of the second-level unit block is the authentication content and the hash value of the authentication content reaches a consensus.
- the node block group, the itemized unit block group, the second-level unit block group, and the user block group are based on the hash value of each block, according to each block in the same column as the upper and lower levels, the same column and the same layer, the non-column and the same layer, and the non-column. Consistent consensus is reached between different layers and associations, and changes in the content of each block and changes in administrator information are stored through the consensus consensus.
- a cone block chain consensus network includes a processor and a memory connected to the processor, the memory stores a cone block chain consensus algorithm, and the cone block chain consensus algorithm is executed by the processor.
- the present invention has the following beneficial effects:
- the node block group, the itemized unit block group, and the user block group of the pyramid block chain of the present invention are arranged in each block group according to the consensus consensus algorithm of the same column adjacent, the same column and the same layer, the non-column and the same layer, and the association level.
- a consensus is reached between them and within the block group, through the real-time authentication of node blocks, sub-unit blocks, and user block information and updated information consensus storage, no mining is required, and resource consumption is low.
- the hash value of each block is compared. Achieving consensus and ensuring the consistency and security of cone blockchain information through digital signature authorization and authentication solves the problems of serious resource consumption, low work efficiency, lack of credibility and security of the existing blockchain consensus mechanism.
- Fig. 1 is the consensus relation diagram between the block groups of the present invention
- Fig. 2 is the node block consensus structure diagram of the present invention
- Fig. 3 is the block consensus structure diagram of the itemized unit of the present invention.
- Fig. 4 is the second-level unit block consensus structure diagram of the present invention.
- Fig. 5 is the consensus relation diagram of the cone block chain of the present invention.
- FIG. 6 is a schematic diagram of the structure of the pyramid block chain of the present invention.
- FIG. 7 is a schematic diagram of the structure of the pyramid block of the present invention.
- a cone blockchain consensus system includes a cone block and a cone block chain composed of several cone blocks, and the cone block includes a node area Block, itemized unit block and user block, node block, itemized unit block and user block are connected to form a pyramid block; node block is the top-level block of the pyramid block; itemized unit block It is the middle block of the cone block, belongs to the classification block of the node block, and is a sub-block of the node block; the user block is the bottom block of the cone block, and belongs to the classification area of the itemized unit block. yuan.
- One of the several cone blocks is the total cone block, and the other cone blocks are divided according to their category or nature: the cone blocks of the same category or nature are located in the same row and on the same row.
- the node blocks in each cone block are connected to form a linear chain; according to the different categories or properties, a linear chain of several columns is formed; the linear chains of different columns intersect with the node blocks in the total cone block, Constitute the pyramidal blockchain structure.
- a consensus is reached between node blocks to form a node block group; a consensus is reached between sub-unit blocks to form a sub-unit block group; a consensus is reached between user blocks to form a user block group; node block group , A consensus is reached between the sub-unit block group and the user block group.
- the proposed consensus system is aimed at the consensus between the block groups and the consensus among the blocks within the group.
- the constructed consensus algorithm depends on the relationship between the same column adjacent, the same column and the same layer, the same column and the same layer, the non-column and the same layer, and the relationship, that is, the consensus algorithm and Consensus consensus algorithms of various block groups reach consensus.
- Each sub-block in the cone block is composed of a block header and a block body.
- the block header mainly contains the block code, the associated block hash value, the service network address, the server ID, the timestamp, and the administrator information.
- Hash value, block content hash value, block body contains administrator information and block content.
- the administrator information includes the administrator's registration, modification, and logout, etc.
- the block content includes verification content, associated verification content, and other block content.
- User blocks can apply for secondary unit blocks and secondary user blocks according to their own service content, such as providing a public platform; user blocks, secondary unit blocks and secondary user blocks also belong to the cone area yuan. Some pyramid blocks also have no user block, or no itemized unit block.
- Cone blocks on the same column are layered according to levels and form a private chain according to the associated consensus relationship. Cone blocks with the same level are in the same layer; linear chains in different columns form a conical alliance chain according to the consensus relationship.
- Private chain institutions of the same nature, located in the same column of the cone block chain, each cone block forms a private chain according to the consensus relationship; alliance chain: institutions of different nature, located in different columns of the cone block chain, each cone block
- the body block forms a consortium chain according to the consensus relationship; specifically: it can be divided into different levels 3-6 according to the ownership level (or subordinate level).
- Shanxi Provincial Public Security is a private chain
- Shanxi Civil Affairs Bureau is an alliance chain
- the node block is positioned in the pyramidal blockchain structure according to the node block code, and the genesis block of each node block is generated; then each node block generates the sub-unit block code respectively, and applies for the registration of different sub-items Unit block; after the itemized unit block is generated, apply for a user block. Further, if the user block is a legal person user, it can also apply for a second-level unit block, a second-level user block, and so on.
- the node block code is obtained through application in the cone block chain, and is used to locate the position of the node block in the cone block chain.
- the sub-unit block code and the user block code nest contain the node block code, which is Identification of the nature and function of itemized unit blocks and user blocks.
- the code of the node block and the sub-unit block in the cone blockchain is composed of the code number of the sovereign state, the code number formed by the classification of state ownership, and the code number formed by the division of management properties.
- China's total cone block code is 86
- the public security property code is A
- the civil affairs property code is B
- Shanxi Provincial Public Security 86A03 Shuozhou Public Security 86A0303
- Pinglu Public Security 86A030301 Shanxi Civil Affairs 86B03
- Shuozhou Civil Affairs 86B0303 Pinglu Public Security 86B03 Lu Minzheng 86B030301 and so on.
- the consensus method of the node block group includes:
- the node block After the node block is authenticated by the legal person, apply for the registration of the node block code, and determine the column and the level on the column of the node block in the cone blockchain through the code;
- the content generated by the block authentication of the associated node at the level of the block column of this node, the encoded hash value of the associated node block, the administrator hash value, and the content of the block reach a consensus.
- the node block group is the most important and original group in the cone block chain.
- the node block group is in the same column, same layer, and same column phase.
- Neighboring, non-column-same-layer, and association-level consensus consensus algorithms store updated information to ensure the consistency of information, which is a strong consensus consensus.
- the consensus consensus method of the sub-unit block group includes:
- the node block sets up sub-unit blocks according to the nature of the business.
- the sub-unit block code is composed of the node block code and the business nature number.
- the same column has the same business nature and each level has the same number.
- the hash value of the itemized unit block code, the administrator hash value and the code hash value of the itemized unit block of the same column, the same layer and the same business nature reach a consensus
- the itemized unit block code hash value, the administrator hash value and the itemized unit block code hash value of the non-column and same layer reach a consensus
- the itemized unit block code hash value, the administrator hash value and the associated itemized unit block code hash value reach a consensus.
- the sub-unit block belongs to the classification block of the node block.
- the consensus method is similar to that of the node block. It is also necessary to ensure that the hash value comparison is consistent, the information update is consistent, and a strong consensus is reached.
- the consensus consensus method of the second-level unit block group includes:
- the second-level unit block code is composed of the sub-unit block code and the second-level unit legal person identification code business property number
- the hash value is composed of the sub-unit block code, the legal person authentication code business property number, and the second-level unit block Address, server ID, random number, timestamp;
- the coding hash value of the secondary unit block reaches a consensus with the coding hash value of the secondary unit block of the upper and lower levels in the same column;
- the content of the second-level unit block is the authentication content and the hash value of the authentication content reaches a consensus.
- the second-level unit block is a branch block of the legal person user block.
- the consistency consensus of the second-level unit block is similar to the sub-unit block, and the hash value is compared to reach a strong consensus.
- User blocks can be specifically divided into users of node blocks, users of itemized unit blocks, and users of secondary unit blocks; the consensus of user blocks of node blocks is the same as the consensus method of node blocks, and the users of itemized unit blocks The user block consensus of the block is the same as the consensus method of the itemized unit block, and the user block consensus of the secondary unit block is the same as the consensus method of the secondary unit block.
- micro-block in the user block is consistent with the associated micro-block encoding hash value, administrator hash value, and block content consensus.
- the consensus of the cone blockchain includes the consensus of the private chain and the consensus of the consortium chain, including a cone chain that has both a private chain and a consortium chain, then the consensus of the private chain does not require authorization, and the hash value is stored.
- the consensus of the alliance chain requires authorization, storage of hash values, related event content and addresses.
- the meanings of the upper and lower levels in the same column and the adjacent levels in the same column are the same, the meanings of non-column non-layer and association level are the same, the consensus of the private chain is the subject, and the consensus of the alliance chain is the object.
- the Shanxi Provincial Public Security Department and the Taiyuan Municipal Public Security Bureau are in the same subordinate relationship and belong to the consensus of the private chain. They do not need authorization. They only need to store the hash value of the consensus block in the corresponding location to reach a consensus; Shanxi Provincial Public Security The hall and Taiyuan Civil Affairs Bureau are not listed in different layers. They belong to the consensus of the alliance chain and require authorization and authentication.
- the hash value of the consensus block, the content and address of the associated event can be stored in the corresponding location, and a consensus can be reached.
- the consensus of the cone blockchain is mainly the consensus of the private chain.
- the consensus of the alliance chain is only required when it is necessary to obtain the content related to the non-column, non-layer, and non-column and same layers.
- the cone block chain consensus network includes a processor and a memory connected to the processor, the memory stores the cone block chain consensus algorithm, and the cone block chain consensus algorithm is executed by the processor to realize the cone block chain
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明属于区块链技术领域,具体涉及一种锥体区块链共识系统、方法及网络,包括锥体区块以及由若干个锥体区块组成的锥体区块链,所述锥体区块包括节点区块、分项单元区块和用户区块,节点区块、分项单元区块和用户区块连接构成锥体区块;若干个锥体区块中有一个锥体区块为总锥体区块,同一类别或性质的锥体区块位于同一列;根据所属类别或性质的不同,形成若干列的线形链;不同列的线形链之间相交于总锥体区块中的节点区块,构成锥体区块链结构;节点区块之间达成共识,构成节点区块群;分项单元区块之间达成共识,构成分项单元区块群;用户区块之间达成共识,构成用户区块群;节点区块群、分项单元区块群和用户区块群之间通过哈希值比对达成共识。采用本发明实施例的方案能够解决现有区块链共识机制资源消耗严重、工作效率低、缺乏公信力和安全性等问题。
Description
本发明属于区块链技术领域,具体涉及一种锥体区块链共识系统、方法及网络。
区块链系统是一个分布式信息数据库,各个节点相互竞争,但又通过共识达成数据的一致性和有效性。
区块链的核心结构为区块结构和链式结构,交易信息存储在区块体中,区块头包含产生区块的版本号、前一块区块的哈希值、时间戳、随机数、该区块广播获取交易信息的默克尔根值。区块链的链状结构是通过哈希值来连接的,哈希值的随机不可篡改的特性一定程度上防止了区块里的信息被篡改。
共识机制是区块链技术体系中核心的部分,共识即是网络中所有参与节点就某一信息达成一致性的认知。而共识机制则是为达成共识而设计的一套共识算法,如工作量证明(POW)、权益证明(POS)、股份授权证明(DPOS)、实用拜占庭容错(PBFT)等。区块链POW共识算法存在的问题有:算力竞争的设计导致了集中化的矿池,大量的能源消耗,以及业务处理性能低下;POS的好处是去除了大量的算力竞争,不需要通过不停地发行新币来激励矿工参与算力竞赛,但是,POW的算力竞争设计模式导致了算力越来越向大矿池集中,可能导致大矿池破坏整个网络的行为,导致现有的区块链共识机制缺乏安全性和和公信力。
发明内容
针对上述技术问题,本发明提供了一种锥体区块链共识系统、方法及网络,可以解决现有区块链共识机制存在的资源浪费、工作效率低、缺乏安全性等问题。
为了解决上述技术问题,本发明采用的技术方案为:
一种锥体区块链共识系统,包括锥体区块以及由若干个锥体区块组成的锥体区块链,所述锥体区块包括节点区块、分项单元区块和用户区块,节点区块、分项单元区块和用户区块连接构成锥体区块;节点区块为锥体区块的顶层区块;分项单元区块为锥体区块的中层区块,属于节点区块的分类区块,是节点区块的子区块;用户区块为锥体区块的底层区块;
若干个锥体区块中有一个锥体区块为总锥体区块,其它锥体区块按照所属类别或性质进行划分:同一类别或性质的锥体区块位于同一列,且同一列上各锥体区块中的节点区块连接形成线形链;根据所属类别或性质的不同,形成若干列的线形链;不同列的线形链之间相交于总锥体区块中的节点区块,构成锥体区块链结构;
节点区块之间达成共识,构成节点区块群;分项单元区块之间达成共识,构成分项单元区块群;用户区块之间达成共识,构成用户区块群;节点区块群、分项单元区块群和用户区块群之间达成共识。
节点区块群、分项单元区块群和用户区块群按同列相邻级、同列同层、非列同层、关联级关系的一致性共识算法在各个区块群内部和区块群之间达成共识。
同一条列上的锥形区块按照等级分层并按照关联共识关系形成一个私有链,等级相同的锥形区块在同一层;不同列的线形链按照共识关系形成锥体联盟链。
所述锥体私有链包括各区块的同列同层和同列相邻级的共识,所述私有链的共识无需授权,达成共识存储哈希值;所述锥体联盟链包括非列同层、关联关系的共识,所述联盟链的共识需要授权,达成共识存储哈希值、相关事件内容及地址。
一种锥体区块链节点区块群的共识方法包括:
节点区块通过法人身份认证后,申请注册节点区块编码,通过编码确定节点区块在锥体区块链中所属列和列上的层级;
与本节点区块列所在层级的上级节点区块编码哈希值、管理员哈希值、区块内容达成一致性共识;
与本节点区块列所在层级的下级节点区块编码哈希值、管理员哈希值达成一致性共识;
与本节点区块列所在层级的同列同层节点区块编码哈希值和管理员哈希值达成一致性共识;
与本节点区块列所在层级的非列同层节点区块编码哈希值达成一致性共识;
与本节点区块列所在层级的关联节点区块认证产生的内容,关联节点区块的编码哈希值,管理员哈希值,区块内容达成一致性共识。
一种锥体区块链分项单元区块群的共识方法包括:
节点区块根据业务性质不同设立分项单元区块,分项单元区块编码由节点区块编码和业务性质编号组成,同列同业务性质各层级编号相同,分项单元区块的编码哈希值和管理员哈希值及区块内容,与同列上下级同业务性质的分项单元区块编码哈希值,管理员哈希值,区块内容达成一致性共识;
分项单元区块编码哈希值,管理员哈希值与同列同层同业务性质分项单元区块编码哈希值达成一致性共识;
分项单元区块编码哈希值、管理员哈希值与非列同层的分项单元区块编码哈希值达成一致性共识;
分项单元区块编码哈希值、管理员哈希值与具有关联关系的分项单元区块编码哈希值达 成一致性共识。
一种锥体区块链二级单元区块群的共识方法包括:
二级单元区块编码由所属分项单元区块编码和二级单元法人身份认证码经营性质编号组成,哈希值由分项单元区块编码,法人认证编码经营性质编号,二级单元区块地址,服务器标识,随机数,时间戳组成;
二级单元区块编码哈希值与其同列上下级的二级单元区块的编码哈希值达成一致性共识;
二级单元区块内容为认证内容的与认证内容哈希值达成一致性共识。
所述节点区块群、分项单元区块群、二级单元区块群、用户区块群通过各区块哈希值,按照各区块同列上下级、同列同层、非列同层、非列不同层、关联关系达成一致性共识,各区块内容变更、管理员信息变更通过一致性共识存储相应变更信息。
一种锥体区块链共识网络,包括处理器以及与处理器连接的存储器,所述存储器存储有锥体区块链共识算法,所述锥体区块链共识算法通过处理器执行。
本发明与现有技术相比,具有的有益效果是:
本发明的锥体区块链的节点区块群、分项单元区块群、用户区块群按同列相邻、同列同层、非列同层、关联级的一致性共识算法在各区块群之间和区块群内部达成共识,通过节点区块、分项单元区块、用户区块信息实时认证和更新信息共识存储,无需进行挖矿,资源消耗少,通过各区块哈希值比对实现一致共识,以及通过数字签名授权认证保证了锥体区块链信息的一致性和安全性,解决了现有区块链共识机制资源消耗严重、工作效率低、缺乏公信力和安全性等问题。
图1是本发明区块群之间共识关系图;
图2是本发明节点区块共识结构图;
图3是本发明分项单元区块共识结构图;
图4是本发明二级单元区块共识结构图;
图5是本发明锥体区块链共识关系图;
图6是本发明锥体区块链结构示意图;
图7是本发明锥体区块结构示意图。
下面对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人 员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
如图1、6、7所示,一种锥体区块链共识系统,包括锥体区块以及由若干个锥体区块组成的锥体区块链,所述锥体区块包括节点区块、分项单元区块和用户区块,节点区块、分项单元区块和用户区块连接构成锥体区块;节点区块为锥体区块的顶层区块;分项单元区块为锥体区块的中层区块,属于节点区块的分类区块,是节点区块的子区块;用户区块为锥体区块的底层区块,属于分项单元区块的分类区块。
若干个锥体区块中有一个锥体区块为总锥体区块,其它锥体区块按照所属类别或性质进行划分:同一类别或性质的锥体区块位于同一列,且同一列上各锥体区块中的节点区块连接形成线形链;根据所属类别或性质的不同,形成若干列的线形链;不同列的线形链之间相交于总锥体区块中的节点区块,构成锥体区块链结构。
节点区块之间达成共识,构成节点区块群;分项单元区块之间达成共识,构成分项单元区块群;用户区块之间达成共识,构成用户区块群;节点区块群、分项单元区块群和用户区块群之间达成共识。
由于达成共识需要的区块不是某几个区块达成共识的区块,所以提出的共识系统是针对区块群之间的共识,和群内部区块之间的共识。
其中构建的共识算法依赖的关系为同列相邻、同列同层、非列同层、关联等关系,即按同列相邻、同列同层、非列同层、关联级关系的一致性共识算法和各类区块群的一致性共识算法达成共识。
锥体区块中的每个子区块是由区块头和区块体组成,其中区块头主要含有区块编码、关联区块哈希值、服务网络地址、服务器标识、时间戳、管理员信息哈希值、区块内容哈希值,区块体含有管理员信息和区块内容。
其中管理员信息包括管理员的注册、更改和注销等;区块内容包括验证内容、关联验证内容、其他区块内容。
用户区块根据自身服务内容,如提供公共平台的,可申请二级单元区块及二级用户区块;用户区块、二级单元区块和二级用户区块之间也属于锥体区块。有些锥体区块也存在没有用户区块,或没有分项单元区块的情况。
同一条列上的锥形区块按照等级分层并按照关联共识关系形成一个私有链,等级相同的锥形区块在同一层;不同列的线形链按照共识关系形成锥体联盟链。
私有链:同一性质的机构,位于锥体区块链的同一列,各个锥体区块按照共识关系形成私有链;联盟链:不同性质的机构,位于锥体区块链的不同列,各个锥体区块按照共识关系形成联盟链;具体的:可按照权属等级(或从属等级)分为不同的层级3-6。
例如:山西省公安,朔州市公安,平鲁区公安之间连接是私有链;山西省公安,山西省民政局,山西省劳动局,等等之间连接是联盟链。
首先节点区块按照节点区块编码在锥体区块链结构中定位,生成各节点区块的创世区块;然后各节点区块分别生成分项单元区块编码,申请注册不同的分项单元区块;分项单元区块生成后,申请用户区块,进一步的,用户区块为法人用户还可向下申请二级单元区块,二级用户区块等。
节点区块编码在锥体区块链中通过申请得到,用来定位节点区块在锥体区块链的位置,分项单元区块编码和用户区块编码嵌套包含节点区块编码,是分项单元区块和用户区块性质和功能的标识。
以国家为例:锥体区块链中节点区块和分项单元区块的编码由主权国家编码数字,国家权属分级形成的编码数字,管理性质划分形成的编码数字组成。
例如:中国总锥体区块编码为86,公安性质编码为A,民政性质编码为B,山西省公安86A03,朔州公安86A0303,平鲁公安86A030301,山西省民政86B03,朔州民政86B0303,平鲁民政86B030301等。
对于上述对于锥体区块以及锥体区块链而言,专利申请号为202010797084.1的一种锥体区块、锥体区块链结构和方法中记载了详细的说明,故在此只做简要说明。
如图2所示,节点区块群的一致性共识方法包括:
节点区块通过法人身份认证后,申请注册节点区块编码,通过编码确定节点区块在锥体区块链中所属列和列上的层级;
与本节点区块列所在层级的上级节点区块编码哈希值、管理员哈希值、区块内容达成一致性共识;
与本节点区块列所在层级的下级节点区块编码哈希值、管理员哈希值达成一致性共识;
与本节点区块列所在层级的同列同层节点区块编码哈希值和管理员哈希值达成一致性共识;
与本节点区块列所在层级的非列同层节点区块编码哈希值达成一致性共识;
与本节点区块列所在层级的关联节点区块认证产生的内容,关联节点区块的编码哈希值,管理员哈希值,区块内容达成一致性共识。
节点区块群为锥体区块链中最主要和原始的群,当锥体区块系统中区块内容变更、管理员信息变更等操作完成之后,节点区块群按同列同层、同列相邻、非列同层、关联级的一致性共识算法存储更新的信息,保证信息的一致,为强一致性共识。
如图3所示,分项单元区块群的一致性共识方法包括:
节点区块根据业务性质不同设立分项单元区块,分项单元区块编码由节点区块编码和业务性质编号组成,同列同业务性质各层级编号相同,分项单元区块的编码哈希值和管理员哈希值及区块内容,与同列上下级同业务性质的分项单元区块编码哈希值,管理员哈希值,区块内容达成一致性共识;
分项单元区块编码哈希值,管理员哈希值与同列同层同业务性质分项单元区块编码哈希值达成一致性共识;
分项单元区块编码哈希值、管理员哈希值与非列同层的分项单元区块编码哈希值达成一致性共识;
分项单元区块编码哈希值、管理员哈希值与具有关联关系的分项单元区块编码哈希值达成一致性共识。
分项单元区块属于节点区块的分类区块,共识方法类似于节点区块,也要保证哈希值比对一致,保证信息更新一致,达成强一致性共识。
如图4所示,二级单元区块群的一致性共识方法包括:
二级单元区块编码由所属分项单元区块编码和二级单元法人身份认证码经营性质编号组成,哈希值由分项单元区块编码,法人认证编码经营性质编号,二级单元区块地址,服务器标识,随机数,时间戳组成;
二级单元区块编码哈希值与其同列上下级的二级单元区块的编码哈希值达成一致性共识;
二级单元区块内容为认证内容的与认证内容哈希值达成一致性共识。
二级单元区块为法人用户区块分支区块,二级单元区块的一致性共识类似于分项单元区块,比对哈希值,达成强一致性共识。
用户区块群的一致性共识方法:
用户区块具体可分为节点区块的用户、分项单元区块的用户和二级单元区块的用户;节点区块的用户区块的共识同节点区块的共识方法,分项单元区块的用户区块共识同分项单元区块的共识方法,二级单元区块的用户区块共识同二级单元区块的共识方法。
用户区块内的微区块与关联微区块编码哈希值,管理员哈希值,区块内容共识一致。
如图5所示,锥体区块链的共识包括私有链的共识和联盟链的共识,包括一条锥体链上同时有私有链和联盟链,则私有链的共识无需授权,存储哈希值,联盟链的共识需要授权,存储哈希值,相关事件内容和地址。在锥体区块链中,同列上下级和同列相邻级的含义相同,非列非层和关联级的含义相同,私有链的共识为主体,联盟链的共识为客体。
例如:山西省公安厅和太原市公安局是同列上下级关系,属于私有链的共识,不需要授 权,只需要在相应位置存储共识区块的哈希值,即可达成一致共识;山西省公安厅和太原市民政局是非列不同层关系,属于联盟链的共识,需要授权认证,在相应位置存储共识区块的哈希值,相关联事件的内容和地址,可以达成一致共识。锥体区块链的共识主要是私有链的共识,当需要获取非列非层、非列同层相关联的内容时,才需要联盟链的共识。
假如太原市公安局与太原市民政局达成一致性共识(非列同层的共识),太原市民政局与太原市工商局达成一致共识,则太原市民政局与太原市公安局达成一致共识,太原市公安局与太原市工商局没有达成一致共识,所述的锥体区块链一致性共识算法具有交换性,不具有传递性。
锥体区块链共识网络包括处理器和所述处理器连接的存储器,存储器存储有锥体区块链共识算法,锥体区块链共识算法被所述处理器执行时实现锥体区块链节点区块群、分项单元区块群、用户区块群、二级单元区块群、微区块群在各群内部和群之间的共识方法。
上面仅对本发明的较佳实施例作了详细说明,但是本发明并不限于上述实施例,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化,各种变化均应包含在本发明的保护范围之内。
Claims (9)
- 一种锥体区块链共识系统,其特征在于:包括锥体区块以及由若干个锥体区块组成的锥体区块链,所述锥体区块包括节点区块、分项单元区块和用户区块,节点区块、分项单元区块和用户区块连接构成锥体区块;节点区块为锥体区块的顶层区块;分项单元区块为锥体区块的中层区块,属于节点区块的分类区块,是节点区块的子区块;用户区块为锥体区块的底层区块;若干个锥体区块中有一个锥体区块为总锥体区块,其它锥体区块按照所属类别或性质进行划分:同一类别或性质的锥体区块位于同一列,且同一列上各锥体区块中的节点区块连接形成线形链;根据所属类别或性质的不同,形成若干列的线形链;不同列的线形链之间相交于总锥体区块中的节点区块,构成锥体区块链结构;节点区块之间达成共识,构成节点区块群;分项单元区块之间达成共识,构成分项单元区块群;用户区块之间达成共识,构成用户区块群;节点区块群、分项单元区块群和用户区块群之间达成共识。
- 根据权利要求1所述的一种锥体区块链共识系统,其特征在于:节点区块群、分项单元区块群和用户区块群按同列相邻级、同列同层、非列同层、关联级关系的一致性共识算法在各个区块群内部和区块群之间达成共识。
- 根据权利要求1所述的一种锥体区块链共识系统,其特征在于:同一条列上的锥形区块按照等级分层并按照关联共识关系形成一个私有链,等级相同的锥形区块在同一层;不同列的线形链按照共识关系形成锥体联盟链。
- 根据权利要求1-3中任一项所述的一种锥体区块链共识系统,其特征在于,所述锥体私有链包括各区块的同列同层和同列相邻级的共识,所述私有链的共识无需授权,达成共识存储哈希值;所述锥体联盟链包括非列同层、关联关系的共识,所述联盟链的共识需要授权,达成共识存储哈希值、相关事件内容及地址。
- 一种锥体区块链共识方法,其特征在于:节点区块通过法人身份认证后,申请注册节点区块编码,通过编码确定节点区块在锥体区块链中所属列和列上的层级;与本节点区块列所在层级的上级节点区块编码哈希值、管理员哈希值、区块内容达成一致性共识;与本节点区块列所在层级的下级节点区块编码哈希值、管理员哈希值达成一致性共识;与本节点区块列所在层级的同列同层节点区块编码哈希值和管理员哈希值达成一致性共识;与本节点区块列所在层级的非列同层节点区块编码哈希值达成一致性共识;与本节点区块列所在层级的关联节点区块认证产生的内容,关联节点区块的编码哈希值,管理员哈希值,区块内容达成一致性共识。
- 根据权利要求5所述的一种锥体区块链共识方法,其特征在于:节点区块根据业务性质不同设立分项单元区块,分项单元区块编码由节点区块编码和业务性质编号组成,同列同业务性质各层级编号相同,分项单元区块的编码哈希值和管理员哈希值及区块内容,与同列上下级同业务性质的分项单元区块编码哈希值,管理员哈希值,区块内容达成一致性共识;分项单元区块编码哈希值,管理员哈希值与同列同层同业务性质分项单元区块编码哈希值达成一致性共识;分项单元区块编码哈希值、管理员哈希值与非列同层的分项单元区块编码哈希值达成一致性共识;分项单元区块编码哈希值、管理员哈希值与具有关联关系的分项单元区块编码哈希值达成一致性共识。
- 根据权利要求5所述的一种锥体区块链共识方法,其特征在于:二级单元区块编码由所属分项单元区块编码和二级单元法人身份认证码经营性质编号组成,哈希值由分项单元区块编码,法人认证编码经营性质编号,二级单元区块地址,服务器标识,随机数,时间戳组成;二级单元区块编码哈希值与其同列上下级的二级单元区块的编码哈希值达成一致性共识;二级单元区块内容为认证内容的与认证内容哈希值达成一致性共识。
- 根据权利要求5-7中任一项所述的一种锥体区块链共识方法,其特征在于,所述节点区块、分项单元区块、二级单元区块、用户区块通过各区块编码,按照同列上下级、同列同层、非列同层、非列不同层、关联关系达成一致性共识,各区块内容变更、管理员信息变更通过一致性共识存储相应变更信息。
- 根据权利要求5-8所述共识方法采用的一种锥体区块链共识网络,其特征在于,包括处理器以及与处理器连接的存储器,所述存储器存储有锥体区块链共识算法,所述锥体区块链共识算法通过处理器执行。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011209131.2 | 2020-11-03 | ||
CN202011209131.2A CN112422526B (zh) | 2020-11-03 | 2020-11-03 | 一种锥体区块链共识系统、方法及网络 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022095621A1 true WO2022095621A1 (zh) | 2022-05-12 |
Family
ID=74826885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/120048 WO2022095621A1 (zh) | 2020-11-03 | 2021-09-24 | 一种锥体区块链共识系统、方法及网络 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112422526B (zh) |
WO (1) | WO2022095621A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112422526B (zh) * | 2020-11-03 | 2023-02-03 | 山西特信环宇信息技术有限公司 | 一种锥体区块链共识系统、方法及网络 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358420A (zh) * | 2017-06-09 | 2017-11-17 | 北京博晨技术有限公司 | 用于实现热点账户的区块链系统以及实现热点账户的方法 |
CN109871669A (zh) * | 2019-03-14 | 2019-06-11 | 哈尔滨工程大学 | 一种基于区块链技术的数据共享解决方法 |
US20190190696A1 (en) * | 2017-12-18 | 2019-06-20 | International Business Machines Corporation | Protecting sensitive data in a distributed ledger system using blockchain hierarchies |
CN112422526A (zh) * | 2020-11-03 | 2021-02-26 | 山西特信环宇信息技术有限公司 | 一种锥体区块链共识系统、方法及网络 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10360191B2 (en) * | 2016-10-07 | 2019-07-23 | International Business Machines Corporation | Establishing overlay trust consensus for blockchain trust validation system |
CN107733855B (zh) * | 2017-08-31 | 2019-11-05 | 中国科学院信息工程研究所 | 一种可同时支持公有链、联盟链及私有链的区块链系统及应用方法 |
US20190238316A1 (en) * | 2018-01-31 | 2019-08-01 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing intelligent consensus, smart consensus, and weighted consensus models for distributed ledger technologies in a cloud based computing environment |
CN108769173B (zh) * | 2018-05-21 | 2021-11-09 | 阿里体育有限公司 | 运行智能合约的区块链实现方法及设备 |
CN109327548A (zh) * | 2018-11-27 | 2019-02-12 | 北京瑞卓喜投科技发展有限公司 | 一种区块链更新方法及区块链更新系统 |
JP6883111B2 (ja) * | 2018-12-13 | 2021-06-09 | アドバンスド ニュー テクノロジーズ カンパニー リミテッド | イベント駆動型ブロックチェーンワークフロー処理 |
CN110300155B (zh) * | 2019-05-31 | 2022-01-04 | 中国人民解放军国防科技大学 | 一种基于区块链的认知物联网频谱数据共享方法 |
CN110941673B (zh) * | 2019-11-26 | 2023-03-24 | 中国人民解放军战略支援部队信息工程大学 | 区块链数据结构及任务处理方法和装置 |
CN111049895B (zh) * | 2019-12-09 | 2022-06-03 | 北京工商大学 | 一种基于ism的改进pbft共识方法 |
CN111865918B (zh) * | 2020-06-16 | 2022-09-27 | 广东工业大学 | 一种优化改进的区块链pbft共识方法 |
CN112241435A (zh) * | 2020-10-23 | 2021-01-19 | 山西特信环宇信息技术有限公司 | 一种锥体区块链的存储系统及共识存储方法 |
-
2020
- 2020-11-03 CN CN202011209131.2A patent/CN112422526B/zh active Active
-
2021
- 2021-09-24 WO PCT/CN2021/120048 patent/WO2022095621A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358420A (zh) * | 2017-06-09 | 2017-11-17 | 北京博晨技术有限公司 | 用于实现热点账户的区块链系统以及实现热点账户的方法 |
US20190190696A1 (en) * | 2017-12-18 | 2019-06-20 | International Business Machines Corporation | Protecting sensitive data in a distributed ledger system using blockchain hierarchies |
CN109871669A (zh) * | 2019-03-14 | 2019-06-11 | 哈尔滨工程大学 | 一种基于区块链技术的数据共享解决方法 |
CN112422526A (zh) * | 2020-11-03 | 2021-02-26 | 山西特信环宇信息技术有限公司 | 一种锥体区块链共识系统、方法及网络 |
Also Published As
Publication number | Publication date |
---|---|
CN112422526B (zh) | 2023-02-03 |
CN112422526A (zh) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022033284A1 (zh) | 一种锥体区块、锥体区块链结构和方法 | |
CN113438084B (zh) | 一种基于r-pbft共识算法和时间戳的绿电溯源方法及系统 | |
Shan et al. | Strategies for risk management in urban–rural conflict: Two case studies of land acquisition in urbanising China | |
CN109756589A (zh) | 一种基于区块链多方共治的域名信息维护系统 | |
Zhang et al. | An analysis of the determinants of the multiplex urban networks in the Yangtze River Delta | |
Morrison | Neighbourhoods and social cohesion: Experiences from Europe | |
Pantuliano | The land question: Sudan's peace nemesis | |
WO2022063172A1 (zh) | 一种锥体区块链管理方法及系统 | |
WO2022095621A1 (zh) | 一种锥体区块链共识系统、方法及网络 | |
Cohen | Climate Justice and the Right to the City | |
Piazza | Squatting social centres in a Sicilian city: Liberated spaces and urban protest actors | |
CN112241435A (zh) | 一种锥体区块链的存储系统及共识存储方法 | |
Li et al. | Assessment on sustainable development of three major urban agglomerations in China based on sustainability‐differentiation‐combined weighting method | |
Hansen | Land law, land rights, and land reform in Vietnam: A deeper look into “land grabbing” for public and private development | |
Liu | Exploration & Research on Distance Education System Based on Blockchain Technology | |
Song et al. | Measuring residents’ anxiety under urban redevelopment in China: An investigation of demographic variables | |
Krampe et al. | Post-War Legitimacy–A framework on Relational Agency in Peacebuilding | |
Musil | E uropean Global Cities in the Recent Economic Crisis | |
Lai et al. | Review of Studies on Risk Early Warning of Public-Private Partnership Projects in Characteristic Town | |
Fu | The contentious democracy: Homeowners' associations in China through the lens of civil society | |
Wang | China's Household Registration (Hukou) System: Discrimination and Reform | |
CN113362940B (zh) | 一种穿透式监管下的分层区块链医疗设施调度方法 | |
Feng | Enterprise’s credit information sharing model based on consortium blockchain | |
He et al. | Research on the Blockchain Digital Capability Platform for “No Proof City” | |
Deng et al. | Research on Consensus Mechanism in Microgrid Transaction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21888320 Country of ref document: EP Kind code of ref document: A1 |