CN108829697A - A kind of time series data tissue registration method and system based on block chain - Google Patents

A kind of time series data tissue registration method and system based on block chain Download PDF

Info

Publication number
CN108829697A
CN108829697A CN201810351188.2A CN201810351188A CN108829697A CN 108829697 A CN108829697 A CN 108829697A CN 201810351188 A CN201810351188 A CN 201810351188A CN 108829697 A CN108829697 A CN 108829697A
Authority
CN
China
Prior art keywords
block
file
hash
time series
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
CN201810351188.2A
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.)
China University of Geosciences
Original Assignee
China University of Geosciences
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 China University of Geosciences filed Critical China University of Geosciences
Priority to CN201810351188.2A priority Critical patent/CN108829697A/en
Publication of CN108829697A publication Critical patent/CN108829697A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of time series data tissue registration method and system based on block chain, propose the method for block chain build structure and data authenticity validating, guarantee on chain that information and database information tamper and there can not be the properties such as timestamp by constructing privately owned chain, some great events are preferably recorded with this, and after some time also authenticity of the provable historical events;The invention can use following scene:Electronics history records, achive keeping, certification keeping of academic student status diploma etc. etc..

Description

A kind of time series data tissue registration method and system based on block chain
Technical field
The invention belongs to block chain technical fields, are related to a kind of time series data tissue registration side based on block chain Method and system.
Background technique
With the development of informationization technology, either colleges and universities or government bodies and some important mechanisms at present It is all to be propagated by microblogging, official website, public platform etc. new media means when middle release information, traditional papery issues note Record becomes fewer and fewer, and how to preserve the E-News event of these magnanimity and prevent from having over time It is a thing urgently to be solved that people's malice, which distorts past history,.It is all by collecting newspaper and some special in conventional method Paper record is stored in the archive office of the mechanism, and this method is not only cumbersome but also can not the information of present new media is all complete Face preserves, and data may be tampered and be difficult to trace.To solve this problem, a kind of side based on block chain is proposed Method, timestamp based on block chain itself prove and block chain content can not tamper.
Summary of the invention
It is cumbersome for traditional record mode, occupied space is big, data information may be tampered over time, be lacked The shortcomings that corresponding information is anti-tamper and non-repudiation, the present invention provides a kind of time series data groups based on block chain Recording method and system are knitted, described method includes following steps:
S1, the electronic information for obtaining the publication of any one department;
S2, by the electronic information obtained in S1 using the time series data tissue registration method information based on block chain into Row tissue registration;Wherein the block chain is constructed by privately owned link, is met:
(1) the privately owned even block BC of each block is made of multiple block BLOCK, is generated between each block by hash value Association;
(2) it after the hash value of previous block calculates, is placed on next block;
(3) data structure of each block BLOCK includes:<PreviousBlockHash, Hash (FILE), A, S, EID, Timestamp>, wherein
PreviousBlockHash:The cryptographic Hash of upper one piece of block data;
Hash(FILE):The hash value of the electronic information FILE of publication department publication;
A:The corresponding search address of information FILE;
S:The signature of FILE;
EID:The number of publication department E;
Timestamp:The timestamp that block BLOCK is generated;
S3, call instruction call the data information of S2 tissue registration.
In a kind of time series data tissue registration method based on block chain of the invention, to any one distribution unit Door, step S2 include the following steps:
S21, the information FILE for issuing department E publication is stored in corresponding database;
S22, the corresponding search address A of hash value, that is, Hash (FILE) and information FILE of information FILE is signed Name obtains S=Sign (Hash (FILE), A, PrivateKeyofE), and wherein PrivateKeyofE is the private key of E;
S23, general<Hash (FILE), A, S, EID>It is added in the privately owned chain BC of block.
In a kind of time series data tissue registration method based on block chain of the invention, step S3 includes following step Suddenly:
S31, search address A is obtained after finding corresponding block by the timestamp of the privately owned chain BC of block;
S32, using publication department E public key PublicKeyofE come verify current signature whether with label described in S22 Name is consistent, if solution is signed successfully, performs the next step;If it fails, then cancelling;
S33, corresponding information FILE is found by search address A;
S34, the cryptographic Hash for calculating corresponding information FILE, and judge the cryptographic Hash whether with the Hash that is saved in block (FILE) identical, show that information FILE is correct if they are the same;Otherwise it reports an error.
In a kind of time series data tissue registration method based on block chain of the invention, generation block is created on block chain The content of BLOCK0 is open known immobilized substance, including:The identification information of trusted third party, mechanism name, corresponding mechanism system One Institution Code.
Preferably, the time series data tissue registration system based on block chain that the present invention also provides a kind of, in use The time series data tissue registration method based on block chain for stating any one carries out the certification keeping of deposit data.
The invention proposes a kind of block chain build structure and the methods of data authenticity validating, by establishing privately owned chain Guarantee on chain that information and database information tamper and there can not be the properties such as timestamp, helps user better with this Some great events are recorded, and the also authenticity of the provable historical events after some time.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is the data structure diagram of block chain of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing and example, to this Invention is further elaborated.
In the data structure of the block of following embodiments<PreviousBlockHash, Hash (FILE), A, S, EID, Timestamp>In, PreviousBlockHash represents the cryptographic Hash of one piece of block data;Hash (FILE) represents distribution unit The hash value of the electronic information FILE of door publication;The corresponding search address of A representative information FILE;S represents the signature of FILE;EIDGeneration The number of table publication department E;Timestamp represents the timestamp of block BLOCK generation;
With reference to Fig. 1, in the time series data tissue registration method of the invention based on block chain, include the following steps:
S1, the electronic information for obtaining the publication of any one department;
S2, by the electronic information obtained in S1 using the time series data tissue registration method information based on block chain into Row tissue registration;Wherein the block chain is constructed by privately owned link, is met:
(1) the privately owned chain block BC of each block is made of multiple block BLOCK, is generated between each block by hash value Association;
(2) it after the hash value of previous block calculates, is placed on next block;
(3) data structure of each block BLOCK includes:<PreviousBlockHash, Hash (FILE), A, S, EID, Timestamp>;
S3, call instruction carry out the data information of invocation step S2 tissue registration.
A kind of time series data tissue registration method based on block chain issues department, step S2 packet to any one Include following steps:
S21, the information FILE for issuing department E publication is stored in corresponding database;
S22, the corresponding search address A of hash value, that is, Hash (FILE) and information FILE of information FILE is signed Name obtains S=Sign (Hash (FILE), A, PrivateKeyofE), and wherein PrivateKeyofE is the private key of E;
S23, general<Hash (FILE), A, S, EID>It is added in the privately owned chain BC of block.
A kind of time series data tissue registration method based on block chain, step S3 include the following steps:
S31, search address A is obtained after finding corresponding block by the timestamp of the privately owned chain BC of block;
S32, using publication department E public key PublicKeyofE come verify current signature whether with label described in S22 Name is consistent, then performs the next step;If it fails, then cancelling;
S33, corresponding information FILE is found by search address A;
S34, the cryptographic Hash for calculating corresponding information FILE, and judge the cryptographic Hash whether with the Hash that is saved in block (FILE) identical, show that information FILE is correct if they are the same;Otherwise it reports an error.
A kind of time series data tissue registration method based on block chain creates the content of generation block BLOCK0 on privately owned chain For immobilized substance known to open, including:The identification information of trusted third party, mechanism name, the Institution Code of corresponding general mechanism.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make several Improvement and deformation, all of these belong to the protection of the present invention.

