Data processing method, system, data detection device and blockchain platform

By detecting and generating pollution treatment suggestions in a cloud database, and uploading them to a blockchain platform for multi-party sharing and optimization, the problem of uncorrectable data pollution is solved, and the reliability and availability of data are improved.

CN114553451BActive Publication Date: 2025-01-14CHINA MOBILE COMM LTD RES INST +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011336426.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2025-01-14
Estimated Expiration
2040-11-25

AI Technical Summary

Technical Problem

In existing technologies, data cannot be modified after being encrypted in the blockchain, which leads to data pollution that cannot be corrected, affecting the availability and reliability of the data, and there is a lack of effective pollution handling mechanisms.

Method used

Pollution detection is performed in a cloud database, pollution treatment recommendations are generated and uploaded to a blockchain platform, and smart contracts on the blockchain platform are used for multi-party sharing and optimization to ensure data reliability.

Benefits of technology

It enables the correction and deletion of contaminated data, improves data reliability and usability, and ensures the sharing of data processing opinions among multiple parties and the attainment of optimal results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114553451B_ABST
    Figure CN114553451B_ABST
Patent Text Reader

Abstract

The present invention provides a data processing method, system, data detection device and blockchain platform, the method comprising: performing pollution detection on medical data stored in a cloud database under the condition of obtaining data detection authorization; processing the polluted data and generating corresponding pollution treatment opinion information according to the result of the pollution detection; sending the pollution treatment opinion information to the blockchain platform so that the blockchain platform can share the pollution treatment opinion. In an embodiment of the present invention, after the data detection device obtains the detection authorization, by performing pollution detection on the medical data stored in the cloud database, the polluted data is processed and the corresponding pollution treatment opinion is generated, and the pollution treatment opinion is uploaded to the blockchain platform for sharing, the reliability of the medical data can be ensured, and the medical data is stored in the cloud database, which can avoid the direct encryption of the data on the chain, resulting in the polluted data being unable to be modified, thereby optimizing the data pollution management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, system, data detection device and blockchain platform. Background Art

[0002] With the advent of the data age, data has become an important asset for enterprises and individuals. As a database for storing data or information, blockchain has the characteristics of being tamper-proof, leaving traces throughout the process, traceable, open and transparent, and collectively maintained. The data or information stored in the blockchain is encrypted to ensure that the data is not tampered with. In the prior art, data is usually encrypted and directly transmitted to the blockchain, and the data cannot be modified. Once the data is contaminated, it will seriously hinder the availability of the data; and due to the diversity and uncertainty of data contamination processing, the reliability of the data stored in the blockchain cannot be guaranteed. Summary of the invention

[0003] The purpose of the present invention is to provide a data processing method, system, data detection device and blockchain platform to solve the problem of data reliability.

[0004] To achieve the above object, an embodiment of the present invention provides a data processing method, comprising:

[0005] Conduct contamination detection on medical data stored in the cloud database with data detection authorization;

[0006] According to the results of pollution detection, the polluted data is processed and corresponding pollution treatment opinion information is generated;

[0007] The pollution treatment opinion information is sent to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0008] Optionally, before performing contamination detection on the medical data stored in the cloud database, the method further includes:

[0009] Sending first verification information to the data acquisition device;

[0010] Receiving second verification information generated by the data acquisition device when the first verification information is successfully verified, the second verification information including a data detection authorization file;

[0011] When the data authorization file is received, it is determined that the data detection authorization is obtained.

[0012] Optionally, the second verification information further includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp;

[0013] Before performing contamination detection on the medical data stored in the cloud database, the method further includes:

[0014] Verifying the validity of the timestamp and the signature information;

[0015] The contamination detection of the medical data stored in the cloud database includes:

[0016] When the timestamp and the signature information are valid, contamination detection is performed on the medical data stored in the cloud database.

[0017] Optionally, the performing pollution detection on the data stored in the cloud database includes:

[0018] Decrypt the medical data vector stored in the cloud database using the symmetric key to obtain the data vector;

[0019] Establishing a Gaussian distribution model according to the data vector;

[0020] Obtaining a probability density function value using the Gaussian distribution model;

[0021] Whether the medical data stored in the cloud database is contaminated is determined based on the probability density function value and a first target value corresponding to the probability density function value.

[0022] Optionally, the processing of the contaminated data according to the result of the contamination detection includes:

[0023] The contaminated data is corrected or deleted according to a second target value corresponding to the contaminated data.

[0024] To achieve the above object, an embodiment of the present invention provides a data processing method, comprising:

[0025] Receiving pollution treatment opinion information sent by the data detection device;

[0026] Sharing the pollution treatment opinion information with the medical data sharing party;

[0027] According to the pollution treatment opinion information, the optimal data processing result is obtained.

[0028] Optionally, obtaining an optimal data processing result according to the pollution treatment opinion information includes:

