CN108920723A - A kind of nodal hierarchy partition management method - Google Patents

A kind of nodal hierarchy partition management method Download PDF

Info

Publication number
CN108920723A
CN108920723A CN201810864941.8A CN201810864941A CN108920723A CN 108920723 A CN108920723 A CN 108920723A CN 201810864941 A CN201810864941 A CN 201810864941A CN 108920723 A CN108920723 A CN 108920723A
Authority
CN
China
Prior art keywords
data
node
management
subregion
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810864941.8A
Other languages
Chinese (zh)
Inventor
钱京
陆道如
崔可
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengbao Co Ltd
Original Assignee
Jiangsu Hengbao Intelligent System 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 Jiangsu Hengbao Intelligent System Technology Co Ltd filed Critical Jiangsu Hengbao Intelligent System Technology Co Ltd
Priority to CN201810864941.8A priority Critical patent/CN108920723A/en
Publication of CN108920723A publication Critical patent/CN108920723A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of nodal hierarchy partition management method of the present invention, in order to effectively play the function of block chain data, and take into account data transmission efficiency, carry out the Grading And Zoning management of block chain, each level block chain has the function of that subregion is grown certainly, by setting up management node in each subregion, statistically analyze the data transmission efficiency in node, subregion cutting is carried out when efficiency reaches the transmission upper limit, and add new management node and data backup, tree structure tissue is used between each level, node of the data-interface of next level as upper level carries out partition management in each level;Node, which is added, need to carry out verification step simultaneously, and by that can be added after ballot to block chain, which is suitable for the backup data management inside industry, specifically include the publicly-owned chain of industry, industry interior tissue alliance chain, and organization internal has the privately owned chain of database structure.

Description

