A data trusted circulation method, device, equipment and readable storage medium

By reviewing, encrypting and blockchain storage of data, and using value evaluation modules and smart contracts to ensure the security of data circulation, the problem of insufficient security protection of data circulation in the existing technology is solved, and efficient, secure and trustworthy circulation of data circulation is achieved.

CN116232606BActive Publication Date: 2025-04-29CHONGQING UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310214264.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2025-04-29
Estimated Expiration
2043-03-08

AI Technical Summary

Technical Problem

The existing trusted circulation system has insufficient security protection before data circulation, resulting in the failure of data transactions between the urban brain and the external environment, increasing costs, and data security is not guaranteed.

Method used

By obtaining information from the data provider and demander, data review and encryption are carried out, and the encrypted data is uploaded to the blockchain storage node for classified storage. Then, the value evaluation module is used to evaluate the value of the data and ensure the security and credibility of the data circulation through smart contracts.

Benefits of technology

It improves the circulation safety and efficiency of data between the urban brain and the external environment, reduces transaction time and cost, and enhances the credibility and accuracy of value assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232606B_ABST
    Figure CN116232606B_ABST
Patent Text Reader

Abstract

The present invention provides a data trusted circulation method, device, equipment and readable storage medium, which relates to the field of data encryption transmission technology, including reviewing and encrypting the data information provided by the data provider, then uploading it to the blockchain for classified storage, performing value assessment on the classified stored data information, and then establishing a smart contract with the classified stored data information, the value information corresponding to the classified stored decrypted information, and the demand information of the data demander, and encrypting the smart contract and sending it to the data provider and the data demander for signing, performing hash conversion on the signature, and verifying the hash value obtained by the conversion. If the verification result is judged to be correct, the data is circulated according to the smart contract. The present invention achieves the security of the data access, transmission and use process of the city brain through the docking of the data trusted circulation device and the city brain, improves the accuracy of data value assessment, and increases the credibility of data circulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data encryption transmission, and in particular to a data trusted circulation method, device, equipment and readable storage medium. Background Art

[0002] With the development of society, the value of data is getting higher and higher, so data will also be traded in various ways. However, since the trusted circulation of data is a complex process involving multiple links, the existing trusted circulation system emphasizes the security of the development environment and calculation results, and the security protection before data circulation is insufficient. In the process of data circulation between the city brain and the external environment, there is often no clear definition of data value and data use. In addition, since data security cannot be guaranteed, transactions fail, thereby increasing the cost of the city brain and the external environment. Therefore, a method is needed to enable the city brain and the external environment to reach a consensus and conduct transactions safely, improve the guarantee of data security circulation and data value recognition by both parties, reduce transaction time, increase data circulation efficiency, and reduce costs. Summary of the invention

[0003] The purpose of the present invention is to provide a data trusted circulation method, device, equipment and readable storage medium to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0004] In a first aspect, the present application provides a data trustworthy circulation method, comprising:

[0005] Obtain data information provided by data providers and demand information from data demanders;

[0006] Review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage to obtain classified storage information;

[0007] Sending the classified storage information to the value evaluation module for decryption and value evaluation to obtain the classified storage decrypted information and the value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information;

[0008] Sending the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract;

[0009] The first information is sent to the data provider and the data demander for signing respectively, and the signed data is hashed and the converted hash value is uploaded to the trusted circulation platform;

[0010] The trusted circulation platform is controlled to verify the hash value to obtain a verification result. If the verification result is correct, data circulation is performed according to the smart contract.

[0011] In a second aspect, the present application also provides a data trusted circulation device, comprising:

[0012] A first acquisition unit, used to acquire data information provided by a data provider and demand information of a data demander;

[0013] A review unit, used to review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage, thereby obtaining classified storage information;

[0014] An evaluation unit, used to send the classified storage information to a value evaluation module for decryption and value evaluation, and obtain the classified storage decrypted information and value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information;

[0015] An encryption unit, used to send the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract;

[0016] A conversion unit, used to send the first information to the data provider and the data demander for signing respectively, and perform hash conversion on the signed data, and upload the converted hash value to the trusted circulation platform;

[0017] The verification unit is used to control the trusted circulation platform to verify the hash value and obtain a verification result. If the verification result is correct, data circulation is carried out according to the smart contract.

[0018] In a third aspect, the present application also provides a data trusted circulation device, including:

[0019] Memory for storing computer programs;