[0029] Recording the pollution treatment opinion information in a smart contract on a blockchain platform;

[0030] Voting is performed on all pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0031] To achieve the above object, an embodiment of the present invention provides a data detection device, comprising:

[0032] A detection module, used to perform contamination detection on medical data stored in the cloud database after obtaining data detection authorization;

[0033] A first processing module, used to process the polluted data and generate corresponding pollution processing opinion information according to the pollution detection result;

[0034] The first sending module is used to send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0035] Optionally, the device further comprises:

[0036] A second sending module, used to send the first verification information to the data acquisition device;

[0037] A second receiving module, configured to receive second verification information generated by the data acquisition device when the first verification information is successfully verified, wherein the second verification information includes a data detection authorization file;

[0038] The determination module is used to determine whether the data detection authorization is obtained when the data authorization file is received.

[0039] Optionally, the second verification information further includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp;

[0040] The device also includes:

[0041] A verification module, used to verify the validity of the timestamp and the signature information;

[0042] The detection module is specifically used to: perform contamination detection on the medical data stored in the cloud database when the timestamp and the signature information are valid.

[0043] Optionally, the detection module includes:

[0044] A decoding unit, used to decrypt the medical data vector stored in the cloud database using a symmetric key to obtain a data vector;

[0045] A modeling unit, used for establishing a Gaussian distribution model according to the data vector;

[0046] A first acquisition unit, used to obtain a probability density function value using the Gaussian distribution model;

[0047] A determination unit is used to determine whether the data stored in the cloud database is contaminated according to the probability density function value and a first target value corresponding to the probability density function value.

[0048] Optionally, the first processing module is specifically configured to: modify or delete the contaminated data according to a second target value corresponding to the contaminated data.

[0049] To achieve the above objectives, an embodiment of the present invention provides a blockchain platform, including:

[0050] A first receiving module, used for receiving pollution treatment opinion information sent by the data detection device;

[0051] A sharing module, used to share the pollution treatment opinion information with a medical data sharing party;

[0052] The first acquisition module is used to obtain the optimal data processing result according to the pollution treatment opinion information.

[0053] Optionally, the first acquisition module includes:

[0054] A recording unit, used to record the pollution treatment opinion information in a smart contract of a blockchain platform;

[0055] The processing unit is used to vote on all the pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0056] To achieve the above object, an embodiment of the present invention provides a data processing system, comprising:

[0057] A data acquisition device, used to acquire medical data and send the medical data to a cloud database;

[0058] A cloud database, used to store the medical data sent by the data acquisition device;

[0059] A data detection device, used to perform contamination detection on the medical data stored in the cloud database, process the contaminated data and generate contamination processing opinion information according to the result of the contamination detection, and send the contamination processing opinion information to the blockchain platform so that the blockchain platform shares the contamination processing opinion;

[0060] The blockchain platform is used to receive the pollution treatment opinion information sent by the data detection device; share the pollution treatment opinion information with the medical data sharing party; and obtain the optimal data processing result based on the pollution treatment opinion information.

[0061] To achieve the above-mentioned object, an embodiment of the present invention provides an electronic device, including a processor and a transceiver, wherein the processor is used to: perform contamination detection on medical data stored in a cloud database under the condition of obtaining data detection authorization; process the contaminated data and generate corresponding contamination processing opinion information according to the result of the contamination detection;

[0062] The transceiver is used to: send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0063] Optionally, before performing contamination detection on the medical data stored in the cloud database, the transceiver is further used to: send first verification information to the data acquisition device;

[0064] Receiving second verification information generated by the data acquisition device when the first verification information is successfully verified, the second verification information including a data detection authorization file;

[0065] The processor is further configured to: upon receiving the data authorization file, determine whether data detection authorization is obtained.

[0066] Optionally, the second verification information further includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp;

[0067] Before performing contamination detection on the medical data stored in the cloud database, the processor is further used to: verify the validity of the timestamp and the signature information;

[0068] When the timestamp and the signature information are valid, contamination detection is performed on the medical data stored in the cloud database.

[0069] Optionally, when the processor performs contamination detection on the medical data stored in the cloud database, it is specifically used to:

[0070] Decrypt the medical data vector stored in the cloud database using the symmetric key to obtain the data vector;

[0071] Establishing a Gaussian distribution model according to the data vector;

[0072] Obtaining a probability density function value using the Gaussian distribution model;

[0073] Whether the medical data stored in the cloud database is contaminated is determined based on the probability density function value and a first target value corresponding to the probability density function value.

[0074] Optionally, the processor is further configured to: modify or delete the contaminated data according to a second target value corresponding to the contaminated data.

[0075] To achieve the above object, an embodiment of the present invention provides an electronic device, including a processor and a transceiver, wherein:

[0076] The transceiver is used to: receive pollution treatment opinion information sent by the data detection device;