A kind of nodal hierarchy partition management method
Technical field
The present invention relates to block chain information management domain, in particular to a kind of nodal hierarchy partition management method.
Background technique
Block chain technology, abbreviation BT (Blockchain technology), is also referred to as distributed account book technology, is A kind of internet database technology, its main feature is that it is decentralization, open and clear, allow everyone to each may participate in data-base recording.
The basic principle understanding of block chain is got up not so difficult.Basic conception includes:It trades (Transaction):Primary behaviour Make, lead to the primary change of account book state, such as one record of addition;Block (Block):The transaction occurred in record a period of time And state outcome, it is the primary common recognition to current account book state;Chain (Chain):It is connected by block one by one according to order of occurrence It forms, is the log recording of entire state change.As soon as if then transaction is attempt to change every time using block chain as a state machine Become a next state, and the block for generation of knowing together every time, it is exactly that participant causes state to change All Activity content in block Result confirmed.
If database is assumed an account book by we, read-write database can regard a kind of behavior of book keeping operation, area as The principle of block chain technology is exactly to find out the most fast best of book keeping operation whithin a period of time, is kept accounts by this people, then by account book This page information issue other owners in whole system.This is also equivalent to change all records of database, issues Other each nodes of the whole network, so block chain technology is also referred to as distributed account book (distributed ledger).
The extensive use of block chain and commercial applications are be unable to do without to be associated with database, i.e. block chain database, simultaneously Have both the advantage function of block chain and database.
Number of patent application is in the prior art:201710257367.5 patent in mention for protection mechanism internal data With avoid data leak, many mechanisms all run the block chain of oneself.And the block chain across mechanism is operated, traditional side Method is in all participation inter-agency deployment alliance chains (or privately owned chain).Although can solve how inter-agency data manipulation in this way The problem of, but since inter-agency service logic is different, the difference etc. of data format replaces the respective block chain of mechanism and portion The implementation cost for affixing one's name to new alliance's chain is big.It is some for number since the data of block chain are present in each node in system According to privacy requirement height, and the mechanism of security sensitive is reluctant to data to be deployed on alliance's chain, what these mechanisms used goes back It is respective privately owned chain.The isolatism of privately owned chain hinders the cooperating between different blocks chain, so between block chain Across chain cooperation problem becomes block chain technology and develops the main problem faced.In order to solve the above problem, the existing skill of this Art proposes a kind of across the chain operating method of block chain, is applied to block chain management system, the method includes:Obtain participate in across The operation information for the respective block chain that each mechanism of chain operation provides, the operation information include:Resource lock operation, original behaviour Make, and inverse operation corresponding with the primitive operation;According to the service logic across chain operation, each operation is determined Multiple primitive operations in information execute sequence;Each resource lock operation is executed, it is described across each of chain operation to participating in The resource of a mechanism is locked;Sequence is executed according to each primitive operation in across the chain operation, is successively executed Each primitive operation judges whether to meet across chain operation failure condition in the implementation procedure of each primitive operation; It is held if satisfied, executing inverse operation corresponding with the primitive operation executed when all inverse operations, which are carried out, to be finished Row unlock operation discharges locked resource;If not satisfied, being finished when all primitive operations in across the chain operation are carried out When, it executes unlock operation and discharges locked resource.This in the prior art using verifying and you operate form, ensure that across Original state can be returned when operation failure occur in data in chain operating process, maintain the stability of entire block catenary system, but It is unpractical to solve across chain access and the flexible access problem of data based on block chain database, block chain number is played without practical According to the advantage function in library.
Number of patent application is in the prior art:201610933240.6 referred in the prior art in actual use process In, block chain node is likely to occur various abnormal conditions.It is continuous to establish and disconnect such as hacker attack, it causes to be attacked Block chain node vast resources consumes in connection, and block chain node efficiency reduces or even cisco unity malfunction, and then influences whole The efficiency and safety of a block chain.Publicly-owned chain network possesses a large amount of block chain node, abnormal conditions occurs in some node, to whole The influence of a block chain network may be more small.But for alliance's chain and privately owned chain, each block chain node is very Important, the exception of any one node, mainly there are two aspects for bring influence:1) alliance's chain or privately owned chain where influencing node Performance and safety;2) owner of this block chain node cannot normally obtain the data and participation of alliance's chain or privately owned chain The work of alliance's chain or privately owned chain.In view of the presence of the problem of, this proposes a kind of applied to block chain in the prior art Monitoring nodes system handles mould including the monitoring unit being set on each block chain node and the monitoring being set on host computer Block;All block chain nodes are connected to the monitor processing module, and monitor processing module passes through node API (Application Programming Interface, application programming interface) obtains the monitoring of each monitoring nodes unit Data, show monitoring data, and prominent abnormal nodes in a manner of patterned, quickly analyze and determine by the monitoring data of collection The position of position abnormal nodes and reason.The monitoring to abnormal nodes is realized in the above manner, and is removed in block chain in time Abnormal nodes, ensure that the safety of data update.But this is easy to make to the monitoring of block chain data in the prior art It is lost at the exception of data, weakens the function of block chain database.
In view of the above problems of the prior art, the application uses following technical scheme.
Summary of the invention
In order to solve the above technical problems,.
The invention is realized by the following technical scheme:A kind of nodal hierarchy partition management method is provided, in order to effectively play The function of block chain data, and data transmission efficiency is taken into account, the Grading And Zoning management of block chain is carried out, each level block chain has Subregion, by setting up management node in each subregion, statisticallys analyze the data transmission efficiency in node, works as efficiency from function is grown Subregion cutting is carried out when reaching the transmission upper limit, and adds new management node and data backup, tree-like knot is used between each level Structure tissue, node of the data-interface of next level as upper level carry out partition management in each level;Node is added simultaneously Verification step need to be carried out, by that can be added after ballot to block chain, which is suitable for the data backup pipe inside industry Reason, specifically includes the publicly-owned chain of industry, industry interior tissue alliance chain, and organization internal has the privately owned chain of database structure.
A kind of nodal hierarchy partition management method, which is characterized in that specifically include following steps:Node registry step is divided Grade step, partitioning step, data management step.
The node being added in block chain can be added after need to providing verification information by registration step.
Node registry step need to provide authentication information, data access demand, by that can be added after ballot step to area In block chain.
It includes privately owned chain, alliance's chain and publicly-owned chain tertiary structure that block chain, which is constituted, in classification step.
Classification step specifically includes, will by the data access request that is provided according to it of node of verifying, be added into Corresponding block chain level.
Need are accessed according to the data base organization's form and node data of each node inside block chains at different levels in partitioning step It asks and function carries out partition management, there is management node in each subregion.
The block chain node that subregion is formed in partitioning step can carry out data by the management node in the area and upload downloading, Data access control is formed between region, the node in subregion is in the same level of block chain node.
Data management step specifically includes database design, the data edition of each node, and the data of each subregion upload downloading, Data between each hierarchy node upload downloading.
Data management step includes data backup step, carries out data sharing backup positioned at the node of same subregion, same Part data at least carry out backup preservation there are two node, wherein the data saved are mass file data, and in each node It is transmitted and the data shared is the file pointer of the mass file data.
Management node in data management step in each subregion can carry out data access statistical analysis operation, by point In area each node data access record statistical analysis, carry out the judgement of efficiency of transmission, prevent subregion range excessively huge and Reduce data transmission efficiency.
Show that current partition internal data transfer efficiency is too low by analysis in data management step, then according to node data Requirements for access carries out subregion cutting, and the synchronous setting for carrying out data backup and new management node.
The beneficial effects of the invention are as follows:
1, partition of nodes management, improve data transfer and calculating effect are carried out by the data access of node and computing function Rate.
2, by the district center and writing function in block chain, it ensure that the reducibility of data.
3, the design that database is carried out in conjunction with block chain characteristic, has taken into account data safety and efficiency.
Detailed description of the invention
System flow chart Fig. 1 of the invention
Hierarchical schematic diagram Fig. 2 of the invention
Subregion schematic diagram Fig. 3 of the invention
A kind of nodal hierarchy partition management method in order to effectively play the function of block chain data, and takes into account data transmission Efficiency, carries out the Grading And Zoning management of block chain, and each level block chain has the function of subregion from growing, by setting in each subregion Vertical management node, statisticallys analyze the data transmission efficiency in node, carries out subregion cutting when efficiency reaches the transmission upper limit, and increase If new management node and data backup, tree structure tissue is used between each level, the data-interface of next level is as upper The node of level carries out partition management in each level;Node, which is added, need to carry out verification step simultaneously, by that can be added after ballot To block chain, which is suitable for the backup data management inside industry, specifically includes the publicly-owned chain of industry, group inside industry Alliance's chain is knitted, organization internal has the privately owned chain of database structure.
Specific embodiment
Below in conjunction with specific embodiment, the present invention is described in further detail, but embodiments of the present invention are not It is limited to this, in the absence of conflict, the feature in embodiment and embodiment in the present invention can be combined with each other:
Embodiment 1:
Certain large data processing center carries out data management using this method, is specifically a kind of nodal hierarchy partition management Method includes the following steps:Node registry step, classification step, partitioning step, data management step.
More specifically, its DPA data processing activity distribution of the data processing centre is extensive, cuts the confidentiality for data With security requirement height, and data file size is larger, belongs to large data file, for the efficiency of transmission of data also have compared with High request.
The node being added in block chain can be added after need to providing verification information by registration step.
More specifically, which there is interim amplification demand to be temporarily increased at data since business needs Manage mechanism.
Node registry step need to provide authentication information, data access demand, by that can be added after ballot step to area In block chain.
More specifically, which carries out the verifying of node addition using ballot mode, specifically, having ballot The node of power is the management node with level adjacent sectors.Ballot threshold value can be set, and obtaining poll is more than the threshold value Node can be added into block chain.
More specifically, the management node of each subregion can be the data transmission interface of each subregion, can also be with non-in subregion Other nodes of data transmission, wherein the management node between each subregion is in secrecy, i.e., the node of non-same subregion can not obtain Take the information of management node.
It includes privately owned chain, alliance's chain and publicly-owned chain tertiary structure that block chain, which is constituted, in classification step.
Classification step specifically includes, will by the data access request that is provided according to it of node of verifying, be added into Corresponding block chain level.
More specifically, the node of addition needs that data can be provided with database design structure and data processing function Processing contribution.According to the request of access data, that is, the database range accessed is classified, and includes root in specific access request It accesses the matching primitives of range according to the computing function and data requirements of the node.
Need are accessed according to the data base organization's form and node data of each node inside block chains at different levels in partitioning step It asks and function carries out partition management, there is management node in each subregion.
More specifically, Regionalization basis is data sharing demand and computational efficiency demand, passes through data sharing demand combination number Partition zone optimizing is carried out according to efficiency of transmission, cooperates division of labor partition of nodes in combination with calculating.
More specifically, the node in same subregion has data backup function, for the same data file of different editions The storage temporally stabbed.
The block chain node that subregion is formed in partitioning step can carry out data by the management node in the area and upload downloading, Data access control is formed between region, the node in subregion is in the same level of block chain node.
Data management step specifically includes database design, the data edition of each node, and the data of each subregion upload downloading, Data between each hierarchy node upload downloading.
Data management step includes data backup step, carries out data sharing backup positioned at the node of same subregion, same Part data at least carry out backup preservation there are two node, wherein the data saved are mass file data, and in each node It is transmitted and the data shared is the file pointer of the mass file data.
Management node in data management step in each subregion can carry out data access statistical analysis operation, by point In area each node data access record statistical analysis, carry out the judgement of efficiency of transmission, prevent subregion range excessively huge and Reduce data transmission efficiency.
Show that current partition internal data transfer efficiency is too low by analysis in data management step, then according to node data Requirements for access carries out subregion cutting, and the synchronous setting for carrying out data backup and new management node.
Embodiment 2:
As shown in attached drawing 2 in invention, Grading And Zoning management is carried out for the node in block chain, the node in same subregion In same level, pass through the cipher controlled access authority of asymmetric encryption between different nodes.
Interior nodes as shown in attached drawing 3 of the present invention for a subregion manage schematic diagram, and C node is to calculate function with independent The node of energy, with computing function, access function and encryption function and backup functionality, same part data file is by least Two nodes carry out the storage of each time version, and the data transmission between node passes through on the basis of combining cipher controlled permission P2P mode is transmitted, and M node is management node, is recorded to the data transfer record in subregion, when node excessively transmits It is excessive with access sequence redundancy, when inefficiency, using the form of cutting subregion, subregion process according to the calculating of each node, visit It asks to be constituted according to max calculation and data transmission efficiency principle tissue subregion according to being cut.
The preferred embodiment of the present invention has been described in detail above, but the present invention is not limited to embodiment, Those skilled in the art can also make on the premise of not violating the inventive spirit of the present invention various equivalent modification or Replacement, these equivalent variation or replacement are all contained in scope of the present application.

