CN108881488B - Block chain transaction processing method and network based on domain division - Google Patents
Block chain transaction processing method and network based on domain division Download PDFInfo
- Publication number
- CN108881488B CN108881488B CN201810865779.1A CN201810865779A CN108881488B CN 108881488 B CN108881488 B CN 108881488B CN 201810865779 A CN201810865779 A CN 201810865779A CN 108881488 B CN108881488 B CN 108881488B
- Authority
- CN
- China
- Prior art keywords
- block
- domain
- node
- root
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 abstract description 6
- 238000004891 communication Methods 0.000 abstract description 3
- 239000012634 fragment Substances 0.000 abstract description 3
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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
-
- 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/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a block chain transaction processing method and a network based on domain division, which comprises the steps of pre-distributing a plurality of root nodes in the network, and arranging a plurality of domain nodes below each root node; when a block node is started, firstly, a corresponding root node is inquired, the root node returns domain node information of a domain to be added to the block node according to the network information of the block node, and the block node is added to the domain according to the information state returned by the root node; after generating the block in the domain, the block needs to be sent to the root node, after obtaining the consensus among the root nodes, the intra-domain subchain links the block, and meanwhile, the root node writes the block information into the main chain; after a block is identified by the root node, the block is broadcasted to the whole network, and after other domains receive the block, only the account book information needs to be updated and does not need to be written into the sub-chain of the domain. The invention can effectively solve the problem of low intra-fragment communication efficiency of block chain fragment processing, reduce network flooding and greatly improve the processing performance of the whole block chain transaction.
Description
Technical Field
The invention relates to the technical field of internet information processing technology and computers, in particular to a block chain transaction processing method and a block chain transaction processing network based on domains.
Background
Current blockchain technology is considered the next generation of subversive core technology following steam engines, power, the internet. If say that steam engine released people's productivity, electric power solved people's basic life demand, the internet thoroughly changed the mode of information transfer, then the blockchain as constructing the trusted machine will probably thoroughly change the mode of whole human social value transfer.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system.
In a plurality of block chain networks which operate at present, each transaction is broadcasted to the whole network, and each whole node in the network carries out verification calculation on the transaction, so that although the safety of an account book is ensured, transaction congestion is caused, and the throughput is not high. With the increase of the application of the blockchain, the expansion of the blockchain is urgent, and the fragmentation is a widely accepted expansion scheme. The segments can be segmented according to the network, the transaction address or the state, and most of the schemes adopt random division, for example, a user living in the united states may be segmented into one segment with a user living in china, which reduces the network traffic, but does not consider the actual geographic location factor of the user, the communication efficiency inside the segment is low, and the actual volume expansion effect may not be large finally.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a block chain transaction processing method based on domains.
In order to achieve the purpose, the invention adopts the following technical scheme:
a block chain transaction processing method based on domain division comprises the following steps:
(1) according to the region and the position, combining a DNS and a load balancing technology, a plurality of root nodes are pre-distributed in the network, and a plurality of domain nodes are arranged below each root node;
(2) generating a block in the domain according to a consensus algorithm, when a block node is started, firstly inquiring a corresponding root node, returning domain node information to be added into the domain to the block node by the root node according to the network information of the block node, and adding the block node into the domain through the domain node;
(3) after generating blocks according to a consensus algorithm in the domain, the blocks need to be sent to root nodes, after obtaining consensus among the root nodes, new blocks are written into the sub-chains in the domain, otherwise the blocks are discarded, meanwhile, the root nodes write block information into a main chain, and an index is set to point to corresponding block data of the sub-chains in the domain;
(4) after a block is identified by the root node, the block is broadcasted to the whole network, and after other domains receive the block, only the account book information needs to be updated and does not need to be written into the sub-chain of the domain.
Preferably, the transaction initiated by the block node in the domain is broadcast only in the domain.
Preferably, the main chain formed in the step (3) is maintained by a root node.
Preferably, the intra-area child chain generated in the step (3) is commonly maintained by the domain node and the common block node.
Preferably, the block nodes newly added to the domain in step (2) only need to update the data of the domain synchronously.
The invention also provides a block chain transaction network based on the domains, which comprises a plurality of root nodes, wherein a plurality of domain nodes are arranged below each root node, the domain nodes generate new blocks through a consensus algorithm, and the block nodes in the new blocks form a corresponding block network.
Compared with the prior art, the invention provides a block chain transaction processing method and a block chain transaction processing network based on domain division, and the method and the network have the following beneficial effects: according to the block chain transaction processing method and the network based on the domain division, the DNS and the load balancing technology are combined according to the network proximity principle, the problem that the internal communication efficiency of the current block chain fragmentation processing fragment is low is solved, network flooding is reduced, the throughput of the whole network is improved, and the processing performance of the whole block chain transaction is greatly improved.
The parts which are not involved in the device are the same as or can be realized by adopting the prior art, and the device has the advantages of simple structure and convenient operation.
Drawings
Fig. 1 is a flowchart of a domain-based blockchain transaction processing method according to the present invention;
FIG. 2 is a schematic structural diagram of a block chain transaction network based on domain division according to the present invention;
FIG. 3 is a flowchart of intra-domain generation of new blocks according to embodiment 3 of the present invention
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example 1
As shown in fig. 1, a block chain transaction processing method based on domain includes the following steps:
(1) according to the region and the position, combining a DNS and a load balancing technology, a plurality of root nodes are pre-distributed in the network, and a plurality of domain nodes are arranged below each root node;
(2) generating a block in the domain according to a consensus algorithm, when a block node is started, firstly inquiring a corresponding root node, returning domain node information to be added into the domain to the block node by the root node according to the network information of the block node, and adding the block node into the domain through the domain node;
(3) after generating blocks according to a consensus algorithm in the domain, the blocks need to be sent to root nodes, after obtaining consensus among the root nodes, new blocks are written into the sub-chains in the domain, otherwise the blocks are discarded, meanwhile, the root nodes write block information into a main chain, and an index is set to point to corresponding block data of the sub-chains in the domain;
(4) after one block is identified by the root node, the block is broadcasted to the whole network, after other domains receive the block, only the account book information needs to be updated, and the block book information does not need to be written into the sub-chain of the domain, so that the storage capacity of the block chain is reduced, the phenomenon of transaction congestion is avoided, and the throughput of the whole network is submitted.
Further, the transaction initiated by the block node in the domain is only broadcast in the domain.
Further, the main chain formed in step (3) is maintained by the root node.
Further, the intra-area child chain generated in the step (3) is commonly maintained by the domain node and the common block node.
Further, the block nodes newly added into the domain in the step (2) only need to synchronously update the data of the domain.
Example 2
As shown in fig. 2, a block chain transaction network based on domain division includes a plurality of root nodes, a plurality of domain nodes are arranged below each root node, the block nodes in the domain nodes form a corresponding block network, and in addition, the domain nodes below each root node are relatively independent, and can update synchronous transaction data by themselves, and the transaction data does not need to be broadcast and stored in the whole network, and only the account book information needs to be updated, thereby improving the transaction speed and the transaction throughput.
Example 3
As shown in fig. 3, the process of generating a new block in a domain includes:
(1) generating a new block in a certain domain through a consensus algorithm;
(2) the domain node sends the generated new block to the corresponding upper-layer root node, and the root node receives the new block;
(3) the root nodes carry out consensus and return results to the domain nodes, the domain nodes add the new blocks into the intra-domain subchain if the result returned by the root nodes is true, meanwhile, the root nodes write the information of the new blocks into the main chain, an index is set to point to intra-domain block data, and if the result returned by the root nodes is false, the new blocks are directly discarded;
(4) and after a new block is identified by the root node, the new block is broadcasted to the whole network, and after other domains receive the information, only the account book information needs to be updated, and the sub-chain of the domain does not need to be written.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (5)
1. A block chain transaction processing method based on domain division is characterized in that: the method comprises the following steps:
(1) pre-distributing a plurality of root nodes in a network according to the region and the position by combining a DNS (domain name system) and a load balancing technology, wherein a plurality of domain nodes are arranged below each root node, the domain nodes generate new blocks through a consensus algorithm, and the block nodes in the new blocks form a corresponding block network;
(2) generating a block in the domain according to a consensus algorithm, when a block node is started, firstly inquiring a corresponding root node, returning domain node information to be added into the domain to the block node by the root node according to the network information of the block node, and adding the block node into the domain through the domain node;
(3) after generating blocks according to a consensus algorithm in the domain, the blocks need to be sent to root nodes, after obtaining consensus among the root nodes, new blocks are written into the sub-chains in the domain, otherwise the blocks are discarded, meanwhile, the root nodes write block information into a main chain, and an index is set to point to corresponding block data of the sub-chains in the domain;
(4) after a block is identified by the root node, the block is broadcasted to the whole network, and after other domains receive the block, only the account book information needs to be updated and does not need to be written into the sub-chain of the domain.
2. The method of claim 1, wherein the method comprises: and the transaction initiated by the block node in the domain is only broadcast in the domain.
3. The method of claim 1, wherein the method comprises: the main chain formed in the step (3) is maintained by a root node.
4. The method of claim 1, wherein the method comprises: the intra-area subchain generated in the step (3) is commonly maintained by the domain node and the common block node.
5. The method of claim 1, wherein the method comprises: and (3) the block nodes newly added into the domain in the step (2) only need to synchronously update the data of the domain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810865779.1A CN108881488B (en) | 2018-08-01 | 2018-08-01 | Block chain transaction processing method and network based on domain division |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810865779.1A CN108881488B (en) | 2018-08-01 | 2018-08-01 | Block chain transaction processing method and network based on domain division |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881488A CN108881488A (en) | 2018-11-23 |
CN108881488B true CN108881488B (en) | 2020-12-22 |
Family
ID=64306922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810865779.1A Active CN108881488B (en) | 2018-08-01 | 2018-08-01 | Block chain transaction processing method and network based on domain division |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881488B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109687996B (en) * | 2018-12-06 | 2021-10-12 | 成都佰纳瑞信息技术有限公司 | Segmentation method suitable for block chain network |
CN109670954B (en) * | 2018-12-18 | 2020-06-26 | 陕西医链区块链集团有限公司 | Transaction processing method based on block chain |
CN111353884B (en) * | 2018-12-20 | 2024-05-03 | 上海智知盾科技有限公司 | Block chain transaction processing method and system |
CN109672760B (en) * | 2019-02-14 | 2022-04-12 | 中国互联网络信息中心 | DNS root data distribution method and system based on block chain |
CN110753026B (en) * | 2019-02-27 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Block chain-based fragmentation method and device |
CN110417897B (en) * | 2019-07-31 | 2022-08-02 | 中国联合网络通信集团有限公司 | Block chain domain-division triggering method, block chain node point equipment and terminal |
CN110689471A (en) * | 2019-09-30 | 2020-01-14 | 浙江水利水电学院 | Water resource monitoring system and method based on block chain |
CN111131386A (en) * | 2019-11-21 | 2020-05-08 | 北京联合天成价值网络科技有限公司 | Block chain network based on partitions and chain grouping method |
CN110958324B (en) * | 2019-12-12 | 2023-12-19 | 度小满科技(北京)有限公司 | Data processing method and device of block chain network |
CN111127013B (en) * | 2019-12-24 | 2023-12-29 | 深圳大学 | Block chain-based decentralization data transaction method, device, equipment and medium |
CN112039860B (en) * | 2020-08-18 | 2021-04-06 | 上海简苏网络科技有限公司 | Method and device for realizing joint consensus fragmentation in alliance chain |
CN113709203B (en) * | 2021-04-08 | 2024-06-25 | 中通服中睿科技有限公司 | Efficient communication method and system applied to blockchain |
CN113761068A (en) * | 2021-09-15 | 2021-12-07 | 虎彩印艺股份有限公司 | Method for improving concurrent processing capacity of block chain network |
CN114254395B (en) * | 2022-03-01 | 2022-05-06 | 南开大学 | Content-publishing-oriented consensus formation method for autonomous network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103380437A (en) * | 2011-02-21 | 2013-10-30 | 林泰永 | Online advertisement system and method for providing an online service based on a social commerce game |
CN106027264A (en) * | 2016-07-26 | 2016-10-12 | 宁圣金融信息服务(上海)有限公司 | Domain name block chain link storage method and domain name block chain link storage apparatus |
CN106789881A (en) * | 2016-11-17 | 2017-05-31 | 中国互联网络信息中心 | A kind of block chain digital identification authentication method and system based on domain name service DNS systems |
CN106789095A (en) * | 2017-03-30 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Distributed system and message treatment method |
CN107613041A (en) * | 2017-09-22 | 2018-01-19 | 中国互联网络信息中心 | DNS management system, domain name management method and domain name analytic method based on block chain |
-
2018
- 2018-08-01 CN CN201810865779.1A patent/CN108881488B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103380437A (en) * | 2011-02-21 | 2013-10-30 | 林泰永 | Online advertisement system and method for providing an online service based on a social commerce game |
CN106027264A (en) * | 2016-07-26 | 2016-10-12 | 宁圣金融信息服务(上海)有限公司 | Domain name block chain link storage method and domain name block chain link storage apparatus |
CN106789881A (en) * | 2016-11-17 | 2017-05-31 | 中国互联网络信息中心 | A kind of block chain digital identification authentication method and system based on domain name service DNS systems |
CN106789095A (en) * | 2017-03-30 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Distributed system and message treatment method |
CN107613041A (en) * | 2017-09-22 | 2018-01-19 | 中国互联网络信息中心 | DNS management system, domain name management method and domain name analytic method based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN108881488A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881488B (en) | Block chain transaction processing method and network based on domain division | |
CN107819829B (en) | Method and system for accessing block chain, block chain node point equipment and user terminal | |
KR102566892B1 (en) | Blockchain consensus method, device and system | |
CN105337941B (en) | A kind of device identification providing method and device | |
US20230273912A1 (en) | Data processing method and apparatus for blockchain network, computer device, and computer-readable storage medium | |
EP3794770B1 (en) | Shared blockchain data storage based on error correction code | |
Yin et al. | A blockchain-based incremental update supported data storage system for intelligent vehicles | |
CN111338806B (en) | Service control method and device | |
CN109711192B (en) | Method and system for inter-node transaction of block chain system | |
Amudhavel et al. | Effective maintenance of replica in distributed network environment using DST | |
CN111553670B (en) | Transaction processing method and device and computer readable storage medium | |
CN112416881A (en) | Intelligent terminal storage sharing method, device, medium and equipment based on block chain | |
WO2022237569A1 (en) | Transaction repeat checking method and apparatus, and device and medium | |
CN117014318B (en) | Method, device, equipment and medium for adding links between multi-scale network nodes | |
WO2021218984A1 (en) | Data routing method and related apparatus | |
CN113918857A (en) | Three-level cache acceleration method for improving performance of distributed WEB application system | |
EP3939236B1 (en) | Node and cluster management on distributed self-governed ecosystem | |
Zhang et al. | V‐Lattice: A Lightweight Blockchain Architecture Based on DAG‐Lattice Structure for Vehicular Ad Hoc Networks | |
CN115544026B (en) | Data storage method, device, electronic equipment and storage medium | |
WO2023201061A1 (en) | Data protection on distributed data storage (dds) protection networks | |
CN114827159B (en) | Network request path optimization method, device, equipment and storage medium | |
CN114791788B (en) | Data storage method and device based on block chain | |
CN113726660B (en) | Route finder and method based on perfect hash algorithm | |
Gai et al. | Smart data deduplication for telehealth systems in heterogeneous cloud computing | |
Duan et al. | Sharded blockchain architecture oriented to multilateral collaboration of source-grid-load-storage |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240423 Address after: 433000, No. 15 Xianyuan Avenue, Xiantao City, Hubei Province Patentee after: Hu Zhensheng Country or region after: China Address before: No. 1202, No. 12, Keji South 12th Road, Yuehai street, Shenzhen City, Guangdong Province Patentee before: QUARK CHAIN TECHNOLOGY (SHENZHEN) Co.,Ltd. Country or region before: China |