[0077] The processor is used to: share the contamination treatment opinion information with a medical data sharing party; and obtain an optimal data processing result based on the contamination treatment opinion information.

[0078] Optionally, when obtaining the optimal data processing result according to the pollution treatment opinion information, the processor is further used to:

[0079] Recording the pollution treatment opinion information in a smart contract on a blockchain platform;

[0080] Voting is performed on all pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0081] To achieve the above-mentioned purpose, an embodiment of the present invention provides an electronic device, including a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; when the processor executes the program or instruction, the data processing method as described above is implemented.

[0082] To achieve the above objective, an embodiment of the present invention provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the data processing method described above are implemented.

[0083] The beneficial effects of the above technical solution of the present invention are as follows:

[0084] In an embodiment of the present invention, after the data detection device obtains the detection authorization, it performs pollution detection on the medical data stored in the cloud database, processes the polluted data and generates corresponding pollution treatment opinions, and uploads the pollution treatment opinions to the blockchain platform, thereby further realizing multi-party sharing of medical data pollution treatment and obtaining more reliable data processing opinions; storing the medical data in the cloud database and implementing pollution treatment in the database can avoid the situation where the contaminated data cannot be modified due to direct encryption of the data on the chain, thereby optimizing data pollution management and ensuring data reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 This is one of the flowcharts of the data processing method according to an embodiment of the present invention;

[0086] Figure 2 A schematic diagram of the structure of a data processing system according to an embodiment of the present invention;

[0087] Figure 3 The second flowchart of the data processing method according to the embodiment of the present invention;

[0088] Figure 4 is a structural schematic diagram of a data detection device according to an embodiment of the present invention;

[0089] Figure 5 This is a schematic diagram of the structure of a blockchain platform according to an embodiment of the present invention;

[0090] Figure 6 This is one of the structural schematic diagrams of an electronic device according to an embodiment of the present invention;

[0091] Figure 7 This is a second structural schematic diagram of an electronic device according to an embodiment of the present invention;

[0092] Figure 8 This is a third structural diagram of an electronic device according to an embodiment of the present invention;

[0093] Fig. 9 This is a fourth structural schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0094] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0095] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0096] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0097] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0098] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0099] like Figure 1As shown, a data processing method according to an embodiment of the present invention is applied to a data detection device, comprising:

[0100] Step 101: After obtaining data detection authorization, perform contamination detection on the medical data stored in the cloud database.

[0101] Before the data detection device performs contamination detection on the medical data in the cloud database, it needs to obtain data detection authorization, which is obtained by the data detection device from the data acquisition device. The data acquisition device is the data owner. For example, for medical data, the data acquisition device can be a detection device in a hospital that can directly obtain the patient's medical data, or an application that can view medical results.

[0102] The medical data stored in the cloud database is sent by the data acquisition device. The data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key K; the data acquisition device transmits the encrypted data vector to the cloud database for storage. In this embodiment, due to the sensitivity of medical data, it cannot be uploaded directly to the blockchain and needs to be encrypted before uploading. The encrypted data will be very large, and publishing all the encrypted data information to the blockchain will result in low storage efficiency. The present application stores the medical data in the cloud database and performs pollution detection on the cloud database end, which has higher data storage efficiency. The present application adopts a distributed storage method, and the data information itself is encrypted and stored in the cloud database, while information such as URL can be stored on the blockchain platform, which improves data storage efficiency.

[0103] Step 102: According to the result of the pollution detection, the polluted data is processed and corresponding pollution processing opinion information is generated.

[0104] After obtaining the detection authorization from the data acquisition device, the data detection device accesses the cloud database, performs contamination detection on the medical data stored in the cloud database, finds and processes the contaminated data, and generates corresponding contamination processing opinions based on the processing process of the contaminated data.

[0105] Step 103: Send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0106] For medical data, after the data detection device processes the contaminated data and generates contamination treatment opinion information, the contamination treatment opinion information is sent to the blockchain platform. Multiple medical data sharing parties can view the contamination treatment opinion in the blockchain platform, so that they can refer to the contamination treatment opinion for data processing. In the blockchain platform, through the sharing of contamination treatment opinions, for example, multi-party consultation can be achieved. The blockchain platform records the contamination treatment opinion information in the smart contract, and uses the code in the smart contract to optimize the multiple contamination treatment opinions uploaded by multiple data detection devices to obtain the optimal processing result. In the blockchain platform, the data sharing party can view the optimal processing solution for such contaminated data, so that the contaminated data can be processed according to the optimal processing solution; in addition, the contamination treatment opinion is uploaded to the blockchain platform, and the content in the blockchain platform cannot be tampered with or denied, so the embodiment of the present application can further ensure the reliability and practicality of the data.