Claims (11)

1. a kind of nodal hierarchy partition management method, which is characterized in that specifically include following steps:Node registry step, classification Step, partitioning step, data management step.
2. Node registry step as described in claim 1, which is characterized in that the node being added in block chain need to be walked by registration It can be added after rapid offer verification information.
3. Node registry step as claimed in claim 2, which is characterized in that authentication information need to be provided, data access needs It asks, by that can be added after ballot step into block chain.
4. classification step as described in claim 1, which is characterized in that it includes privately owned chain, alliance's chain and publicly-owned that block chain, which is constituted, Chain tertiary structure.
5. classification step as claimed in claim 4, which is characterized in that classification step specifically includes, and will pass through the node of verifying According to the data access request that it is provided, it is added into corresponding block chain level.
6. partitioning step as described in claim 1, which is characterized in that according to the database of each node inside block chains at different levels Organizational form and node data requirements for access and function carry out partition management, have management node in each subregion.
7. partitioning step as claimed in claim 6, which is characterized in that the block chain node for forming subregion can be by the area Management node carries out data and uploads downloading, and data access control is formed between region, and the node in subregion is in block chain node Same level.
8. layering and zoning management method as described in claim 1, which is characterized in that data management step specifically includes each node Database design, data edition, the data of each subregion upload downloading, and the data between each hierarchy node upload downloading.
9. data management step as claimed in claim 8, it is characterised in that including data backup step, positioned at same subregion Node carries out data sharing backup, and same part data at least carry out backup preservation there are two node, wherein the data saved are Mass file data, and the data transmitted and shared in each node are the file pointer of the mass file data.
10. data management step as claimed in claim 9, which is characterized in that the management node in each subregion can be counted It analyzes and operates according to acess control, the statistical analysis recorded by the data access to node each in subregion carries out efficiency of transmission Judgement, prevents subregion range excessively huge and reduces data transmission efficiency.
11. data management step as claimed in claim 10, which is characterized in that obtain current partition internal data by analysis Efficiency of transmission is too low, then carries out subregion cutting, and synchronous progress data backup and new management section according to node data requirements for access The setting of point.
CN201810864941.8A 2018-08-01 2018-08-01 A kind of nodal hierarchy partition management method Pending CN108920723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810864941.8A CN108920723A (en) 2018-08-01 2018-08-01 A kind of nodal hierarchy partition management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810864941.8A CN108920723A (en) 2018-08-01 2018-08-01 A kind of nodal hierarchy partition management method

