Trusted data asset security management and traceability system based on blockchain technology

Through the Xinchuang data asset security management and traceability system based on blockchain technology, the single-point failure risk and traceability complexity problems of the Xinchuang data asset management system are solved, the safe transmission and storage of data is realized, and the authenticity of the data is ensured. and high reducibility.

CN118484840BActive Publication Date: 2024-10-11SHANDONG ZHENGXIN BIG DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410930809.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing Xinchuang data asset management system has the risk of single point failure, making it difficult to ensure the security of data transmission and storage, and cannot effectively trace the storage nodes that tampered with Xinchuang data. The traceability function of the traditional system is complex and costly, and it is difficult to meet real-time requirements. requirements for accuracy and accuracy.

Method used

Using the Xinchuang data asset security management and traceability system based on blockchain technology, through data desensitization, hash processing and traceability analysis, keyword pairs and sensitive character segments in Xinchuang data are extracted, and data desensitization and fragmentation are performed Processing, using blockchain storage nodes for distributed storage, and performing data verification and traceability through hash tables and unique identifiers.

Benefits of technology

It avoids the risk of single point failure, ensures the security of data transmission and storage, realizes efficient Xinchuang data asset verification and traceability, and ensures the authenticity and high reducibility of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484840B_ABST
    Figure CN118484840B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of information technology. The present invention discloses a blockchain-based credible data asset security management and traceability system, comprising: extracting keyword pairs in credible data, identifying sensitive character segments in the credible data according to the keyword pairs, obtaining sensitive character segments, performing data desensitization on all sensitive character segments, and forming desensitized credible data; performing a hash process on the desensitized credible data after data sharding to obtain merged blocks, cloned merged blocks and unique identifiers; performing a secondary hash process on the merged blocks and cloned merged blocks to obtain a storage hash table; restoring the merged blocks or cloned merged blocks according to the storage hash table and the unique identifier, and performing traceability analysis on the restored merged blocks or cloned merged blocks to determine the authenticity of the stored desensitized credible data or the tampering node; the present invention can ensure the security of credible data transmission and storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and more specifically, to a blockchain-based trusted data asset security management and traceability system. Background Art

[0002] With the development of the field of information technology application innovation (ICT), data has gradually become the core asset of enterprises and organizations; ICT data assets include core business data, user data, equipment and sensor data, log and audit data, document and file data, as well as data analysis and mining results; these data not only have important commercial value, but also involve business continuity, security and compliance; in traditional data management systems, the security management and traceability of data assets face many challenges; data tampering and forgery are serious problems, and attackers can tamper with data in a variety of ways to destroy its authenticity and integrity; data leakage and privacy protection issues are also becoming increasingly prominent, especially in an environment of multi-party collaboration and data sharing, traditional systems find it difficult to ensure the security of data during transmission and storage; in addition, the traceability function of traditional systems usually relies on centralized organizations, and there is a risk of single point failure. The traceability process is complex and costly, and it is difficult to meet the requirements of real-time and accuracy.

[0003] At present, there is a lack of security management system for credible data assets. Although there are some relevant technical documents, such as the patent with authorization announcement number CN113641662B, which discloses a credible database migration verification method, this method ensures the security of credible data assets through data migration; however, research and practical application of the above method and existing technology have found that the above method and existing technology have at least the following defects:

[0004] (1) There is a risk of single point failure. Once the database is hacked or the storage node is destroyed, the security of the information transmission and storage cannot be guaranteed;

[0005] (2) Once the centralized storage database is tampered with, the authenticity of the trusted data cannot be guaranteed. The existing simple form of distributed storage cannot ensure the security of the trusted data while making it highly reversible. At the same time, it is impossible to trace the storage node that tampered with the trusted data. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a secure management and traceability system for trusted data assets based on blockchain technology.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A blockchain-based information technology-based security management and traceability system for trustworthy data assets, the system comprising:

[0009] A data desensitization module is used to obtain the trusted data generated by the trusted data system, extract K groups of keyword pairs in the trusted data, and identify sensitive character segments in the trusted data based on the keyword pairs to obtain G sensitive character segments, perform data desensitization on all sensitive character segments to form desensitized trusted data, where K and G are integers greater than zero;

[0010] A one-time hash module is used to perform a hash process on the desensitized information creation data after data sharding to obtain a merged block, a cloned merged block and a unique identifier;

[0011] A secondary hash module, used for performing secondary hash processing on the merged block and the cloned merged block to obtain a storage hash table, wherein the storage hash table includes an index of each merged block and the cloned merged block;

[0012] The information tracing module is used to restore the merged block or cloned merged block according to the storage hash table and the unique identifier, and perform tracing analysis based on the restored merged block or cloned merged block to determine the authenticity or tampering node of the stored desensitized information data.