[0107] In an embodiment of the present invention, after the data detection device obtains the detection authorization, it performs pollution detection on the medical data stored in the cloud database, processes the polluted data and generates corresponding pollution treatment opinions, and uploads the pollution treatment opinions to the blockchain platform, thereby further realizing multi-party sharing of medical data pollution treatment and obtaining more reliable data processing opinions; storing the medical data in the cloud database and implementing pollution treatment in the database can avoid the situation where the contaminated data cannot be modified due to direct encryption of the data on the chain, thereby optimizing data pollution management and ensuring data reliability.

[0108] It should be noted that the medical data in the cloud database is sent by the data acquisition device, which is the owner of the data. Before the data acquisition device transmits the medical data to the cloud database, the cloud database needs to be registered with the data acquisition device. Taking the cloud database S and the data acquisition device H as an example, the cloud database S generates a digital signature Sig(S||TS) with its identity information S and timestamp TS, and the cloud database sends its own identity information, timestamp and signature "S||TS||Sig(S||TS)" to the data acquisition device; after receiving the message from the cloud database, the data acquisition device H first verifies the validity of the timestamp and signature. If the signature is valid, the data acquisition device H generates a signature "Sig(H||TS1||C)" based on its own identity information H, timestamp TS1 and encrypted data vector C, and then transmits the encrypted data vector C, identity information H, timestamp TS1 and signature formed information "C||H||TS1||Sig(H||TS1||C)" to the cloud database, so that the data acquisition device can transmit the data to the cloud database.

[0109] Optionally, before performing contamination detection on the medical data stored in the cloud database, the method further includes:

[0110] Sending first verification information to a data acquisition device; receiving second verification information generated by the data acquisition device when the first verification information is successfully verified, wherein the second verification information includes a data detection authorization file; and determining that data detection authorization is obtained when the data authorization file is received.

[0111] Optionally, the second verification information also includes: identity information of the data acquisition device, a timestamp, and signature information generated based on the identity information and the timestamp; before performing contamination detection on the medical data stored in the cloud database, the method also includes: verifying the validity of the timestamp and the signature information; the performing contamination detection on the medical data stored in the cloud database includes: performing contamination detection on the medical data stored in the cloud database when the timestamp and the signature information are valid.

[0112] This embodiment is a process for a data detection device to obtain data detection authorization. Before performing contamination detection on medical data in a database, it is necessary to first obtain data detection authorization from a data acquisition device. Taking data detection device A and data acquisition device H as an example, data detection device A generates a digital signature Sig(A||TS3) using its own identity information A and timestamp TS3, and sends the identity information A, timestamp TS3 and signature "A||TS3||Sig(A||TS3)" to data acquisition device H; "A||TS3||Sig(A||TS3)" here is the first verification information. After receiving the information sent by the data detection device, the data acquisition device H first verifies the validity of the timestamp and the signature. If the signature is valid, the data acquisition device H generates an authorization certificate (cert), that is, the data detection authorization file, and uses cert with its identity information H, timestamp TS4, and symmetric encryption key K to generate a digital signature Sig (cert||H||TS4||K). The data acquisition device H sends the information "cert||H||TS4||K||Sig(cert||H||TS4||K)" formed by the data detection authorization file, identity information H, timestamp TS4, key K and signature to the data detection device A. Here, "cert||H||TS4||K||Sig(cert||H||TS4||K)" is the second verification information. After receiving the information sent by the data acquisition device H, the data detection device A first verifies the validity of the timestamp and the signature. If the signature is valid, it is considered that the authorization for data detection is obtained, and the data detection device will hold the data detection authorization file cert to perform pollution detection on the data in the cloud database.

[0113] Optionally, the contamination detection of medical data stored in the cloud database includes: using a symmetric key to decrypt the medical data vector stored in the cloud database to obtain a data vector; establishing a Gaussian distribution model based on the data vector; using the Gaussian distribution model to obtain a probability density function value; and determining whether the medical data stored in the cloud database is contaminated based on the probability density function value and a first target value corresponding to the probability density function value.

[0114] In this embodiment, considering that some data information (such as medical data) is sensitive and the data volume is large, it is inappropriate to upload the data to the blockchain, so it still needs to be stored in the cloud database. Since the cloud database is "semi-honest", there will be some data pollution problems caused by human or its own mistakes, so it is necessary to detect the data pollution, find the polluted data and modify or delete it. Data pollution detection can be achieved through the Gaussian model. The following describes the process of the data detection device performing data pollution detection on medical data through the multivariate Gaussian model.

[0115] (1) The data detection device A decrypts the encrypted data vector C using the symmetric key K to obtain the complete data vector model;

[0116] (2) A multivariate Gaussian distribution model is established based on the data vector model, and its density function is:

[0117]

[0118] Where p is the density function, M is an n*n dimensional matrix, x is a data vector, and μ is a random vector;

[0119] (3) According to the data vector, the data detection device first calculates the random vector:

[0120]

[0121] m is the number of data vectors x, i=1, 2…m.

[0122] (4) The data detection device calculates the matrix:

