CN109753823A - A kind of block chain data monitoring and managing method, system and computer storage medium - Google Patents

A kind of block chain data monitoring and managing method, system and computer storage medium Download PDF

Info

Publication number
CN109753823A
CN109753823A CN201811511903.0A CN201811511903A CN109753823A CN 109753823 A CN109753823 A CN 109753823A CN 201811511903 A CN201811511903 A CN 201811511903A CN 109753823 A CN109753823 A CN 109753823A
Authority
CN
China
Prior art keywords
block
data
chain
cryptographic hash
block data
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.)
Granted
Application number
CN201811511903.0A
Other languages
Chinese (zh)
Other versions
CN109753823B (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.)
Yechain (shanghai) Technology Co Ltd
Original Assignee
Yechain (shanghai) 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 Yechain (shanghai) Technology Co Ltd filed Critical Yechain (shanghai) Technology Co Ltd
Priority to CN201811511903.0A priority Critical patent/CN109753823B/en
Publication of CN109753823A publication Critical patent/CN109753823A/en
Application granted granted Critical
Publication of CN109753823B publication Critical patent/CN109753823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of block chain data monitoring and managing method, system and computer storage medium, specific methods to include, and constructs Chain of Custody;The Chain of Custody includes main chain and IPFS;Hash calculation is carried out to the block data in the business chain of supervision, the first cryptographic Hash is generated, the first cryptographic Hash of generation is saved to the text space of main chain;When carrying out anti-tamper confirmation, Hash calculation is carried out to the block data, the second cryptographic Hash is generated, the second cryptographic Hash of generation is compared with first cryptographic Hash, if cryptographic Hash is different, shows that the block data is tampered.Compared with prior art, in the present invention program, business chain and Chain of Custody do not need to use technology of the same race, are not needed between business chain using technology of the same race, applied widely, technology uses Du Genggao yet.

Description