[0013] Furthermore, extracting K groups of keyword pairs from the information creation data includes:

[0014] S11: Perform word segmentation on the xinchuang data to obtain M word groups, where M is an integer greater than zero;

[0015] S12: extracting the i-th phrase from the M phrases in the order of the phrases, where the initial value of i is 1 and i is an integer greater than zero;

[0016] S13: input the i-th phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding i phrases are used as the first positioning keywords, and i=i+1 is set, and the process returns to step 12; if the traversal result output is an empty set, the process jumps to step S14;

[0017] S14: extracting the j-th word group from the M word groups, where the initial value of j is 2 and j is an integer greater than zero;

[0018] S15: input the jth phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding jth phrase is used as the second positioning keyword, the first positioning keyword and the second positioning keyword are used as a set of keyword pairs, and j is assigned to i, and the process returns to step 12; if the traversal result output is an empty set, j=j+1 is set, and the process returns to step 14;

[0019] S16: Repeat the above steps S12 to S15 until i=M-1, or j=M, then end the loop and obtain K groups of keyword pairs.

[0020] Furthermore, the identifying of sensitive character segments in the credentialed data includes:

[0021] S21: extracting the vth group of keyword pairs from the K groups of keyword pairs, where v is an integer greater than zero;

[0022] S22: extract the first positioning keyword and the second positioning keyword in the vth group of keyword pairs, and extract all phrases between the first positioning keyword and the second positioning keyword in the xinchuang data;

[0023] S23: according to the preset relationship between the first positioning keyword and the predefined regular expression rule, extract the corresponding predefined regular expression rule, use the corresponding predefined regular expression rule to identify all phrases, mark the content identified by the corresponding predefined regular expression rule as a sensitive character segment, set v=v+1, and return to step S21;

[0024] S24: Repeat the above steps S21 to S23 until v=K, then end the loop and obtain G sensitive character segments.

[0025] Furthermore, the data desensitization of all sensitive character segments includes:

[0026] S31: extracting the rth sensitive character segment from the G sensitive character segments, where r is an integer greater than zero;

[0027] S32: Obtain a corresponding keyword pair related to the rth sensitive character segment, extract a first positioning keyword in the corresponding keyword pair, and obtain a desensitization rule according to the association relationship between the first positioning keyword and the desensitization rule;

[0028] S33: Desensitize the rth sensitive character segment according to the desensitization rule, set r=r+1, and return to step S31;

[0029] S34: Repeat the above steps S31 to S33 until r=G, then end the loop, complete the desensitization of all sensitive character segments, and obtain desensitized information creation data.

[0030] Furthermore, the desensitized information creation data after data sharding is hashed once, including:

[0031] The desensitized information creation data is segmented by using a data segmentation method to obtain N data blocks, where N is an integer greater than zero;

[0032] Hash each data block to obtain Q block hash values, use each block hash value as a unique identifier, and bind the unique identifier to its corresponding data block to obtain N composite blocks, where Q is an integer greater than zero;

[0033] Merge each T composite blocks among the N composite blocks to form P merged blocks, where T and P are integers greater than zero, and T is less than N;

[0034] Create multiple copies for each merged block, mark the multiple copies as cloned merged blocks, and obtain H cloned merged blocks, where H is an integer greater than zero.

[0035] Furthermore, the data sharding method is a specific one of horizontal sharding, vertical sharding or mixed sharding; wherein the hash processing is specifically implemented using one of the SHA-256 or SHA-3 hash algorithms.

[0036] Furthermore, the performing secondary hash processing on the merged block and the cloned merged block includes:

[0037] Get the number of blockchain storage nodes owned;

[0038] Calculate the storage hash value of each merged block and cloned merged block, and perform a modulo operation on the storage hash value of each merged block and cloned merged block according to the number of blockchain storage nodes to obtain the corresponding index of each mapped blockchain storage node, and form a storage hash table according to the corresponding index of each mapped blockchain storage node;

[0039] According to the storage hash table, each merged block and cloned merged block is sent to the corresponding blockchain storage node for storage.

[0040] Furthermore, the source tracing analysis based on the restored merged blocks or cloned merged blocks includes:

[0041] S41: extracting two merged blocks or cloned merged blocks with the same content from any two blockchain storage nodes;

[0042] S42: Perform first-round similarity calculation on two merged blocks or cloned merged blocks with the same content. If the first-round similarity is greater than or equal to the preset first-round similarity threshold, it is determined that there is no tampered node. If the first-round similarity is less than the preset first-round similarity threshold, the blockchain storage node corresponding to the merged block or cloned merged block is marked as a suspicious node, and jump to step S43;

