CN109949035A - Block chain data-privacy control method, apparatus and system - Google Patents
Block chain data-privacy control method, apparatus and system Download PDFInfo
- Publication number
- CN109949035A CN109949035A CN201910197898.9A CN201910197898A CN109949035A CN 109949035 A CN109949035 A CN 109949035A CN 201910197898 A CN201910197898 A CN 201910197898A CN 109949035 A CN109949035 A CN 109949035A
- Authority
- CN
- China
- Prior art keywords
- data
- individual event
- block chain
- event clear
- cryptographic hash
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of block chain data-privacy control method, apparatus and system.The block chain data-privacy control method includes: to send data to check request to data encryption end;Receive the block chain location index for being signed data and hash algorithm of individual event clear data from data encryption end, individual event clear data;Data acquisition request is sent to block chain network;Receive corresponding first cryptographic Hash of individual event clear data from block chain network;Judge whether individual event clear data is correct according to hash algorithm and corresponding first cryptographic Hash of individual event clear data;When individual event clear data is correct, individual event clear data is exported, can guarantee the privacy of data to avoid leak data.
Description
Technical field
The present invention relates to block chain privacy control technology fields, and in particular, to a kind of block chain data-privacy controlling party
Method, apparatus and system.
Background technique
Since data can not distort on block chain, and block chain data would generally have backup at multiple main bodys,
So data owner is if it is desired to guarantee privacy, then possible selection only stores encrypted data on block chain.So regardless of
Be Backup Data block chain participant or uncommitted inquiry, the data that they can check all be encrypted after.
But if data are encrypted, while data owner again because of business need needs the content of data to inform to data
Viewer (i.e. partner).If the password of encryption data is informed that viewer, viewer may leak password, so that appointing
What uncommitted side can inquire block chain data, and the block chain data inquired are then decrypted using password.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of block chain data-privacy control method, apparatus and system,
To avoid leak data, guarantee the privacy of data.
To achieve the goals above, the embodiment of the present invention provides a kind of block chain data-privacy control method, comprising:
Sending data checks request to data encryption end;Wherein, data check that request includes individual event clear data label;
Receive the block chain position for being signed data of individual event clear data from data encryption end, individual event clear data
Index and hash algorithm;
Data acquisition request is sent to block chain network;Wherein, data acquisition request includes being signed for individual event clear data
The block chain location index of name data;
Receive corresponding first cryptographic Hash of individual event clear data from block chain network;
Judge whether individual event clear data is correct according to hash algorithm and corresponding first cryptographic Hash of individual event clear data;
When individual event clear data is correct, individual event clear data is exported.
The embodiment of the present invention also provides a kind of block chain data-privacy control method, comprising:
It receives and checks that the data at end check request from data;
The individual event clear data label in request is checked according to data, and it is bright to extract the corresponding individual event of individual event clear data label
The block chain location index for being signed data of literary data and individual event clear data;
Send individual event clear data, the block chain location index for being signed data of individual event clear data and hash algorithm extremely
Data check end.
The embodiment of the present invention also provides a kind of block chain data-privacy control method, comprising:
Receive the data acquisition request that end is checked from data;
According to the block chain location index for being signed data of the individual event clear data in data acquisition request, individual event is extracted
Corresponding first cryptographic Hash of clear data label;
It sends corresponding first cryptographic Hash of individual event clear data label to data and checks end.
The embodiment of the present invention also provides a kind of block chain data-privacy control method, comprising:
Business datum is received, and business datum is split as multiple individual event clear datas;
Corresponding first cryptographic Hash of each individual event clear data is calculated according to preset hash algorithm and random number;
Hash algorithm and multiple individual event clear datas are sent to data encryption end;
Receive multiple individual event encryption datas from data encryption end;
Signature endorsement is carried out to multiple individual event encryption datas;
According to it is each by signature endorsement individual event encryption data and corresponding first cryptographic Hash of each individual event clear data,
Generate each individual event clear data is signed data;
Data will be signed and be sent to block chain network.
The embodiment of the present invention also provides a kind of block chain data-privacy control device, checks end applied to data, comprising:
First transmission unit checks request to data encryption end for sending data;Data acquisition request is sent to block
Chain network;Wherein, data check that request includes individual event clear data label, and data acquisition request includes the quilt of individual event clear data
The block chain location index of signed data;
First receiving unit, for receiving individual event clear data from data encryption end, individual event clear data is signed
The block chain location index and hash algorithm of name data;The individual event clear data corresponding first from block chain network is received to breathe out
Uncommon value;
Judging unit, for judging individual event plaintext number according to hash algorithm and corresponding first cryptographic Hash of individual event clear data
According to whether correct;
Output unit, for exporting individual event clear data when individual event clear data is correct.
The embodiment of the present invention also provides a kind of block chain data-privacy control device, is applied to data encryption end, comprising:
Second receiving unit checks that the data at end check request from data for receiving;
First extraction unit extracts individual event plaintext number for checking the individual event clear data label in request according to data
According to the block chain location index for being signed data of the corresponding individual event clear data of label and individual event clear data;
Second transmission unit, for sending the block chain position for being signed data of individual event clear data, individual event clear data
It sets index and hash algorithm to data and checks end.
The embodiment of the present invention also provides a kind of block chain data-privacy control device, is applied to block chain network, comprising:
Third receiving unit, for receiving the data acquisition request for checking end from data;
Second extraction unit, for the block chain for being signed data according to the individual event clear data in data acquisition request
Location index extracts corresponding first cryptographic Hash of individual event clear data label;
Third transmission unit checks end for sending corresponding first cryptographic Hash of individual event clear data label to data.
The embodiment of the present invention also provides a kind of block chain data-privacy control device, is applied to data endorsement end, comprising:
4th receiving unit, for receiving business datum;Receive multiple individual event encryption datas from data encryption end;
Split cells, for business datum to be split as multiple individual event clear datas;
First computing unit, it is corresponding for calculating each individual event clear data according to preset hash algorithm and random number
First cryptographic Hash;
4th transmission unit, for hash algorithm and multiple individual event clear datas to be sent to data encryption end;It will be signed
Name data are sent to block chain network;
Endorsement unit, for carrying out signature endorsement to multiple individual event encryption datas;
It is signed data generating unit, for bright according to each individual event encryption data by signature endorsement and each individual event
Corresponding first cryptographic Hash of literary data, generate each individual event clear data is signed data.
The embodiment of the present invention also provides a kind of block chain data-privacy control system, comprising:
The block chain data-privacy control device as described above that end is checked applied to data;
The block chain data-privacy control device as described above for being applied to data encryption end;
The block chain data-privacy control device as described above for being applied to block chain network;
Block chain data-privacy control device as described above applied to data endorsement end.
The block chain data-privacy control method of the embodiment of the present invention, apparatus and system can guarantee to avoid leak data
The privacy of data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is the flow chart of block chain data-privacy control method in the embodiment of the present invention (checking end angle from data);
Fig. 2 is the process of block chain data-privacy control method in first embodiment of the invention (from data encryption end angle)
Figure;
Fig. 3 is the process of block chain data-privacy control method in second embodiment of the invention (from data encryption end angle)
Figure;
Fig. 4 is the process of block chain data-privacy control method in first embodiment of the invention (from block chain network angle)
Figure;
Fig. 5 is the process of block chain data-privacy control method in second embodiment of the invention (from block chain network angle)
Figure;
Fig. 6 is the flow chart of block chain data-privacy control method in the embodiment of the present invention (from data endorsement end angle);
Fig. 7 is the flow chart of S602 in the embodiment of the present invention;
Fig. 8 is the structural frames for being applied to data in the embodiment of the present invention and checking the block chain data-privacy control device at end
Figure;
Fig. 9 is the structural frames for being applied to the block chain data-privacy control device at data encryption end in the embodiment of the present invention
Figure;
Figure 10 is the structural frames in the embodiment of the present invention applied to the block chain data-privacy control device of block chain network
Figure;
Figure 11 is the structural frames for being applied to the block chain data-privacy control device at data endorsement end in the embodiment of the present invention
Figure;
Figure 12 is the structural block diagram of block chain data-privacy control system in the embodiment of the present invention.
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 only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, equipment,
Method or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete soft
The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
Big in view of the risk of prior art leak data, the embodiment of the present invention provides a kind of block chain data-privacy controlling party
Method, apparatus and system can guarantee the privacy of data to avoid leak data.The present invention is carried out below in conjunction with attached drawing detailed
Explanation.
Fig. 1 is the flow chart of block chain data-privacy control method in the embodiment of the present invention (checking end angle from data).
As shown in Figure 1, block chain data-privacy control method includes:
S101: data are sent and check request to data encryption end;Wherein, data check that request includes individual event clear data mark
Label.
S102: the block for being signed data of individual event clear data from data encryption end, individual event clear data is received
Chain location index and hash algorithm.
S103: data acquisition request is sent to block chain network;Wherein, data acquisition request includes individual event clear data
It is signed the block chain location index of data.
S104: corresponding first cryptographic Hash of individual event clear data from block chain network is received.
S105: judge individual event clear data whether just according to hash algorithm and corresponding first cryptographic Hash of individual event clear data
Really.
S106: when individual event clear data is correct, individual event clear data is exported.
The executing subject of block chain data-privacy control method shown in FIG. 1 can be the block that end is checked applied to data
Chain data-privacy control device.Process as shown in Figure 1 it is found that the embodiment of the present invention block chain data-privacy control method
(checking end angle from data) first sends data and checks that request to data encryption end, receives the individual event from data encryption end in plain text
The block chain location index for being signed data and hash algorithm of data, individual event clear data, retransmit data acquisition request extremely
Block chain network receives corresponding first cryptographic Hash of individual event clear data from block chain network, finally according to hash algorithm
The first cryptographic Hash corresponding with individual event clear data judges whether individual event clear data is correct, when individual event clear data is correct,
Individual event clear data is exported, can guarantee the privacy of data to avoid leak data.
In one embodiment, corresponding first cryptographic Hash of individual event clear data include first above cryptographic Hash and first breathe out hereinafter
Uncommon value;
S105 includes: to calculate individual event in plain text according to individual event clear data corresponding first cryptographic Hash and hash algorithm above
The cryptographic Hash hereinafter of data corresponding second;When second cryptographic Hash is equal to the first cryptographic Hash hereinafter hereinafter, show individual event plaintext number
According to correct, S106 is executed at this time, exports individual event clear data.
The detailed process of block chain data-privacy control method (checking end angle from data) is as follows:
1, sending data checks request to data encryption end;Data check that request includes individual event clear data label.
2, the block chain position for being signed data of individual event clear data from data encryption end, individual event clear data is received
Set index and hash algorithm.
3, data acquisition request is sent to block chain network.Data acquisition request includes that individual event clear data is signed number
According to block chain location index.
4, corresponding first cryptographic Hash of individual event clear data from block chain network is received.First cryptographic Hash includes first
Cryptographic Hash and the first cryptographic Hash hereinafter above.
5, according to individual event clear data corresponding first, cryptographic Hash and hash algorithm, calculating individual event clear data are corresponding above
The second cryptographic Hash hereinafter;When second cryptographic Hash is equal to the first cryptographic Hash hereinafter hereinafter, show that individual event clear data is correct, it is defeated
Individual event clear data out.
To sum up, the block chain data-privacy control method (checking end angle from data) of the embodiment of the present invention first sends data
Request is checked to data encryption end, receives the individual event clear data from data encryption end, individual event clear data is signed number
According to block chain location index and hash algorithm, retransmit data acquisition request to block chain network, receive and come from block link network
Corresponding first cryptographic Hash of the individual event clear data of network, finally according to hash algorithm and corresponding first Hash of individual event clear data
Value judges whether individual event clear data is correct, when individual event clear data is correct, exports individual event clear data, can be to avoid leakage
Data guarantee the privacy of data.
Fig. 2 is the process of block chain data-privacy control method in first embodiment of the invention (from data encryption end angle)
Figure.As shown in Fig. 2, block chain data-privacy control method includes:
S201: it receives and checks that the data at end check request from data.
S202: the individual event clear data label in request is checked according to data, it is corresponding to extract individual event clear data label
The block chain location index for being signed data of individual event clear data and individual event clear data.
Wherein, data encryption end only needs to be checked the individual event clear data label in request corresponding individual event according to data
The block chain location index for being signed data of clear data and individual event clear data is sent to data and checks end, without hair
Send whole individual event clear datas and its block chain location index.
S203: the block chain location index for being signed data and Hash of individual event clear data, individual event clear data are sent
Algorithm to data check end.
Wherein it is possible to send individual event based on secure transport layers cryptographic protocol (Transport Layer Security, TLS)
Clear data, the block chain location index for being signed data of individual event clear data and hash algorithm to data check end.
The executing subject of block chain data-privacy control method shown in Fig. 2 can be the block applied to data encryption end
Chain data-privacy control device.Process as shown in Figure 2 it is found that the embodiment of the present invention block chain data-privacy control method
(from data encryption end angle), which is first received, checks that the data at end check request from data, checks the list in request further according to data
Item clear data label, the corresponding individual event clear data of extraction individual event clear data label and individual event clear data are signed number
According to block chain location index, finally send individual event clear data, individual event clear data the block chain position for being signed data
Index and hash algorithm to data check end, can guarantee the privacy of data to avoid leak data.
Fig. 3 is the process of block chain data-privacy control method in second embodiment of the invention (from data encryption end angle)
Figure.As shown in figure 3, before executing S201, block chain data-privacy control method further include:
S301: multiple individual event clear datas and hash algorithm from data endorsement end are received and stored.
Wherein, each individual event clear data can be is arranged by queue single line, is also possible to the structuring for having subordinate relation
Storage.
S302: encrypting each individual event clear data, obtains multiple individual event encryption datas.
When it is implemented, each individual event clear data can be encrypted by preset key and Encryption Algorithm, and
Each individual event clear data come out that is divided can be encrypted using different key and Encryption Algorithm respectively, encrypt shape
Formula includes but is not limited to symmetric encipherment algorithm.
S303: multiple individual event encryption datas are sent to data endorsement end.
S304: the block chain position for being signed data of each individual event clear data from block chain network is received and stored
Set index.
When it is implemented, data encryption end includes private data warehouse, for the multiple individual event clear datas of storage backup, often
The data such as the block chain location index, hash algorithm, key and the Encryption Algorithm that are signed data of a individual event clear data.It is privately owned
Data warehouse can be any form, as long as controllable storage mode, any type of data backup is all allowed.
The detailed process of block chain data-privacy control method (from data encryption end angle) is as follows:
1, multiple individual event clear datas and hash algorithm from data endorsement end, each individual event plaintext number are received and stored
It is arranged according to can be by queue single line, is also possible to the structured storage for having subordinate relation.
2, each individual event clear data is encrypted by preset key and Encryption Algorithm, obtains multiple individual event encryptions
Data.
3, multiple individual event encryption datas are sent to data endorsement end, receive and store each individual event from block chain network
The block chain location index for being signed data of clear data receives and checks that the data at end check request from data.
4, the individual event clear data label in request is checked according to data, extract the corresponding individual event of individual event clear data label
The block chain location index for being signed data of clear data and individual event clear data.
5, the area for being signed data of individual event clear data, individual event clear data is sent based on secure transport layers cryptographic protocol
Block chain location index and hash algorithm to data check end.
To sum up, the block chain data-privacy control method (from data encryption end angle) of the embodiment of the present invention is first received and is come from
Data check that the data at end check request, check the individual event clear data label in request further according to data, extract individual event in plain text
The block chain location index for being signed data of the corresponding individual event clear data of data label and individual event clear data, finally sends
Individual event clear data, the block chain location index for being signed data of individual event clear data and hash algorithm to data check end,
It can guarantee the privacy of data to avoid leak data.
Fig. 4 is the process of block chain data-privacy control method in first embodiment of the invention (from block chain network angle)
Figure.As shown in figure 4, block chain data-privacy control method includes:
S401: the data acquisition request that end is checked from data is received.
S402: it according to the block chain location index for being signed data of the individual event clear data in data acquisition request, mentions
Take corresponding first cryptographic Hash of individual event clear data label.
S403: corresponding first cryptographic Hash of individual event clear data label to data are sent and check end.
The executing subject of block chain data-privacy control method shown in Fig. 4 can be the block applied to block chain network
Chain data-privacy control device.Process as shown in Figure 4 it is found that the embodiment of the present invention block chain data-privacy control method
(from block chain network angle) first receives the data acquisition request that end is checked from data, further according to the list in data acquisition request
The block chain location index for being signed data of item clear data extracts corresponding first cryptographic Hash of individual event clear data label,
It finally sends corresponding first cryptographic Hash of individual event clear data label to data and checks end, can guarantee number to avoid leak data
According to privacy.
Fig. 5 is the process of block chain data-privacy control method in second embodiment of the invention (from block chain network angle)
Figure.As shown in figure 5, before executing S401, block chain data-privacy control method further include:
S501: receive and store each individual event clear data from data endorsement end is signed data.
S502: the block chain location index for being signed data of each individual event clear data is generated.
S503: the block chain location index for being signed data of each individual event clear data is sent to data encryption end.
The detailed process of block chain data-privacy control method (from block chain network angle) is as follows:
1, receive and store each individual event clear data from data endorsement end is signed data, generates each individual event
The block chain location index for being signed data of clear data.
2, the block chain location index for being signed data of each individual event clear data is sent to data encryption end, is received and
The data acquisition request at end is checked from data.
3, it according to the block chain location index for being signed data of the individual event clear data in data acquisition request, extracts single
Corresponding first cryptographic Hash of item clear data label sends corresponding first cryptographic Hash of individual event clear data label to data and checks
End.
To sum up, the block chain data-privacy control method (from block chain network angle) of the embodiment of the present invention is first received and is come from
Data check the data acquisition request at end, further according to the block for being signed data of the individual event clear data in data acquisition request
Chain location index, extracts corresponding first cryptographic Hash of individual event clear data label, and it is corresponding finally to send individual event clear data label
The first cryptographic Hash to data check end, can guarantee the privacy of data to avoid leak data.
Fig. 6 is the flow chart of block chain data-privacy control method in the embodiment of the present invention (from data endorsement end angle).
As shown in fig. 6, block chain data-privacy control method includes:
S601: business datum is received, and business datum is split as multiple individual event clear datas.
Wherein, business datum comes from external system.
S602: corresponding first cryptographic Hash of each individual event clear data is calculated according to preset hash algorithm and random number.
Wherein, hash algorithm includes all available hashing algorithms.
S603: hash algorithm and multiple individual event clear datas are sent to data encryption end.
S604: multiple individual event encryption datas from data encryption end are received.
S605: signature endorsement is carried out to multiple individual event encryption datas.
S606: it is breathed out according to each individual event encryption data by signature endorsement and each individual event clear data corresponding first
Uncommon value, generate each individual event clear data is signed data.
Wherein, each individual event clear data is signed data by the first cryptographic Hash above of the individual event encryption data, warp
Cross signature endorsement individual event encryption data and the individual event encryption data first hereinafter cryptographic Hash form.
S607: data will be signed and be sent to block chain network.
The executing subject of block chain data-privacy control method shown in fig. 6 can be the block applied to data endorsement end
Chain data-privacy control device.Process as shown in Figure 6 it is found that the embodiment of the present invention block chain data-privacy control method
(from data endorsement end angle) first receives business datum, and business datum is split as multiple individual event clear datas, then basis
Preset hash algorithm and random number calculate corresponding first cryptographic Hash of each individual event clear data, then by hash algorithm and multiple
Individual event clear data is sent to data encryption end, multiple individual event encryption datas from data encryption end is then received, to multiple
Individual event encryption data carries out signature endorsement, finally in plain text according to each individual event encryption data by signature endorsement and each individual event
Corresponding first cryptographic Hash of data, generate each individual event clear data is signed data, will be signed data and is sent to block
Chain network can guarantee the privacy of data to avoid leak data.
In embodiment, when first time, upload was signed data, need whole individual event clear datas being signed data
It is uploaded to block chain network.When upload is signed data again, it is only necessary to upload modified individual event clear data
It is signed data.For example, data are endorsed, business datum is split as 10 individual event clear datas by end.When the 8th individual event plaintext number
According to it is modified when, need to recalculate the first of the 8th individual event clear data the cryptographic Hash (i.e. the 9th individual event plaintext number hereinafter
According to the first cryptographic Hash above), the 9th individual event clear data first hereinafter cryptographic Hash (i.e. the 10th individual event clear data
First cryptographic Hash above) and the 10th individual event clear data the first cryptographic Hash hereinafter, that is, need to modify the 8th individual event plaintext number
According to all cryptographic Hash for being related to below.The 8th individual event clear data is signed data, the 9th individual event plaintext number at this time
According to be signed being signed data and changing for data and the 10th individual event clear data, it is therefore desirable to upload the 8th
Individual event clear data be signed data, the 9th individual event clear data is signed data and the 10th individual event clear data
Data are signed to block chain network.
Fig. 7 is the flow chart of S602 in the embodiment of the present invention.As shown in fig. 7, S602 includes:
S701: using random number as the first cryptographic Hash above of one of individual event clear data.
S702: according to the first of preset hash algorithm and individual event clear data the cryptographic Hash above, individual event plaintext number is calculated
According to the first cryptographic Hash hereinafter.
S703: using the first of previous individual event clear data hereinafter cryptographic Hash as the latter individual event clear data first
Cryptographic Hash above.
In one embodiment, before execution S605, further includes: calculate each individual event plaintext number according to hash algorithm and random number
According to corresponding third cryptographic Hash;When the corresponding third cryptographic Hash of each individual event clear data is corresponding with each individual event clear data
The first cryptographic Hash it is identical when, execute S605.
When it is implemented, needing to calculate the corresponding third of each individual event clear data above according to hash algorithm and random number
The third of cryptographic Hash sum cryptographic Hash hereinafter.When the corresponding third of each individual event clear data above cryptographic Hash with each individual event it is bright
Cryptographic Hash is identical above for literary data corresponding first, and cryptographic Hash is and each hereinafter for the corresponding third of each individual event clear data
Individual event clear data corresponding first shows that the cryptographic Hash of each individual event clear data is correct, at this time when cryptographic Hash is identical hereinafter
Can just signature endorsement be carried out to multiple individual event encryption datas, it can be with the authenticity of verify data.
The detailed process of block chain data-privacy control method (from data endorsement end angle) is as follows:
1, it receives and comes from external system business datum, and business datum is split as multiple individual event clear datas.
For example, as follows from external system business datum:
" DATA-Begin:Data-part-1;Data-part-2;Data-part-3;Data-part-4;Data-
part-5;Data-part-6;Data-part-7;Data-part-8;Data-part-9;Data-part-10;DATA-
End”。
Business datum is split as following multiple individual event clear datas by data endorsement end:
Part1: " DATA-Begin:Data-part-1;"
part2:"Data-part-2;"
part3:"Data-part-3;"
part4:"Data-part-4;"
part5:"Data-part-5;"
part6:"Data-part-6;"
part7:"Data-part-7;"
part8:"Data-part-8;"
part9:"Data-part-9;"
part10:"Data-part-10;DATA-End".
2, using random number as the first cryptographic Hash above of one of individual event clear data.
For example, using nonceHashValue as random number.
3, according to the first of preset hash algorithm and individual event clear data the cryptographic Hash above, individual event clear data is calculated
First cryptographic Hash hereinafter, using the first of previous individual event clear data hereinafter cryptographic Hash as the latter individual event clear data
One cryptographic Hash above.
If first hereinafter cryptographic Hash be currentHashValue, above cryptographic Hash be preHashValue, then
CurrentHashValue n=f (preHashValue n), f () are preset hash algorithm;currentHashValue n
=preHashValue n+1.For example, as n=2, currentHashValue 2=f (preHashValue 2).
CurrentHashValue 2=preHashValue 3.
It is possible thereby to which the cryptographic Hash nonceHashValue above of first individual event clear data corresponding first is calculated
With the first cryptographic Hash currentHashValue 1 hereinafter;Second individual event clear data corresponding first cryptographic Hash above
The cryptographic Hash currentHashValue 2 hereinafter of preHashValue 2 and first;Third individual event clear data corresponding first
The cryptographic Hash currentHashValue 3 hereinafter of cryptographic Hash preHashValue 3 and first above;4th individual event clear data
The corresponding first cryptographic Hash currentHashValue 4 hereinafter of cryptographic Hash preHashValue 4 and first above;5th list
The clear data corresponding first cryptographic Hash currentHashValue hereinafter of cryptographic Hash preHashValue 5 and first above
5;6th individual event clear data corresponding first cryptographic Hash hereinafter of cryptographic Hash preHashValue 6 and first above
currentHashValue 6;7th individual event clear data corresponding first cryptographic Hash preHashValue 7 and first above
Cryptographic Hash currentHashValue 7 hereinafter;8th individual event clear data corresponding first cryptographic Hash above
The cryptographic Hash currentHashValue 8 hereinafter of preHashValue 8 and first;9th individual event clear data corresponding first
The cryptographic Hash currentHashValue 9 hereinafter of cryptographic Hash preHashValue 9 and first above;Tenth individual event clear data
The corresponding first cryptographic Hash currentHashValue 10 hereinafter of cryptographic Hash preHashValue 10 and first above.
4, hash algorithm and multiple individual event clear datas are sent to data encryption end, received from the more of data encryption end
A individual event encryption data.
5, the corresponding third cryptographic Hash of each individual event clear data is calculated according to hash algorithm and random number;When each individual event
When the corresponding third cryptographic Hash of clear data the first cryptographic Hash corresponding with each individual event clear data is identical, to multiple individual events
Encryption data carries out signature endorsement.The form of the signature endorsement of data can be any endorsement form, for example endorsement person uses body
The correctness that part private key can sign to data signature, verifier according to endorsement person's public key verifications, to prove that data are strictly
What endorsement person approved.
Wherein, the individual event encryption data individual event encryption data by signature endorsement is as follows:
Crypto1 (" DATA-Begin:Data-part-1;");
crypto2("Data-part-2;");
crypto3("Data-part-3;");
crypto4("Data-part-4;");
crypto5("Data-part-5;");
crypto6("Data-part-6;");
crypto7("Data-part-7;");
crypto8("Data-part-8;");
crypto9("Data-part-9;");
crypto10("Data-part-10;DATA-End").
6, according to each individual event encryption data and corresponding first Hash of each individual event clear data by signature endorsement
Value, generate each individual event clear data is signed data.The data that are signed of each individual event clear data are encrypted by the individual event
The cryptographic Hash above of the first of data, the Hash hereinafter of first of individual event encryption data and the individual event encryption data by signature endorsement
Value composition, as follows:
Key1:nonceHashValue+crypto1 (" DATA-Begin:Data-part-1;")+
currentHashValue1,
key2:preHashValue2+crypto2("Data-part-2;")+currentHashValue2,
key3:preHashValue3+crypto3("Data-part-3;")+currentHashValue3,
key4:preHashValue4+crypto4("Data-part-4;")+currentHashValue4,
key5:preHashValue5+crypto5("Data-part-5;")+currentHashValue5,
key6:preHashValue6+crypto6("Data-part-6;")+currentHashValue6,
key7:preHashValue7+crypto7("Data-part-7;")+currentHashValue7,
key8:preHashValue8+crypto8("Data-part-8;")+currentHashValue8,
key9:preHashValue9+crypto9("Data-part-9;")+currentHashValue9,
key10:preHashValue10+crypto10("Data-part-10;DATA-End")+
currentHashValue10。
Wherein, Key is to be signed data.
The mode that data are split can be iterative nature.Each individual event clear data can be labyrinth storage,
It is necessarily linear array.For example, when the 6th individual event clear data is there are two subitem, the quilt of the 6th individual event clear data
Signed data can indicate are as follows:
key6_1:preHashValue6_1+crypto6_1("Data-part-6_1;")+currentHashValue6_
1,
key6_2:preHashValue6_2+crypto6_2("Data-part-6_2;")+currentHashValue6_
2,
key6:preHashValue6+crypto6("Data-part-6;")+currentHashValue6.
When encountering the subitem of labyrinth, principle is to split each subitem by business granularity, in iterative calculation Hash
Depth-first rule is taken when value.
7, data will be signed and is sent to block chain network.
To sum up, the block chain data-privacy control method (from data endorsement end angle) of the embodiment of the present invention first receives business
Data, and business datum is split as multiple individual event clear datas, it is then calculated according to preset hash algorithm and random number every
Corresponding first cryptographic Hash of a individual event clear data, then hash algorithm and multiple individual event clear datas are sent to data encryption
End, then receives multiple individual event encryption datas from data encryption end, carries out signature endorsement to multiple individual event encryption datas, most
Afterwards according to each individual event encryption data and corresponding first cryptographic Hash of each individual event clear data by signature endorsement, generate every
A individual event clear data is signed data, will be signed data and is sent to block chain network, can guarantee to avoid leak data
The privacy of data.
Based on the same inventive concept, the embodiment of the invention also provides a kind of block chain data that end is checked applied to data
Privacy apparatus method, the principle solved the problems, such as due to the device and block chain data-privacy control method (check end angle from data
Degree) it is similar, therefore the implementation of the device may refer to the implementation of method, overlaps will not be repeated.
Fig. 8 is the structural frames for being applied to data in the embodiment of the present invention and checking the block chain data-privacy control device at end
Figure.As shown in figure 8, the block chain data-privacy control device for checking end applied to data includes:
First transmission unit checks request to data encryption end for sending data;Data acquisition request is sent to block
Chain network;Wherein, data check that request includes individual event clear data label, and data acquisition request includes the quilt of individual event clear data
The block chain location index of signed data;
First receiving unit, for receiving individual event clear data from data encryption end, individual event clear data is signed
The block chain location index and hash algorithm of name data;The individual event clear data corresponding first from block chain network is received to breathe out
Uncommon value;
Judging unit, for judging individual event plaintext number according to hash algorithm and corresponding first cryptographic Hash of individual event clear data
According to whether correct;
Output unit, for exporting individual event clear data when individual event clear data is correct.
In a kind of wherein embodiment, corresponding first cryptographic Hash of individual event clear data includes the first cryptographic Hash and the above
One cryptographic Hash hereinafter;
Judging unit is specifically used for:
According to individual event clear data corresponding first, cryptographic Hash and hash algorithm, calculating individual event clear data are corresponding above
Second cryptographic Hash hereinafter;
When second cryptographic Hash is equal to the first cryptographic Hash hereinafter hereinafter, individual event clear data is correct.
To sum up, the data that are applied to of the embodiment of the present invention check that the block chain data-privacy control device at end first sends data
Request is checked to data encryption end, receives the individual event clear data from data encryption end, individual event clear data is signed number
According to block chain location index and hash algorithm, retransmit data acquisition request to block chain network, receive and come from block link network
Corresponding first cryptographic Hash of the individual event clear data of network, finally according to hash algorithm and corresponding first Hash of individual event clear data
Value judges whether individual event clear data is correct, when individual event clear data is correct, exports individual event clear data, can be to avoid leakage
Data guarantee the privacy of data.
Based on the same inventive concept, the embodiment of the invention also provides a kind of block chain data applied to data encryption end
Privacy apparatus method, the principle and block chain data-privacy control method solved the problems, such as due to the device is (from data encryption end angle
Degree) it is similar, therefore the implementation of the device may refer to the implementation of method, overlaps will not be repeated.
Fig. 9 is the structural frames for being applied to the block chain data-privacy control device at data encryption end in the embodiment of the present invention
Figure.As shown in figure 9, the block chain data-privacy control device for being applied to data encryption end includes:
Second receiving unit checks that the data at end check request from data for receiving;
First extraction unit extracts individual event plaintext number for checking the individual event clear data label in request according to data
According to the block chain location index for being signed data of the corresponding individual event clear data of label and individual event clear data;
Second transmission unit, for sending the block chain position for being signed data of individual event clear data, individual event clear data
It sets index and hash algorithm to data and checks end.
In a kind of wherein embodiment, the second receiving unit is also used to:
Receive multiple individual event clear datas and hash algorithm from data endorsement end;It receives from the every of block chain network
The block chain location index for being signed data of a individual event clear data;
Second transmission unit is also used to:
Multiple individual event encryption datas are sent to data endorsement end;
Block chain data-privacy control device further include:
Encryption unit obtains multiple individual event encryption datas for encrypting to each individual event clear data;
First storage unit, for storing multiple individual event clear datas and hash algorithm from data endorsement end;Storage
The block chain location index for being signed data of each individual event clear data from block chain network.
To sum up, the block chain data-privacy control device applied to data encryption end of the embodiment of the present invention, which first receives, comes from
Data check that the data at end check request, check the individual event clear data label in request further according to data, extract individual event in plain text
The block chain location index for being signed data of the corresponding individual event clear data of data label and individual event clear data, finally sends
Individual event clear data, the block chain location index for being signed data of individual event clear data and hash algorithm to data check end,
It can guarantee the privacy of data to avoid leak data.
Based on the same inventive concept, the embodiment of the invention also provides a kind of block chain data applied to block chain network
Privacy apparatus method, the principle and block chain data-privacy control method solved the problems, such as due to the device is (from block chain network angle
Degree) it is similar, therefore the implementation of the device may refer to the implementation of method, overlaps will not be repeated.
Figure 10 is the structural frames in the embodiment of the present invention applied to the block chain data-privacy control device of block chain network
Figure.As shown in Figure 10, include: applied to the block chain data-privacy control device of block chain network
Third receiving unit, for receiving the data acquisition request for checking end from data;
Second extraction unit, for the block chain for being signed data according to the individual event clear data in data acquisition request
Location index extracts corresponding first cryptographic Hash of individual event clear data label;
Third transmission unit checks end for sending corresponding first cryptographic Hash of individual event clear data label to data.
In a kind of wherein embodiment, third receiving unit is also used to:
Receive each individual event clear data from data endorsement end is signed data;
Third transmission unit is also used to:
The block chain location index for being signed data of each individual event clear data is sent to data encryption end;
Block chain data-privacy control device further include:
Second storage unit is signed data for storing each individual event clear data from data endorsement end;
Block chain location index generation unit, for generating the block chain position for being signed data of each individual event clear data
Set index.
To sum up, the block chain data-privacy control device applied to block chain network of the embodiment of the present invention, which first receives, comes from
Data check the data acquisition request at end, further according to the block for being signed data of the individual event clear data in data acquisition request
Chain location index, extracts corresponding first cryptographic Hash of individual event clear data label, and it is corresponding finally to send individual event clear data label
The first cryptographic Hash to data check end, can guarantee the privacy of data to avoid leak data.
Based on the same inventive concept, the embodiment of the invention also provides a kind of block chain data applied to data endorsement end
Privacy apparatus method, the principle solved the problems, such as due to the device and block chain data-privacy control method are (from data endorsement end angle
Degree) it is similar, therefore the implementation of the device may refer to the implementation of method, overlaps will not be repeated.
Figure 11 is the structural frames for being applied to the block chain data-privacy control device at data endorsement end in the embodiment of the present invention
Figure.As shown in figure 11, the block chain data-privacy control device applied to data endorsement end includes:
4th receiving unit, for receiving business datum;Receive multiple individual event encryption datas from data encryption end;
Split cells, for business datum to be split as multiple individual event clear datas;
First computing unit, it is corresponding for calculating each individual event clear data according to preset hash algorithm and random number
First cryptographic Hash;
4th transmission unit, for hash algorithm and multiple individual event clear datas to be sent to data encryption end;It will be signed
Name data are sent to block chain network;
Endorsement unit, for carrying out signature endorsement to multiple individual event encryption datas;
It is signed data generating unit, for bright according to each individual event encryption data by signature endorsement and each individual event
Corresponding first cryptographic Hash of literary data, generate each individual event clear data is signed data.
In a kind of wherein embodiment, the first cryptographic Hash includes the first cryptographic Hash and the first cryptographic Hash hereinafter above;
First computing unit is specifically used for:
Using random number as the first cryptographic Hash above of one of individual event clear data;
According to the first of preset hash algorithm and individual event clear data the cryptographic Hash above, the of individual event clear data is calculated
One cryptographic Hash hereinafter;
Using the first of previous individual event clear data hereinafter cryptographic Hash as the latter individual event clear data first above
Cryptographic Hash.
In a kind of wherein embodiment, further includes:
Second computing unit is breathed out for calculating the corresponding third of each individual event clear data according to hash algorithm and random number
Uncommon value;
Endorsement unit be specifically used for: when the corresponding third cryptographic Hash of each individual event clear data with each individual event plaintext number
When identical according to corresponding first cryptographic Hash, signature endorsement is carried out to multiple individual event encryption datas.
To sum up, the block chain data-privacy control device for being applied to data endorsement end of the embodiment of the present invention first receives business
Data, and business datum is split as multiple individual event clear datas, it is then calculated according to preset hash algorithm and random number every
Corresponding first cryptographic Hash of a individual event clear data, then hash algorithm and multiple individual event clear datas are sent to data encryption
End, then receives multiple individual event encryption datas from data encryption end, carries out signature endorsement to multiple individual event encryption datas, most
Afterwards according to each individual event encryption data and corresponding first cryptographic Hash of each individual event clear data by signature endorsement, generate every
A individual event clear data is signed data, will be signed data and is sent to block chain network, can guarantee to avoid leak data
The privacy of data.
Based on the same inventive concept, the embodiment of the invention also provides a kind of block chain data-privacy control systems.Figure 12
It is the structural block diagram of block chain data-privacy control system in the embodiment of the present invention.As shown in figure 12, block chain data-privacy control
System processed includes the block chain data-privacy control device as described above that end is checked applied to data;It is applied to as described above
The block chain data-privacy control device at data encryption end;The block chain data-privacy as described above for being applied to block chain network
Control device;Block chain data-privacy control device as described above applied to data endorsement end.
The detailed process of block chain data-privacy control system is as follows:
1, data endorsement end, which receives, comes from external system business datum, and business datum is split as multiple individual event plaintext numbers
According to.
2, data endorsement end is using random number as the first cryptographic Hash above of one of individual event clear data, according to default
Hash algorithm and individual event clear data the first cryptographic Hash above, calculate the first of individual event clear data the cryptographic Hash hereinafter, will
First above cryptographic Hash of the cryptographic Hash as the latter individual event clear data hereinafter of the first of previous individual event clear data.
3, hash algorithm and multiple individual event clear datas are sent to data encryption end by data endorsement end.
4, data encryption end receives and stores multiple individual event clear datas and hash algorithm from data endorsement end, passes through
Preset key and Encryption Algorithm encrypt each individual event clear data, obtain multiple individual event encryption datas.
5, data encryption end sends multiple individual event encryption datas to data endorsement end.
6, data endorsement end receives multiple individual event encryption datas from data encryption end, according to hash algorithm and random number
Calculate the corresponding third cryptographic Hash of each individual event clear data;When the corresponding third cryptographic Hash of each individual event clear data and often
When corresponding first cryptographic Hash of a individual event clear data is identical, signature endorsement is carried out to multiple individual event encryption datas.
7, data endorsement end is corresponding according to each individual event encryption data by signature endorsement and each individual event clear data
The first cryptographic Hash, generate each individual event clear data is signed data.
8, data endorsement end will be signed data and be sent to block chain network.
9, block chain network receives and stores the data that are signed of each individual event clear data from data endorsement end, raw
At the block chain location index for being signed data of each individual event clear data, send each individual event clear data is signed number
According to block chain location index to data encryption end.
10, data encryption end receives and stores the data that are signed of each individual event clear data from block chain network
Block chain location index.
11, data check that end sends data and checks request to data encryption end;Data check that request includes individual event plaintext number
According to label.
12, data encryption end, which is received, checks that the data at end check request from data, checks the list in request according to data
Item clear data label, the corresponding individual event clear data of extraction individual event clear data label and individual event clear data are signed number
According to block chain location index, send corresponding first cryptographic Hash of individual event clear data label to data and check end.
13, data check that end receives individual event clear data from data encryption end, individual event clear data is signed number
According to block chain location index and hash algorithm, send data acquisition request to block chain network.Data acquisition request includes single
The block chain location index for being signed data of item clear data.
14, block chain network receives the data acquisition request that end is checked from data, according to the list in data acquisition request
The block chain location index for being signed data of item clear data extracts corresponding first cryptographic Hash of individual event clear data label,
It sends corresponding first cryptographic Hash of individual event clear data label to data and checks end.
15, data check that end receives corresponding first cryptographic Hash of individual event clear data from block chain network.First breathes out
Uncommon value includes the first cryptographic Hash and the first cryptographic Hash hereinafter above.
16, data check that end according to individual event clear data corresponding first cryptographic Hash and hash algorithm above, calculates individual event
The cryptographic Hash hereinafter of clear data corresponding second;When second cryptographic Hash is equal to the first cryptographic Hash hereinafter hereinafter, show that individual event is bright
Literary data are correct, export individual event clear data.
To sum up, the block chain data-privacy control system of the embodiment of the present invention can guarantee data to avoid leak data
Privacy.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection scope of invention.
Claims (19)
1. a kind of block chain data-privacy control method characterized by comprising
Sending data checks request to data encryption end;Wherein, the data check that request includes individual event clear data label;
Receive the block chain for being signed data of individual event clear data from the data encryption end, the individual event clear data
Location index and hash algorithm;
Data acquisition request is sent to block chain network;Wherein, the data acquisition request includes the individual event clear data
It is signed the block chain location index of data;
Receive corresponding first cryptographic Hash of the individual event clear data from the block chain network;
Judge that the individual event clear data is according to the hash algorithm and corresponding first cryptographic Hash of the individual event clear data
It is no correct;
When the individual event clear data is correct, the individual event clear data is exported.
2. block chain data-privacy control method according to claim 1, which is characterized in that the individual event clear data pair
The first cryptographic Hash answered includes the first cryptographic Hash and the first cryptographic Hash hereinafter above;
Judge that the individual event clear data is according to the hash algorithm and corresponding first cryptographic Hash of the individual event clear data
It is no correct, comprising:
According to the individual event clear data corresponding first cryptographic Hash and the hash algorithm above, the individual event plaintext number is calculated
According to the corresponding second cryptographic Hash hereinafter;
When described second cryptographic Hash is equal to first cryptographic Hash hereinafter hereinafter, the individual event clear data is correct.
3. a kind of block chain data-privacy control method characterized by comprising
It receives and checks that the data at end check request from data;
The individual event clear data label in request is checked according to the data, extracts the corresponding list of the individual event clear data label
The block chain location index for being signed data of item clear data and the individual event clear data;
The individual event clear data, the block chain location index for being signed data of the individual event clear data and Hash is sent to calculate
Method to the data check end.
4. block chain data-privacy control method according to claim 3, which is characterized in that receive and check end from data
Data check before request, further includes:
Receive and store multiple individual event clear datas and hash algorithm from data endorsement end;
Each individual event clear data is encrypted, multiple individual event encryption datas are obtained;
The multiple individual event encryption data is sent to data endorsement end;
Receive and store the block chain location index for being signed data of each individual event clear data from block chain network.
5. a kind of block chain data-privacy control method characterized by comprising
Receive the data acquisition request that end is checked from data;
According to the block chain location index for being signed data of the individual event clear data in the data acquisition request, described in extraction
Corresponding first cryptographic Hash of individual event clear data label;
It sends corresponding first cryptographic Hash of the individual event clear data label to the data and checks end.
6. block chain data-privacy control method according to claim 5, which is characterized in that receive and check end from data
Data acquisition request before, further includes:
Receive and store each individual event clear data from data endorsement end is signed data;
Generate the block chain location index for being signed data of each individual event clear data;
The block chain location index for being signed data of each individual event clear data is sent to data encryption end.
7. a kind of block chain data-privacy control method characterized by comprising
Business datum is received, and the business datum is split as multiple individual event clear datas;
Corresponding first cryptographic Hash of each individual event clear data is calculated according to preset hash algorithm and random number;
The hash algorithm and the multiple individual event clear data are sent to the data encryption end;
Receive multiple individual event encryption datas from data encryption end;
Signature endorsement is carried out to the multiple individual event encryption data;
According to each individual event encryption data and corresponding first cryptographic Hash of each individual event clear data by signature endorsement, generate
Each individual event clear data is signed data;
The data that are signed are sent to block chain network.
8. block chain data-privacy control method according to claim 7, which is characterized in that first cryptographic Hash includes
First cryptographic Hash and the first cryptographic Hash hereinafter above;
Corresponding first cryptographic Hash of each individual event clear data is calculated according to preset hash algorithm and random number, comprising:
Using the random number as the first cryptographic Hash above of one of individual event clear data;
According to the first of preset hash algorithm and the individual event clear data the cryptographic Hash above, the individual event clear data is calculated
The first cryptographic Hash hereinafter;
Using the first of previous individual event clear data hereinafter cryptographic Hash as the first Hash above of the latter individual event clear data
Value.
9. block chain data-privacy control method according to claim 7, which is characterized in that encrypted to the multiple individual event
Data carry out before signature endorsement, further includes:
The corresponding third cryptographic Hash of each individual event clear data is calculated according to the hash algorithm and the random number;
When the corresponding third cryptographic Hash of each individual event clear data the first cryptographic Hash phase corresponding with each individual event clear data
Meanwhile signature endorsement is carried out to the multiple individual event encryption data.
10. a kind of block chain data-privacy control device, checks end applied to data characterized by comprising
First transmission unit checks request to data encryption end for sending data;Data acquisition request is sent to block link network
Network;Wherein, the data check that request includes individual event clear data label, and the data acquisition request includes the individual event plaintext
The block chain location index for being signed data of data;
First receiving unit, for receiving individual event clear data from the data encryption end, the individual event clear data
It is signed the block chain location index and hash algorithm of data;Receive the individual event clear data from the block chain network
Corresponding first cryptographic Hash;
Judging unit, for judging the list according to the hash algorithm and corresponding first cryptographic Hash of the individual event clear data
Whether item clear data is correct;
Output unit, for exporting the individual event clear data when the individual event clear data is correct.
11. block chain data-privacy control device according to claim 10, checks end applied to data, feature exists
In, corresponding first cryptographic Hash of the individual event clear data include the first cryptographic Hash and the first cryptographic Hash hereinafter above;
The judging unit is specifically used for:
According to the individual event clear data corresponding first cryptographic Hash and the hash algorithm above, the individual event plaintext number is calculated
According to the corresponding second cryptographic Hash hereinafter;
When described second cryptographic Hash is equal to first cryptographic Hash hereinafter hereinafter, the individual event clear data is correct.
12. a kind of block chain data-privacy control device is applied to data encryption end characterized by comprising
Second receiving unit checks that the data at end check request from data for receiving;
It is bright to extract the individual event for checking the individual event clear data label in request according to the data for first extraction unit
The block chain location index for being signed data of the literary corresponding individual event clear data of data label and the individual event clear data;
Second transmission unit, for sending the block for being signed data of the individual event clear data, the individual event clear data
Chain location index and hash algorithm to the data check end.
13. block chain data-privacy control device according to claim 12, is applied to data encryption end, feature exists
In second receiving unit is also used to:
Receive multiple individual event clear datas and hash algorithm from data endorsement end;Receive each list from block chain network
The block chain location index for being signed data of item clear data;
Second transmission unit is also used to:
Multiple individual event encryption datas are sent to data endorsement end;
The block chain data-privacy control device further include:
Encryption unit obtains multiple individual event encryption datas for encrypting to each individual event clear data;
First storage unit, for storing multiple individual event clear datas and hash algorithm from data endorsement end;Storage
The block chain location index for being signed data of each individual event clear data from block chain network.
14. a kind of block chain data-privacy control device is applied to block chain network characterized by comprising
Third receiving unit, for receiving the data acquisition request for checking end from data;
Second extraction unit, for the block chain for being signed data according to the individual event clear data in the data acquisition request
Location index extracts corresponding first cryptographic Hash of the individual event clear data label;
Third transmission unit is checked for sending corresponding first cryptographic Hash of the individual event clear data label to the data
End.
15. block chain data-privacy control device according to claim 14, is applied to block chain network, feature exists
In the third receiving unit is also used to:
Receive each individual event clear data from data endorsement end is signed data;
The third transmission unit is also used to:
The block chain location index for being signed data of each individual event clear data is sent to data encryption end;
The block chain data-privacy control device further include:
Second storage unit is signed data for storing each individual event clear data from data endorsement end;
Block chain location index generation unit, for generating the block chain position rope for being signed data of each individual event clear data
Draw.
16. a kind of block chain data-privacy control device is applied to data endorsement end characterized by comprising
4th receiving unit, for receiving business datum;Receive multiple individual event encryption datas from data encryption end;
Split cells, for the business datum to be split as multiple individual event clear datas;
First computing unit, for calculating each individual event clear data corresponding first according to preset hash algorithm and random number
Cryptographic Hash;
4th transmission unit, for the hash algorithm and the multiple individual event clear data to be sent to the data encryption
End;Data will be signed and be sent to block chain network;
Endorsement unit, for carrying out signature endorsement to the multiple individual event encryption data;
It is signed data generating unit, for according to each individual event encryption data by signature endorsement and each individual event plaintext number
According to corresponding first cryptographic Hash, generate each individual event clear data is signed data.
17. block chain data-privacy control device according to claim 16, is applied to data endorsement end, feature exists
In, first cryptographic Hash include the first cryptographic Hash and the first cryptographic Hash hereinafter above;
First computing unit is specifically used for:
Using the random number as the first cryptographic Hash above of one of individual event clear data;
According to the first of preset hash algorithm and the individual event clear data the cryptographic Hash above, the individual event clear data is calculated
The first cryptographic Hash hereinafter;
Using the first of previous individual event clear data hereinafter cryptographic Hash as the first Hash above of the latter individual event clear data
Value.
18. block chain data-privacy control device according to claim 16, is applied to data endorsement end, feature exists
In, further includes:
Second computing unit, for calculating each individual event clear data corresponding the according to the hash algorithm and the random number
Three cryptographic Hash;
The endorsement unit is specifically used for: when the corresponding third cryptographic Hash of each individual event clear data with each individual event plaintext number
When identical according to corresponding first cryptographic Hash, signature endorsement is carried out to the multiple individual event encryption data.
19. a kind of block chain data-privacy control system characterized by comprising
The block chain data-privacy control device for being applied to data and checking end of any one of claim 10 to 11;
The block chain data-privacy control device applied to data encryption end of any one of claim 12 to 13;
The block chain data-privacy control device applied to block chain network of any one of claim 14 to 15;
The block chain data-privacy control device for being applied to data endorsement end of any one of claim 16 to 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910197898.9A CN109949035B (en) | 2019-03-15 | 2019-03-15 | Block chain data privacy control method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910197898.9A CN109949035B (en) | 2019-03-15 | 2019-03-15 | Block chain data privacy control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109949035A true CN109949035A (en) | 2019-06-28 |
CN109949035B CN109949035B (en) | 2022-03-22 |
Family
ID=67009835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910197898.9A Active CN109949035B (en) | 2019-03-15 | 2019-03-15 | Block chain data privacy control method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109949035B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352705A (en) * | 2020-02-25 | 2020-06-30 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium for block chain |
CN111475828A (en) * | 2020-05-14 | 2020-07-31 | 杭州烽顺科技信息服务有限公司 | Encryption method and device, decryption method and device of block chain account book data |
CN112632571A (en) * | 2020-12-04 | 2021-04-09 | 翰顺联电子科技(南京)有限公司 | Data encryption method, data decryption device and storage device |
CN113065010A (en) * | 2021-03-16 | 2021-07-02 | 广东核电合营有限公司 | Label image management method, label image management device, computer equipment and storage medium |
CN113570194A (en) * | 2021-06-28 | 2021-10-29 | 北京电链科技有限公司 | Block chain-based power construction business data processing method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060129847A1 (en) * | 2002-09-17 | 2006-06-15 | Errikos Pitsos | Methods and systems for providing a secure data distribution via public networks |
CN105610578A (en) * | 2016-01-25 | 2016-05-25 | 杭州复杂美科技有限公司 | Block chain information archiving and privacy protection method |
CN106022145A (en) * | 2016-05-17 | 2016-10-12 | 上海凭安网络科技有限公司 | Cryptograph index-based data query method |
CN107807951A (en) * | 2017-09-18 | 2018-03-16 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
CN108702287A (en) * | 2018-04-16 | 2018-10-23 | 深圳前海达闼云端智能科技有限公司 | Information publication based on block chain and acquisition methods, device and block chain node |
CN108712251A (en) * | 2018-05-28 | 2018-10-26 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under to block chain be written user privacy information method |
CN108833370A (en) * | 2018-05-28 | 2018-11-16 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under from block chain read user privacy information method |
CN109347878A (en) * | 2018-11-30 | 2019-02-15 | 西安电子科技大学 | The data verification of decentralization and data safety transaction system and method |
-
2019
- 2019-03-15 CN CN201910197898.9A patent/CN109949035B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060129847A1 (en) * | 2002-09-17 | 2006-06-15 | Errikos Pitsos | Methods and systems for providing a secure data distribution via public networks |
CN105610578A (en) * | 2016-01-25 | 2016-05-25 | 杭州复杂美科技有限公司 | Block chain information archiving and privacy protection method |
CN106022145A (en) * | 2016-05-17 | 2016-10-12 | 上海凭安网络科技有限公司 | Cryptograph index-based data query method |
CN107807951A (en) * | 2017-09-18 | 2018-03-16 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
CN108702287A (en) * | 2018-04-16 | 2018-10-23 | 深圳前海达闼云端智能科技有限公司 | Information publication based on block chain and acquisition methods, device and block chain node |
CN108712251A (en) * | 2018-05-28 | 2018-10-26 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under to block chain be written user privacy information method |
CN108833370A (en) * | 2018-05-28 | 2018-11-16 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under from block chain read user privacy information method |
CN109347878A (en) * | 2018-11-30 | 2019-02-15 | 西安电子科技大学 | The data verification of decentralization and data safety transaction system and method |
Non-Patent Citations (1)
Title |
---|
漆英: "区块链原理及应用漫谈(下)", 《中国金融电脑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352705A (en) * | 2020-02-25 | 2020-06-30 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium for block chain |
CN111352705B (en) * | 2020-02-25 | 2023-10-31 | 百度在线网络技术(北京)有限公司 | Transaction processing method, device, equipment and medium of block chain |
CN111475828A (en) * | 2020-05-14 | 2020-07-31 | 杭州烽顺科技信息服务有限公司 | Encryption method and device, decryption method and device of block chain account book data |
CN111475828B (en) * | 2020-05-14 | 2022-05-13 | 杭州烽顺科技信息服务有限公司 | Encryption method and device, decryption method and device of block chain account book data |
CN112632571A (en) * | 2020-12-04 | 2021-04-09 | 翰顺联电子科技(南京)有限公司 | Data encryption method, data decryption device and storage device |
CN112632571B (en) * | 2020-12-04 | 2024-04-09 | 翰顺联电子科技(南京)有限公司 | Data encryption method, data decryption device and storage device |
CN113065010A (en) * | 2021-03-16 | 2021-07-02 | 广东核电合营有限公司 | Label image management method, label image management device, computer equipment and storage medium |
CN113065010B (en) * | 2021-03-16 | 2024-02-20 | 广东核电合营有限公司 | Label image management method, apparatus, computer device and storage medium |
CN113570194A (en) * | 2021-06-28 | 2021-10-29 | 北京电链科技有限公司 | Block chain-based power construction business data processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109949035B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11552792B2 (en) | Systems and methods for generating signatures | |
CN109949035A (en) | Block chain data-privacy control method, apparatus and system | |
EP3673446B1 (en) | Managing blockchain-based centralized ledger systems | |
US10911231B2 (en) | Method for restoring public key based on SM2 signature | |
CN104917609B (en) | A kind of highly effective and safe data duplicate removal method and system perceived based on user | |
US10630478B1 (en) | Sender optimal, breach-resilient, and post-quantum secure cryptographic methods and systems for digital auditing | |
EP3679686B1 (en) | Managing blockchain-based centralized ledger systems | |
CN112380578A (en) | Edge computing framework based on block chain and trusted execution environment | |
CN111656386B (en) | Managing transaction requests in ledger system | |
CN110034917A (en) | A kind of alliance's chain data processing method and device based on homomorphic encryption algorithm | |
Nirmala et al. | Data confidentiality and integrity verification using user authenticator scheme in cloud | |
EP3791559B1 (en) | Managing trust points in ledger systems | |
CN111274594B (en) | Block chain-based secure big data privacy protection sharing method | |
CN112417489B (en) | Digital signature generation method and device and server | |
CN116957064A (en) | Knowledge distillation-based federal learning privacy protection model training method and system | |
CN111630545B (en) | Managing transaction requests in ledger system | |
CN110519040B (en) | Anti-quantum computation digital signature method and system based on identity | |
CN116340331A (en) | Large instrument experimental result evidence-storing method and system based on blockchain | |
US9641333B2 (en) | Authentication methods, systems, devices, servers and computer program products, using a pairing-based cryptographic approach | |
CN109787747A (en) | Anti- quantum calculation multi-enciphering cloud storage method and system based on multiple unsymmetrical key ponds | |
CN108494552B (en) | Cloud storage data deduplication method supporting efficient convergence key management | |
CN116506154A (en) | Safe verifiable federal learning scheme | |
WO2019127912A1 (en) | Differential security ciphertext protection system | |
CN111630549B (en) | Managing transaction requests in ledger system | |
CN110880969B (en) | Method and system for generating QKD network authentication key based on alliance chain and implicit certificate |
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 |