Publications (1)

Publication Number Publication Date
CN108920723A true CN108920723A (en) 2018-11-30

Family

ID=64393049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810864941.8A Pending CN108920723A (en) 2018-08-01 2018-08-01 A kind of nodal hierarchy partition management method

Country Status (1)

Country Link
CN (1) CN108920723A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857805A (en) * 2018-12-27 2019-06-07 重庆小雨点小额贷款有限公司 Date storage method, relevant device and storage medium based on block chain
CN109922039A (en) * 2019-01-14 2019-06-21 湘潭大学 A kind of identity management method of half centralization based on block chain technology
WO2020191935A1 (en) * 2019-03-22 2020-10-01 深圳市网心科技有限公司 Method and system for blockchain cross-chain communication, and electronic device and storage medium
CN112241435A (en) * 2020-10-23 2021-01-19 山西特信环宇信息技术有限公司 Cone block chain storage system and consensus storage method
CN115296824A (en) * 2022-10-08 2022-11-04 中国科学院合肥物质科学研究院 Block chain network hierarchical transmission method based on multi-scale node management and storage medium
US11743045B2 (en) 2018-04-27 2023-08-29 Nchain Licensing Ag Partitioning a blockchain network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11743045B2 (en) 2018-04-27 2023-08-29 Nchain Licensing Ag Partitioning a blockchain network
US11856100B2 (en) 2018-04-27 2023-12-26 Nchain Licensing Ag Partitioning a blockchain network
US11973869B2 (en) 2018-04-27 2024-04-30 Nchain Licensing Ag Maintaining blocks of a blockchain in a partitioned blockchain network
US12028453B2 (en) 2018-04-27 2024-07-02 Nchain Licensing Ag Partitioning a blockchain network
CN109857805A (en) * 2018-12-27 2019-06-07 重庆小雨点小额贷款有限公司 Date storage method, relevant device and storage medium based on block chain
CN109857805B (en) * 2018-12-27 2020-10-02 重庆小雨点小额贷款有限公司 Block chain based data storage method, related equipment and storage medium
CN109922039A (en) * 2019-01-14 2019-06-21 湘潭大学 A kind of identity management method of half centralization based on block chain technology
CN109922039B (en) * 2019-01-14 2021-05-07 湘潭大学 Semi-centralized identity management method based on block chain technology
WO2020191935A1 (en) * 2019-03-22 2020-10-01 深圳市网心科技有限公司 Method and system for blockchain cross-chain communication, and electronic device and storage medium
CN112241435A (en) * 2020-10-23 2021-01-19 山西特信环宇信息技术有限公司 Cone block chain storage system and consensus storage method
CN115296824A (en) * 2022-10-08 2022-11-04 中国科学院合肥物质科学研究院 Block chain network hierarchical transmission method based on multi-scale node management and storage medium
CN115296824B (en) * 2022-10-08 2022-12-16 中国科学院合肥物质科学研究院 Hierarchical transmission method of block chain network based on multi-scale node management and storage medium