[0020] A processor is used to implement the steps of the data trusted circulation method when executing the computer program.

[0021] In a fourth aspect, the present application further provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned method based on trusted data circulation are implemented.

[0022] The beneficial effects of the present invention are:

[0023] The present invention ensures the security and authenticity of the data by reviewing and encrypting the data provided by the data provider, and increases the credibility of the data by uploading it to the blockchain for classified storage, and reduces the risk of all data being stolen. The data provided by the data provider is evaluated for value through historical data to increase the accuracy of the evaluation, and provide credibility for the data provider and the data demander. Then, by establishing a smart contract, the verifiability, unmodifiability and enforceability of the contract content can be ensured, and subsequent disputes can be reduced. The authenticity of the contract is then ensured through signature and hash conversion, wherein the signature can ensure the authenticity of the contract content, and the hash conversion can ensure the unalterability of the contract. Finally, data is circulated in accordance with the smart contract to ensure the execution effectiveness of both parties to the contract. By connecting the data trusted circulation device with the city brain, the data access, transmission and use process of the city brain can be safe, the data circulation time can be reduced, and the data circulation efficiency can be improved.

[0024] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 It is a schematic diagram of the flow of the data trustworthy circulation method described in an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of the structure of a data trusted circulation device according to an embodiment of the present invention;

[0028] Figure 3 It is a schematic diagram of the structure of the data trusted circulation device described in an embodiment of the present invention.

[0029] Markings in the figure: 701, first acquisition unit; 702, review unit; 703, evaluation unit; 704, encryption unit; 705, conversion unit; 706, verification unit; 707, second acquisition unit; 708, first processing unit; 709, second processing unit; 710, third processing unit; 7021, first processing subunit; 7022, classification subunit; 7023, first encryption subunit; 7031, second processing subunit; 7032, first analysis subunit; 70 33. Second analysis subunit; 7034. Third processing subunit; 7035. Calculation subunit; 7041. Fourth processing subunit; 7042. Fifth processing subunit; 7043. Second encryption subunit; 7061. Sixth processing subunit; 7062. Seventh processing subunit; 7063. Eighth processing subunit; 800. Data trusted circulation device; 801. Processor; 802. Memory; 803. Multimedia component; 804. I / O interface; 805. Communication component. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0031] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0032] Embodiment 1:

[0033] This embodiment provides a method for trusted data circulation.

[0034] See also Figure 1 , the figure shows that the method includes step S1, step S2, step S3, step S4, step S5 and step S6.

[0035] Step S1, obtaining data information provided by a data provider and demand information of a data demander;

[0036] It can be understood that this step is to collect data information from data providers and demand information from data demanders for further processing, wherein the data provided by data providers include data content information to be traded, real-name authentication information of data providers, data legality feature information, data circulation scope information and data circulation method information, and the demand information provided by data demanders includes data type information required by the data demanders, data quantity information required by the data demanders, and other information.

[0037] It is understandable that the present invention is connected with the data empowerment platform and technology empowerment platform of the city brain through the data trusted circulation device. The data access, transmission and use process security is achieved by connecting to the big data security center of the data empowerment platform, and the blockchain platform of the technology empowerment platform of the city brain is connected to provide a blockchain-based storage node for the trusted circulation platform to achieve classified storage of data.

[0038] Step S2: Review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage to obtain classified storage information;

[0039] It can be understood that this step can also be connected through the blockchain platform based on the city brain and the trusted circulation platform, wherein the underlying blockchain platform is a distributed solution platform based on a modular architecture: the blockchain platform includes an application service layer, an API interface management layer, a platform product service layer and a blockchain underlying technology component, wherein the application service layer provides trusted, secure and fast blockchain applications to end users; the API interface management layer provides the functions of blockchain basic services for upper-level application scenarios; the platform product service layer builds a highly available and scalable blockchain application basic platform product on top of the underlying layer, including access management, digital asset management, and operation monitoring management, integrating basic product functions in related fields to help quickly build upper-level blockchain application scenarios; the underlying layer is the underlying technology component of the blockchain, providing key blockchain technology implementations.

[0040] It can be understood that this step is to ensure the security of the data. The authenticity of the data can be guaranteed by data review and encryption, and the credibility of the data can be guaranteed by uploading it to the blockchain for classified storage. In this step, step S2 includes step S21, step S22 and step S23.