[0123]

[0124] (5) For the detected data vector x′, calculate according to μ and M:

[0125]

[0126] A first target value is determined according to the relevant numerical value. The first target value may be an empirical value ε. The ε that maximizes the evaluation index (such as F-measure) on the validation set may be selected. When p(x′)<ε, the detected data is considered to be contaminated.

[0127] Optionally, the processing of the contaminated data according to the result of the contamination detection includes: correcting or deleting the contaminated data according to a second target value corresponding to the contaminated data.

[0128] After each data detection device A obtains the contaminated medical data, it corrects the contaminated data according to a predetermined second target value (such as an authoritatively recognized expert database) (for example, fasting blood sugar greater than 7.0 is diabetes, and a contamination value of 5.0 is recorded as diabetes, which is obviously wrong, and can be directly corrected to no diabetes) or deletes the data, such as deleting data with uncertain standards.

[0129] After each data detection device processes the pollution data, it needs to upload the generated pollution treatment opinion information to the blockchain platform. The blockchain platform can share the pollution treatment opinion with all data sharing parties, so that each data sharing party can learn from and obtain a more reliable data processing solution; the blockchain platform records the uploaded pollution treatment opinions on the smart contract, classifies all treatment opinions, triggers the code in the smart contract to vote, and can obtain the optimal pollution control result. The transaction is recorded in the blockchain platform, and the data sharing party can obtain the optimal treatment solution for data pollution, thereby ensuring the reliability of the data; the pollution treatment opinions are published on the blockchain platform, and the information content in the blockchain platform cannot be modified, which can prevent denial or malicious tampering.

[0130] The data detection device, data acquisition device, blockchain platform and cloud database of the present invention form a data detection process such as Figure 2 As shown:

[0131] Among them, the data acquisition device 21 is the data owner, responsible for acquiring medical data, initializing the medical data, and encrypting the data and sending it to the cloud database 22;

[0132] The cloud database 22 is used to store the medical data sent by the data acquisition device. The cloud database 22 needs to obtain authorization from the data acquisition device 21 to acquire the medical data and is responsible for storing the medical data.

[0133] The data detection device 23 is used to perform pollution detection on the medical data stored in the cloud database 22, find the polluted data according to the pollution detection result, process the polluted data and generate pollution processing opinion information, and send the pollution processing opinion information to the blockchain platform 24 so that the blockchain platform 24 shares the pollution processing opinion;

[0134] The blockchain platform 24 can be integrated in the data acquisition device or can be a separate blockchain carrier, which is used to receive the pollution treatment opinion information sent by the data detection device 23, and share the pollution treatment opinion information with the medical data sharing party; publish the pollution treatment opinion to the smart contract of the blockchain, share the data pollution treatment opinion, and trigger the code in the smart contract at the same time, obtain the optimal data processing result according to the pollution treatment opinion information, and publish the optimal data processing result to the blockchain.

[0135] In the embodiment of the present invention, after the data detection device obtains the detection authorization, by performing pollution detection on the data stored in the cloud database, processing the polluted data and generating corresponding pollution treatment opinions, and uploading the pollution treatment opinions to the blockchain platform, it is possible to further realize the multi-party sharing of medical data pollution treatment and obtain more reliable data treatment opinions; storing the medical data in the cloud database and implementing pollution treatment in the database can avoid the data being directly encrypted and uploaded to the chain, resulting in the polluted data being unable to be modified, and achieve the optimization of data pollution management, thereby ensuring the reliability of the data. After the data detection device processes the polluted data and generates pollution treatment opinion information, the pollution treatment opinion information is sent to the blockchain platform, so that the blockchain platform records the pollution treatment opinion information in the smart contract, shares the data pollution treatment opinions, and uses the code in the smart contract to optimize the multiple pollution treatment opinions uploaded by multiple data detection devices, so as to obtain the optimal processing result, thereby providing the sharing of pollution data treatment opinions, and cannot be tampered with or denied, and can further ensure the reliability and practicality of the data.

[0136] like Figure 3 As shown, a data processing method according to an embodiment of the present invention is applied to a blockchain platform, comprising:

[0137] Step 301: Receive pollution treatment advice information sent by a data detection device.

[0138] After obtaining the detection authorization from the data acquisition device, the data detection device performs contamination detection on the medical data stored in the cloud database, processes the contaminated data according to the results of the pollution detection and generates corresponding pollution processing opinion information; the data detection device sends the pollution processing opinion information to the blockchain platform to realize the sharing of data pollution processing opinions.

[0139] Step 302: Share the pollution treatment opinion information with the medical data sharing party.

[0140] After receiving the pollution treatment opinion information, the blockchain platform can open access rights to all data sharing parties. Multiple medical data sharing parties can view the pollution treatment opinion in the blockchain platform, so that they can refer to the pollution treatment opinion for data processing. In the blockchain platform, by sharing pollution treatment opinions, for example, multi-party consultation can be achieved.