Claims (5)

1. a kind of time series data tissue registration method based on block chain, which is characterized in that include the following steps:
S1, the electronic information for obtaining the publication of any one department;
S2, the electronic information obtained in S1 is subjected to group using the time series data tissue registration method information based on block chain Knit record;Wherein the block chain is constructed by privately owned link, is met:
(1) the privately owned chain block BC of each block is made of multiple block BLOCK, generates pass by hash value between each block Connection;
(2) it after the hash value of previous block calculates, is placed on next block;
(3) data structure of each block BLOCK includes:<PreviousBlockHash, Hash (FILE), A, S, EID, Timestamp>, wherein
PreviousBlockHash:The cryptographic Hash of upper one piece of block data;
Hash(FILE):The hash value of the electronic information FILE of publication department publication;
A:The corresponding search address of information FILE;
S:The signature of FILE;
EID:The number of publication department E;
Timestamp:The timestamp that block BLOCK is generated;
S3, call instruction carry out the data information of invocation step S2 tissue registration.
2. a kind of time series data tissue registration method based on block chain according to claim 1, which is characterized in that right Any one publication department, step S2 include the following steps:
S21, the information FILE for issuing department E publication is stored in corresponding database;
S22, the corresponding search address A of hash value, that is, Hash (FILE) and information FILE of information FILE is signed, is obtained It obtains S=Sign (Hash (FILE), A, PrivateKeyofE), wherein PrivateKeyofE is the private key of E;
S23, general<Hash (FILE), A, S, EID>It is added in the privately owned chain BC of block.
3. a kind of time series data tissue registration method based on block chain according to claim 1, which is characterized in that step Rapid S3 includes the following steps:
S31, search address A is obtained after finding corresponding block by the timestamp of the privately owned chain BC of block;
S32, using publication department E public key PublicKeyofE come verify current signature whether with signature one described in S22 It causes, if unanimously, performed the next step;If it fails, then cancelling;
S33, corresponding information FILE is found by search address A;
S34, the cryptographic Hash for calculating corresponding information FILE, and judge the cryptographic Hash whether with the Hash that is saved in block (FILE) identical, show that information FILE is correct if they are the same;Otherwise it reports an error.
4. a kind of time series data tissue registration method based on block chain according to claim 1, which is characterized in that private Having the content that generation block BLOCK0 is created on chain is immobilized substance, including:The identification information of trusted third party, mechanism name, corresponding machine The unified Institution Code of structure.
5. a kind of time series data tissue registration system based on block chain, which is characterized in that appointed using such as claim 1-4 Time series data tissue registration method described in meaning one based on block chain carries out the certification keeping of deposit data.
CN201810351188.2A 2018-04-18 2018-04-18 A kind of time series data tissue registration method and system based on block chain Pending CN108829697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810351188.2A CN108829697A (en) 2018-04-18 2018-04-18 A kind of time series data tissue registration method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810351188.2A CN108829697A (en) 2018-04-18 2018-04-18 A kind of time series data tissue registration method and system based on block chain