[0041] Step S21: Send the data information provided by the data provider to the Bert model for pre-training to obtain feature sentence information in the data information provided by the data provider, wherein the feature sentence information includes data content information provided by the data provider, real-name authentication information of the data provider, feature information of data legitimacy, data circulation scope information, and data circulation method information;

[0042] It can be understood that this step extracts characteristic sentences from the data information provided by the data provider to obtain characteristic sentences, thereby preparing for the subsequent establishment of sub-folder classification storage.

[0043] Step S22: classify the data information provided by the data provider based on the characteristic sentence information, and respectively establish subfolders based on the classified characteristic sentence information, wherein the characteristic word with the largest weight in the characteristic sentence information in each subfolder is used as the title name of the subfile, and at least five subfolder information containing title names are obtained;

[0044] It can be understood that this step classifies the data information provided by the data provider based on the characteristic statements, and stores the classifications in different folders to prevent all data from being stolen and increase data security.

[0045] Step S23: Encrypt all subfolders based on the ADS encryption algorithm, and upload all subfolder information containing the title name and the first decryption key to the blockchain storage node corresponding to the data provider in the trusted circulation platform based on the secure file transfer protocol for storage to obtain classified storage information.

[0046] It can be understood that this step is to upload all subfolders separately through a secure file transfer protocol, wherein all subfolders are encrypted to obtain a decryption key to prevent data from being intercepted or stolen during the upload process, thereby increasing the security of data transmission.

[0047] Step S3, sending the classified storage information to the value evaluation module for decryption and value evaluation, obtaining the classified storage decrypted information and the value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information;

[0048] It can be understood that this step evaluates the value of the classified storage information through historical data, evaluates the value of each classified storage information separately, reduces evaluation errors, and improves evaluation accuracy. In this step, step S3 includes step S31, step S32, step S33, step S34 and step S35.

[0049] Step S31, calling and decrypting the classified storage information to obtain the classified storage decryption information;

[0050] It can be understood that this step prepares for the subsequent value assessment by mapping the classified storage information and the decryption key, and then decrypting based on the mapping relationship, wherein the decryption step is performed offline or in a secure environment.

[0051] Step S32, performing correlation analysis on the classified stored decrypted information and the data in the preset historical subfolder, wherein the classified stored decrypted information and the data in the preset historical subfolder are dimensionless processed, and the data in the historical subfolder having the maximum correlation value with the classified stored decrypted information is calculated;

[0052] It can be understood that this step determines the historical data with the greatest correlation by performing correlation analysis with historical data information, and then determines the value corresponding to the historical data with the maximum correlation value, and then judges the value of the current data.

[0053] Step S33: Perform regression analysis on the data in all historical sub-folders and the value information corresponding to the data in the historical sub-folders according to the time sequence and data integrity, and obtain the time value change rate and the data integrity change rate, wherein the time value change rate is the average value change rate of the data in the historical sub-folders in each time period, and the data integrity change rate is the average value change rate of the data in the historical sub-folders in each data integrity period;

[0054] It can be understood that this step determines the rate of change of time value in different time periods and the rate of change of data integrity at different data integrity levels by performing regression analysis on the value of data in different time periods and the value of data at different data integrity levels, thereby providing a basis for subsequent value assessment and reducing assessment errors.

[0055] Step S34: taking the time value change rate and the data integrity change rate as weights of value assessment respectively, and adjusting the time value change rate and the data integrity change rate based on the minimum discrimination principle to obtain adjusted time value change rate and data integrity change rate;

[0056] It can be understood that the minimum discrimination principle in this step is to analyze and adjust the two weights so that they are not biased towards any one weight, thereby improving the accuracy of the weights and reducing the evaluation error.

[0057] Step S35, obtain the value data corresponding to the data in the historical subfolder with the maximum correlation value of the classified storage decryption information, and multiply the value data with the adjusted time value change rate and data integrity change rate respectively and sum them to obtain the value information corresponding to the classified storage decryption information.

[0058] It can be understood that this step determines the value information corresponding to the classified storage decryption information by multiplying the value data with the adjusted time value change rate and data integrity change rate respectively and summing them up, so as to prevent the situation where all data have the same value but the data demander only needs one of the data. While ensuring data security, it accurately evaluates the value without favoring either the data demander or the data provider, thereby achieving the purpose of objective processing and improving customer satisfaction.

[0059] Step S4: Send the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract;