[0141] Step 303: Obtain an optimal data processing result based on the pollution treatment opinion information.

[0142] The blockchain platform optimizes the multiple pollution treatment opinions uploaded by multiple data detection devices to obtain the optimal data processing results. In the blockchain platform, the data sharing party can view the optimal treatment plan for such pollution data, so that the pollution data can be processed according to the optimal treatment plan, which provides the sharing of pollution data processing opinions; the pollution treatment opinions are uploaded to the blockchain platform, and the content in the blockchain platform cannot be tampered with or denied, so the reliability and practicality of the data can be further guaranteed. It should be noted that the execution order of step 302 and step 303 is not limited here, and the blockchain platform can realize the sharing of pollution treatment opinions and the calculation of the optimal treatment results simultaneously or separately.

[0143] Specifically, obtaining the optimal data processing result based on the pollution treatment opinion information may include: recording the pollution treatment opinion information in a smart contract on a blockchain platform; and voting on all the pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0144] The blockchain platform receives the pollution treatment opinion information, records the pollution treatment opinion information in the smart contract, shares the data pollution treatment opinion, and triggers the code on the smart contract to vote on all data pollution treatment opinions on the smart contract to obtain the optimal treatment result.

[0145] This application provides for sharing opinions on the processing of polluted data. Due to the diversity and uncertainty of opinions on data pollution management, this application uses blockchain technology to trigger the code in the smart contract to obtain the optimal pollution treatment result, and upload the optimal solution to the chain, thereby optimizing data pollution management.

[0146] It should be noted that the data processing method applied to the blockchain platform provided in the embodiment of the present application can implement all the steps implemented by the blockchain platform in the data processing method applied to the data detection device mentioned above, which will not be repeated here.

[0147] like Figure 4 As shown, a data detection device 400 according to an embodiment of the present invention includes:

[0148] The detection module 410 is used to perform contamination detection on the medical data stored in the cloud database after obtaining data detection authorization;

[0149] The first processing module 420 is used to process the polluted data and generate corresponding pollution processing opinion information according to the pollution detection result;

[0150] The first sending module 430 is used to send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0151] Optionally, the device further comprises:

[0152] A second sending module, used to send the first verification information to the data acquisition device;

[0153] A second receiving module, configured to receive second verification information generated by the data acquisition device when the first verification information is successfully verified, wherein the second verification information includes a data detection authorization file;

[0154] A determination module is used to determine whether data detection authorization is obtained according to the second verification information when the data authorization file is received.

[0155] Optionally, the second verification information further includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp;

[0156] The device also includes:

[0157] A verification module, used to verify the validity of the timestamp and the signature information;

[0158] The detection module is specifically used to: perform contamination detection on the medical data stored in the cloud database when the timestamp and the signature information are valid.

[0159] Optionally, the detection module includes:

[0160] A decoding unit, used to decrypt the medical data vector stored in the cloud database using a symmetric key to obtain a data vector;

[0161] A modeling unit, used for establishing a Gaussian distribution model according to the data vector;

[0162] A first acquisition unit, used to obtain a probability density function value using the Gaussian distribution model;

[0163] A determination unit is used to determine whether the data stored in the cloud database is contaminated according to the probability density function value and a first target value corresponding to the probability density function value.

[0164] Optionally, the first processing module is specifically configured to: modify or delete the contaminated data according to a second target value corresponding to the contaminated data.

[0165] It should be noted here that the above-mentioned device provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the data detection device, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0166] like Figure 5 As shown, an embodiment of the present invention provides a blockchain platform 500, including:

[0167] A first receiving module 510 is used to receive pollution treatment advice information sent by a data detection device;

[0168] A sharing module 520, used to share the pollution treatment opinion information with a medical data sharing party;

[0169] The first acquisition module 530 is used to obtain the optimal data processing result according to the pollution treatment opinion information.

[0170] Optionally, the first acquisition module 530 includes:

[0171] A recording unit, used to record the pollution treatment opinion information in a smart contract of a blockchain platform;

[0172] The processing unit is used to vote on all the pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0173] It should be noted here that the above-mentioned blockchain platform provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the blockchain platform, and can achieve the same technical effects. The parts and beneficial effects that are the same as those in the method embodiment will not be specifically described here.

[0174] To achieve the above object, an embodiment of the present invention provides a data processing system, such as Figure 2 As shown, including:

[0175] A data acquisition device 21, used to acquire medical data and send the medical data to a cloud database;

[0176] A cloud database 22, used to store the medical data sent by the data acquisition device;

[0177] The data detection device 23 is used to perform pollution detection on the medical data stored in the cloud database, process the polluted data and generate pollution processing opinion information according to the pollution detection result, and send the pollution processing opinion information to the blockchain platform so that the blockchain platform 24 can share the pollution processing opinion;

