CN109766724A - Data evidence storing method based on block chain - Google Patents

Data evidence storing method based on block chain Download PDF

Info

Publication number
CN109766724A
CN109766724A CN201811558891.7A CN201811558891A CN109766724A CN 109766724 A CN109766724 A CN 109766724A CN 201811558891 A CN201811558891 A CN 201811558891A CN 109766724 A CN109766724 A CN 109766724A
Authority
CN
China
Prior art keywords
data
block chain
card
electronic data
message
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
CN201811558891.7A
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.)
Sichuan Business Easy Co ltd
Original Assignee
Sichuan Business Easy 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 Sichuan Business Easy Co ltd filed Critical Sichuan Business Easy Co ltd
Priority to CN201811558891.7A priority Critical patent/CN109766724A/en
Publication of CN109766724A publication Critical patent/CN109766724A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a data evidence storing method based on a block chain, which comprises the following steps: a. receiving an uploading storage request of electronic data storage certificate, generating a global unique identifier, and performing hash operation to obtain a hash value C; b. sending the global unique identifier and the hash value to a message queue center as messages, and feeding back the global unique identifier of the electronic data certificate to an uploading storage requester of the electronic data certificate; c. deploying a plurality of modules connected with the message queue center and used for acquiring messages, wherein the modules used for acquiring messages acquire message data from the message queue center in parallel and call an interface of a block chain network to store the data to a block chain; d. and C, inquiring whether the stored global unique identifier and the hash value C of the electronic data certificate exist in the block chain, if so, finishing storage, if not, putting the global unique identifier and the hash value C of the electronic data certificate into a message queue center again, and repeating the step C.

Description

A kind of data based on block chain deposit card method
Technical field
The present invention relates to data to deposit card, tracing technology field, and especially a kind of data based on block chain deposit card method.
Background technique
Traditional data deposit card and data tracing technology is to be stored based on database to file, traditional data storage Mode can only save newest state data memory, not have not modifiable characteristic, not have that data deposit card and data are traced to the source Characteristic, the purpose that data deposit card and data are traced to the source can not be really achieved.
Summary of the invention
To solve problems of the prior art, the present invention provides a kind of data based on block chain to deposit card method.
The technical solution adopted by the present invention is that:
A kind of data based on block chain deposit card method, include the following steps:
A, the upload storage request that electronic data deposits card is received, a globally unique identifier is generated, obtains electronic data It deposits unique number, the host MAC address for issuing request and the time for demonstrate,proving locating hard disk, meanwhile, card and hard is deposited to the electronic data The unique number of disk, the host MAC address for issuing request and time carry out Hash operation, obtain cryptographic Hash C;
B, it is used as message to be sent to message queue center together the obtained globally unique identifier of step a and cryptographic Hash, Also, the globally unique identifier that the electronic data deposits card is fed back into the upload storage requesting party that the electronic data deposits card;
C, dispose it is multiple connect with message queue center be used to obtain the modules of message, for obtain the module of message from Message data is obtained in message queue center parallel, and the interface of block chain network is called to store data to block chain;
D, the electronic data that storage is inquired in block chain, which deposits the globally unique identifier of card and cryptographic Hash C, whether there is, As existed, then completes to store, if it does not exist, electronic data is deposited into the globally unique identifier of card and cryptographic Hash C is reentered into and disappears Queue center is ceased, step c is repeated.
Preferably, each step data circulation that electronic data is deposited to the upload storage requesting party of card is all stored in block link network Network carries out depositing card.
Preferably, in step a, cryptographic Hash C is obtained, is specifically included:
Unique number, the host MAC address for issuing request and time that the electronic data of upload deposits card and hard disk are carried out Hash operation is primary, obtains cryptographic Hash A, and cryptographic Hash A and a string of random data are then merged into value B, then again for value B It carries out Hash operation and obtains cryptographic Hash C.
Preferably, a string of random data are generated by Java Virtual Machine is included.
Preferably, the Hash operation uses MD5 algorithm.
The beneficial effects of the present invention are:
1, based on block chain, each step data circulation of system is all stored in block chain network and carries out depositing card;System The data that user submits are stored in block chain network by system, are equally stored data in block chain after first step operation and are deposited Card, until the end of whole flow process, all data can all deposit card on block chain, including the historical data changed repeatedly, Thus very good solution data deposit card and data are traced to the source problem, in this way play good effect to the management of data.
2, the present invention by electronic data deposit card and hard disk unique number, issue request host MAC address and the time into Row Hash operation, obtains cryptographic Hash, and much information and electronic data are deposited card correlating validation, substantially increase the anti-fake energy of data Power.
3, the present invention carries out multiple Hash to data, and random number is added, and further increases and pushes away original according to hash value come counter The safety of beginning data.
4, the present invention using it is asynchronous storage arrive block chain, the parallel processing capability of system is greatly improved, in general if Using the method for synchronization, block chain technical performances many at present is not that very well, encountering high concurrent request cannot deal with.
5, message queue, it is ensured that data one establish a capital storage into block, and block chain, may in high concurrent at present Be not it is particularly stable, have the case where probability of very little will appear request processing failure, lead to data storage failure, and the present invention is very Solves this problem well.
6, the present invention uses multiple hash algorithm, not only guarantees that former data do not leak, it is ensured that same data storing frequencies It does not leak, reply high concurrent request is reached by the decoupling of message queue;And pass through the data of concurrent processing message queue, guarantee Data quick storage is into block chain;It, also can be again because message queue data are not lost and even if exception occurs in block chain network It is secondary to store to block chain network.It can not be forged using block chain, the characteristic that can not be distorted solves the problems, such as electronic data security, Guarantee the validity of electronic data.All nodes save complete data copy in block chain, also effectively avoid center Change risk.
Specific embodiment
The following describes the present invention in detail with reference to examples.
Embodiment
A kind of data based on block chain deposit card method, include the following steps:
A, the upload storage request that electronic data deposits card is received, a globally unique identifier is generated, obtains electronic data It deposits unique number, the host MAC address for issuing request and the time for demonstrate,proving locating hard disk, meanwhile, card and hard is deposited to the electronic data The unique number of disk, the host MAC address for issuing request and time carry out Hash operation, obtain cryptographic Hash C;
B, it is used as message to be sent to message queue center together the obtained globally unique identifier of step a and cryptographic Hash, Also, the globally unique identifier that the electronic data deposits card is fed back into the upload storage requesting party that the electronic data deposits card;
C, dispose it is multiple connect with message queue center be used to obtain the modules of message, for obtain the module of message from Message data is obtained in message queue center parallel, and the interface of block chain network is called to store data to block chain;
D, the electronic data that storage is inquired in block chain, which deposits the globally unique identifier of card and cryptographic Hash C, whether there is, As existed, then completes to store, if it does not exist, electronic data is deposited into the globally unique identifier of card and cryptographic Hash C is reentered into and disappears Queue center is ceased, step c is repeated.
Each step data circulation that electronic data is deposited to the upload storage requesting party of card in one of the embodiments, is all deposited Block chain network is stored in carry out depositing card.
In one of the embodiments, in step a, cryptographic Hash C is obtained, is specifically included:
Unique number, the host MAC address for issuing request and time that the electronic data of upload deposits card and hard disk are carried out Hash operation is primary, obtains cryptographic Hash A, and cryptographic Hash A and a string of random data are then merged into value B, then again for value B It carries out Hash operation and obtains cryptographic Hash C.
A string of random data are generated by Java Virtual Machine is included in one of the embodiments,.
The Hash operation uses MD5 algorithm in one of the embodiments,.
A specific embodiment of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.