[0060] It can be understood that the trusted circulation platform in the present invention relies on the big data security center of the city brain and applies the data desensitization function module in the city brain to protect the transmission process of value information and demand information. It utilizes the data empowerment platform and the trusted circulation platform to connect, so that the big data mining and processing capabilities of the trusted circulation platform can realize the deformation, conversion and obfuscation of sensitive data, so that the privacy data in the data empowerment platform can be used safely and reasonably.

[0061] It can be understood that this step establishes a smart contract, which utilizes the verifiability, non-modifiability and enforceability of the smart contract to ensure the normal operation of data flow and reduce transaction disputes. The smart contract is encrypted to ensure that the data flow process is not known to others, thereby reducing security risks. In this step, step S4 includes step S41, step S42 and step S43.

[0062] Step S41: Send the classified storage decryption information and the demand information of the data demander to a preset semantic recognition model for semantic recognition to obtain consensus data, wherein the consensus data includes the data circulation scope information required by the data provider, the data circulation method information required by the data provider, the data type information required by the data demander, and the data quantity information required by the data demander;

[0063] It can be understood that this step identifies the data meaning of the data provider and the data demander through the semantic recognition model, and then determines the consensus data required to establish the smart contract, and establishes the transaction process based on the consensus data.

[0064] Step S42: determining the value information corresponding to the demand information of the data demander based on the consensus data and the value information corresponding to each of the classified storage decryption information;

[0065] The value information corresponding to the demand information of the data demander is determined by consensus data and the value information corresponding to each of the classified storage decryption information, and then an incentive mechanism is established based on the value information recognized by both the data demander and the data provider, wherein the value information recognized by both parties is used as the transaction price to prevent regret or other opinions when both parties execute the smart contract, thereby reducing data circulation disputes.

[0066] Step S43: establishing a smart contract based on the consensus data and the value information corresponding to the demand information of the data demander, and encrypting the smart contract to obtain the encrypted smart contract and the decryption key corresponding to the encrypted smart contract.

[0067] It can be understood that this step encrypts the smart contract through symmetric encryption to prevent the smart contract from being stolen, thereby knowing the transaction between the two parties and causing losses, thereby increasing the security of data circulation.

[0068] In this step, step S4 also includes step S7, step S8, step S9 and step S10.

[0069] Step S7: obtaining the source code of the smart contract, and preprocessing the source code of the smart contract, wherein the source code of the smart contract is formatted to obtain the preprocessed source code of the smart contract;

[0070] It can be understood that this step reduces the amount of calculation for subsequent vulnerability identification and improves calculation efficiency by obtaining the source code of the smart contract and preprocessing the source code of the smart contract.

[0071] Step S8, performing vulnerability feature recognition on the preset historical vulnerability attack data, wherein feature word recognition processing is performed, and the feature words of the processed historical vulnerability attack data are subjected to hierarchical analysis to obtain feature word weight information of the historical vulnerability attack data;

[0072] It can be understood that this step identifies vulnerability features through features and determines the weight of each vulnerability feature, thereby accurately judging vulnerability information.

[0073] Step S9, sending the feature word weight information of all historical vulnerability attack data and the preset historical smart contract source code information to the DNN neural network for training, wherein based on the mapping relationship between the feature word weight information of each historical vulnerability attack data and the preset historical smart contract source code information, it is determined whether the historical smart contract source code has a vulnerability, and if so, the vulnerability is repaired until the judgment result is that the historical smart contract source code has no vulnerability, thereby obtaining a trained neural network;

[0074] It can be understood that this step determines the mapping relationship between the feature word weight information of all historical vulnerability attack data and the preset historical smart contract source code information, and then judges whether there is a vulnerability in the historical smart contract source code through the mapping relationship. If there is a vulnerability, it is repaired until the judgment result is that the historical smart contract source code has no vulnerability, and the trained neural network model is obtained, and then the vulnerability in the smart contract is automatically judged through the neural network, and the repair tool is used to automatically repair it, which improves efficiency and reduces the cost of manual judgment.

[0075] Step S10: Send the preprocessed smart contract source code and the consensus data to the trained neural network for vulnerability identification to obtain a vulnerability identification result of the smart contract.

[0076] Step S5: Send the first information to the data provider and the data demander for signature respectively, perform hash conversion on the signed data, and upload the converted hash value to the trusted circulation platform;

[0077] It can be understood that this step sends the first information to the data provider and the data demander for signature, indicating that both parties agree to the smart contract, and performs hash conversion on the signatures of both parties. The characteristics of hash conversion prevent others from forging signatures, thereby reducing security risks.