A kind of block chain data monitoring and managing method, system and computer storage medium
Technical field
The present invention relates to block chain field, in particular to a kind of block chain data monitoring and managing method, system and computer storage Medium.
Background technique
Block chain just has block-chain structure to save data, although nominally block chain has and open and clear can not distort Characteristic.But theoretically there are still on the means modification block chain such as bifurcated data it is possible.So user itself oneself It safeguards that the data public credibility on chain is still to be under suspicion, third-party block chain is needed to count the block of the chain of user According to true power, to ensure that the chain of user is not tampered with.
Summary of the invention
The present invention provides a kind of block chain data monitoring and managing method, system and computer storage mediums, are applicable in technology Spend higher feature.
A kind of block chain data monitoring and managing method provided according to the present invention, specific method include,
Construct Chain of Custody;The Chain of Custody includes main chain and IPFS;
Hash calculation is carried out to the block data in the business chain of supervision, generates the first cryptographic Hash, the first of generation is breathed out Uncommon value is saved to the text space of main chain;
When carrying out anti-tamper confirmation, Hash calculation is carried out to the block data, generates the second cryptographic Hash, by the of generation Two cryptographic Hash are compared with first cryptographic Hash, if cryptographic Hash is different, show that the block data is tampered.
The method also includes saving the number of data in the block data block to the text space of main chain;Into When the anti-tamper confirmation of row, compares the number of data in the block data block and save to the number of data of the text space It is whether consistent, if it is inconsistent, showing that the block data is tampered.
The method also includes saving the block data into the IPFS of Chain of Custody.
The method also includes obtaining the file index of the block data saved into IPFS, and save to the text of main chain This space.
The method also includes saving the block summary info of the block data to the text space of main chain.
A kind of block chain data supervisory systems provided according to the present invention, including,
Chain of Custody, including main chain and IPFS;
First cryptographic Hash obtains module, carries out Hash calculation to the block data in the business chain of supervision, generates first and breathes out Uncommon value, the first cryptographic Hash of generation is saved to the text space of main chain;
First distorts judgment module, carries out Hash calculation to the block data, generates the second cryptographic Hash, by the of generation Two cryptographic Hash are compared with first cryptographic Hash, if cryptographic Hash is different, show that the block data is tampered.
Further include,
Number of data obtains module, obtains the number of data in the block data block and saves to the text sky of main chain Between;
Second distorts judgment module, compares the number of data in the block data block and saves to the text space Number of data it is whether consistent, if it is inconsistent, showing that the block data is tampered.
Further include that block data obtains module, the block data is saved into the IPFS of Chain of Custody.
Further include that file index obtains module, obtains the file index of the block data saved into IPFS, and save extremely The text space of main chain.
Further include that block summary info obtains module, obtains the block summary info of the block data, and save to master The text space of chain.
A kind of computer storage medium provided according to the present invention, being stored with can be loaded by processor and execute above-mentioned A kind of computer program of method.
Compared with prior art, in the present invention program, business chain and Chain of Custody are not needed using technology of the same race, business chain it Between do not need using technology of the same race yet, applied widely, technology uses Du Genggao.
Detailed description of the invention
Fig. 1 is Chain of Custody configuration diagram of the present invention.
Fig. 2 is the method flow diagram schematic diagram of the wherein storing data of an embodiment of the invention.
Fig. 3 is the configuration diagram of the wherein Chain of Custody of an embodiment and business chain of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
Any feature disclosed in this specification (including abstract and attached drawing) unless specifically stated can be equivalent by other Or the alternative features with similar purpose are replaced.That is, unless specifically stated, each feature is a series of equivalent or class Like an example in feature.
A kind of block chain data monitoring and managing method provided according to the present invention, specific method include,
Construct Chain of Custody;As shown in Figure 1, the Chain of Custody includes main chain and IPFS;
Hash calculation is carried out to the block data in the business chain of supervision, generates the first cryptographic Hash, the first of generation is breathed out Uncommon value is saved to the text space of main chain;
When carrying out anti-tamper confirmation, Hash calculation is carried out to the block data, generates the second cryptographic Hash, by the of generation Two cryptographic Hash are compared with first cryptographic Hash, if cryptographic Hash is different, show that the block data is tampered.
The block of main chain is made of transaction record, and transaction record includes Transaction Information and text information, and text space is to hand over The easily memory space of record the inside storage text information.Hash calculation is carried out to the block data of institutionalized existing business chain, The first cryptographic Hash is generated, the first cryptographic Hash of generation is saved to the text space of main chain, when needing to carry out anti-tamper confirmation, The cryptographic Hash for calculating the block data again obtains the second cryptographic Hash, if the first cryptographic Hash is identical with the second cryptographic Hash, Illustrate that the block data should be not tampered with, if the first cryptographic Hash and the second cryptographic Hash difference, illustrate the block Data are tampered.The realization of the present invention program, business chain and Chain of Custody do not need to use technology of the same race, are not required between business chain yet Technology of the same race is used, applied widely, technology relevance grade is higher.
As a kind of embodiment of the invention, the method also includes by the data strip in the block data block Number is saved to the text space of main chain;When carrying out anti-tamper confirmation, the number of data in the block data block and guarantor are compared Whether the number of data deposited to the text space is consistent, if it is inconsistent, showing that the block data is tampered.As this The embodiment of invention, if cryptographic Hash and number of data have one it is inconsistent, show that the block data is tampered, as Specific embodiment can first compare cryptographic Hash and compare number of data again, can also first compare number of data and compare cryptographic Hash again, Or compare simultaneously respectively.
As one embodiment of the invention, the method also includes saving the block data to Chain of Custody In IPFS.As embodiment of the present invention, the block data is saved, on the one hand within a block due to block data When storage, original data may be lost, the block data stored here can be as the backup for the data lost;Another party Face, if the block data is tampered, the block data in addition stored can be as the evidence distorted.As the present invention Embodiment, the block data is saved into the IPFS of Chain of Custody, to make the block data being stored in IPFS can not It distorts, guarantees safety transparent.
As a kind of embodiment of the invention, the method also includes obtaining the block data saved into IPFS File index, and save to the text space of main chain (transaction memo).It is different from the storage mode of the file index of the prior art, The present patent application, which stores the file index, ensure that the file index of storage can not be distorted and pacify to the text space of main chain All-transparent.
As one embodiment of the present invention, the method also includes by the block summary info of the block data It saves to the text space of main chain.The present patent application stores the block summary info to the text space of main chain, ensure that The block summary info of storage can not distort and safety transparent.
As one embodiment of the present invention, as shown in Fig. 2, being taken out first for the block data in business chain block Number of transaction (i.e. number of data) and the block data summary info in block are taken, then the first Hash of calculation block data again Value;Third saves block data into the IPFS of Chain of Custody, and obtains the file index of preservation;4th, by the transaction of acquisition Quantity, summary info, the first cryptographic Hash and file index are saved into the transaction memo (i.e. text space) of main chain.The present embodiment It is intended only as a kind of specific embodiment, is not used to limit other schemes that sequence changes or interactive mode changes.
As one embodiment of the present invention, the method also includes as shown in figure 3, institutionalized each business chain Subchain in parallel as Chain of Custody.
Traditional solution relies on single business chain that business is unfolded, and the handling capacity of system is handling up for single business Amount.In the present invention program, in parallel subchain of the institutionalized each business chain as Chain of Custody, using the solution of multichain, Organically parallel connection is carried out to each business chain by Chain of Custody, in this way, Chain of Custody only needs to do interaction, the day of performance with business chain The business stroke count that card (highest TPS) can not instead of at most not accepted, the quantity for the business chain accepted.Entire framework is handled up Amount, is the summation of the handling capacity for all business chains being docked on Chain of Custody.And the business that Chain of Custody can theoretically carry The quantity of chain is the handling capacity of Chain of Custody itself.Can make in this way the handling capacity (processing capacities of i.e. all chains) of entire frame at It extends again.
A kind of block chain data supervisory systems, including,
Chain of Custody, including main chain and IPFS;
First cryptographic Hash obtains module, carries out Hash calculation to the block data in the business chain of supervision, generates first and breathes out Uncommon value, the first cryptographic Hash of generation is saved to the text space of main chain;
First distorts judgment module, carries out Hash calculation to the block data, generates the second cryptographic Hash, by the of generation Two cryptographic Hash are compared with first cryptographic Hash, if cryptographic Hash is different, show that the block data is tampered.
Using the present invention program, this scheme, and energy can be used without making excessive modification in existing block catenary system It is enough to obtain balance between enterprise customer's data confidentiality and government regulation.
As one embodiment of the present invention, further include,
Number of data obtains module, obtains the number of data in the block data block and saves to the text sky of main chain Between;
Second distorts judgment module, compares the number of data in the block data block and saves to the text space Number of data it is whether consistent, if it is inconsistent, showing that the block data is tampered.
Further include that block data obtains module as one embodiment of the present invention, by the block data save to In the IPFS of Chain of Custody.
As one embodiment of the present invention, further includes that file index obtains module, obtain the area saved into IPFS The file index of block number evidence, and save to the text space of main chain.
As one embodiment of the present invention, further includes that block summary info obtains module, obtain the block data Block summary info, and save to main chain text space.
A kind of computer storage medium, which is characterized in that being stored with can be loaded by processor and execute any of the above-described kind The computer program of method.
The technical program is that completion is transformed by access layer, it is contemplated that passing through bottom between the chain of same technology Transformation complete.