[0043] S43: Using the blockchain storage node with the same content as the suspicious node as a comparison node, and obtaining the number Y of the comparison nodes, where Y is an integer greater than zero;

[0044] S44: extract the merged block or cloned merged block in the c-th comparison node, perform a secondary similarity calculation on each suspicious node and the merged block or cloned merged block in the c-th comparison node, if the secondary similarity is greater than or equal to a preset secondary similarity threshold, judge that the corresponding suspicious node is not a tampered node, if the secondary similarity is less than the preset secondary similarity threshold, record that the corresponding suspicious node has a suspicious situation, and jump to step S45, where c is an integer greater than zero;

[0045] S45: Set c=c+1, and return to step S44;

[0046] S46: Repeat the above S44 to S45 until the maximum number of iterations is reached, and then end the loop. If it is found after the end of the loop that the number of suspicious situations of a suspicious node reaches a preset threshold, the corresponding suspicious node is determined to be a tampered node.

[0047] Furthermore, the preset first-round similarity threshold is equal to the preset second-round similarity threshold.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] The present application discloses a blockchain-based credible data asset security management and traceability system, including: extracting keyword pairs from credible data, identifying sensitive character segments in the credible data according to the keyword pairs, obtaining sensitive character segments, desensitizing all sensitive character segments, and forming desensitized credible data; performing a hash process on the desensitized credible data after data sharding to obtain merged blocks, cloned merged blocks, and unique identifiers; performing a secondary hash process on the merged blocks and cloned merged blocks to obtain a storage hash table; restoring the merged blocks or cloned merged blocks according to the storage hash table and the unique identifier. The original is restored, and a traceability analysis is performed based on the restored merged blocks or cloned merged blocks to determine the authenticity of the stored desensitized trusted data or the tampering node; based on the above technical features, the present invention can avoid the risk of single point failure and is conducive to ensuring the security of data transmission and storage; in addition, by setting a unique identifier and a storage hash table, and performing data restoration and verification based on the unique identifier and the storage hash table, the present invention can achieve efficient trusted data asset verification, trace the storage node that has tampered with the trusted data, and through partial merging and copy creation, the present invention can also ensure the high reducibility of the trusted data. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A structural diagram of a trusted data asset security management and traceability system based on blockchain technology provided by the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Example 1: Please refer to Figure 1 As shown, this embodiment discloses a blockchain-based information asset security management and traceability system, the system comprising:

[0053] The data desensitization module 110 is used to obtain the credible data generated by the credible data system, extract K groups of keyword pairs in the credible data, and identify sensitive character segments in the credible data according to the keyword pairs to obtain G sensitive character segments, perform data desensitization on all sensitive character segments to form desensitized credible data, where K and G are integers greater than zero;

[0054] It should be understood that the credible data generated by the credible data system mainly refers to the data generated and processed in the process of information technology application innovation (credible data); credible data is an important part of the credible system, covering a wide range of information technology application fields; specifically, credible data includes but is not limited to business data (such as financial transaction data), system log data, user behavior data, configuration data and analysis data (such as statistical analysis results, prediction model data, report data, etc.);

[0055] In implementation, the step of extracting K groups of keyword pairs from the credentialed innovation data includes:

[0056] S11: Perform word segmentation on the xinchuang data to obtain M word groups, where M is an integer greater than zero;

[0057] It should be understood that: word segmentation of Xinchuang data can be achieved using existing word segmentation methods or tools (such as Jieba word segmentation tool, SpaCy);

[0058] S12: extracting the i-th phrase from the M phrases in the order of the phrases, where the initial value of i is 1 and i is an integer greater than zero;

[0059] S13: input the i-th phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding i phrases are used as the first positioning keywords, and i=i+1 is set, and the process returns to step 12; if the traversal result output is an empty set, the process jumps to step S14;

[0060] It should be noted that the preset keyword database is artificially constructed by technical personnel in advance, and includes several sensitive words, such as transaction amount, telephone number, etc.;

[0061] S14: extracting the j-th word group from the M word groups, where the initial value of j is 2 and j is an integer greater than zero;

[0062] S15: input the jth phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding jth phrase is used as the second positioning keyword, the first positioning keyword and the second positioning keyword are used as a set of keyword pairs, and j is assigned to i, and the process returns to step 12; if the traversal result output is an empty set, j=j+1 is set, and the process returns to step 14;

[0063] S16: Repeat the above steps S12 to S15 until i=M-1, or j=M, then end the loop and obtain K groups of keyword pairs;

