CN113079026B - Block chain system and block chain network resource management method - Google Patents

Block chain system and block chain network resource management method Download PDF

Info

Publication number
CN113079026B
CN113079026B CN202110407670.5A CN202110407670A CN113079026B CN 113079026 B CN113079026 B CN 113079026B CN 202110407670 A CN202110407670 A CN 202110407670A CN 113079026 B CN113079026 B CN 113079026B
Authority
CN
China
Prior art keywords
group
network nodes
transaction
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.)
Active
Application number
CN202110407670.5A
Other languages
Chinese (zh)
Other versions
CN113079026A (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.)
Wuxi Comprehensive Mutual Link Technology Co ltd
Original Assignee
Wuxi Comprehensive Mutual Link 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 Wuxi Comprehensive Mutual Link Technology Co ltd filed Critical Wuxi Comprehensive Mutual Link Technology Co ltd
Priority to CN202110407670.5A priority Critical patent/CN113079026B/en
Publication of CN113079026A publication Critical patent/CN113079026A/en
Application granted granted Critical
Publication of CN113079026B publication Critical patent/CN113079026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3236Cryptographic 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
    • H04L9/3239Cryptographic 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 involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a block chain system, comprising: a plurality of groups of network nodes and a block chain network resource management device; each group of network nodes comprises at least one or more network nodes, and each group of network nodes is used for processing mutually disjoint transaction data; the block chain network resource management device comprises a grouping module, an automatic distribution module and a block construction module, wherein the grouping module is used for grouping all network nodes in a block chain system to obtain a plurality of groups of network nodes and uniquely numbering each group of network nodes, the automatic distribution module is used for randomly distributing transaction requests to any group of network nodes when transaction requests are generated, and the block construction module is used for constructing a complete block chain.

Description

