CN112883113B - Block chain-based data value certificate and verification proving and recording method and device - Google Patents

Block chain-based data value certificate and verification proving and recording method and device Download PDF

Info

Publication number
CN112883113B
CN112883113B CN202110197450.4A CN202110197450A CN112883113B CN 112883113 B CN112883113 B CN 112883113B CN 202110197450 A CN202110197450 A CN 202110197450A CN 112883113 B CN112883113 B CN 112883113B
Authority
CN
China
Prior art keywords
certificate
data value
node
verification
value
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.)
Active
Application number
CN202110197450.4A
Other languages
Chinese (zh)
Other versions
CN112883113A (en
Inventor
彭锦程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kangyi Project Management Co.,Ltd.
Original Assignee
Shenzhen Star Network Storage Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Star Network Storage Technology Co ltd filed Critical Shenzhen Star Network Storage Technology Co ltd
Priority to CN202110197450.4A priority Critical patent/CN112883113B/en
Publication of CN112883113A publication Critical patent/CN112883113A/en
Application granted granted Critical
Publication of CN112883113B publication Critical patent/CN112883113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The present disclosure relates to a block chain-based data value certificate and verification proving and recording method and apparatus, including: receiving a data value certificate and a verification certificate; extracting an independent verification identifier and a value certification identifier; obtaining a first hash value according to the block chain node and the independent verification identifier, and obtaining a second hash value according to the type of the trust probe and the neighbor block chain node connected with the block chain node; constructing a vector matrix by taking the first hash value as a row vector and the second hash value as a transposed vector, and inquiring whether a recording path identical to the vector matrix exists or not by taking the independent verification identifier and the vector matrix as recording paths; if the same recording path exists, the recording path address and the port key are obtained, based on the recording path address and the port key, the certificate and the vector matrix are recorded under the recording path by taking the independent verification mark as a starting point and taking the sum of the first hash value and the second hash value as an end point, and the data value certificate and the verification certification and the recording safety can be improved.

Description

Block chain-based data value certificate and verification proving and recording method and device
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain-based data value certificate and verification proving and recording method and device.
Background
In the big data era, data has become a new class of economic assets like money or gold. Mass data has certain value, the data value is different according to different data classification, and the data value is usually expressed by a data value certificate and verification, so the certification and the record of the data value certificate and the verification are very important. In the related art, however, in the current system for recording and proving the data value voucher and verification, because large-scale data need to share resources with each other, the data value voucher and verification are also used for transaction in a large scale, so that the security of the data value voucher and verification is low, and the security requirements of the data value voucher and verification in the actual transaction process are difficult to meet.
Disclosure of Invention
In view of the above, an object of the present disclosure is to provide a block chain-based data value certificate and verification proving and recording method and apparatus, so as to solve the problem of low security of the data value certificate and verification recorded in the related art.
Based on the above object, a first aspect of the present disclosure provides a block chain-based data value certificate and verification proving and recording method, applied to a block chain node of a distributed point-to-point management network, where the point-to-point management network includes a plurality of data value certificate and verified certificate generation nodes and the block chain node connected to the plurality of data value certificate and verified certificate generation nodes in a many-to-one communication manner, the method including:
receiving a data value certificate and a verification certificate sent by the data value certificate and verified certificate generation node, wherein the data value certificate and the verification certificate are generated by the data value certificate and verified certificate generation node aiming at original data of a data value to be verified based on a trust probe type and a trust probe quantity distributed by the block chain nodes, the trust probe type is generated by the block chain nodes according to a head node type of the data value certificate and verified certificate generation node, the trust probe quantity is determined by the block chain nodes according to the generation quantity of historical data value certificates of the data value certificate and verified certificate generation node, and the numerical value of the trust probe quantity is positively correlated with the generation quantity of the historical data value certificates;
extracting independent verification identifications and value proof identifications in the data value certificates and the verification certificates, wherein the independent verification identifications are generated by the data value certificates and the verified certificate generation nodes according to the density of the data value of the original data and the relative density of the trust probe, and the value proof identifications are generated by the data value certificates and the verified certificate generation nodes according to the ratio of the type of the original data to the type of the trust probe;
aiming at the data value voucher and the verification certificate, obtaining a first hash value of a block chain link point aiming at the data value voucher and the verification certificate according to the block chain node and the independent verification identifier, and obtaining a second hash value aiming at the data value voucher and the verification certificate according to the trust probe type and a neighbor block chain node connected with the block chain link point;
aiming at the data value voucher and the verification certificate, constructing a vector matrix by taking a first hash value corresponding to the data value voucher and the verification certificate as a row vector and taking a second hash value of the arbitration node aiming at the data value voucher and the verification certificate as a transposed vector, and inquiring whether a recording path which is the same as the vector matrix exists in a voucher recording table or not by taking the independent verification identifier and the vector matrix as recording paths, wherein a recording structure of the voucher recording table comprises an independent verification identifier recording unit and a vector matrix recording unit;
and under the condition that the same recording path exists in the certificate recording table, acquiring an address and a port key of the recording path, and recording the data value certificate, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the recording path based on the address and the port key of the recording path.
Further, the obtaining a first hash value of the blockchain node for the data value certificate and the verification certificate according to the blockchain node and the independent verification identifier includes:
and performing Hash operation according to the density of the data value in the independent verification identification of the blockchain node and the relative density of the trust probe to obtain a first Hash value of the blockchain node aiming at the data value certificate and the verification certificate.
Further, the obtaining a second hash value for the data value credential and the certificate of authenticity according to the trust probe type and a neighbor blockchain node connected to the blockchain node comprises:
according to the type of the trust probe, traversing and determining the step length of the neighbor block chain link point aiming at the value certification mark from the neighbor block chain node connected with the block chain link point;
taking the neighbor block chain node with the largest step length as an arbitration node of the current data value certificate and verification record;
and performing hash operation according to the relative density of the data value of the original data by the arbitration node based on a Mercker tree algorithm to obtain a second hash value of the arbitration node for the data value voucher and the verification certificate.
Further, the trust probe type is generated by:
each block chain node generates a head node type of a node according to each data value certificate and verified certificate which are in communication connection with the block chain node, and the head nodes are clustered according to a preset data type in the block chain node to obtain a plurality of node cluster clouds;
determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value obtained by self calculation to block chain link points;
the block chain link point receives a target offset value which is broadcasted by other block chain link points and comprises the head node type calculation, wherein the other block chain nodes are the block chain link points of the head node type of the certificate generation node which acquires the data value voucher and the verification;
and searching the trust probe type from the preset data type according to the product of the deviation value and the received target deviation value by the block link point, wherein the preset data type and the trust probe type are established with a corresponding relation.
Further, the certification and recording method for data value voucher and verification based on block chain further comprises the following steps:
under the condition that the same recording path does not exist in the certificate recording table, whether an independent verification identifier which is the same as the independent verification identifiers of the data value certificate and the verification certificate exists in the certificate recording table or not is searched;
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate exists in the voucher record table, determining a vector matrix corresponding to the first independent verification identifier as a first vector matrix;
calculating the similarity between every two column vectors with the same column number in the first vector matrix according to each element in the vector matrix;
and under the condition that the similarity exceeds a preset threshold value, acquiring an address and a port key of a first recording path corresponding to the first vector matrix, and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the first recording path based on the address and the port key of the first recording path.
Further, the certification and recording method for data value voucher and verification based on block chain further comprises the following steps:
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate does not exist in the voucher record table, or under the condition that the similarity does not exceed a preset threshold value, a second record path is created by taking the independent verification identifier as an address of a record path and the vector matrix as a port key of the record path;
and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the second recording path.
A second aspect of the present disclosure provides a block chain-based data value credential and verification certification and recording apparatus applied to a block chain node point of a distributed point-to-point management network, where the point-to-point management network includes a plurality of data value credential and verified certificate generation nodes and the block chain node connected to the plurality of data value credential and verified certificate generation nodes in a many-to-one communication manner, the apparatus including:
a receiving module configured to receive a data value voucher and a verification certificate sent by the data value voucher and a verified certificate generation node, wherein the data value voucher and the verification certificate are generated by the data value voucher and the verified certificate generation node based on a trust probe type and a trust probe number distributed by the block link points and aiming at original data of a data value to be verified, the trust probe type is generated by the block link nodes according to the data value voucher and a head node type of the verified certificate generation node, the trust probe number is determined by the block link points according to a generation number of historical data value vouchers of the data value voucher and the verified certificate generation node, and a numerical value of the trust probe number is positively correlated with the generation number of the historical data value voucher;
an extraction module configured to extract an independent authentication identity and a value proof identity in the data value voucher and authentication certificate, wherein the independent authentication identity is generated by the data value voucher and authenticated certificate generation node according to a density of data values of the raw data and a relative density of the trust probe, and the value proof identity is generated by the data value voucher and authenticated certificate generation node according to a ratio of a type of the raw data and a type of the trust probe;
a computing module configured to obtain, for the data value credential and the verification certificate, a first hash value of a block chain node for the data value credential and the verification certificate according to the block chain node and the independent verification identifier, and obtain a second hash value for the data value credential and the verification certificate according to the trust probe type and a neighboring block chain node connected to the block chain node;
the inquiring module is configured to regard the data value voucher and the verification certificate, construct a vector matrix by taking a first hash value corresponding to the data value voucher and the verification certificate as a row vector and taking the second hash value of the arbitration node for the data value voucher and the verification certificate as a transposed vector, and inquire whether a recording path which is the same as the vector matrix exists in a voucher recording table by taking the independent verification identifier and the vector matrix as recording paths, wherein a recording structure of the voucher recording table comprises an independent verification identifier recording unit and a vector matrix recording unit;
the first recording module is configured to acquire an address and a port key of the recording path under the condition that the same recording path exists in the credential recording table, and record the data value credential, the authentication certificate and the vector matrix with the independent authentication identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the recording path based on the address and the port key of the recording path.
Further, the calculation module is configured to perform a hash operation according to the density of the data value in the independent verification identifier of the blockchain node and the relative density of the trust probe, so as to obtain a first hash value of the blockchain node for the data value certificate and the verification certificate.
Further, the calculation module includes:
a traversal submodule configured to traverse, according to the type of the trust probe, a step size of the neighbor block chain link point for the value proof identification from a neighbor block chain node connected to the block chain link point;
the determining submodule is configured to take the neighbor block chain node with the largest step size as an arbitration node of the current data value certificate and the verification record;
the execution submodule is configured to perform hash operation according to the relative density of the data value of the raw data based on a Merckel tree algorithm through the arbitration node, so as to obtain a second hash value of the data value certificate and the verification certificate of the arbitration node.
Further, the trust probe type is generated by:
each block chain node generates a head node type of the node according to each data value certificate and verified certificate which are in communication connection with the block chain node, and the head nodes are clustered according to a preset data type in the block chain node to obtain a plurality of node cluster clouds;
determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value obtained by self calculation to block chain link points;
the block chain link point receives a target offset value which is broadcasted by other block chain link points and comprises the head node type calculation, wherein the other block chain nodes are the block chain link points of the head node type of the certificate generation node which acquires the data value voucher and the verification;
and searching the trust probe type from the preset data type according to the product of the deviation value and the received target deviation value by the block link point, wherein the preset data type and the trust probe type are established with a corresponding relation.
Further, the certification and recording device for data value voucher and verification based on block chain further comprises: a second recording module configured to:
under the condition that the same recording path does not exist in the certificate recording table, whether an independent verification identifier which is the same as the independent verification identifiers of the data value certificate and the verification certificate exists in the certificate recording table or not is searched;
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate exists in the voucher record table, determining a vector matrix corresponding to the first independent verification identifier as a first vector matrix;
calculating the similarity between every two column vectors with the same column number in the first vector matrix according to each element in the vector matrix;
and under the condition that the similarity exceeds a preset threshold value, acquiring an address and a port key of a first recording path corresponding to the first vector matrix, and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the first recording path based on the address and the port key of the first recording path.
Further, the second recording module is further configured to:
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate does not exist in the voucher record table, or under the condition that the similarity does not exceed a preset threshold value, a second record path is created by taking the independent verification identifier as an address of a record path and the vector matrix as a port key of the record path;
and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the second recording path.
The present disclosure can achieve at least the following advantageous effects:
the data value voucher and the verified certificate generating node generate the data value voucher and the verified certificate based on the trust probe types and the trust probe quantity distributed by the block chain nodes, a first hash value of the block chain node and a second hash value of the arbitration node are further determined according to independent verification marks and value proof marks in the data value voucher and the verified certificate, a vector matrix is constructed, the data value voucher and the verified certificate are proved and recorded under various conditions by taking the independent verification marks and the vector matrix as recording paths, the safety of the proving and recording of the data value voucher and the verification is improved, and the accuracy of the proving and recording of the data value voucher and the verification is enhanced.
And node verification is realized based on the digital certificate, and the authenticity and credibility of data are ensured through asymmetric encryption. The complete record of the data authenticity is realized by utilizing the multi-node verification of the block chain, so that the data value certificate and verification proof is realized by having the correction capability of resisting the modification of any node and information pollution.
Drawings
FIG. 1 is a flow diagram of a method for certification and recordation of blockchain-based data value vouchers and verifications in accordance with an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating an implementation of step S13 in FIG. 1 according to an embodiment of the disclosure;
FIG. 3 is a flow chart of a method for generating a trust probe type in an embodiment of the present disclosure;
FIG. 4 is a flow diagram of a block chain based attestation and recordation method of data value vouchers and verifications in one embodiment of the present disclosure;
FIG. 5 is a block diagram of an attestation and recordation facility for proof and verification of data value based on blockchain in one embodiment of the invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The block chain-based data value voucher and verification certification and recording method in this embodiment is applied to a block chain link point of a distributed point-to-point management network, where the point-to-point management network includes a plurality of data value voucher and verification certificate generation nodes and the block chain node in many-to-one communication connection with the plurality of data value voucher and verification certificate generation nodes.
Fig. 1 is a flow chart of a certification and recording method of block chain based data value voucher and authentication in an embodiment of the present disclosure, as shown in fig. 1, the method includes the following steps:
in step S11, the data value voucher and the certificate of authenticity sent by the data value voucher and verified certificate generating node are received.
The data value voucher and the verification certificate are generated by the data value voucher and the verified certificate generating nodes aiming at original data of the data value to be verified based on the trust probe types and the trust probe quantity distributed by the block chain nodes.
The trust probe type is generated by the block chain node according to the head node type of the data value voucher and the verified certificate generation node, the number of the trust probes is determined by the block chain node according to the generation number of the historical data value voucher of the data value voucher and the verified certificate generation node, and the numerical value of the number of the trust probes is positively correlated with the generation number of the historical data value voucher.
In step S12, the independent authentication identity and value proof identity in the data value voucher and certificate of authenticity are extracted.
Wherein the independent verification identification is generated by the data value voucher and the verified certificate generation node according to the density of the data value of the original data and the relative density of the trust probe, and the value proof identification is generated by the data value voucher and the verified certificate generation node according to the ratio of the type of the original data to the type of the trust probe.
In step S13, for the data value certificate and the verification certificate, a first hash value of a block chain node for the data value certificate and the verification certificate is obtained according to the block chain node and the independent verification identifier, and a second hash value for the data value certificate and the verification certificate is obtained according to the trust probe type and a neighboring block chain node connected to the block chain node.
In step S14, for the data value voucher and the verification certificate, constructing a vector matrix by using the first hash value corresponding to the data value voucher and the verification certificate as a row vector and the second hash value of the arbitration node for the data value voucher and the verification certificate as a transpose vector, and querying whether a record path identical to the vector matrix exists in a voucher record table by using the independent verification identifier and the vector matrix as record paths.
The recording structure of the certificate recording table comprises an independent verification identification recording unit and a vector matrix recording unit;
in step S15, when the same record path exists in the credential record table, an address and a port key of the record path are obtained, and based on the address and the port key of the record path, the data value credential, the verification certificate, and the vector matrix are recorded with the independent verification identifier as a starting point and a sum of the first hash value and the second hash value as an end point under the record path.
By adopting the technical scheme, the data value voucher and the verified certificate generation node generate the data value voucher and the verified certificate based on the trust probe types and the trust probe quantity distributed by the block chain nodes, further determine the first hash value of the block chain nodes and the second hash value of the arbitration node according to the independent verification identification and the value proof identification in the data value voucher and the verified certificate, construct a vector matrix, and prove and record the data value voucher and the verified certificate under various conditions by taking the independent verification identification and the vector matrix as recording paths, so that the safety of the proof and the record of the data value voucher and the verification is improved, and the accuracy of the proof and the record of the data value voucher and the verification is enhanced.
Further, in step S13, the obtaining a first hash value of the blockchain node for the data value certificate and the verification certificate according to the blockchain node and the independent verification identifier includes:
and performing Hash operation according to the density of the data value in the independent verification identification of the blockchain node and the relative density of the trust probe to obtain a first Hash value of the blockchain node aiming at the data value certificate and the verification certificate.
Further, fig. 2 is a flowchart for implementing step S13 in fig. 1 in an embodiment of the present disclosure, where in step S13, the obtaining a second hash value for the data value certificate and the verification certificate according to the trust probe type and a neighbor blockchain node connected to the blockchain node includes the following steps:
in step S131, according to the type of the trust probe, determining a step length of the neighbor block chain node for the value proof identifier from the neighbor block chain node connected to the block chain node in a traversal manner;
in step S132, the neighbor block chain node with the largest step size is used as an arbitration node for the current data value certificate and the verification record;
in step S133, based on the merkel tree algorithm, the arbitration node performs hash operation according to the relative density of the data value of the raw data to obtain a second hash value of the arbitration node for the data value credential and the verification certificate.
Further, fig. 3 is a flowchart of a method for generating a trust probe type in an embodiment of the present disclosure, which specifically includes the following steps:
in step S31, each block link point generates a head node type of a node according to each data value certificate and verified certificate which are in communication connection with the block link point, and clusters the head node according to a preset data type in the block link node to obtain a plurality of node cluster clouds;
in step S32, determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value calculated by the node cluster cloud center to block link points;
in step S33, the block link point receives the target offset values broadcast by other block link points including the head node type calculation.
The other block chain nodes are block chain link points of the head node types of the obtained data value certificates and verified certificate generation nodes;
in step S34, the block link point searches for the type of the trust probe from the preset data types according to a product of the offset value and the received target offset value, where the preset data types and the trust probe types have a corresponding relationship.
Further, fig. 4 is a flowchart of a certification and recording method for data value voucher and verification based on blockchain in an embodiment of the present disclosure, as shown in fig. 4, on the basis of fig. 1, the certification and recording method for data value voucher and verification based on blockchain further includes the following steps:
in step S41, in the case that the same record path does not exist in the credential record table, searching whether an independent verification identifier identical to the independent verification identifier of the data value credential and the verification certificate exists in the credential record table;
in step S42, in a case that a first independent verification identifier identical to the independent verification identifiers of the data value voucher and the verification certificate exists in the voucher record table, determining that a vector matrix corresponding to the first independent verification identifier is a first vector matrix;
in step S43, calculating a similarity between every two column vectors with the same column number in the first vector matrix according to each element in the vector matrix;
in step S44, when the similarity exceeds a preset threshold, an address and a port key of a first recording path corresponding to the first vector matrix are obtained, and based on the address and the port key of the first recording path, the data value credential, the certificate of authenticity, and the vector matrix are recorded with the independent authentication identifier as a starting point and a sum of the first hash value and the second hash value as an end point in the first recording path.
Further, on the basis of fig. 2, the block chain-based data value certificate and verification proving and recording method further comprises the following steps:
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate does not exist in the voucher record table, or under the condition that the similarity does not exceed a preset threshold value, a second record path is created by taking the independent verification identifier as an address of a record path and the vector matrix as a port key of the record path;
and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the second recording path.
And node verification is realized based on the digital certificate, and the authenticity and credibility of data are ensured through asymmetric encryption. The complete record of the data authenticity is realized by utilizing the multi-node verification of the block chain, so that the data value certificate and verification proof is realized by having the correction capability of resisting the modification of any node and information pollution.
The embodiment of the disclosure further provides a device for proving and recording data value vouchers and verifications based on a block chain, which is applied to block chain link points of a distributed point-to-point management network, wherein the point-to-point management network comprises a plurality of data value vouchers and verified certificate generating nodes and the block chain nodes which are in many-to-one communication connection with the plurality of data value vouchers and verified certificate generating nodes.
Fig. 5 is a block diagram of an apparatus for certification and recording of data value vouchers and verifications based on blockchains according to an embodiment of the present invention, as shown in fig. 5, the apparatus 500 includes:
a receiving module 510, configured to receive a data value credential and a verification certificate sent by the data value credential and a verified certificate generation node, where the data value credential and the verification certificate are generated by the data value credential and the verified certificate generation node for original data of a data value to be verified based on a trust probe type and a trust probe number distributed by the block link node, where the trust probe type is generated by the block link node according to a head node type of the data value credential and the verified certificate generation node, the trust probe number is determined by the block link node according to a generation number of historical data value credentials of the data value credential and the verified certificate generation node, and a numerical size of the trust probe number is positively correlated to the generation number of the historical data value credential;
an extraction module 520 configured to extract an independent authentication identity and a value proof identity in the data value voucher and the authentication certificate, wherein the independent authentication identity is generated by the data value voucher and the authenticated certificate generation node according to the density of the data value of the raw data and the relative density of the trust probe, and the value proof identity is generated by the data value voucher and the authenticated certificate generation node according to the ratio of the type of the raw data and the type of the trust probe;
a calculating module 530 configured to obtain, for the data value voucher and the verification certificate, first hash values of the block chain nodes for the data value voucher and the verification certificate according to the block chain nodes and the independent verification identifier, and obtain second hash values of the data value voucher and the verification certificate according to the trust probe type and a neighbor block chain node connected to the block chain nodes;
the querying module 540 is configured to, for the data value credential and the verification certificate, construct a vector matrix with a first hash value corresponding to the data value credential and the verification certificate as a row vector and a second hash value of the arbitration node for the data value credential and the verification certificate as a transposed vector, and query whether a recording path identical to the vector matrix exists in a credential recording table with the independent verification identifier and the vector matrix as recording paths, where a recording structure of the credential recording table includes an independent verification identifier recording unit and a vector matrix recording unit;
a first recording module 550, configured to, if the same recording path exists in the credential recording table, obtain an address and a port key of the recording path, and record the data value credential, the authentication certificate, and the vector matrix with the independent authentication identifier as a starting point and a sum of the first hash value and the second hash value as an end point in the recording path based on the address and the port key of the recording path.
According to the device, the data value voucher and the verified certificate are generated through the data value voucher and the verified certificate generation node based on the trust probe types and the trust probe quantity distributed by the block chain nodes, the first hash value of the block chain node and the second hash value of the arbitration node are determined according to the independent verification identification and the value proof identification in the data value voucher and the verified certificate, the vector matrix is constructed, the data value voucher and the verified certificate are proved and recorded under various conditions by taking the independent verification identification and the vector matrix as recording paths, the safety of the proving and recording of the data value voucher and the verification is improved, and the accuracy of the proving and recording of the data value voucher and the verification is enhanced.
Further, the calculation module is configured to perform a hash operation according to the density of the data value in the independent verification identification of the blockchain node and the relative density of the trust probe to obtain a first hash value of the blockchain node for the data value certificate and the verification certificate.
Further, the calculation module includes:
a traversal submodule configured to traverse, according to the type of the trust probe, a step size of the neighbor block chain link point for the value proof identification from a neighbor block chain node connected to the block chain link point;
the determining submodule is configured to take the neighbor block chain node with the largest step size as an arbitration node of the current data value certificate and verification record;
the execution submodule is configured to perform hash operation according to the relative density of the data value of the raw data based on a Merckel tree algorithm through the arbitration node, so as to obtain a second hash value of the data value certificate and the verification certificate of the arbitration node.
Further, the trust probe type is generated by:
each block chain node generates a head node type of the node according to each data value certificate and verified certificate which are in communication connection with the block chain node, and the head nodes are clustered according to a preset data type in the block chain node to obtain a plurality of node cluster clouds;
determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value obtained by self calculation to block chain link points;
the block chain link point receives a target offset value which is broadcasted by other block chain link points and comprises the head node type calculation, wherein the other block chain nodes are the block chain link points of the head node type of the certificate generation node which acquires the data value voucher and the verification;
and searching the trust probe type from the preset data type by the block link point according to the product of the deviation value and the received target deviation value, wherein the preset data type and the trust probe type are established with a corresponding relation.
Further, the certification and recording device for data value voucher and verification based on block chain further comprises: a second recording module configured to:
under the condition that the same recording path does not exist in the certificate recording table, whether an independent verification identifier which is the same as the independent verification identifiers of the data value certificate and the verification certificate exists in the certificate recording table or not is searched;
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate exists in the voucher record table, determining a vector matrix corresponding to the first independent verification identifier as a first vector matrix;
calculating the similarity between every two column vectors with the same column number in the first vector matrix according to each element in the vector matrix;
and under the condition that the similarity exceeds a preset threshold value, acquiring an address and a port key of a first recording path corresponding to the first vector matrix, and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the first recording path based on the address and the port key of the first recording path.
Further, the second recording module is further configured to:
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate does not exist in the voucher record table, or under the condition that the similarity does not exceed a preset threshold value, a second record path is created by taking the independent verification identifier as an address of a record path and the vector matrix as a port key of the record path;
and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the second recording path.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of another identical element in a process, apparatus, article, or method comprising the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A blockchain-based proof and recording method of data value vouchers and verifications applied to blockchain nodes of a distributed point-to-point management network including a plurality of data value voucher and verified certificate generation nodes and the blockchain nodes connected in many-to-one communication with the plurality of data value voucher and verified certificate generation nodes, the method comprising:
receiving a data value certificate and a verification certificate sent by the data value certificate and verified certificate generation node, wherein the data value certificate and the verification certificate are generated by the data value certificate and verified certificate generation node aiming at original data of a data value to be verified based on a trust probe type and a trust probe quantity distributed by the block chain nodes, the trust probe type is generated by the block chain nodes according to a head node type of the data value certificate and verified certificate generation node, the trust probe quantity is determined by the block chain nodes according to the generation quantity of historical data value certificates of the data value certificate and verified certificate generation node, and the numerical value of the trust probe quantity is positively correlated with the generation quantity of the historical data value certificates;
extracting independent verification identifications and value proof identifications in the data value certificates and the verification certificates, wherein the independent verification identifications are generated by the data value certificates and the verified certificate generation nodes according to the density of the data value of the original data and the relative density of the trust probe, and the value proof identifications are generated by the data value certificates and the verified certificate generation nodes according to the ratio of the type of the original data to the type of the trust probe;
aiming at the data value voucher and the verification certificate, obtaining a first hash value of a block chain link point aiming at the data value voucher and the verification certificate according to the block chain node and the independent verification identifier, and obtaining a second hash value aiming at the data value voucher and the verification certificate according to the trust probe type and a neighbor block chain node connected with the block chain link point;
aiming at the data value voucher and the verification certificate, constructing a vector matrix by taking a first hash value corresponding to the data value voucher and the verification certificate as a row vector and taking a second hash value of an arbitration node aiming at the data value voucher and the verification certificate as a transposed vector, and inquiring whether a recording path which is the same as the vector matrix exists in a voucher recording table or not by taking the independent verification identifier and the vector matrix as recording paths, wherein a recording structure of the voucher recording table comprises an independent verification identifier recording unit and a vector matrix recording unit;
and under the condition that the same recording path exists in the certificate recording table, acquiring an address and a port key of the recording path, and recording the data value certificate, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the recording path based on the address and the port key of the recording path.
2. The attestation and recording method according to claim 1, wherein said deriving a first hash value of a blockchain node for the data value credential and the certificate of authenticity from the blockchain node and the independent authentication identity comprises:
and performing Hash operation according to the density of the data value in the independent verification identification of the blockchain node and the relative density of the trust probe to obtain a first Hash value of the blockchain node aiming at the data value certificate and the verification certificate.
3. The attestation and recording method of claim 1, wherein said deriving a second hash value for the data value credential and the validation certificate from the trust probe type and a neighbor blockchain node connected to the blockchain node comprises:
according to the type of the trust probe, traversing and determining the step length of the neighbor block chain link point aiming at the value certification mark from the neighbor block chain node connected with the block chain link point;
taking the neighbor block chain node with the largest step length as an arbitration node of the current data value certificate and verification record;
and performing hash operation according to the relative density of the data value of the original data by the arbitration node based on a Mercker tree algorithm to obtain a second hash value of the arbitration node for the data value voucher and the verification certificate.
4. The attestation and recording method of claim 1, wherein the trust probe type is generated by:
each block chain node generates a head node type of the node according to each data value certificate and verified certificate which are in communication connection with the block chain node, and the head nodes are clustered according to a preset data type in the block chain node to obtain a plurality of node cluster clouds;
determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value obtained by self calculation to block chain link points;
the block chain link point receives a target offset value which is broadcasted by other block chain link points and comprises the head node type calculation, wherein the other block chain nodes are the block chain link points of the head node type of the certificate generation node which acquires the data value voucher and the verification;
and searching the trust probe type from the preset data type according to the product of the deviation value and the received target deviation value by the block link point, wherein the preset data type and the trust probe type are established with a corresponding relation.
5. The certification and recording method according to any one of claims 1 to 4, wherein the method further comprises:
under the condition that the same recording path does not exist in the certificate recording table, whether an independent verification identifier which is the same as the independent verification identifiers of the data value certificate and the verification certificate exists in the certificate recording table or not is searched;
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate exists in the voucher record table, determining a vector matrix corresponding to the first independent verification identifier as a first vector matrix;
calculating the similarity between every two column vectors with the same column number in the first vector matrix according to each element in the vector matrix;
and under the condition that the similarity exceeds a preset threshold value, acquiring an address and a port key of a first recording path corresponding to the first vector matrix, and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the first recording path based on the address and the port key of the first recording path.
6. The certification and recording method according to claim 5, further comprising:
under the condition that a first independent verification identifier which is the same as the independent verification identifiers of the data value voucher and the verification certificate does not exist in the voucher record table, or under the condition that the similarity does not exceed a preset threshold value, a second record path is created by taking the independent verification identifier as an address of a record path and the vector matrix as a port key of the record path;
and recording the data value voucher, the verification certificate and the vector matrix by taking the independent verification identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the second recording path.
7. An apparatus for blockchain-based attestation and recordation of data value vouchers and verifications for use with blockchain linked points of a distributed point-to-point management network including a plurality of data value voucher and verified certificate generation nodes and the blockchain nodes in a many-to-one communication connection with the plurality of data value voucher and verified certificate generation nodes, the apparatus comprising:
a receiving module configured to receive a data value certificate and a verification certificate sent by the data value certificate and a verified certificate generation node, wherein the data value certificate and the verification certificate are generated by the data value certificate and verified certificate generation node for original data of a data value to be verified based on a trust probe type and a trust probe number distributed by the block link node, the trust probe type is generated by the block link node according to a head node type of the data value certificate and verified certificate generation node, the trust probe number is determined by the block link node according to a generation number of historical data value certificates of the data value certificate and verified certificate generation node, and a numerical value of the trust probe number is positively correlated with the generation number of the historical data value certificates;
an extraction module configured to extract an independent validation identity and a value proof identity in the data value credential and validation certificate, wherein the independent validation identity is generated by the data value credential and validated certificate generation node from a density of data values of the raw data and a relative density of the trust probe, and the value proof identity is generated by the data value credential and validated certificate generation node from a ratio of a type of the raw data and a type of the trust probe;
a computing module configured to obtain, for the data value credential and the verification certificate, a first hash value of a block chain node for the data value credential and the verification certificate according to the block chain node and the independent verification identifier, and obtain a second hash value for the data value credential and the verification certificate according to the trust probe type and a neighboring block chain node connected to the block chain node;
the query module is configured to regard the data value voucher and the verification certificate, construct a vector matrix by taking a first hash value corresponding to the data value voucher and the verification certificate as a row vector and taking a second hash value of an arbitration node for the data value voucher and the verification certificate as a transposed vector, and query whether a recording path which is the same as the vector matrix exists in a voucher recording table or not by taking the independent verification identifier and the vector matrix as recording paths, wherein a recording structure of the voucher recording table comprises an independent verification identifier recording unit and a vector matrix recording unit;
the first recording module is configured to acquire an address and a port key of the recording path under the condition that the same recording path exists in the credential recording table, and record the data value credential, the authentication certificate and the vector matrix with the independent authentication identifier as a starting point and the sum of the first hash value and the second hash value as an end point under the recording path based on the address and the port key of the recording path.
8. The attestation and recording device of claim 7, wherein the computing module is configured to perform a hash operation on a density of data values in the independent verification identifications of the blockchain nodes and a relative density of the trust probe to obtain a first hash value of the blockchain node for the data value credential and the verification certificate.
9. The attestation and recording device of claim 7, wherein the computing module comprises:
a traversal submodule configured to traverse, according to the type of the trust probe, a step size of the neighbor block chain link point for the value proof identification from a neighbor block chain node connected to the block chain link point;
the determining submodule is configured to take the neighbor block chain node with the largest step size as an arbitration node of the current data value certificate and verification record;
the execution submodule is configured to perform hash operation according to the relative density of the data value of the raw data based on a Merckel tree algorithm through the arbitration node, so as to obtain a second hash value of the data value certificate and the verification certificate of the arbitration node.
10. The attestation and recording device of claim 7, wherein the trust probe type is generated by:
each block chain node generates a head node type of a node according to each data value certificate and verified certificate which are in communication connection with the block chain node, and the head nodes are clustered according to a preset data type in the block chain node to obtain a plurality of node cluster clouds;
determining a node cluster cloud center and a node cluster cloud center corresponding to each node cluster cloud, calculating an offset value of the node cluster cloud according to the node cluster cloud center and the node cluster cloud center, and broadcasting the offset value obtained by self calculation to block chain link points;
the block chain link point receives a target offset value which is broadcasted by other block chain link points and comprises the head node type calculation, wherein the other block chain nodes are the block chain link points of the head node type of the certificate generation node which acquires the data value voucher and the verification;
and searching the trust probe type from the preset data type according to the product of the deviation value and the received target deviation value by the block link point, wherein the preset data type and the trust probe type are established with a corresponding relation.
CN202110197450.4A 2021-02-22 2021-02-22 Block chain-based data value certificate and verification proving and recording method and device Active CN112883113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110197450.4A CN112883113B (en) 2021-02-22 2021-02-22 Block chain-based data value certificate and verification proving and recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110197450.4A CN112883113B (en) 2021-02-22 2021-02-22 Block chain-based data value certificate and verification proving and recording method and device

Publications (2)

Publication Number Publication Date
CN112883113A CN112883113A (en) 2021-06-01
CN112883113B true CN112883113B (en) 2023-01-31

Family

ID=76056766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110197450.4A Active CN112883113B (en) 2021-02-22 2021-02-22 Block chain-based data value certificate and verification proving and recording method and device

Country Status (1)

Country Link
CN (1) CN112883113B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889505A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 The data property held verification method and terminal device
CN109906443A (en) * 2016-11-03 2019-06-18 维萨国际服务协会 The system and method for being used to form general record
WO2019195821A1 (en) * 2018-04-06 2019-10-10 Daniel Maurice Lerner Authentication and validation of data storage and transmission using blockchain
CN110599174A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Block chain information processing method and related equipment
CN111128322A (en) * 2019-12-06 2020-05-08 北京先通康桥医药科技有限公司 Block chain-based medical data processing method, server and system
CN111814129A (en) * 2020-08-28 2020-10-23 支付宝(杭州)信息技术有限公司 Digital certificate invalidation and verification method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI483138B (en) * 2012-10-12 2015-05-01 Acer Inc Method for processing and verifying remote dynamic data, system using the same, and computer-readable medium
CN108846673B (en) * 2018-07-02 2022-10-11 苏州我的打工人力资源有限公司 Block data processing method, device, equipment and storage medium
CN108924130B (en) * 2018-07-02 2021-05-07 上海达家迎信息科技有限公司 Block data verification method, device, equipment and storage medium
US20200364817A1 (en) * 2019-05-17 2020-11-19 UCOT Holdings Pty Ltd Machine type communication system or device for recording supply chain information on a distributed ledger in a peer to peer network
CN111680324B (en) * 2020-05-28 2023-09-22 中国工商银行股份有限公司 Credential verification method, management method and issuing method for blockchain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109906443A (en) * 2016-11-03 2019-06-18 维萨国际服务协会 The system and method for being used to form general record
WO2019195821A1 (en) * 2018-04-06 2019-10-10 Daniel Maurice Lerner Authentication and validation of data storage and transmission using blockchain
CN109889505A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 The data property held verification method and terminal device
CN110599174A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Block chain information processing method and related equipment
CN111128322A (en) * 2019-12-06 2020-05-08 北京先通康桥医药科技有限公司 Block chain-based medical data processing method, server and system
CN111814129A (en) * 2020-08-28 2020-10-23 支付宝(杭州)信息技术有限公司 Digital certificate invalidation and verification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链的电子政务大数据安全共享研究;金泳等;《信息安全研究》;20181105(第11期);1-5页 *

Also Published As

Publication number Publication date
CN112883113A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
Qi et al. Cpds: Enabling compressed and private data sharing for industrial Internet of Things over blockchain
CN110493347B (en) Block chain-based data access control method and system in large-scale cloud storage
Yu et al. Decentralized big data auditing for smart city environments leveraging blockchain technology
CN109257342B (en) Block chain cross-chain authentication method, system, server and readable storage medium
CN107395574B (en) Information identification, information request and providing method and device, storage medium and equipment
CN112187712B (en) Anonymous authentication method and system for trust in de-center mobile crowdsourcing
US20130148803A1 (en) Multi-user searchable encryption system and method with index validation and tracing
Chen et al. A blockchain-based proxy re-encryption with equality test for vehicular communication systems
TW201437839A (en) Method, apparatus and computer-readable storage medium for certificate generation and revocation with privacy preservation
CN113259311A (en) Decentralized identity authentication system based on block chain
CN112235260B (en) Anonymous data storage method, device, equipment and storage medium
CN112865962A (en) Block chain-based distributed identification authentication method and device and electronic equipment
CN108540447B (en) Block chain-based certificate verification method and system
CN109088719A (en) Outsourced database multi-key word can verify that cipher text searching method, data processing system
Miao et al. Blockchain assisted multi-copy provable data possession with faults localization in multi-cloud storage
CN114021164B (en) Credit system privacy protection method based on block chain
CN112883113B (en) Block chain-based data value certificate and verification proving and recording method and device
CN110851848A (en) Privacy protection method for symmetric searchable encryption
CN115242534B (en) Node state security query method, system and device
CN113395281B (en) Verification method and device capable of verifying statement and electronic equipment
US20230146229A1 (en) Entity, gateway device, information processing device, information processing system, and information processing method
CN114710796A (en) Sensor abnormity detection method, device and system based on block chain
CN114640475B (en) Decentralized identity authentication method and device, computer equipment and storage medium
Yu et al. Blockchain-based cryptographic model for electronic evidence authentication
CN113221158B (en) Block chain-based security verification method for stock of securities work

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

Address after: 518000 2306, Building 8, Qianhai Excellence Financial Center (Phase I), Unit 2, Guiwan District, Nanshan Street, Qianhai Shenzhen Hong Kong Cooperation Zone, Shenzhen, Guangdong

Applicant after: Shenzhen Star Network Storage Technology Co.,Ltd.

Address before: 518000 2nd floor, building 63, Zhongwu new industrial park, Zhongwu community, Hangcheng street, an District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen xingwangchu blockchain Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230825

Address after: 9P, Gangwan Entrepreneurship Building, 1041 Houhai Avenue, Haiwan Community, Shekou Street, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Kangyi Project Management Co.,Ltd.

Address before: 518000 2306, Building 8, Qianhai Excellence Financial Center (Phase I), Unit 2, Guiwan District, Nanshan Street, Qianhai Shenzhen Hong Kong Cooperation Zone, Shenzhen, Guangdong

Patentee before: Shenzhen Star Network Storage Technology Co.,Ltd.