[0064] Exemplarily, it is assumed that the xinchuang data is "customer information: name: Zhang San; position: sales; contact number: 12345678910; email: zhangsan@example.com"; after the xinchuang data is segmented, it is formed into "customer / information / name / Zhang San / position / sales / contact number / 12345678910 / email / zhang / san / @ / example / . / com"; it is assumed that "name", "contact number" and "email" are sensitive words in the preset sensitive word database, and according to the order of phrases, "name" is the first positioning keyword, and "contact number" is the second positioning keyword. Therefore, "name" and "contact number" are taken as a group of keyword pairs. After continuing the loop processing, it is found that "contact number" is the first positioning keyword, and "email" is the second positioning keyword. Therefore, "contact number" and "email" are taken as another group of keyword pairs, and so on, K groups of keyword pairs are obtained;

[0065] In implementation, the identifying of sensitive character segments in the credentialed data includes:

[0066] S21: extracting the vth group of keyword pairs from the K groups of keyword pairs, where v is an integer greater than zero;

[0067] S22: extract the first positioning keyword and the second positioning keyword in the vth group of keyword pairs, and extract all phrases between the first positioning keyword and the second positioning keyword in the xinchuang data;

[0068] S23: according to the preset relationship between the first positioning keyword and the predefined regular expression rule, extract the corresponding predefined regular expression rule, use the corresponding predefined regular expression rule to identify all phrases, mark the content identified by the corresponding predefined regular expression rule as a sensitive character segment, set v=v+1, and return to step S21;

[0069] It should be noted that: a plurality of preset relationships between first positioning keywords and predefined regular expression rules are pre-stored in the system database, and in each preset relationship, there is a first positioning keyword and a predefined regular expression rule associated and bound therewith; each preset relationship is generated by a technician in advance by manually associating and binding;

[0070] It should also be noted that: each predefined regular expression rule is manually set by a technician in advance, and a regular expression pattern is manually defined in each predefined regular expression rule. For example, the regular expression pattern of "contact number" is defined as "\b\d{3}[-.\s]?\d{4}[-.\s]?\d{4}\b", and the regular expression pattern of "name" is defined as "[\u4e00-\u9fa5]{2,3}";

[0071] S24: Repeat the above steps S21 to S23 until v=K, then end the loop and obtain G sensitive character segments;

[0072] For example, following the above assumption, if the Xinchuang data is segmented, it will form "customer / information / name / Zhang San / position / sales / contact number / 12345678910 / email / zhang / san / @ / example / . / com"; when the first positioning keyword and the second positioning keyword in the vth group of keyword pairs are extracted, it is found that the first positioning keyword and the second positioning keyword are "name" and "contact number" respectively, and according to the first positioning keyword and the predefined regular table The preset relationship of the expression rule is found that the regular expression rule of "name" is "\b\d{3}[-.\s]?\d{4}[-.\s]?\d{4}\b"; therefore, all phrases between "name" and "contact number" in the Xinchuang data are extracted, and all phrases are extracted according to the regular expression rule of "name" which is "\b\d{3}[-.\s]?\d{4}[-.\s]?\d{4}\b", and "Zhang San" is obtained, and "Zhang San" is used as the sensitive character segment;

[0073] It is understandable that positioning through keyword pairs can narrow the scope of regular expression matching and reduce the number of regular expression searches in the entire text, thereby improving processing speed and efficiency and reducing the possibility of mismatching; for example, after locating the "name" keyword, only regular expression patterns matching the name are searched near it;

[0074] In implementation, the data desensitization of all sensitive character segments includes:

[0075] S31: extracting the rth sensitive character segment from the G sensitive character segments, where r is an integer greater than zero;

[0076] S32: Obtain a corresponding keyword pair related to the rth sensitive character segment, extract a first positioning keyword in the corresponding keyword pair, and obtain a desensitization rule according to the association relationship between the first positioning keyword and the desensitization rule;

[0077] It should be noted that: a plurality of associations between first positioning keywords and desensitization rules are pre-stored in the system database, and in each association, there is a first positioning keyword and a desensitization rule bound thereto; wherein, the desensitization rule may be an existing desensitization rule or a desensitization rule pre-set by a technician;

[0078] S33: Desensitize the rth sensitive character segment according to the desensitization rule, set r=r+1, and return to step S31;

[0079] S34: Repeat the above steps S31 to S33 until r=G, then end the loop, complete the desensitization of all sensitive character segments, and obtain desensitized information creation data;

[0080] Exemplarily, continuing with the above assumptions, if the credible data is segmented, it will form "customer / information / name / Zhang San / position / sales / contact number / 12345678910 / email / zhang / san / @ / example / . / com"; among them, "Zhang San" is the first sensitive character segment, and the corresponding keyword pair related to the sensitive character segment is "name" and "contact number", among which "name" is the first positioning keyword; assuming that according to the association between the first positioning keyword and the desensitization rule, it is found that the desensitization rule for "name" is to replace the second character in the sensitive character segment with "*"; therefore, after desensitizing the first sensitive character segment "Zhang San", "Zhang*" is displayed.