Block chain system and block chain network resource management method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a blockchain system and a method for managing network resources of a blockchain.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like, namely, a brand new distributed infrastructure and a computing mode which utilize a blockchain type data structure to verify and store data, utilize a distributed node consensus algorithm to generate and update data, utilize a cryptography mode to ensure the security of data transmission and access, and utilize an intelligent contract composed of automatic script codes to program and operate data. The blockchain is an innovative distributed account book technology, but the existing distributed account book system based on the bit currency style has some problems in aspects of scalability, throughput rate, transaction confirmation delay and the like, and most of resource transaction transfer has risks of complex flow, low efficiency, data leakage and the like.
In summary, it is an urgent need to solve the problem of the skilled person in the art to provide a blockchain system and a blockchain network resource management method that have high throughput and efficiency of data processing and can perform resource management efficiently and safely.
Disclosure of Invention
In view of the above-mentioned problems and needs, the present invention provides a blockchain system and a method for managing network resources of a blockchain, which can solve the above-mentioned technical problems by adopting the following technical solutions.
In order to achieve the purpose, the invention provides the following technical scheme: a block chain system and a block chain network resource management method comprise: a plurality of groups of network nodes and a block chain network resource management device;
each group of network nodes comprises at least one or more network nodes, each network node stores a part or all of complete blockchain data, each group of network nodes is used for processing mutually disjoint transaction data, all the blockchain data are divided into a plurality of network node groups, each group only stores blockchain data associated with the group, and the data stored by the plurality of groups of network nodes are combined to form complete account book data;
the block chain network resource management device comprises a grouping module, an automatic distribution module and a block construction module, wherein the grouping module is used for grouping all network nodes in a block chain system to obtain a plurality of groups of network nodes and uniquely numbering each group of network nodes, the automatic distribution module is used for randomly distributing transaction requests to any one group of network nodes when the transaction requests are generated, so that the nodes in each group of network nodes receive different transaction requests, and further the nodes generate blocks in parallel, and the block construction module is used for constructing a complete block chain;
the sum of the data stored in the plurality of blocks at least forms a complete blockchain data, and all valid blocks in the complete blockchain data are stored in each network node.
Further, the grouping module includes a data storage module and an index list, the index list is used for storing index addresses of data information of each block in the block chain in the data storage module, and the data information includes block numbers and addresses.
Furthermore, the device for managing blockchain network resources further comprises a management module, wherein the management module is used for issuing a transaction request of a transaction party, acquiring a resource transfer request of a customer and management request information, and managing the blockchain network according to the management request information, and the management request information comprises organization management request information, node management request information and contract management request information.
Furthermore, when any group of network nodes receives the transaction request distributed by the automatic distribution module, the network nodes in the group perform block production according to the distributed transaction request, and simultaneously, the nodes in each group in the block chain system broadcast the distributed transaction request.
Furthermore, the block construction module screens an accounting node in each group of network nodes according to a consensus mechanism of a block chain to record transaction information within a period of time, and performs whole-network broadcasting on the blocks packaged in the network node group where the accounting node is located and the unique number of the group through the accounting node, so that each network node in the block chain system verifies the sequence of the received blocks according to each group of numbers and constructs a complete block chain.
Furthermore, the consensus mechanism adopts a consensus method based on the Zhuge crossbow mining algorithm, so that when any node in a group successfully solves the hash problem, a plurality of blocks are generated in a plurality of groups at the same time, and each group generates at most one block.
A method for managing network resources of a block chain specifically comprises the following steps:
s1, a trading party sends a trading request to network nodes in any group of network nodes, the network nodes in any group receive the distributed trading request, and the trading request carries characteristic information and a trading plan of the trading party;
s2, the intra-group network nodes call intelligent contracts, whether the transaction requests meet issuing requirements or not is checked according to transaction issuing conditions in the intelligent contracts, when the issuing requirements are met, issuing transactions are generated according to the characteristic information and the transaction plan of the transaction party, and meanwhile, the network nodes of all groups broadcast the transaction requests distributed to the groups;
s3, the network nodes in the group perform block production according to the distributed transaction requests, and after the network nodes pass the consensus verification of the issuing transaction, the network nodes write the issuing transaction into the blocks to complete resource issuing;
and S4, the client initiates a resource transfer request to obtain the network resource.
Furthermore, a client submits a resource transfer request to a network node in any group of network nodes, wherein the transfer request comprises related resource information, an intelligent contract is called according to the acquisition request to lock a target resource corresponding to the related resource information, a transfer link for the target resource is generated, the transfer link for transferring the resource by a user is received, and the network node in any group of network nodes transfers the resource to an account of the user after the intelligent contract detects that the user completes transfer by using the transfer link.
Further, the characteristic information comprises a transaction serial number of a transaction party, identity information, asset information and a transaction identifier.
The technical scheme can show that the invention has the beneficial effects that: the invention increases the throughput of data processing, reduces the storage overhead of each node in the block chain, and can efficiently and safely manage resources.
In addition to the above objects, features and advantages, preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings so that the features and advantages of the present invention can be easily understood.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments of the present invention or the prior art will be briefly described, wherein the drawings are only used for illustrating some embodiments of the present invention and do not limit all embodiments of the present invention thereto.
FIG. 1 is a block chain system of the present invention.
Fig. 2 is a schematic diagram of a 6-node blockchain system in the present embodiment.
Fig. 3 is a diagram illustrating the steps of the method for resource management in a blockchain network according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of specific embodiments of the present invention. Like reference symbols in the various drawings indicate like elements. It should be noted that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention without any inventive step, are within the scope of protection of the invention.
The invention provides a block chain system and a block chain network resource management method which can increase the throughput of data processing, reduce the storage cost of each node in a block chain and carry out resource management efficiently and safely. As shown in fig. 1 to 3, the system includes: multiple groups of network nodes and a blockchain network resource management device. Each group of network nodes comprises at least one or more network nodes, each network node stores a part or all of complete blockchain data, each group of network nodes is used for processing mutually-disjoint transaction data, all the blockchain data are divided into a plurality of network node groups, each group only stores blockchain data associated with the group, and the data stored by the plurality of groups of network nodes are combined to form complete account book data. Each network node group comprises a plurality of parallel extended block chains, each block chain comprises a plurality of blocks, each block comprises a block head and a block body, each block comprises a number, a father block hash value, a timestamp, a difficulty value, a random number, a Mercker tree root and the like, and each block body comprises specific transaction information. In this embodiment, the nodes of the whole network are divided into a plurality of groups, each group corresponds to a relatively independent blockchain system, a plurality of nodes are arranged in each group, and a plurality of partition chains logically form a global chain although the partition chains are physically partitioned and stored. If the whole network comprises n groups, the block data is divided into n parts and stored in each group, the storage overhead of all nodes in the whole network is reduced, meanwhile, under the condition that the number of transactions needing to be processed is certain, the system throughput is increased because each group can process the transactions respectively, under the condition that cross-region transactions are not considered, the communication traffic is reduced along with the grouping, and the flexibility of the system is improved. As shown in fig. 2, in a network consisting of 6 nodes, each 3 nodes form a group, each group forms a bidirectional interactive network, the groups can communicate with each other, a complete blockchain data is divided into 2 parts, and each group stores a part of the data. The P2P network nodes in each group store the same data, so that a system capable of processing transaction data in parallel and generating blocks is formed. The sum of the data stored in the plurality of blocks at least forms a complete blockchain data, and all valid blocks in the complete blockchain data are stored in each network node.
The block chain network resource management device comprises a grouping module, an automatic distribution module and a block construction module, wherein the grouping module is used for grouping all network nodes in a block chain system to obtain a plurality of groups of network nodes and uniquely numbering each group of network nodes, the automatic distribution module is used for randomly distributing transaction requests to any one group of network nodes when the transaction requests are generated, so that the nodes in each group of network nodes receive different transaction requests, and further the nodes generate blocks in parallel, and the block construction module is used for constructing a complete block chain. The grouping module comprises a data storage module and an index list, the index list is used for storing index addresses of data information of all blocks in the block chain in the data storage module, and the data information comprises block numbers and addresses. The device for managing the resources of the blockchain network further comprises a management module, wherein the management module is used for issuing a transaction request of a transaction party, acquiring a resource transfer request and management request information of a client, and managing the blockchain network according to the management request information, and the management request information comprises organization management request information, node management request information and contract management request information. When any group of network nodes receives the transaction requests distributed by the automatic distribution module, the network nodes in the group perform block production according to the distributed transaction requests, and simultaneously, nodes in each group in the block chain system broadcast the transaction requests distributed by the group. The block building module screens an accounting node in each group of network nodes according to a consensus mechanism of a block chain to record transaction information within a period of time, and performs whole-network broadcasting on blocks packaged in a network node group where the accounting node is located and the unique number of the group through the accounting node, so that each network node in the block chain system verifies the sequence of the received blocks according to each group of numbers and builds a complete block chain. The consensus mechanism adopts a consensus method based on an Zhuge crossbow mining algorithm, allows any node in a group to generate a plurality of blocks in a plurality of groups at the same time when the Hash problem is successfully solved, and each group generates at most one block. Any intra-packet node is allowed to generate multiple chunks over multiple packets at the same time, but at most one chunk per packet, when successfully solving the hash problem. In this way, the computational power of the nodes within each packet is amplified, thereby meeting the computational power requirement of the same magnitude for attacking a single packet and attacking the whole system.
A method for managing network resources of a block chain specifically comprises the following steps:
s1, a trading party sends a trading request to network nodes in any group of network nodes, the network nodes in any group receive the distributed trading request, and the trading request carries characteristic information and a trading plan of the trading party, wherein the characteristic information comprises a trading serial number, identity information, asset information and a trading identifier of the trading party;
s2, the intra-group network nodes call intelligent contracts, whether the transaction requests meet issuing requirements or not is checked according to transaction issuing conditions in the intelligent contracts, when the issuing requirements are met, issuing transactions are generated according to the characteristic information and the transaction plan of the transaction party, and meanwhile, the network nodes of all groups broadcast the transaction requests distributed to the groups;
s3, the network nodes in the group perform block production according to the distributed transaction requests, and after the network nodes pass the identification verification of the issuing transaction, the network nodes write the issuing transaction into the blocks to complete resource issuing;
and S4, the client initiates a resource transfer request to obtain the network resource. A client submits a resource transfer request to network nodes in any group of network nodes, wherein the transfer request comprises related resource information, an intelligent contract is called according to the acquisition request to lock a target resource corresponding to the related resource information, a transfer link aiming at the target resource is generated, the transfer link for transferring the resource by a user is received, and the network nodes in any group of network nodes transfer the resource to an account of the user after the intelligent contract detects that the user completes the transfer by using the transfer link.
It should be noted that the described embodiments of the invention are only preferred ways of implementing the invention, and that all obvious modifications, which are within the scope of the invention, are all included in the present general inventive concept.