Claims (10)

1. a kind of block chain data monitoring and managing method, specific method include,
Construct Chain of Custody;The Chain of Custody includes main chain and IPFS;
Hash calculation is carried out to the block data in the business chain of supervision, the first cryptographic Hash is generated, by the first cryptographic Hash of generation It saves to the text space of main chain;
When carrying out anti-tamper confirmation, Hash calculation is carried out to the block data, generates the second cryptographic Hash, the second of generation is breathed out Uncommon value is compared with first cryptographic Hash, if cryptographic Hash is different, shows that the block data is tampered.
2. block chain data monitoring and managing method according to claim 1, the method also includes by the block data block In number of data save to the text space of main chain;When carrying out anti-tamper confirmation, the number in the block data block is compared It is whether consistent with the number of data of preservation to the text space according to item number, if it is inconsistent, showing the block data quilt It distorts.
3. block chain data monitoring and managing method according to claim 1, the method also includes saving the block data Into the IPFS of Chain of Custody.
4. block chain data monitoring and managing method according to claim 3, the method also includes obtaining and save into IPFS The file index of block data, and save to the text space of main chain.
5. the method also includes by the block according to claim 1 to block chain data monitoring and managing method described in one of 4 The block summary info of data is saved to the text space of main chain.
6. a kind of block chain data supervisory systems, which is characterized in that including,
Chain of Custody, including main chain and IPFS;
First cryptographic Hash obtains module, carries out Hash calculation to the block data in the business chain of supervision, generates the first cryptographic Hash, First cryptographic Hash of generation is saved to the text space of main chain;
First distorts judgment module, carries out Hash calculation to the block data, generates the second cryptographic Hash, the second of generation is breathed out Uncommon value is compared with first cryptographic Hash, if cryptographic Hash is different, shows that the block data is tampered.
7. block chain data supervisory systems according to claim 6, which is characterized in that further include,
Number of data obtains module, obtains the number of data in the block data block and saves to the text space of main chain;
Second distorts judgment module, compares the number of data in the block data block and saves to the number of the text space It is whether consistent according to item number, if it is inconsistent, showing that the block data is tampered.
8. block chain data supervisory systems according to claim 6, which is characterized in that further include that block data obtains mould Block saves the block data into the IPFS of Chain of Custody.
9. block chain data supervisory systems according to claim 8, which is characterized in that further include that file index obtains mould Block obtains the file index of the block data saved into IPFS, and saves to the text space of main chain.
10. a kind of computer storage medium, which is characterized in that simultaneously perform claim can be loaded by processor by, which being stored with, requires 1 to 5 In any method computer program.
CN201811511903.0A 2018-12-11 2018-12-11 Block chain data supervision method, system and computer storage medium Active CN109753823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811511903.0A CN109753823B (en) 2018-12-11 2018-12-11 Block chain data supervision method, system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811511903.0A CN109753823B (en) 2018-12-11 2018-12-11 Block chain data supervision method, system and computer storage medium