[0081] A one-time hash module is used to perform a hash process on the desensitized information creation data after data sharding to obtain a merged block, a cloned merged block and a unique identifier;

[0082] In implementation, the desensitized credentialed data after data sharding is hashed once, including:

[0083] The desensitized information creation data is segmented by using a data segmentation method to obtain N data blocks, where N is an integer greater than zero;

[0084] Hash each data block to obtain Q block hash values, use each block hash value as a unique identifier, and bind the unique identifier to its corresponding data block to obtain N composite blocks, where Q is an integer greater than zero;

[0085] Merge each T composite blocks among the N composite blocks to form P merged blocks, where T and P are integers greater than zero, and T is less than N;

[0086] Create multiple copies for each merged block, mark the multiple copies as cloned merged blocks, and obtain H cloned merged blocks, where H is an integer greater than zero;

[0087] It should be noted that: the data sharding method is a specific one of horizontal sharding, vertical sharding or mixed sharding; wherein the hash processing is specifically implemented by one of the SHA-256 or SHA-3 hash algorithms;

[0088] For example, after the desensitized information creation data is fragmented, assuming N=3, three data blocks are obtained, namely A1, A2 and A3. Then, three block hash values ​​are generated for A1, A2 and A3 respectively. Assuming that the block hash value generated by A1 is "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", the block hash value generated by A2 is "912ec803b2ce49e4a541068d495ab570", and the block hash value generated by A3 is "dffd6021bb2bd5b0af6 76d8fefc7edb4", therefore, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" is used as the unique identifier of data block A1, and "912ec803b2ce49e4a541068d495ab570" is used as the unique identifier of A2, and "dffd6021bb2bd5b0af676d8fefc7edb4" is used as the unique identifier of A2. As the unique identifier of A3, the unique identifier is then bound to its corresponding data block to obtain composite blocks, namely B1, B2 and B3; Continuing to assume that T=2, that is, every two composite blocks in the N composite blocks are merged to form B1-B2, B1-B3 and B2-B3, at this time P=3; then multiple copies are created for each merged block, that is, three clone merged blocks are obtained, namely copy1-B1-B2, copy1-B1-B3 and copy1-B2-B3, at this time H=3;

[0089] According to the above examples, the three data blocks A1, A2 and A3 contain all the contents of the desensitized credible data. In other words, if you need to obtain the complete desensitized credible data, you must obtain the three data blocks A1, A2 and A3. If the data block of a storage node is lost or forged, it will be impossible to restore the real and complete desensitized credible data. Therefore, in order to solve the problem of unreliability of a single node, the present invention divides the data into blocks, partially merges the data blocks, and then creates multiple copies for distributed storage, which greatly improves the storage security of the desensitized credible data. Since there are partial duplications in the merged data blocks (i.e., merged blocks), in order to ensure the high efficiency of data restoration, by adding a unique identifier to the data blocks, the repeated parts in the merged blocks can be quickly obtained.

[0090] Exemplarily, based on the above assumption, since T=2, only two merged blocks or cloned merged blocks need to be obtained to restore the desensitized credible data. Assuming that the two merged blocks or cloned merged blocks extracted are B1-B2 and B1-B3, it is found through analysis that the unique identifier A1 in B1 appears the most times. Therefore, the redundant B1 is extracted and retained until only one copy of B1 is left. Finally, A1, A2 and A3 in B1, B2 and B3 are merged to obtain the complete desensitized credible data.

[0091] A secondary hash module 130, configured to perform secondary hash processing on the merged block and the cloned merged block to obtain a storage hash table, wherein the storage hash table includes an index of each merged block and the cloned merged block;

[0092] In implementation, the secondary hashing of the merged blocks and the cloned merged blocks includes:

[0093] Get the number of blockchain storage nodes owned;

[0094] Calculate the storage hash value of each merged block and cloned merged block, and perform a modulo operation on the storage hash value of each merged block and cloned merged block according to the number of blockchain storage nodes to obtain the corresponding index of each mapped blockchain storage node, and form a storage hash table according to the corresponding index of each mapped blockchain storage node;

[0095] According to the storage hash table, each merged block and cloned merged block is sent to the corresponding blockchain storage node for storage;

[0096] Exemplarily, it is assumed that there are 3 merged blocks or cloned merged blocks, 4 blockchain storage nodes, wherein the 3 merged blocks or cloned merged blocks are B1-B2, B1-B3 and B2-B3, and the 4 blockchain storage nodes are "nodeB", "nodeB", "nodeC" and "nodeD", wherein the index of "nodeB" is 0, the index of "nodeB" is 1, the index of "nodeC" is 2 and the index of "nodeD" is 3, and "the hash value of B1-B2 = 12345", "the hash value of B1-B3 = 67890", "the hash value of B2-B3 = 10003", and then the hash of each composite data is modulo-operated according to the number of blockchain storage nodes to obtain the corresponding index of each mapped blockchain storage node; see Table 1 below for detailed data:

[0097]

[0098] According to Table 1 above, each merged block or cloned merged block is mapped to the corresponding blockchain storage node for storage. At the same time, a storage hash table is formed according to the corresponding index of each mapped blockchain storage node, that is, in the storage hash table, the mapped blockchain storage node of B1-B2 can be known according to index number 1, the mapped blockchain storage node of B1-B3 can be known according to index number 2, and the mapped blockchain storage node of B2-B3 can be known according to index number 3;

[0099] It should be noted that: when performing secondary hash processing on the merged blocks and cloned merged blocks, if a hash conflict occurs, it is resolved through double hash processing; similar to the above-mentioned primary hash processing, the secondary hash processing is implemented using a hash algorithm such as SHA-256 or SHA-3.

[0100] The information tracing module 140 is used to restore the merged block or cloned merged block according to the storage hash table and the unique identifier, and perform tracing analysis based on the restored merged block or cloned merged block to determine the authenticity or tampering node of the stored desensitized information creation data;

[0101] Exemplarily, continuing with the above assumptions, it is also assumed that index number 1 and index number 2 are selected according to the storage hash table. Therefore, in the process of restoring the merged block or cloned merged block according to the storage hash table and the unique identifier, B1-B2 is extracted from the blockchain storage node nodeB, and B1-B3 is extracted from the blockchain storage node nodeC. Then B1-B3 is parsed, and 4 composite blocks are obtained, namely, the unique identifier of A1 and A1, the unique identifier of A1 and A1, the unique identifier of A2 and A2, and the unique identifier of A3 and A3. It should be noted that A1, A2 and A3 are artificial annotations made to explain the logic of the present invention. In fact, the three data blocks are not labeled. Therefore, it is found through the unique identifier that A1 has the most occurrences of the unique identifier, so A1 is deleted until only one is left. Finally, A1, A2 and A3 are merged and decrypted to obtain the original Xinchuang data;

[0102] In implementation, the source tracing analysis based on the restored merged blocks or cloned merged blocks includes:

[0103] S41: extracting two merged blocks or cloned merged blocks with the same content from any two blockchain storage nodes;

[0104] S42: Perform first-round similarity calculation on two merged blocks or cloned merged blocks with the same content. If the first-round similarity is greater than or equal to the preset first-round similarity threshold, it is determined that there is no tampered node. If the first-round similarity is less than the preset first-round similarity threshold, the blockchain storage node corresponding to the merged block or cloned merged block is marked as a suspicious node, and jump to step S43;

[0105] S43: Using the blockchain storage node with the same content as the suspicious node as a comparison node, and obtaining the number Y of the comparison nodes, where Y is an integer greater than zero;

[0106] S44: extract the merged block or cloned merged block in the c-th comparison node, perform a secondary similarity calculation on each suspicious node and the merged block or cloned merged block in the c-th comparison node, if the secondary similarity is greater than or equal to a preset secondary similarity threshold, judge that the corresponding suspicious node is not a tampered node, if the secondary similarity is less than the preset secondary similarity threshold, record that the corresponding suspicious node has a suspicious situation, and jump to step S45, where c is an integer greater than zero;

[0107] S45: Set c=c+1, and return to step S44;

[0108] S46: Repeat the above S44 to S45 until the maximum number of iterations is reached, and then end the loop. If it is found after the loop ends that the number of suspicious situations of a certain suspicious node reaches a preset number threshold, then the corresponding suspicious node is determined to be a tampered node;

[0109] Wherein, the preset first-round similarity threshold is equal to the preset second-round similarity threshold; the first-round similarity calculation and the second-round similarity calculation are both implemented using a cosine similarity algorithm;