[0178] The blockchain platform 24 is used to receive the pollution treatment opinion information sent by the data detection device; share the pollution treatment opinion information with the medical data sharing party; and obtain the optimal data processing result based on the pollution treatment opinion information.

[0179] It should be noted here that the data detection device in the above-mentioned data processing system provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the data detection device, and can achieve the same technical effect; the blockchain platform in the above-mentioned data processing system can implement all the method steps implemented by the above-mentioned method embodiment applied to the blockchain platform, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be specifically described here.

[0180] like Figure 6 As shown, an electronic device 600 according to an embodiment of the present invention includes a processor 610 and a transceiver 620, wherein:

[0181] The processor 610 is used to: perform contamination detection on the medical data stored in the cloud database when data detection authorization is obtained; process the contaminated data and generate corresponding contamination processing opinion information according to the result of the contamination detection;

[0182] The transceiver 620 is used to send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion.

[0183] Optionally, before performing contamination detection on the medical data stored in the cloud database, the transceiver 620 is further used to: send first verification information to the data acquisition device;

[0184] Receiving second verification information generated by the data acquisition device when the first verification information is successfully verified, the second verification information including a data detection authorization file;

[0185] The processor 610 is further configured to: upon receiving the data authorization file, determine whether data detection authorization is obtained.

[0186] Optionally, the second verification information further includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp;

[0187] Before performing contamination detection on the medical data stored in the cloud database, the processor is further used to: verify the validity of the timestamp and the signature information;

[0188] When the timestamp and the signature information are valid, contamination detection is performed on the medical data stored in the cloud database.

[0189] Optionally, when the processor 610 performs contamination detection on the medical data stored in the cloud database, it is specifically used to:

[0190] Decrypt the medical data vector stored in the cloud database using the symmetric key to obtain the data vector;

[0191] Establishing a Gaussian distribution model according to the data vector;

[0192] Obtaining a probability density function value using the Gaussian distribution model;

[0193] Whether the medical data stored in the cloud database is contaminated is determined based on the probability density function value and a first target value corresponding to the probability density function value.

[0194] Optionally, the processor 610 is further configured to: modify or delete the contaminated data according to a second target value corresponding to the contaminated data.

[0195] It should be noted that the above-mentioned electronic device provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the data detection device, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0196] like Figure 7 As shown, an electronic device 700 according to an embodiment of the present invention includes a processor 710 and a transceiver 720, wherein:

[0197] The transceiver 720 is used to: receive the pollution treatment opinion information sent by the data detection device;

[0198] The processor 710 is used to: share the contamination treatment opinion information with a medical data sharing party; and obtain an optimal data processing result according to the contamination treatment opinion information.

[0199] Optionally, when obtaining the optimal data processing result according to the pollution treatment opinion information, the processor 710 is further configured to:

[0200] Recording the pollution treatment opinion information in a smart contract on a blockchain platform;

[0201] Voting is performed on all pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

[0202] It should be noted that the above-mentioned electronic device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment applied to the blockchain platform, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0203] An electronic device according to another embodiment of the present invention, Figure 8 As shown, it includes a transceiver 810, a processor 800, a memory 820, and a program or instruction stored in the memory 820 and executable on the processor 800; when the processor 800 executes the program or instruction, the method applied to the data detection device is implemented.

[0204] The transceiver 810 is used to receive and send data under the control of the processor 800 .

[0205] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 800 and memory represented by memory 820. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 810 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 when performing operations.

[0206] An electronic device according to another embodiment of the present invention, Fig. 9 As shown, it includes a transceiver 910, a processor 900, a memory 920, and a program or instruction stored in the memory 920 and executable on the processor 900; when the processor 900 executes the program or instruction, the method applied to the blockchain platform is implemented.

[0207] The transceiver 910 is used to receive and send data under the control of the processor 900 .

[0208] Among them, Fig. 9In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 900 and memory represented by memory 920. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 910 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 when performing operations.

[0209] A readable storage medium according to an embodiment of the present invention stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the data processing method described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0210] The processor is the processor in the data processing method described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0211] It should be further explained that the electronic devices described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.

[0212] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0213] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0214] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0215] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and / or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of that range and any subranges therebetween.

[0216] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that: include: Conduct contamination detection on medical data stored in the cloud database with data detection authorization; According to the results of pollution detection, the polluted data is processed and corresponding pollution treatment opinion information is generated; Sending the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion; Among them, the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

2. The method according to claim 1, characterized in that Before performing contamination detection on the medical data stored in the cloud database, the method further includes: Sending first verification information to the data acquisition device; Receiving second verification information generated by the data acquisition device when the first verification information is successfully verified, the second verification information including a data detection authorization file; When the data authorization file is received, it is determined that the data detection authorization is obtained.

