CN110532270A - The associated data managing method of account book and its system - Google Patents

The associated data managing method of account book and its system Download PDF

Info

Publication number
CN110532270A
CN110532270A CN201910813799.9A CN201910813799A CN110532270A CN 110532270 A CN110532270 A CN 110532270A CN 201910813799 A CN201910813799 A CN 201910813799A CN 110532270 A CN110532270 A CN 110532270A
Authority
CN
China
Prior art keywords
business
network
account book
sub
record
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
CN201910813799.9A
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.)
Nanjing Rongchain Technology Co Ltd
Original Assignee
Nanjing Rongchain 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 Nanjing Rongchain Technology Co Ltd filed Critical Nanjing Rongchain Technology Co Ltd
Priority to CN201910813799.9A priority Critical patent/CN110532270A/en
Publication of CN110532270A publication Critical patent/CN110532270A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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 embodiment of the invention discloses a kind of associated data managing method of account book and its system, method includes: that the block chain node server of business sub-network receives business record;Business sub-network is stored business record into corresponding business account book by common recognition process;When the block chain node of association sub-network listens to business sub-network and stores business record to account book, association sub-network generates business block index record;Association sub-network stores business block index record into association account book by common recognition process.The embodiment of the present invention realizes the association between more account books, and can be realized on the basis of data classification management data between account book can not distort and trackability.

Description