[0078] Step S6: Control the trusted circulation platform to verify the hash value and obtain a verification result. If the verification result is correct, data circulation is performed according to the smart contract.

[0079] It can be understood that this step ensures the secure transmission of data by circulating data in accordance with the smart contract. In this step, step S6 includes step S61, step S62 and step S63.

[0080] Step S61: Compare and verify the verification data preset in the trusted circulation platform with the hash value respectively. If the verification result is that the verification is correct, re-encrypt the classified storage decryption information to obtain the re-encrypted classified storage information and the decryption key corresponding to the re-encrypted classified storage information;

[0081] Step S62: Process the decryption key corresponding to the re-encrypted classified storage information based on the information hiding algorithm to obtain the decryption key after information hiding and the codebook corresponding to the information hiding algorithm;

[0082] Step S63: Send the re-encrypted classified storage information and the decryption key after information hiding to the information demander based on the trusted circulation platform, and send the codebook corresponding to the information hiding algorithm to the mailbox of the information demander by email.

[0083] It can be understood that this step increases the security of data transmission, ensures data security transmission, reduces the possibility of data loss, and prevents others from decrypting the re-encrypted classified storage information by re-encrypting the data to be transmitted, and then sending the re-encrypted classified storage information directly to the data demander and hiding the corresponding decryption key, and sending the code book of the hidden information to the data demander's mailbox.

[0084] Embodiment 2:

[0085] like Figure 2 As shown, this embodiment provides a data trusted circulation device, which includes a first acquisition unit 701, a review unit 702, an evaluation unit 703, an encryption unit 704, a conversion unit 705 and a verification unit 706.

[0086] The first acquisition unit 701 is used to acquire data information provided by a data provider and demand information of a data demander;

[0087] The review unit 702 is used to review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage to obtain classified storage information;

[0088] The review unit 702 includes a first processing subunit 7021 , a classification subunit 7022 and a first encryption subunit 7023 .

[0089] The first processing sub-unit 7021 is used to send the data information provided by the data provider to the Bert model for pre-training, and obtain the feature sentence information in the data information provided by the data provider, and the feature sentence information includes the data content information provided by the data provider, the real-name authentication information of the data provider, the feature information of the data legality, the data circulation scope information and the data circulation method information;

[0090] The classification subunit 7022 is used to classify the data information provided by the data provider based on the characteristic sentence information, and to establish subfolders based on the classified characteristic sentence information, wherein the characteristic word with the largest weight in the characteristic sentence information in each subfolder is used as the title name of the subfile, and at least five subfolder information containing title names are obtained;

[0091] The first encryption sub-unit 7023 is used to encrypt all sub-folders based on the ADS encryption algorithm, and upload all sub-folder information containing the title name and the first decryption key to the blockchain storage node corresponding to the data provider in the trusted circulation platform based on the secure file transfer protocol for storage, so as to obtain classified storage information.

[0092] The evaluation unit 703 is used to send the classified storage information to the value evaluation module for decryption and value evaluation, and obtain the classified storage decrypted information and the value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information;

[0093] The evaluation unit 703 includes a second processing subunit 7031 , a first analysis subunit 7032 , a second analysis subunit 7033 , a third processing subunit 7034 and a calculation subunit 7035 .

[0094] The second processing sub-unit 7031 is used to call and decrypt the classified storage information to obtain the classified storage decryption information;

[0095] The first analysis sub-unit 7032 is used to perform correlation analysis between the classified storage decryption information and the data in the preset history sub-folder, wherein the classified storage decryption information and the data in the preset history sub-folder are dimensionless processed to calculate the data in the history sub-folder with the maximum correlation value with the classified storage decryption information;

[0096] The second analysis sub-unit 7033 is used to perform regression analysis on the data in all historical sub-folders and the value information corresponding to the data in the historical sub-folders according to the time sequence and data integrity, and obtain the time value change rate and the data integrity change rate, wherein the time value change rate is the average value change rate of the data in the historical sub-folders in each time period, and the data integrity change rate is the average value change rate of the data in the historical sub-folders in each data integrity period;

[0097] The third processing subunit 7034 is used to use the time value change rate and the data integrity change rate as weights of value assessment, and adjust the time value change rate and the data integrity change rate based on the minimum discrimination principle to obtain adjusted time value change rate and data integrity change rate;