Publications (2)

Publication Number Publication Date
CN109753823A true CN109753823A (en) 2019-05-14
CN109753823B CN109753823B (en) 2021-11-02

Family

ID=66402603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811511903.0A Active CN109753823B (en) 2018-12-11 2018-12-11 Block chain data supervision method, system and computer storage medium

Country Status (1)

Country Link
CN (1) CN109753823B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365766A (en) * 2019-07-12 2019-10-22 全链通有限公司 Cloud storage method, equipment and computer readable storage medium based on block chain
CN112269838A (en) * 2020-11-18 2021-01-26 网易(杭州)网络有限公司 Block chain-based supervision method and device, electronic equipment and storage medium
CN113065170A (en) * 2021-04-21 2021-07-02 山大地纬软件股份有限公司 Method, system and device for block chain supervision data based on dynamic identification

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology
CN107040384A (en) * 2017-05-08 2017-08-11 飞天诚信科技股份有限公司 A kind of authorizing information method and device based on block chain
CN107257341A (en) * 2017-06-21 2017-10-17 济南浪潮高新科技投资发展有限公司 A kind of student status based on block chain reviews authentication method
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107391298A (en) * 2017-07-06 2017-11-24 上海策链信息科技有限公司 State data memory detection method, device and computer-readable recording medium
CN107545181A (en) * 2017-08-16 2018-01-05 上海策赢网络科技有限公司 Program operating method, terminal and computer-readable recording medium
CN107657438A (en) * 2017-09-18 2018-02-02 联动优势科技有限公司 A kind of block chain generation method, data verification method, node and system
CN107729383A (en) * 2017-09-18 2018-02-23 联动优势科技有限公司 A kind of library generation method, data verification method, device and platform
CN107844976A (en) * 2017-10-25 2018-03-27 武汉天喻信息产业股份有限公司 A kind of card of depositing based on block chain applies transaction system and method
CN108052649A (en) * 2017-12-26 2018-05-18 广州泼墨神网络科技有限公司 The data managing method and its system of a kind of distributed file system
CN108389129A (en) * 2018-02-27 2018-08-10 阿里巴巴集团控股有限公司 Transaction based on block chain executes method and device, electronic equipment
CN108462692A (en) * 2018-01-30 2018-08-28 合肥工业大学 A kind of data tamper resistant systems and its method based on block chain
CN108520464A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of real-time automation supervision reporting system based on traditional block chain
CN108573016A (en) * 2017-12-25 2018-09-25 北京金山云网络技术有限公司 A kind of data consistent check method, apparatus, equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107040384A (en) * 2017-05-08 2017-08-11 飞天诚信科技股份有限公司 A kind of authorizing information method and device based on block chain
CN107257341A (en) * 2017-06-21 2017-10-17 济南浪潮高新科技投资发展有限公司 A kind of student status based on block chain reviews authentication method
CN107391298A (en) * 2017-07-06 2017-11-24 上海策链信息科技有限公司 State data memory detection method, device and computer-readable recording medium
CN107545181A (en) * 2017-08-16 2018-01-05 上海策赢网络科技有限公司 Program operating method, terminal and computer-readable recording medium
CN107657438A (en) * 2017-09-18 2018-02-02 联动优势科技有限公司 A kind of block chain generation method, data verification method, node and system
CN107729383A (en) * 2017-09-18 2018-02-23 联动优势科技有限公司 A kind of library generation method, data verification method, device and platform
CN107844976A (en) * 2017-10-25 2018-03-27 武汉天喻信息产业股份有限公司 A kind of card of depositing based on block chain applies transaction system and method
CN108573016A (en) * 2017-12-25 2018-09-25 北京金山云网络技术有限公司 A kind of data consistent check method, apparatus, equipment and storage medium
CN108052649A (en) * 2017-12-26 2018-05-18 广州泼墨神网络科技有限公司 The data managing method and its system of a kind of distributed file system
CN108462692A (en) * 2018-01-30 2018-08-28 合肥工业大学 A kind of data tamper resistant systems and its method based on block chain
CN108389129A (en) * 2018-02-27 2018-08-10 阿里巴巴集团控股有限公司 Transaction based on block chain executes method and device, electronic equipment
CN108520464A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of real-time automation supervision reporting system based on traditional block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘敖迪: "区块链技术及其在信息安全领域的研究进展", 《软件学报》 *
杜宁: "《监管科技 人工智能与区块链应用之大道》", 31 July 2018 *
邓柯: "区块链技术的实质_落地条件和应用前景", 《深圳大学学报(人文社会科学版)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365766A (en) * 2019-07-12 2019-10-22 全链通有限公司 Cloud storage method, equipment and computer readable storage medium based on block chain
CN112269838A (en) * 2020-11-18 2021-01-26 网易(杭州)网络有限公司 Block chain-based supervision method and device, electronic equipment and storage medium
CN112269838B (en) * 2020-11-18 2023-07-25 网易(杭州)网络有限公司 Blockchain-based supervision method and device, electronic equipment and storage medium
CN113065170A (en) * 2021-04-21 2021-07-02 山大地纬软件股份有限公司 Method, system and device for block chain supervision data based on dynamic identification