Claims (5)

1. a kind of data based on block chain deposit card method, which comprises the steps of:
A, the upload storage request that electronic data deposits card is received, a globally unique identifier is generated, obtains electronic data and deposit card The unique number of locating hard disk, the host MAC address for issuing request and time, meanwhile, card and hard disk are deposited to the electronic data Unique number, the host MAC address for issuing request and time carry out Hash operation, obtain cryptographic Hash C;
B, it is used as message to be sent to message queue center together the obtained globally unique identifier of step a and cryptographic Hash, also, The globally unique identifier that the electronic data deposits card is fed back into the upload storage requesting party that the electronic data deposits card;
C, dispose it is multiple connect with message queue center be used to obtain the modules of message, for obtaining the module of message from message Message data is obtained in queue center parallel, and the interface of block chain network is called to store data to block chain;
D, the electronic data that storage is inquired in block chain, which deposits the globally unique identifier of card and cryptographic Hash C, whether there is, and such as deposit It then completes to store, if it does not exist, electronic data is being deposited into the globally unique identifier of card and cryptographic Hash C is reentered into message team Column center repeats step c.
2. the data according to claim 1 based on block chain deposit card method, which is characterized in that electronic data is deposited card The each step data circulation for uploading storage requesting party is all stored in block chain network and carries out depositing card.
3. the data according to claim 1 based on block chain deposit card method, which is characterized in that in step a, breathed out Uncommon value C, specifically includes:
Unique number, the host MAC address for issuing request and time that the electronic data of upload deposits card and hard disk are subjected to Hash Operation is primary, obtains cryptographic Hash A, and cryptographic Hash A and a string of random data are then merged into value B, then carries out again for value B Hash operation obtains cryptographic Hash C.
4. the data according to claim 3 based on block chain deposit card method, which is characterized in that a string of random numbers It is generated according to by Java Virtual Machine is included.
5. the data according to claim 3 based on block chain deposit card method, which is characterized in that the Hash operation is adopted With MD5 algorithm.
CN201811558891.7A 2018-12-19 2018-12-19 Data evidence storing method based on block chain Pending CN109766724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811558891.7A CN109766724A (en) 2018-12-19 2018-12-19 Data evidence storing method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811558891.7A CN109766724A (en) 2018-12-19 2018-12-19 Data evidence storing method based on block chain