[0098] The calculation sub-unit 7035 is used to obtain the value data corresponding to the data in the historical sub-folder with the maximum correlation value of the classified storage decryption information, and multiply the value data with the adjusted time value change rate and data integrity change rate respectively and sum them to obtain the value information corresponding to the classified storage decryption information.

[0099] The encryption unit 704 is used to send the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract;

[0100] The encryption unit 704 includes a fourth processing subunit 7041 , a fifth processing subunit 7042 and a second encryption subunit 7043 .

[0101] The fourth processing sub-unit 7041 is used to send the classified storage decryption information and the demand information of the data demander to a preset semantic recognition model for semantic recognition to obtain consensus data, wherein the consensus data includes the data circulation scope information required by the data provider, the data circulation method information required by the data provider, the data type information required by the data demander, and the data quantity information required by the data demander;

[0102] The fifth processing subunit 7042 is used to determine the value information corresponding to the demand information of the data demander based on the consensus data and the value information corresponding to each of the classified storage decryption information;

[0103] The second encryption subunit 7043 is used to establish a smart contract based on the consensus data and the value information corresponding to the demand information of the data demander, and encrypt the smart contract to obtain the encrypted smart contract and the decryption key corresponding to the encrypted smart contract.

[0104] The encryption unit 704 further includes a second acquisition unit 707 , a first processing unit 708 , a second processing unit 709 and a third processing unit 710 .

[0105] The second acquisition unit 707 is used to acquire the source code of the smart contract and preprocess the source code of the smart contract, wherein the source code of the smart contract is formatted to obtain the preprocessed source code of the smart contract;

[0106] The first processing unit 708 is used to perform vulnerability feature recognition on the preset historical vulnerability attack data, wherein feature word recognition processing is performed, and the feature words of the processed historical vulnerability attack data are subjected to hierarchical analysis to obtain feature word weight information of the historical vulnerability attack data;

[0107] The second processing unit 709 is used to send the feature word weight information of all historical vulnerability attack data and the preset historical smart contract source code information to the DNN neural network for training, wherein based on the mapping relationship between the feature word weight information of each historical vulnerability attack data and the preset historical smart contract source code information, it is judged whether there is a vulnerability in the historical smart contract source code, and if there is a vulnerability, the vulnerability is repaired until the judgment result is that the historical smart contract source code has no vulnerability, and a trained neural network is obtained;

[0108] The third processing unit 710 is used to send the preprocessed smart contract source code and the consensus data to the trained neural network for vulnerability identification to obtain a vulnerability identification result of the smart contract.

[0109] The conversion unit 705 is used to send the first information to the data provider and the data demander for signing, and perform hash conversion on the signed data, and upload the converted hash value to the trusted circulation platform;

[0110] The verification unit 706 is used to control the trusted circulation platform to verify the hash value and obtain a verification result. If the verification result is correct, data circulation is performed according to the smart contract.

[0111] The verification unit 706 includes a sixth processing sub-unit 7061 , a seventh processing sub-unit 7062 and an eighth processing sub-unit 7063 .

[0112] The sixth processing sub-unit 7061 is used to compare and verify the verification data preset in the trusted circulation platform with the hash value respectively, and if the verification result is that the verification is correct, re-encrypt the classified storage decryption information to obtain the re-encrypted classified storage information and the decryption key corresponding to the re-encrypted classified storage information;

[0113] The seventh processing subunit 7062 is used to process the decryption key corresponding to the re-encrypted classified storage information based on the information hiding algorithm to obtain the decryption key after the information is hidden and the code book corresponding to the information hiding algorithm;

[0114] The eighth processing sub-unit 7063 is used to send the re-encrypted classified storage information and the decryption key after information hiding to the information demander based on the trusted circulation platform, and send the code book corresponding to the information hiding algorithm to the mailbox of the information demander by email.

[0115] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0116] Embodiment 3:

[0117] Corresponding to the above method embodiment, this embodiment also provides a data trusted circulation device, and the data trusted circulation device described below and the data trusted circulation method described above can refer to each other.

[0118] Figure 3 FIG. 8 is a block diagram of a data trusted circulation device 800 according to an exemplary embodiment. Figure 3 As shown, the data trusted circulation device 800 may include: a processor 801 and a memory 802. The data trusted circulation device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.

[0119] The processor 801 is used to control the overall operation of the data trusted circulation device 800 to complete all or part of the steps in the above-mentioned data trusted circulation method. The memory 802 is used to store various types of data to support the operation of the data trusted circulation device 800. For example, these data may include instructions for any application or method used to operate on the data trusted circulation device 800, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the data trusted circulation device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module.