Also Published As

Publication number Publication date
CN109753823B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN109766723A (en) A kind of block chain data framework, regulatory framework, monitoring and managing method and computer readable storage medium
US9489233B1 (en) Parallel modeling and execution framework for distributed computation and file system access
US10572296B2 (en) System and method for a data processing architecture
US9747128B1 (en) Worldwide distributed file system model
CN109753823A (en) A kind of block chain data monitoring and managing method, system and computer storage medium
US20140136573A1 (en) System and Method for Creating and Using Computer Databases Having Schema Integrated Into Data Structure
Lekili et al. Fukaya categories of the torus and Dehn surgery
CN110020544A (en) The Hash information processing method and system of record are stored in the block of block chain
US11789935B2 (en) Data aggregation with microservices
Wu et al. High-efficiency blockchain-based supply chain traceability
US20230019494A1 (en) Data verification method and apparatus, computer device, and computer readable storage medium
Ranjan The 10 Vs of Big Data framework in the Context of 5 Industry Verticals.
CN108985133A (en) A kind of the age prediction technique and device of facial image
US11886549B2 (en) Non-fungible physical fabric token system
Khosla et al. Blockchain based supply chain management: an overview
Mul et al. Baggage tracking using rfid and blockchain technology
US11995503B2 (en) System and method for carrier identification
CN104573098B (en) Extensive object identifying method based on Spark systems
CN106294526A (en) A kind of mass small documents moving method in hierarchical stor
Xu et al. Research status and prospect of blockchain technology in agriculture field
CN114565443A (en) Data processing method, data processing device, computer equipment and storage medium
CN114493850A (en) Artificial intelligence-based online notarization method, system and storage medium
US10074141B2 (en) Method and system for linking forensic data with purchase behavior
KR20220150060A (en) platform that provides company matching services based on user information and provides security services for them
US11243929B2 (en) System and method for dynamic bulk data ingestion prioritization

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