[0110] Exemplarily, continuing with the above assumptions, assume that there are two merged blocks or cloned merged blocks with the same content in any two blockchain storage nodes, namely B1-B2 and copy1-B1-B2. If after the first-round similarity calculation of B1-B2 and copy1-B1-B2, it is found that the first-round similarity of B1-B2 and copy1-B1-B2 is greater than or equal to the preset first-round similarity threshold, then it is judged that the blockchain storage node of B1-B2 and the blockchain storage node of copy1-B1-B2 are not tampered nodes (that is, there is no tampered node). If it is found that the first-round similarity of B1-B2 and copy1-B1-B2 is less than the preset first-round similarity threshold, then the blockchain storage node of B1-B2 and the blockchain storage node of copy1-B1-B2 are not tampered nodes. degree threshold, then B1-B2 and copy1-B1-B2 are determined to be suspicious nodes; let’s continue to assume that there are copy2-B1-B2, copy3-B1-B2, and copy4-B1-B2; and copy2-B1-B2 stores the same content as B1-B2 and copy1-B1-B2 (that is, they are both unique identifiers of A1 and A1, and unique identifiers of A2 and A2), and similarly copy3-B1-B2 and copy4-B1-B2 store the same content as B1-B2 and copy1-B1-B2 (that is, they are both unique identifiers of A1 and A1, and unique identifiers of A2 and A2), then The blockchain storage nodes of copy2-B1-B2 and copy3-B1-B2 are used as comparison nodes to continue comparing the secondary similarity between copy2-B1-B2 and B1-B2, and the secondary similarity between copy2-B1-B2 and copy1-B1-B2. If it is found that the secondary similarity between copy2-B1-B2 and B1-B2 is greater than or equal to the preset secondary similarity threshold, B1-B2 is determined to be a non-tampered node. If the secondary similarity between copy2-B1-B2 and copy1-B1-B2 is less than the preset secondary similarity threshold, it is recorded that copy1-B1-B2 has a suspicious situation, and the calculation of copy3- The second-round similarity threshold between B1-B2 and copy1-B1-B2. Assuming that the second-round similarity threshold between copy3-B1-B2 and copy1-B1-B2 is less than the preset second-round similarity threshold again, the number of suspicious situations in copy1-B1-B2 is recorded again. At this time, the number of suspicious situations in copy1-B1-B2 is 2, and the second-round similarity threshold between copy4-B1-B2 and copy1-B1-B2 is calculated. And so on, until the maximum number of iterations is reached, the loop ends; when the preset number threshold is 1, copy1-B1-B2 is determined to be a tampered node, and the traceability is completed;

[0111] It can be understood that: by desensitizing the credible data, then performing a hash process on the desensitized credible data, and then continuing to perform a secondary hash process on the desensitized credible data, the sharding, partial merging and copy creation process of the partially merged data blocks of the credible data are realized, and finally the partially merged data blocks and copies are distributedly stored. The present invention can avoid the risk of single point failure and is conducive to ensuring the security of data transmission and storage; in addition, by setting a unique identifier and a storage hash table, and performing data restoration and verification based on the unique identifier and the storage hash table, the present invention can achieve efficient credible data asset verification, trace the storage node that has tampered with the credible data, and through partial merging and copy creation, the present invention can also ensure the high reducibility of the credible data.

[0112] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired network or a wireless network. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0113] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0114] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0115] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0117] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0118] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0119] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A blockchain-based data asset security management and traceability system, characterized by: The system comprises: A data desensitization module is used to obtain the trusted data generated by the trusted data system, extract K groups of keyword pairs in the trusted data, and identify sensitive character segments in the trusted data based on the keyword pairs to obtain G sensitive character segments, perform data desensitization on all sensitive character segments to form desensitized trusted data, where K and G are integers greater than zero; A one-time hash module is used to perform a hash process on the desensitized information creation data after data sharding to obtain a merged block, a cloned merged block and a unique identifier; A secondary hash module, used for performing secondary hash processing on the merged block and the cloned merged block to obtain a storage hash table, wherein the storage hash table includes an index of each merged block and the cloned merged block; An information tracing module is used to restore the merged block or cloned merged block according to the storage hash table and the unique identifier, and to perform tracing analysis on the restored merged block or cloned merged block to determine the authenticity or tampering node of the stored desensitized information creation data; The performing of source tracing analysis based on the restored merged blocks or cloned merged blocks includes: S41: extracting two merged blocks or cloned merged blocks with the same content from any two blockchain storage nodes; S42: Perform first-round similarity calculation on two merged blocks or cloned merged blocks with the same content. If the first-round similarity is greater than or equal to the preset first-round similarity threshold, it is determined that there is no tampered node. If the first-round similarity is less than the preset first-round similarity threshold, the blockchain storage node corresponding to the merged block or cloned merged block is marked as a suspicious node, and jump to step S43; S43: Using the blockchain storage node with the same content as the suspicious node as a comparison node, and obtaining the number Y of the comparison nodes, where Y is an integer greater than zero; S44: extract the merged block or cloned merged block in the c-th comparison node, perform a secondary similarity calculation on each suspicious node and the merged block or cloned merged block in the c-th comparison node, if the secondary similarity is greater than or equal to a preset secondary similarity threshold, judge that the corresponding suspicious node is not a tampered node, if the secondary similarity is less than the preset secondary similarity threshold, record that the corresponding suspicious node has a suspicious situation, and jump to step S45, where c is an integer greater than zero; S45: Let c=c+1, and return to step S44; S46: Repeat the above S44 to S45 until the maximum number of iterations is reached, and then end the loop. If it is found after the end of the loop that the number of suspicious situations of a suspicious node reaches a preset threshold, the corresponding suspicious node is determined to be a tampered node.