[0120] In an exemplary embodiment, the data trusted circulation device 800 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC), digital signal processors (Digital Signal Processor, referred to as DSP), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic devices (Programmable Logic Device, referred to as PLD), field programmable gate arrays (Field Programmable Gate Array, referred to as FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned data trusted circulation method.

[0121] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned data trusted circulation method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the data trusted circulation device 800 to complete the above-mentioned data trusted circulation method.

[0122] Embodiment 4:

[0123] Corresponding to the above method embodiment, a readable storage medium is also provided in this embodiment. The readable storage medium described below and the data trusted circulation method described above can refer to each other.

[0124] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the data trusted circulation method of the above method embodiment.

[0125] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0127] 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 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.

Claims

1. A data trusted circulation method, characterized in that: include: Obtain data information provided by data providers and demand information from data demanders; Review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage to obtain classified storage information; Sending the classified storage information to the value evaluation module for decryption and value evaluation to obtain the classified storage decrypted information and the value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information; Sending the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract; The first information is sent to the data provider and the data demander for signing respectively, and the signed data is hashed and the converted hash value is uploaded to the trusted circulation platform; Control the trusted circulation platform to verify the hash value and obtain a verification result. If the verification result is correct, data circulation is performed according to the smart contract; The data information provided by the data provider is reviewed and encrypted, and the encrypted review data and the decryption key corresponding to the encrypted review data are uploaded to the blockchain storage node in the trusted circulation platform for classified storage, and the classified storage information is obtained, including: Send the data information provided by the data provider to the Bert model for pre-training to obtain feature sentence information in the data information provided by the data provider, wherein the feature sentence information includes data content information provided by the data provider, real-name authentication information of the data provider, feature information of data legality, data circulation scope information and data circulation method information; Classifying the data information provided by the data provider based on the characteristic sentence information, and establishing subfolders based on the classified characteristic sentence information, wherein the characteristic word with the largest weight in the characteristic sentence information in each subfolder is used as the title name of the subfile, and at least five subfolder information containing the title name is obtained; All subfolders are encrypted based on the ADS encryption algorithm, and all subfolder information containing title names and the first decryption key are uploaded to the blockchain storage node corresponding to the data provider in the trusted circulation platform based on the secure file transfer protocol to obtain classified storage information.

2. The data trust circulation method according to claim 1, characterized in that , sending the classified storage information to the value assessment module for decryption and value assessment, obtaining the classified storage decrypted information and the value information corresponding to the classified storage decrypted information, including: The classified storage information is called and decrypted to obtain the classified storage decryption information; The classified storage decryption information is analyzed in association with the data in the preset historical subfolder, wherein the classified storage decryption information and the data in the preset historical subfolder are dimensionless processed, and the data in the historical subfolder with the maximum correlation value with the classified storage decryption information is calculated; Perform regression analysis on the data in all historical sub-folders and the value information corresponding to the data in the historical sub-folders according to the time sequence and data integrity, and obtain the time value change rate and the data integrity change rate. The time value change rate is the average value change rate of the data in the historical sub-folders in each time period, and the data integrity change rate is the average value change rate of the data in the historical sub-folders in each data integrity period; The time value change rate and the data integrity change rate are used as weights of value assessment respectively, and the time value change rate and the data integrity change rate are adjusted based on the minimum discrimination principle to obtain adjusted time value change rate and data integrity change rate; The value data corresponding to the data in the historical subfolder with the maximum correlation value of the classified storage decryption information is obtained, and the value data is respectively multiplied with the adjusted time value change rate and data integrity change rate and summed to obtain the value information corresponding to the classified storage decryption information.

3. The data trust circulation method according to claim 1, characterized in that , sending the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption, and obtaining the first information, including: Sending the classified storage decryption information and the demand information of the data demander to a preset semantic recognition model for semantic recognition to obtain consensus data, wherein the consensus data includes the data circulation scope information required by the data provider, the data circulation method information required by the data provider, the data type information required by the data demander, and the data quantity information required by the data demander; Determine the value information corresponding to the demand information of the data demander based on the consensus data and the value information corresponding to each of the classified storage decryption information; A smart contract is established based on the consensus data and the value information corresponding to the demand information of the data demander, and the smart contract is encrypted to obtain the encrypted smart contract and the decryption key corresponding to the encrypted smart contract.