Publications (1)

Publication Number Publication Date
CN109766724A true CN109766724A (en) 2019-05-17

Family

ID=66451427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811558891.7A Pending CN109766724A (en) 2018-12-19 2018-12-19 Data evidence storing method based on block chain

Country Status (1)

Country Link
CN (1) CN109766724A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711655A (en) * 2020-05-14 2020-09-25 特斯联科技集团有限公司 Block chain-based electronic data evidence storing method, system, storage medium and terminal
CN112036834A (en) * 2020-09-02 2020-12-04 深圳市网安计算机安全检测技术有限公司 Electronic evidence transfer method and device, computer equipment and storage medium
CN112733167A (en) * 2021-01-13 2021-04-30 京东数科海益信息科技有限公司 Electronic evidence data processing method and device, electronic equipment and storage medium
CN112988901A (en) * 2021-04-06 2021-06-18 湖北央中巨石信息技术有限公司 Evidence-storing data chaining method based on block chain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711655A (en) * 2020-05-14 2020-09-25 特斯联科技集团有限公司 Block chain-based electronic data evidence storing method, system, storage medium and terminal
CN112036834A (en) * 2020-09-02 2020-12-04 深圳市网安计算机安全检测技术有限公司 Electronic evidence transfer method and device, computer equipment and storage medium
CN112036834B (en) * 2020-09-02 2023-09-05 深圳市网安计算机安全检测技术有限公司 Method and device for regulating and verifying electronic evidence, computer equipment and storage medium
CN112733167A (en) * 2021-01-13 2021-04-30 京东数科海益信息科技有限公司 Electronic evidence data processing method and device, electronic equipment and storage medium
CN112988901A (en) * 2021-04-06 2021-06-18 湖北央中巨石信息技术有限公司 Evidence-storing data chaining method based on block chain

Similar Documents

Publication Publication Date Title
CN109766724A (en) Data evidence storing method based on block chain
CN109829326B (en) Cross-domain authentication and fair audit de-duplication cloud storage system based on block chain
CN107888562B (en) Data verification and transceiving method, node and system for parallel link access to interconnection chain
CN110059494B (en) Privacy protection method for block chain transaction data and block chain system
CN107396360B (en) Block verification method and device
CN110832825A (en) Network for increasing verification speed by preventing data from being tampered
CN111625593B (en) Block chain-based data processing method and device and computer equipment
CN110689349B (en) Transaction hash value storage and searching method and device in blockchain
TW202004604A (en) Blockchain-based transaction processing method and apparatus, and electronic device
US20230316273A1 (en) Data processing method and apparatus, computer device, and storage medium
US20170300877A1 (en) System and method for providing shared hash engines architecture for a bitcoin block chain
CN110009349B (en) Method and device for generating and verifying linkable ring signature in block chain
JP2020507222A (en) System and method for information protection
TW202016787A (en) Block chain-based transaction processing method and device based on block chain and electronic equipment
TW202016817A (en) Block chain based transaction processing method and device and electronic equipment
CN111611315A (en) Financial big data-oriented multi-branch tree structure block chain integrated optimization storage method
US20210021412A1 (en) Method and apparatus for electing representative node device, computer device, and storage medium
CN108898032A (en) A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card
US11386426B2 (en) Invoice invalidation method and apparatus based on blockchain, and electronic device
CN110324331B (en) Block chain-based identity authentication method for safety and stability control terminal of power system
CN111934890B (en) Key generation method, signature and signature verification method, device, equipment and medium
CN111640018B (en) Block chain transaction existence verification method and device
He et al. A novel cryptocurrency wallet management scheme based on decentralized multi-constrained derangement
Khalifa et al. Quantum attacks and defenses for proof-of-stake
CN114726517A (en) Method, system and consensus node for generating random number seeds 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: 20200422

Address after: No. 1506, floor 15, unit 1, building 2, No. 1537, middle section of Jiannan Avenue, hi tech Zone, Chengdu City, Sichuan Province

Applicant after: Chengdu Shangtong Digital Technology Co.,Ltd.

Address before: 610000, No. 11, No. 36, building 69, Seattle business building, No. 37 Xi'an South Road, Jinniu District, Sichuan, Chengdu

Applicant before: SICHUAN BUSINESS EASY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220426

Address after: No. 36 and 37, 11th floor, Seattle business building, No. 69, Xi'an south road, Jinniu District, Chengdu, Sichuan 610000

Applicant after: SICHUAN BUSINESS EASY CO.,LTD.

Address before: No. 1506, 15th floor, unit 1, building 2, No. 1537, middle section of Jiannan Avenue, high tech Zone, Chengdu, Sichuan 610000

Applicant before: Chengdu Shangtong Digital Technology Co.,Ltd.

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

Application publication date: 20190517