3. The method according to claim 2, characterized in that The second verification information also includes: identity information and a timestamp of the data acquisition device, and signature information generated according to the identity information and the timestamp; Before performing contamination detection on the medical data stored in the cloud database, the method further includes: Verifying the validity of the timestamp and the signature information; The contamination detection of the medical data stored in the cloud database includes: When the timestamp and the signature information are valid, contamination detection is performed on the medical data stored in the cloud database.

4. The method according to claim 1, characterized in that The contamination detection of the medical data stored in the cloud database includes: Decrypt the medical data vector stored in the cloud database using the symmetric key to obtain the data vector; Establishing a Gaussian distribution model according to the data vector; Obtaining a probability density function value using the Gaussian distribution model; Whether the medical data stored in the cloud database is contaminated is determined based on the probability density function value and a first target value corresponding to the probability density function value.

5. The method according to claim 1, characterized in that The processing of the polluted data according to the result of the pollution detection includes: The contaminated data is corrected or deleted according to a second target value corresponding to the contaminated data.

6. A data processing method, characterized in that: include: Receiving pollution treatment opinion information sent by the data detection device; Sharing the pollution treatment opinion information with the medical data sharing party; Obtaining optimal data processing results according to the pollution treatment opinion information; Among them, the pollution processing opinion information is to perform pollution detection on the medical data stored in the cloud database under the condition of obtaining data detection authorization; based on the results of the pollution detection, the contaminated data is processed and generated; the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

7. The method according to claim 6, characterized in that The step of obtaining the optimal data processing result according to the pollution treatment opinion information includes: Recording the pollution treatment opinion information in a smart contract on a blockchain platform; Voting is performed on all pollution treatment opinion information on the smart contract to obtain the optimal data processing result.

8. A data detection device, characterized in that: include: A detection module, used to perform contamination detection on medical data stored in the cloud database after obtaining data detection authorization; A first processing module, used to process the polluted data and generate corresponding pollution processing opinion information according to the pollution detection result; A first sending module, used to send the pollution treatment opinion information to the blockchain platform, so that the blockchain platform shares the pollution treatment opinion; Among them, the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

9. A blockchain platform, characterized in that: include: A first receiving module, used for receiving pollution treatment opinion information sent by the data detection device; A sharing module, used to share the pollution treatment opinion information with a medical data sharing party; A first acquisition module, used to obtain an optimal data processing result according to the pollution treatment opinion information; Among them, the pollution processing opinion information is to perform pollution detection on the medical data stored in the cloud database under the condition of obtaining data detection authorization; based on the results of the pollution detection, the contaminated data is processed and generated; the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

10. A data processing system, characterized in that: include: A data acquisition device, used to acquire medical data and send the medical data to a cloud database; A cloud database, used to store the medical data sent by the data acquisition device; A data detection device, used to perform contamination detection on the medical data stored in the cloud database, process the contaminated data and generate contamination processing opinion information according to the result of the contamination detection, and send the contamination processing opinion information to the blockchain platform so that the blockchain platform shares the contamination processing opinion; The blockchain platform is used to receive the pollution treatment opinion information sent by the data detection device; share the pollution treatment opinion information with the medical data sharing party; and obtain the optimal data processing result according to the pollution treatment opinion information; The data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption with a key of K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

11. An electronic device, characterized in that: include: transceivers and processors; The processor is used to: perform contamination detection on the medical data stored in the cloud database under the condition of obtaining data detection authorization; process the contaminated data and generate corresponding contamination processing opinion information according to the result of the contamination detection; The transceiver is used to: send the pollution treatment opinion information to the blockchain platform so that the blockchain platform shares the pollution treatment opinion; Among them, the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

12. An electronic device, characterized in that: include: transceivers and processors; The transceiver is used to: receive pollution treatment opinion information sent by the data detection device; The processor is used to: share the contamination treatment opinion information with a medical data sharing party; and obtain an optimal data processing result according to the contamination treatment opinion information; Among them, the pollution processing opinion information is to perform pollution detection on the medical data stored in the cloud database under the condition of obtaining data detection authorization; based on the results of the pollution detection, the contaminated data is processed and generated; the medical data stored in the cloud database is sent by the data acquisition device; the data acquisition device initializes the data, processes the medical data into a vector model, and encrypts the data vector using symmetric encryption, with the key being K; the data acquisition device transmits the encrypted data vector to the cloud database for storage.

13. An electronic device comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that when the processor executes the program or instruction, it implements the data processing method as described in any one of claims 1 to 5, or implements the data processing method as described in any one of claims 6 to 7.

14. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps of the data processing method according to any one of claims 1 to 5 are implemented, or the steps of the data processing method according to any one of claims 6 to 7 are implemented.

Citation Information

Patent Citations

  • Block chain-based metadata management method and system, and computer storage medium

    CN110765205A

  • Financial big data risk control platform based on blockchain

    CN111507649A

  • Abnormal data detection method and device

    CN111783883A