Similar Documents

Publication Publication Date Title
CN108920723A (en) A kind of nodal hierarchy partition management method
Jiang et al. Privacy-preserving and efficient multi-keyword search over encrypted data on blockchain
CN106372533B (en) Content storage method based on block chain technology
EP3837627B1 (en) Transaction system and method of operation thereof
CN106528775A (en) Private block chain operation support system that supports logical multi-chain, and working method thereof
CN109766673A (en) A kind of alliance's formula audio-video copyright block catenary system and audio-video copyright cochain method
Hashim et al. Sharding for scalable blockchain networks
Wang et al. A comparative study of blockchain consensus algorithms
Frahat et al. Secure and scalable trust management model for IoT P2P network
CN108287835A (en) A kind of data clearing method and device
CN109978546A (en) A kind of alliance's block chain framework and its classification storage and transaction method for punching
CN110147684A (en) For realizing the method and apparatus of block chain data-privacy protection
Zhang et al. Efficient dynamic provable possession of remote data via update trees
CN111683058A (en) Data storage system based on block chain and storage method thereof
CN114978638B (en) Block chain cross-chain supervision method based on shared node
Lu et al. A Fine‐Grained IoT Data Access Control Scheme Combining Attribute‐Based Encryption and Blockchain
CN109190384A (en) A kind of multicenter block chain fuse protection system and method
Zhang et al. Effective network vulnerability assessment through model abstraction
CN110245515A (en) A kind of guard method and system towards HDFS access module
Peng et al. A privacy-preserving mobile crowdsensing scheme based on blockchain and trusted execution environment
CN113407626B (en) Planning management and control method based on blockchain, storage medium and terminal equipment
Chowdhury et al. Secured blockchain based decentralised internet: a proposed new internet
CN101408955A (en) Method and system determining obligation base on tactic
KR102349014B1 (en) Method and system for building fast synchronizable decentralized distributed database
CN111881479A (en) Anti-money laundering list sharing system and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200220

Address after: 212355 Zhenjiang city of Jiangsu province Danyang City Heng Tang Industrial Zone

Applicant after: HENGBAO Corp.

Address before: 212355 Jiangsu province Zhenjiang city Danyang city Yunyang town cross pond industrial area

Applicant before: JIANGSU HENGBAO INTELLIGENT SYSTEM TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130