4. A data trusted circulation device, characterized in that: include: A first acquisition unit, used to acquire data information provided by a data provider and demand information of a data demander; A review unit, used to review and encrypt the data information provided by the data provider, and upload the encrypted review data and the decryption key corresponding to the encrypted review data to the blockchain storage node in the trusted circulation platform for classified storage, thereby obtaining classified storage information; An evaluation unit, used to send the classified storage information to a value evaluation module for decryption and value evaluation, and obtain the classified storage decrypted information and value information corresponding to the classified storage decrypted information, wherein the classified storage decrypted information is the decrypted classified storage information; An encryption unit, used to send the classified storage decryption information, the value information corresponding to the classified storage decryption information, and the demand information of the data demander to the trusted circulation platform to establish a smart contract and perform contract encryption to obtain first information, wherein the first information includes the encrypted smart contract and the decryption key corresponding to the encrypted smart contract; A conversion unit, used to send the first information to the data provider and the data demander for signing respectively, and perform hash conversion on the signed data, and upload the converted hash value to the trusted circulation platform; A verification unit, used to control the trusted circulation platform to verify the hash value and obtain a verification result. If the verification result is correct, data circulation is performed according to the smart contract; Wherein, the review unit includes: A first processing sub-unit is used to send the data information provided by the data provider to the Bert model for pre-training, and obtain feature sentence information in the data information provided by the data provider, wherein the feature sentence information includes data content information provided by the data provider, real-name authentication information of the data provider, feature information of data legality, data circulation scope information, and data circulation method information; A classification subunit, used to classify the data information provided by the data provider based on the characteristic sentence information, and to establish subfolders based on the classified characteristic sentence information, wherein the characteristic word with the largest weight in the characteristic sentence information in each subfolder is used as the title name of the subfile, and at least five subfolder information containing title names are obtained; The first encryption sub-unit is used to encrypt all sub-folders based on the ADS encryption algorithm, and upload all sub-folder information containing title names and the first decryption key to the blockchain storage node corresponding to the data provider in the trusted circulation platform based on the secure file transfer protocol for storage to obtain classified storage information.

5. The data trusted circulation device according to claim 4, characterized in that: The device comprises: The second processing sub-unit is used to call and decrypt the classified storage information to obtain the classified storage decryption information; The first analysis sub-unit is used to perform correlation analysis between the classified storage decryption information and the data in the preset historical sub-folder, wherein the classified storage decryption information and the data in the preset historical sub-folder are dimensionless processed to calculate the data in the historical sub-folder with the maximum correlation value with the classified storage decryption information; The second analysis sub-unit is used to perform regression analysis on the data in all historical sub-folders and the value information corresponding to the data in the historical sub-folders according to the time sequence and data integrity, and obtain the time value change rate and the data integrity change rate, wherein the time value change rate is the average value change rate of the data in the historical sub-folders in each time period, and the data integrity change rate is the average value change rate of the data in the historical sub-folders in each data integrity period; a third processing subunit, configured to use the time value change rate and the data integrity change rate as weights of value assessment, and adjust the time value change rate and the data integrity change rate based on the minimum discrimination principle to obtain adjusted time value change rate and data integrity change rate; The calculation sub-unit is used to obtain the value data corresponding to the data in the historical sub-folder with the maximum correlation value of the classified storage decryption information, and multiply the value data with the adjusted time value change rate and data integrity change rate respectively and sum them to obtain the value information corresponding to the classified storage decryption information.

6. The data trusted circulation device according to claim 4, characterized in that: Said a fourth processing sub-unit, configured to send the classified storage decryption information and the demand information of the data demander to a preset semantic recognition model for semantic recognition to obtain consensus data, wherein the consensus data includes the data circulation scope information required by the data provider, the data circulation mode information required by the data provider, the data type information required by the data demander, and the data quantity information required by the data demander; A fifth processing subunit, configured to determine the value information corresponding to the demand information of the data demander based on the consensus data and the value information corresponding to each of the classified storage decryption information; The second encryption subunit is used to establish a smart contract based on the consensus data and the value information corresponding to the demand information of the data demander, and encrypt the smart contract to obtain the encrypted smart contract and the decryption key corresponding to the encrypted smart contract.

7. A data trusted circulation device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the data trusted circulation method as claimed in any one of claims 1 to 3 when executing the computer program.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the data trusted circulation method as claimed in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Cancer data management platform based on block chain technology

    CN114564755A

  • Blockchain-based trusted transaction method for data product

    US20220309501A1