Claims (8)

1. A blockchain system, comprising: a plurality of groups of network nodes and a block chain network resource management device;
each group of network nodes comprises at least one or more network nodes, each network node stores a part or all of complete blockchain data, each group of network nodes is used for processing mutually disjoint transaction data, all the blockchain data are divided into a plurality of network node groups, each group only stores blockchain data associated with the group, and the data stored by the plurality of groups of network nodes are combined to form complete account book data;
the block chain network resource management device comprises a grouping module, an automatic distribution module and a block construction module, wherein the grouping module is used for grouping all network nodes in a block chain system to obtain a plurality of groups of network nodes and uniquely numbering each group of network nodes, the automatic distribution module is used for randomly distributing transaction requests to any group of network nodes when transaction requests are generated, so that the nodes in each group of network nodes receive different transaction requests, and then the nodes generate blocks in parallel, and the block construction module is used for constructing a complete block chain;
the sum of the data stored in a plurality of blocks at least forms a complete block chain data, and all effective blocks in the complete block chain data are stored on each network node;
the method for block chain network resource management based on the system comprises the following steps:
s1, a trading party sends a trading request to network nodes in any group of network nodes, the network nodes in any group receive the distributed trading request, and the trading request carries characteristic information and a trading plan of the trading party;
s2, the group network nodes call intelligent contracts, check whether the transaction requests meet the issuing requirements according to transaction issuing conditions in the intelligent contracts, generate issuing transactions according to the characteristic information and the transaction plan of the transaction party when the issuing requirements are met, and broadcast the transaction requests distributed by the group by the network nodes of each group;
s3, the network nodes in the group perform block production according to the distributed transaction requests, and after the network nodes pass the identification verification of the issuing transaction, the network nodes write the issuing transaction into the blocks to complete resource issuing;
and S4, the client initiates a resource transfer request to obtain the network resource.
2. The blockchain system of claim 1, wherein the grouping module includes a data storage module and an index list for storing index addresses of data information of respective blocks in the blockchain in the data storage module, the data information including block numbers and addresses.
3. The blockchain system of claim 2, wherein the blockchain network resource management device further comprises a management module, the management module being configured to issue a transaction request of a transaction party and obtain a resource transfer request of a customer and management request information, and to manage the blockchain network according to the management request information, the management request information including organization management request information, node management request information, and contract management request information.
4. The blockchain system of claim 3, wherein when any group of network nodes receives the transaction request assigned by the automatic distribution module, the network nodes in the group perform blockchain production according to the assigned transaction request, and nodes of each group in the blockchain system broadcast the assigned transaction request of the group.
5. The blockchain system of claim 4 wherein the blockchain construction module screens an accounting node in each group of network nodes according to a consensus mechanism of the blockchain to record transaction information over a period of time, and broadcasts the blocks packaged in the group of network nodes where the accounting node is located and the unique number of the group over the network, so that each network node in the blockchain system verifies the sequence of the received blocks according to each group of numbers and constructs a complete blockchain.
6. The blockchain system of claim 5, wherein the consensus mechanism employs an consensus method based on the Zhuge crossbow mining algorithm that allows any one intra-packet node to generate multiple blocks in multiple packets at the same time, each packet generating at most one block, when successfully solving the hash problem.
7. The blockchain system of claim 1, wherein a client submits a resource transfer request to a network node in any one of the groups of network nodes, the transfer request includes related resource information, an intelligent contract is invoked according to the acquisition request to lock a target resource corresponding to the related resource information, a transfer link for the target resource is generated, the transfer link for a user to transfer the resource is received, and the network node in any one of the groups of network nodes transfers the resource to an account of the user after the intelligent contract detects that the user completes the transfer by using the transfer link.
8. The blockchain system of claim 7, wherein the characteristic information includes a transaction party transaction serial number, identity information, asset information, and a transaction identification.
CN202110407670.5A 2021-04-15 2021-04-15 Block chain system and block chain network resource management method Active CN113079026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110407670.5A CN113079026B (en) 2021-04-15 2021-04-15 Block chain system and block chain network resource management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110407670.5A CN113079026B (en) 2021-04-15 2021-04-15 Block chain system and block chain network resource management method