The associated data managing method of account book and its system
Technical field
The present invention relates to block chain technical field of data administration, and in particular to a kind of associated data managing method of account book and Its system.
Background technique
Block chain is a kind of decentralization, the distributed data base technique participated in by each node.Block chain is by block phase It connects to form Unidirectional chain-type structure, wherein first block is referred to as original block, passes through hash value front and back between block mutually It is associated, ensure that data can not distort and trackability.Account book caused by this piece of chain structure is according to time order and function Sequence record the information in block, not distinguish information classification.
Node in block chain network usually needs to safeguard information largely unrelated with this node, can by splitting account book Assemble the content of account book more.But there is no connections between account book, between the account book in same block chain network and not There is no correlation with the account book between block chain network, so that across account book use lacks foundation of trust and verifying means.Therefore it needs It wants a kind of and efficiently realizes associated data managing method between more account books, it can be on the basis of data classification manages between progress account book Data can not distort and trackability.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of associated data managing method of account book and its system, can be in number According on the basis of Classification Management realize account book between data can not distort and trackability.
To achieve the above object, in a first aspect, the embodiment of the invention provides a kind of associated data managing method of account book, Include:
Listen to the block storage state of business sub-network;
If the block storage state of the business sub-network is the business sub-network by business record by knowing together Journey is stored into business account book, then generates business block index record, wherein is stored with a plurality of institute in each business account book State business record;
The business block index record is stored by common recognition process into association account book.
As a kind of specific embodiment of the application, the business block index record includes owning in each business account book The HASH value of business record makes multiple business account books interrelated by the HASH value.
As a kind of specific embodiment of the application, the common recognition process is using PBFT common recognition algorithm.
Second aspect, the embodiment of the invention also provides the associated data managing methods of another account book, comprising:
The block chain node server of business sub-network receives business record;
The business sub-network is stored the business record into corresponding business account book by common recognition process;
The block chain node of association sub-network listens to the business sub-network and stores the business record to account book When, the association sub-network generates business block index record;
The association sub-network stores the business block index record into association account book by common recognition process.
As a kind of specific embodiment of the application, the business sub-network is by multiple block chain node server groups At block chain network, the association sub-network is the block chain network being made of multiple block chain node servers.
The third aspect, the embodiment of the invention also provides a kind of associated data management systems of account book, including business subnet Network be associated with sub-network.Wherein, the business sub-network is used for:
Business record is received, and is stored the business record into corresponding business account book by common recognition process;
The association sub-network is used for:
When listening to the business sub-network and storing the business record to account book, business block index note is generated Record;
The business block index record is stored by common recognition process into association account book.
Implement the embodiment of the present invention, if association sub-network, which listens to business sub-network, passes through common recognition process for business record It stores into business account book, then generates business block index record, and business block index record is stored by common recognition process Into association account book, to realize the association between more account books, and account book can be realized on the basis of data classification management Between data can not distort and trackability.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.
Fig. 1 is the structural schematic diagram of the associated data management system of account book provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram for the associated data managing method of account book that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides the associated data managing method of account book schematic flow diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
The associated data management system of account book provided by the embodiment of the present invention, including business sub-network be associated with subnet Network.Wherein, business sub-network is the block chain network being made of multiple block chain node servers, is mainly used for:
Business record is received, and is stored business record into corresponding business account book by common recognition process, business account book It is stored with the relevant data of business.
In this embodiment, common recognition process uses PBET common recognition algorithm.
Similarly, association sub-network is the block chain network being made of multiple block chain node servers, is mainly used for:
When listening to the business sub-network and storing the business record to account book, business block index note is generated Record;
The business block index record is stored by common recognition process into association account book.
That is, association sub-network generates business block index record after being successfully generated new block data in business sub-network, And business block index record is stored into account book corresponding to association sub-network by common recognition process;Further, the industry Business block index record contains the storage index information of each business sub-network account book data block, passes through the account book of business sub-network The HASH value of each business record in data block makes interrelated between the account book data of each business sub-network.
For example, as shown in Figure 1, the associated data management system of account book provided in an embodiment of the present invention includes block chain Node server A1, A2, A3, BC1, BC2 and BC3.These node servers form 4 block chain sub-networks, including three industry Sub-network of being engaged in is associated with sub-network with 1.Wherein three business sub-networks are respectively NA, NB and NC, corresponding block chain account book point It Wei not LA, LB and LC;Association sub-network is NR, and corresponding block chain account book is LR.Business sub-network NA is taken by block chain node Business device A1, A2 and A3 composition, the account book of storage are denoted as LA;Business sub-network NB is by block chain node server BC1, BC2 and BC3 Composition, the account book of storage are denoted as LB;Business sub-network NC is made of block chain node server A1, BC3 and A3, the account book of storage It is denoted as LC;Association sub-network NR is made of block chain node server A1, A2 and BC3, and the account book of storage is denoted as LR.Wherein, A1 It is both the node of business sub-network NA and the node for being associated with sub-network NR with A2;BC3 is both the section of business sub-network NB and NC Point, and be the node for being associated with sub-network NR.
Implement the associated data management system of account book provided by the embodiment of the present invention, realizes the pass between more account books Connection, and can be realized on the basis of data classification management data between account book can not distort and trackability.
Based on above-mentioned data management system, the embodiment of the invention also provides a kind of data managing method of account book management, As shown in Fig. 2, this method comprises:
S201, the block chain node server in business sub-network receive business record.
Specifically, in the present embodiment, the block chain node server A3 in business sub-network NA receives business record.
S202, business sub-network are stored the business record into the block of corresponding business account book by common recognition process.
Three blocks chain node server A1, A2 and A3 will be connect by common recognition process in business sub-network NA in the present embodiment The business record of receipts is stored into the block structure of account book LA, wherein common recognition process uses PBFT common recognition algorithm.
S203, the block storage that the block chain node being associated in sub-network listens to business sub-network are completed, and business is generated Block index record.
The corresponding account book of association sub-network stores business block index record.The business block index record contains The storage index information of each business sub-network account book data block passes through each business record in the account book data block of business sub-network HASH value makes interrelated between the account book data of each business sub-network.Block chain node server A1 is listened in the present embodiment After generating new block data to business sub-network NA and being successfully added to account book LA, organization business block index is recorded, wherein industry The HASH value of all business records in the new block data is contained in business block index record.
S204, association sub-network store business block index record into corresponding association account book by common recognition process.
Three blocks chain node server A1, A2 and BC3 in sub-network NR are associated in the present embodiment will by common recognition process Received business block index record storage is calculated into the block structure of account book LR wherein common recognition process uses PBFT common recognition Method.
Again referring to FIG. 3, being another embodiment of the associated data managing method of account book of the present invention.The present embodiment is from pass What the angle of connection sub-network was described.As shown in figure 3, the data managing method may comprise steps of:
S301 listens to the block storage state of business sub-network.
S302, if the block storage state of the business sub-network is business sub-network by business record by knowing together Journey is stored into business account book, then generates business block index record.
Wherein, a plurality of business record is stored in each business account book;
S303 stores the business block index record into association account book by common recognition process.
Implement the associated data managing method of account book provided by the embodiment of the present invention, in mutually independent business account book base Association account book is established on plinth, index record is established according to the block information in each business account book and is added in association account book, is Across offer foundation of trust and verifying means between account book.The program realizes associated data management side between a kind of efficient more account books Method, can be realized on the basis of data classification management data between account book can not distort and trackability.
Those skilled in the art understand that the foregoing is only a preferred embodiment of the present invention, is not used to The limitation present invention, although describing the invention in detail with reference to the foregoing embodiments, for those skilled in the art, Its technical solution that can still record to foregoing embodiments is modified, or is equal to part of technical characteristic Replacement.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in this hair Within bright protection scope.

Claims (10)