Publications (1)

Publication Number Publication Date
CN108829697A true CN108829697A (en) 2018-11-16

Family

ID=64154476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810351188.2A Pending CN108829697A (en) 2018-04-18 2018-04-18 A kind of time series data tissue registration method and system based on block chain

Country Status (1)

Country Link
CN (1) CN108829697A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508334A (en) * 2018-11-23 2019-03-22 中科驭数(北京)科技有限公司 For the data compression method of block chain database, access method and system
CN112100278A (en) * 2020-09-17 2020-12-18 重庆大学 Intelligent system data supervision method based on private chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790954A (en) * 2016-03-02 2016-07-20 布比(北京)网络技术有限公司 Method and system for constructing electronic evidence
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain
WO2017130038A1 (en) * 2016-01-26 2017-08-03 Stampery Inc. Systems and methods for using a block chain to certify the existence, integrity, and/or ownership of a file or communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017130038A1 (en) * 2016-01-26 2017-08-03 Stampery Inc. Systems and methods for using a block chain to certify the existence, integrity, and/or ownership of a file or communication
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN105790954A (en) * 2016-03-02 2016-07-20 布比(北京)网络技术有限公司 Method and system for constructing electronic evidence
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508334A (en) * 2018-11-23 2019-03-22 中科驭数(北京)科技有限公司 For the data compression method of block chain database, access method and system
CN109508334B (en) * 2018-11-23 2019-10-11 中科驭数(北京)科技有限公司 For the data compression method of block chain database, access method and system
CN112100278A (en) * 2020-09-17 2020-12-18 重庆大学 Intelligent system data supervision method based on private chain
CN112100278B (en) * 2020-09-17 2023-10-20 重庆大学 Intelligent system data supervision method based on private chain

Similar Documents

Publication Publication Date Title
CN109286497B (en) Anonymous voting and multi-condition vote counting method based on block chain
JP5989183B2 (en) Data signature generation method, data signature verification method, and management computer
CN109660350A (en) Data based on block chain deposit card method and device, electronic equipment
US8271791B2 (en) Long-term secure digital signatures
JP4206674B2 (en) A system that generates log entries that can be checked for validity, and a system that checks the validity of log entries
CN108768657A (en) A kind of digital certificate based on block platform chain issues system and method
CN107947922A (en) A kind of digital archives management method and system based on block chain technology
RU2351978C2 (en) Method for provision of data records set integrity
CN110084069A (en) Server log monitoring method and system based on block chain
CN107483498A (en) Academic authentication method and system based on block chain
CN108009445B (en) Semi-centralized trusted data management system
US11329829B2 (en) Security for sequentially growing data structures
CN111445238A (en) Electronic deposit certificate system based on block chain
Khan et al. Smart fir: securing e-fir data through blockchain within smart cities
CN109714175A (en) Deposit card method, evidence collecting method and deposit system
NL1032340C2 (en) System and method for digitally signing data files.
CN108829697A (en) A kind of time series data tissue registration method and system based on block chain
CN109918451A (en) Data base management method and system based on block chain
CN103647650B (en) Rule definition based automatic signature/signature verification device and method
CN109934588A (en) A kind of business handling method and device
CN109409828A (en) A kind of measure of managing contract based on block chain technology
Pommerening et al. Pseudonyms for cancer registries
Geetha et al. A secure digital e-voting using blockchain technology
CN110111105A (en) Contract based on block chain deposits card method, equipment and storage medium
KR20200085204A (en) Verifiable Electronic Voting System

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: 20181116

RJ01 Rejection of invention patent application after publication