2. According to claim 1, the blockchain-based information asset security management and traceability system is characterized in that: The step of extracting K groups of keyword pairs from the credible innovation data includes: S11: Perform word segmentation on the xinchuang data to obtain M word groups, where M is an integer greater than zero; S12: extracting the i-th phrase from the M phrases in the order of the phrases, where the initial value of i is 1 and i is an integer greater than zero; S13: input the i-th phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding i phrases are used as the first positioning keywords, and i=i+1 is set, and the process returns to step 12; if the traversal result output is an empty set, the process jumps to step S14; S14: extracting the j-th word group from the M word groups, where the initial value of j is 2 and j is an integer greater than zero; S15: input the jth phrase into the preset sensitive word database for traversal, and obtain the traversal result. If the traversal result output is a certain sensitive word, the corresponding jth phrase is used as the second positioning keyword, the first positioning keyword and the second positioning keyword are used as a set of keyword pairs, and j is assigned to i, and the process returns to step 12; if the traversal result output is an empty set, j=j+1 is set, and the process returns to step 14; S16: Repeat the above steps S12 to S15 until i=M-1, or j=M, then end the loop and obtain K groups of keyword pairs.

3. According to claim 2, the blockchain-based information asset security management and traceability system is characterized in that: The identifying of sensitive character segments in the trusted data includes: S21: extracting the vth group of keyword pairs from the K groups of keyword pairs, where v is an integer greater than zero; S22: extract the first positioning keyword and the second positioning keyword in the vth group of keyword pairs, and extract all phrases between the first positioning keyword and the second positioning keyword in the xinchuang data; S23: according to the preset relationship between the first positioning keyword and the predefined regular expression rule, extract the corresponding predefined regular expression rule, use the corresponding predefined regular expression rule to identify all phrases, mark the content identified by the corresponding predefined regular expression rule as a sensitive character segment, set v=v+1, and return to step S21; S24: Repeat the above steps S21 to S23 until v=K, then end the loop and obtain G sensitive character segments.

4. According to claim 3, the blockchain-based information asset security management and traceability system is characterized in that: The data desensitization of all sensitive character segments includes: S31: extracting the rth sensitive character segment from the G sensitive character segments, where r is an integer greater than zero; S32: Obtain a corresponding keyword pair related to the rth sensitive character segment, extract a first positioning keyword in the corresponding keyword pair, and obtain a desensitization rule according to the association relationship between the first positioning keyword and the desensitization rule; S33: Desensitize the rth sensitive character segment according to the desensitization rule, set r=r+1, and return to step S31; S34: Repeat the above steps S31 to S33 until r=G, then end the loop, complete the desensitization of all sensitive character segments, and obtain desensitized information creation data.

5. According to claim 4, the blockchain-based information asset security management and traceability system is characterized in that: The desensitized information creation data after data sharding is hashed once, including: The desensitized information creation data is segmented by using a data segmentation method to obtain N data blocks, where N is an integer greater than zero; Hash each data block to obtain Q block hash values, use each block hash value as a unique identifier, and bind the unique identifier to its corresponding data block to obtain N composite blocks, where Q is an integer greater than zero; Merge each T composite blocks among the N composite blocks to form P merged blocks, where T and P are integers greater than zero, and T is less than N; Create multiple copies for each merged block, mark the multiple copies as cloned merged blocks, and obtain H cloned merged blocks, where H is an integer greater than zero.

6. According to claim 5, the blockchain-based trust data asset security management and traceability system is characterized in that: The data sharding method is a specific one of horizontal sharding, vertical sharding or mixed sharding; wherein the hash processing is specifically implemented using one of the SHA-256 or SHA-3 hash algorithms.

7. The blockchain-based trust data asset security management and traceability system according to claim 6 is characterized in that: The performing secondary hash processing on the merged blocks and the cloned merged blocks includes: Get the number of blockchain storage nodes owned; Calculate the storage hash value of each merged block and cloned merged block, and perform a modulo operation on the storage hash value of each merged block and cloned merged block according to the number of blockchain storage nodes to obtain the corresponding index of each mapped blockchain storage node, and form a storage hash table according to the corresponding index of each mapped blockchain storage node; According to the storage hash table, each merged block and cloned merged block is sent to the corresponding blockchain storage node for storage.

8. The blockchain-based trust data asset security management and traceability system according to claim 7 is characterized in that: The preset first-round similarity threshold is equal to the preset second-round similarity threshold.