1. a kind of associated data managing method of account book characterized by comprising
Listen to the block storage state of business sub-network;
If the block storage state of the business sub-network is that the business sub-network is deposited business record by common recognition process Storage then generates business block index record, wherein be stored with a plurality of industry in each business account book into business account book Business record;
The business block index record is stored by common recognition process into association account book.
2. the associated data managing method of account book as described in claim 1, which is characterized in that the business block index record HASH value including all business records in each business account book closes multiple business account books mutually by the HASH value Connection.
3. the associated data managing method of account book as described in claim 1, which is characterized in that the common recognition process uses PBFT Common recognition algorithm.
4. a kind of associated data managing method of account book characterized by comprising
The block chain node server of business sub-network receives business record;
The business sub-network is stored the business record into corresponding business account book by common recognition process;
When the block chain node of association sub-network listens to the business sub-network and stores the business record to account book, institute It states association sub-network and generates business block index record;
The association sub-network stores the business block index record into association account book by common recognition process.
5. the associated data managing method of account book as claimed in claim 4, which is characterized in that the business sub-network is by more The block chain network of a block chain node server composition, the association sub-network are to be made of multiple block chain node servers Block chain network.
6. the associated data managing method of account book as claimed in claim 4, which is characterized in that the business block index record HASH value including all business records in each business account book closes multiple business account books mutually by the HASH value Connection.
7. the associated data managing method of account book as claimed in claim 6, which is characterized in that the common recognition process uses PBFT Common recognition algorithm.
8. a kind of associated data management system of account book, including business sub-network be associated with sub-network, which is characterized in that the industry Business sub-network is used for:
Business record is received, and is stored the business record into corresponding business account book by common recognition process;
The association sub-network is used for:
When listening to the business sub-network and storing the business record to account book, business block index record is generated;
The business block index record is stored by common recognition process into association account book.
9. the associated data management system of account book as claimed in claim 8, which is characterized in that the business sub-network is by more The block chain network of a block chain node server composition, the association sub-network are to be made of multiple block chain node servers Block chain network.
10. the associated data management system of account book as claimed in claim 8, which is characterized in that the business block index note Record includes the HASH value of all business records in each business account book, makes multiple business account books mutual by the HASH value Association.
CN201910813799.9A 2019-08-30 2019-08-30 The associated data managing method of account book and its system Pending CN110532270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910813799.9A CN110532270A (en) 2019-08-30 2019-08-30 The associated data managing method of account book and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910813799.9A CN110532270A (en) 2019-08-30 2019-08-30 The associated data managing method of account book and its system

Publications (1)

Publication Number Publication Date
CN110532270A true CN110532270A (en) 2019-12-03

Family

ID=68665436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910813799.9A Pending CN110532270A (en) 2019-08-30 2019-08-30 The associated data managing method of account book and its system

Country Status (1)

Country Link
CN (1) CN110532270A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364030A (en) * 2021-01-12 2021-02-12 支付宝(杭州)信息技术有限公司 Business derivative record storage method based on credible account book database

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180019867A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition
CN110009338A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 Bookkeeping methods and device, electronic equipment based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180019867A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN110009338A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 Bookkeeping methods and device, electronic equipment based on block chain
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364030A (en) * 2021-01-12 2021-02-12 支付宝(杭州)信息技术有限公司 Business derivative record storage method based on credible account book database
CN112364030B (en) * 2021-01-12 2021-04-06 支付宝(杭州)信息技术有限公司 Business derivative record storage method based on credible account book database

Similar Documents

Publication Publication Date Title
CN107147735B (en) Distributed account book system based on hierarchical structure
CN107193490B (en) Distributed data storage system and method based on block chain
CN108805570A (en) Data processing method, device and storage medium
CN104537076B (en) A kind of file read/write method and device
US20110295855A1 (en) Graph-Processing Techniques for a MapReduce Engine
CN103631933B (en) Distributed duplication elimination system-oriented data routing method
CN102833298A (en) Distributed repeated data deleting system and processing method thereof
CN101163117B (en) Packet management method, packet resource sharing method and instant communication equipment
CN106960020B (en) A kind of method and apparatus creating concordance list
CN109740034A (en) The case-involving information query method of enterprise and device based on graphic data base
WO2021057482A1 (en) Method and device for generating bloom filter in blockchain
CN110187831B (en) Block data storage system and method of block chain alliance chain
CN103336782B (en) A kind of relationship type distributed data base system
CN103229480B (en) Data processing method and equipment, client in distributed memory system
CN105869057A (en) Comment storage device, comment reading method and apparatus, and comment writing method and apparatus
CN110597922A (en) Data processing method, device, terminal and storage medium
CN107734017A (en) Data service method and system
CN101344882B (en) Data query method, insertion method and deletion method
CN104301490A (en) Method for associating communication object with record and smart mobile terminal
CN105337848B (en) The remark names preparation method and device of network good friend
CN108399175B (en) Data storage and query method and device
CN107967117A (en) A kind of data storage, reading, method for cleaning, device and cloud storage system
CN110532270A (en) The associated data managing method of account book and its system
CN103905512B (en) A kind of data processing method and equipment
CN111813866B (en) Improved block chain account book synchronization method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203

RJ01 Rejection of invention patent application after publication