Publications (2)

Publication Number Publication Date
CN113079026A CN113079026A (en) 2021-07-06
CN113079026B true CN113079026B (en) 2022-11-08

Family

ID=76617685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110407670.5A Active CN113079026B (en) 2021-04-15 2021-04-15 Block chain system and block chain network resource management method

Country Status (1)

Country Link
CN (1) CN113079026B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114117554B (en) * 2022-01-28 2022-05-24 杭州链城数字科技有限公司 Law enforcement data credibility verification method, processing method and system and law enforcement instrument

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147735B (en) * 2017-05-12 2020-08-11 北京博晨技术有限公司 Distributed account book system based on hierarchical structure
KR20190067581A (en) * 2017-12-07 2019-06-17 한국전자통신연구원 Apparatus and method for distributed processing of blockchain transactions
SG11201910057QA (en) * 2019-04-12 2019-11-28 Alibaba Group Holding Ltd Performing parallel execution of transactions in a distributed ledger system

Also Published As

Publication number Publication date
CN113079026A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN111681003B (en) Resource cross-chain transfer method and device, computer equipment and storage medium
CN110868439B (en) Block chain system
CN110059494B (en) Privacy protection method for block chain transaction data and block chain system
CN109471744B (en) Main chain and parallel multi-sub-chain system architecture based on block chain
CN109802993B (en) Alliance chain building method based on supply chain ecology
CN112926982B (en) Transaction data processing method, device, equipment and storage medium
CN110875893B (en) Consensus verification method, check node and block chain system
CN110868434B (en) Block chain consensus method and system of multilayer fragment architecture
CN107193490A (en) A kind of distributed data-storage system and method based on block chain
CN110400218B (en) Layered consensus method based on co-audition group system and block chain data processing system
US20210142318A1 (en) Mapping system and corresponding method to realize digital assets on the mapping chain based on distributed technology
CN111698094B (en) Common identification method based on block chain system and block chain system
CN110458709B (en) Resource transfer information transmission method and device, storage medium and electronic device
CN111949602A (en) Outsourcing data safety migration method and system supporting integrity verification
CN111406252A (en) Consensus of error correction code based shared blockchain data storage
CN111417930A (en) Prioritizing shared blockchain data storage
CN109493051B (en) Main chain and parallel multi-subchain system architecture capable of dynamically allocating and migrating accounts
CN110738472B (en) Block chain storage method and node of block chain
CN110019103B (en) Cross-chain system and cross-chain implementation method based on block chain
CN112887380A (en) Cross-chain intercommunication method and system
CN111047439A (en) Transaction processing method based on block chain
CN113079026B (en) Block chain system and block chain network resource management method
CN113902384A (en) Tracing method and system based on RFID and intelligent contract
CN111861459A (en) Iota account book optimization system and method based on DPoS consensus algorithm
CN109766724A (en) Data evidence storing method based on block chain

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