A pollutant data evaluation method based on privacy computing and related equipment
By adopting a privacy-based calculation method in the pollutant data evaluation system, encrypting data using hash keys and environmental characteristic values, and adding random noise and encryption keys during transmission, data security in the pollutant data evaluation system is solved. The problem of insufficient sex and privacy achieves higher data security and privacy protection.
Patent Information
- Application Number
- CN202411680225.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-11-22
AI Technical Summary
The existing pollutant data evaluation system lacks privacy and security in the data processing process, which can easily lead to data breaches and personal privacy violations.
Using a privacy-based calculation method, the data is encrypted by obtaining pollutant data and the hash key used in the early stage, and combining the characteristic values of the environmental system to calculate the current hash key, encrypting the data, and adding random noise and encryption during the transmission process. Key to ensure the security and privacy of data during transmission.
Improve the security and privacy of pollutant data assessment, prevent data breaches and unauthorized access, and enhance protection measures during data transmission.
Smart Images

Figure CN119180044B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pollutant assessment, and in particular to a pollutant data assessment method based on privacy computing and related equipment. Background Art
[0002] Pollutant data assessment is a method for analyzing, evaluating and interpreting environmental pollutant data. By scientifically evaluating pollutant data, we can understand the distribution, concentration, source and impact of pollutants, and provide a basis for environmental management and pollution control. The advantages of pollutant data assessment include: Scientific decision-making: By scientifically evaluating pollutant data, we can provide a basis for environmental management and pollution control and promote scientific decision-making. Optimizing resource allocation: Understanding the temporal and spatial distribution patterns and influencing factors of pollutants can help optimize the allocation of pollution control resources and improve the governance effect. Environmental monitoring: Pollutant data assessment can find deficiencies in environmental monitoring, improve the quality of monitoring data, and provide support for environmental monitoring. Health risk assessment: Assessing the environmental impact and health risks of pollutants can help formulate effective pollution control measures and protect public health. Sustainable development: By conducting long-term monitoring and evaluation of pollutant data, we can understand the environmental quality status and provide a basis for sustainable development. In short, pollutant data assessment is an important environmental management method. By scientifically analyzing, evaluating and interpreting pollutant data, we can provide a basis for environmental management and pollution control. With the continuous development of environmental monitoring technology and data analysis methods, pollutant data assessment will play an increasingly important role in environmental protection and sustainable development.
[0003] However, common data evaluation systems do not handle data privacy and security. As a result, the system may leak data and infringe on personal privacy. It can be seen that the existing pollutant data evaluation methods have the problem of poor security of pollutant data evaluation. Summary of the invention
[0004] The present application provides a pollutant data assessment method and related equipment based on privacy computing, which can solve the problem of poor security in pollutant data assessment.
[0005] In a first aspect, an embodiment of the present application provides a pollutant data evaluation method based on privacy computing, and the pollutant data evaluation method includes:
[0006] Obtain pollutant data for the current assessment period, as well as previous T-1 The hash key used to encrypt the data in each assessment cycle is used to obtain multiple characteristic values of the environmental system in the current assessment cycle for preprocessing the pollutant data; the characteristic values are used to describe the environmental information of the environmental system. T The evaluation cycle is the current evaluation cycle;
[0007] Calculating a hash key of a current evaluation period based on all characteristic values and all hash keys, and encrypting pollutant data using the hash key of the current evaluation period to obtain initial encrypted data;
[0008] Add random noise and encryption key to the initial encrypted data to obtain the final encrypted data;
[0009] The final encrypted data is sent to the pollutant assessment device for pollutant assessment; the pollutant assessment device decrypts the final encrypted data to obtain pollutant data, and performs pollutant assessment on the pollutant data to obtain assessment results, which are used to describe the change status of the pollutant data.
[0010] Optionally, the environmental system includes a processing device and a network where the processing device is located, and the multiple characteristic values include a state characteristic value of the processing device and a state characteristic value of the network.
[0011] Optionally, compute the hash key for the current evaluation cycle based on all feature values and all hash keys, including:
[0012] Calculate dynamic factors based on all eigenvalues;
[0013] Computes the hash key for the current evaluation cycle based on the dynamic factor and all hash keys.
[0014] Optionally, dynamic factors are calculated based on all eigenvalues, including:
[0015] By formula:
[0016]
[0017] Calculating dynamic factors ;
[0018] in, represents a hash function, Represents the state characteristic value of the network, Indicates the first type of status characteristic value of the processing device, The second type of status characteristic value representing the processing device, Represents verification data, Represents the addition operation.
[0019] Calculates the hash key for the current evaluation cycle based on the dynamic factor and all hash keys, including:
[0020] By formula:
[0021]
[0022] Calculates the hash key for the current evaluation cycle ;
[0023] in, Indicates The hash key for each evaluation period, Represents a random value.
[0024] Optionally, the pollutant data is encrypted using the hash key of the current assessment period to obtain initial encrypted data, including:
[0025] By formula:
[0026]
[0027] Calculate the initial encrypted data ;
[0028] in, represents the elliptic curve cryptographic function, represents Advanced Encryption Standard encryption, A hash key representing the current evaluation cycle, represents pollutant data, represents a random value, represents a hash function, Represents the addition operation.
[0029] Optionally, random noise and an encryption key are added to the initial encrypted data to obtain final encrypted data, including:
[0030] Add random noise to the initial encrypted data to obtain intermediate encrypted data;
[0031] The intermediate encrypted data is encrypted using the encryption key to obtain the final encrypted data.
[0032] Optionally, the pollutant data assessment method also includes:
[0033] When receiving a verification request sent by a user device, the verification request is verified using the final encrypted data without exposing the final encrypted data; the verification request is used to request verification of whether the pollutant data is within a preset value range;
[0034] If the pollutant data is within the preset value range, a verification success message is returned to the user device; the verification success message is used to indicate that the pollutant data is within the preset value range.
[0035] In a second aspect, an embodiment of the present application provides a pollutant data evaluation device based on privacy computing, comprising:
[0036] The acquisition module is used to obtain the pollutant data of the current assessment cycle and the previous TThe hash key used to encrypt the data in each assessment cycle is used to obtain multiple characteristic values of the environmental system in the current assessment cycle for preprocessing the pollutant data; the characteristic values are used to describe the environmental information of the environmental system. T The evaluation cycle is the current evaluation cycle;
[0037] An encryption module, used to calculate a hash key of a current evaluation period based on all characteristic values and all hash keys, and encrypt pollutant data using the hash key of the current evaluation period to obtain initial encrypted data;
[0038] An adding module is used to add random noise and encryption key to the initial encrypted data to obtain the final encrypted data;
[0039] The evaluation module is used to send the final encrypted data to the pollutant evaluation device for pollutant evaluation; the pollutant evaluation device decrypts the final encrypted data to obtain pollutant data, and performs pollutant evaluation on the pollutant data to obtain evaluation results, which are used to describe the change status of the pollutant data.
[0040] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned pollutant data assessment method based on privacy computing when executing the above-mentioned computer program.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the above-mentioned pollutant data assessment method based on privacy computing.
[0042] The above solution of the present application has the following beneficial effects:
[0043] In the embodiment of the present application, by obtaining the pollutant data of the current evaluation cycle and the previous T-1The hash key used to encrypt the data in each evaluation cycle is used, and multiple characteristic values of the environmental system used to pre-process the pollutant data in the current evaluation cycle are obtained, and then the hash key of the current evaluation cycle is calculated based on all characteristic values and all hash keys, and the pollutant data is encrypted using the hash key of the current evaluation cycle to obtain the initial encrypted data, and then random noise and encryption keys are added to the initial encrypted data to obtain the final encrypted data, and then the final encrypted data is sent to the pollutant evaluation device for pollutant evaluation. Among them, the hash key of the current evaluation cycle is calculated based on the characteristic values and all hash keys, so that the hash key includes the values of the previous multiple hash keys and environmental information, which improves the unpredictability and security of the hash key of the current evaluation cycle. The initial encrypted data obtained by encryption using a highly secure hash key has high security. At the same time, the encrypted final encrypted data is sent to the pollutant evaluation device for evaluation, which ensures the data security and privacy during the data transmission process, and further improves the security of pollutant data evaluation.
[0044] Other beneficial effects of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 A flowchart of a pollutant data assessment method based on privacy computing provided in one embodiment of the present application;
[0047] Figure 2 A schematic diagram of the structure of a pollutant data assessment system based on privacy computing provided in one embodiment of the present application;
[0048] Figure 3 A schematic diagram of the structure of a privacy computing module provided in one embodiment of the present application;
[0049] Figure 4 A schematic diagram of the structure of a pollutant data evaluation device based on privacy computing provided in one embodiment of the present application;
[0050] Figure 5 A schematic diagram of the structure of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0051] [In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present application with unnecessary details.
[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0054] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0055] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0057] In view of the poor security of existing pollutant data evaluation, the embodiment of the present application provides a pollutant data evaluation method based on privacy computing. The pollutant data evaluation method obtains pollutant data of the current evaluation period and the previous T-1 The hash key used to encrypt the data in each evaluation cycle is used, and multiple characteristic values of the environmental system used to pre-process the pollutant data in the current evaluation cycle are obtained, and then the hash key of the current evaluation cycle is calculated based on all characteristic values and all hash keys, and the pollutant data is encrypted using the hash key of the current evaluation cycle to obtain the initial encrypted data, and then random noise and encryption keys are added to the initial encrypted data to obtain the final encrypted data, and then the final encrypted data is sent to the pollutant evaluation device for pollutant evaluation. Among them, the hash key of the current evaluation cycle is calculated based on the characteristic values and all hash keys, so that the hash key includes the values of the previous multiple hash keys and environmental information, which improves the unpredictability and security of the hash key of the current evaluation cycle. The initial encrypted data obtained by encryption using a highly secure hash key has high security. At the same time, the encrypted final encrypted data is sent to the pollutant evaluation device for evaluation, which ensures the data security and privacy during the data transmission process, and further improves the security of pollutant data evaluation.
[0058] Next, an exemplary description is given of the pollutant data assessment method based on privacy computing provided in this application.
[0059] like Figure 1 As shown, the pollutant data evaluation method based on privacy computing provided in this application includes the following steps:
[0060] Step 11: Obtain pollutant data for the current assessment period and previous T-1 The hash key used to encrypt data in an evaluation cycle is used to obtain multiple characteristic values of the environmental system in the current evaluation cycle for preprocessing pollutant data.
[0061] The pollutant data is the data that needs to be evaluated at present, and the evaluation period is the period for evaluating the pollutant data, such as one day, one week, etc. Exemplarily, the pollutant data of the current evaluation period can be the daily carbon dioxide emissions of a certain area in the most recent quarter. The environmental system includes a processing device (such as a computer) and a network where the processing device is located. The multiple characteristic values include the state characteristic value of the processing device and the state characteristic value of the network. The characteristic values are used to describe the environmental information of the environmental system. T The current evaluation cycle is the evaluation cycle.
[0062] Exemplarily, the state characteristic values of the above-mentioned network may be signal strength, connection speed, etc., and the state characteristic values of the processing device may be battery power, CPU usage, IP address, frequency of preprocessing of pollutant data, etc., among which, battery power and CPU usage are related to the hardware condition of the processing device, and are the first type of state characteristic values of the processing device; IP address and frequency of preprocessing of pollutant data are related to the usage condition of the processing device, and are the second type of state characteristic values of the processing device.
[0063] In some embodiments of the present application, pollutant data can be obtained through channels such as sensors, monitoring stations, and mobile devices. After obtaining the pollutant data, the pollutant data can be preprocessed. First, remove erroneous and abnormal data through data cleaning to ensure data quality; then, remove duplicate data through deduplication operations to avoid affecting subsequent analysis; next, standardize the data to make it conform to a unified format and specification, and use deletion, interpolation and other methods to process missing values, abnormal values and noise in the data to improve the quality and availability of the data; finally, use differential privacy and other methods to perform preliminary privacy protection on the pollutant data.
[0064] Step 12: Calculate the hash key of the current evaluation period based on all characteristic values and all hash keys, and encrypt the pollutant data using the hash key of the current evaluation period to obtain initial encrypted data.
[0065] In some embodiments of the present application, the above-mentioned calculation of the hash key of the current evaluation period based on all characteristic values and all hash keys, and the use of the hash key of the current evaluation period to encrypt the pollutant data to obtain the initial encrypted data includes:
[0066] In the first step, the dynamic factors are calculated based on all eigenvalues.
[0067] Specifically, through the formula:
[0068]
[0069] Calculating dynamic factors .
[0070] in, represents a hash function, Represents the state characteristic value of the network, Indicates the first type of status characteristic value of the processing device, The second type of status characteristic value representing the processing device, Represents verification data, Represents the addition operation.
[0071] Exemplarily, the verification data may be a timestamp, the most recent user activity, and the like.
[0072] In the second step, the hash key of the current evaluation cycle is calculated based on the dynamic factor and all hash keys.
[0073] Specifically, through the formula:
[0074]
[0075] Calculates the hash key for the current evaluation cycle .
[0076] in, Indicates The hash key for each evaluation period, Represents a random value.
[0077] The third step is to encrypt the pollutant data using the hash key of the current assessment cycle to obtain the initial encrypted data.
[0078] Specifically, through the formula:
[0079]
[0080] Calculate the initial encrypted data .
[0081] in, represents the elliptic curve cryptographic function, represents Advanced Encryption Standard encryption, A hash key representing the current evaluation cycle, represents pollutant data, represents a random value, represents a hash function, Represents the addition operation.
[0082] It is worth mentioning that the hash key of the current evaluation cycle is calculated based on the characteristic value and all hash keys, so that the hash key includes the values and environmental information of the previous multiple hash keys, thereby improving the unpredictability and security of the hash key of the current evaluation cycle, and the initial encrypted data encrypted using a highly secure hash key has high security.
[0083] Step 13, adding random noise and encryption key to the initial encrypted data to obtain final encrypted data.
[0084] In some embodiments of the present application, the above-mentioned adding random noise and encryption key to the initial encrypted data to obtain the final encrypted data includes:
[0085] In the first step, random noise is added to the initial encrypted data to obtain the intermediate encrypted data.
[0086] Exemplarily, a differential privacy algorithm may be used to add random noise to initial encrypted data to obtain intermediate encrypted data.
[0087] The second step is to encrypt the intermediate encrypted data using the encryption key to obtain the final encrypted data.
[0088] Specifically, through the formula:
[0089]
[0090] Calculate the final encrypted data .
[0091] in, represents the encryption function, Represents intermediate encrypted data, Represents an encryption key.
[0092] Exemplarily, the above steps can be run using computer software such as matlab, python, etc. to obtain the final encrypted data.
[0093] It is worth mentioning that encrypting the initial encrypted data again using random noise and encryption keys can further improve the privacy and security of the initial encrypted data.
[0094] Step 14, sending the final encrypted data to the pollutant assessment device for pollutant assessment.
[0095] The pollutant assessment device decrypts the final encrypted data to obtain pollutant data, and performs pollutant assessment on the pollutant data to obtain assessment results. The assessment results are used to describe the change status of the pollutant data, such as the trend of value changes.
[0096] Specifically, the pollutant assessment device can use a pre-set decryption algorithm corresponding to the steps of encrypting the pollutant data in the above text for decryption, such as receiving the hash key and encryption key used in the encryption process, and using the hash key and encryption key to use the corresponding decryption algorithm (such as the decryption formula corresponding to the formula encrypted using the encryption key, the decryption formula corresponding to the formula for calculating the initial encrypted data, etc.) to decrypt the final encrypted data.
[0097] For example, the pollutant assessment equipment can use machine learning, deep learning and other algorithms, combined with historical data, meteorological data, geographic information and other multi-dimensional data, to achieve real-time monitoring, analysis and prediction of pollutant data. For example, if the pollutant data is the daily carbon dioxide emissions of a certain region in a quarter, the pollutant assessment equipment will calculate and obtain the assessment result, which is the change trend of the daily carbon dioxide emissions of the region in a quarter. The carbon dioxide emissions of the region can be controlled accordingly based on the change trend. The pollutant assessment equipment can also use the differential integrated moving average autoregressive model to process the above pollutant data to obtain the value of the predicted pollutant data for the region in the future.
[0098] It is worth mentioning that the hash key of the current evaluation cycle is calculated based on the characteristic value and all hash keys, so that the hash key includes the values of the previous multiple hash keys and environmental information, thereby improving the unpredictability and security of the hash key of the current evaluation cycle. The initial encrypted data encrypted with a highly secure hash key has high security. At the same time, the encrypted final encrypted data is sent to the pollutant assessment device for evaluation, which ensures data security and privacy during data transmission and further improves the security of pollutant data evaluation.
[0099] In some embodiments of the present application, the user is allowed to only know the attribute information of the pollutant data (such as the value size, etc.) but not the actual data situation of the pollutant data.
[0100] When receiving the verification request sent by the user device, the verification request is verified using the final encrypted data without exposing the final encrypted data. The verification request is used to request verification of whether the pollutant data is within a preset value range.
[0101] If the pollutant data is within the preset value range, a verification success message is returned to the user device. The verification success message is used to indicate that the pollutant data is within the preset value range.
[0102] If the pollutant data is not within the preset value range, a verification failure message is returned to the user device. The verification failure message is used to indicate that the pollutant data is not within the preset value range.
[0103] For example, a verification process may be performed using a device that processes pollutant data, such as a computer, to verify whether the first value in the final encrypted data is within the range The verification request within can be verified by using range proof. The process of range proof is as follows:
[0104] The verifier (the user device in the above text) wants to verify the ciphertext (i.e. the first value in the final encrypted data above) corresponding to the plaintext Is it in range Internal, no disclosure Specific information:
[0105] Commitment process: First, the prover (the device that processes the pollutant data mentioned above) needs to generate a ciphertext The commitment can be expressed as ,in is a random number, and is a large prime or composite number used for modular arithmetic to ensure security. The purpose of this commitment is to ensure that the prover cannot change the original ciphertext during the verification process. .
[0106] Constructing a range proof: The prover needs to construct a proof to verify the encrypted value Is it in range This step involves proving and are all non-negative, that is and To do this, the prover can use cryptographic techniques such as Pedersen commitments to generate commitments to these expressions, and use zero-knowledge proofs to prove that these commitments do represent non-negative values.
[0107] The process of zero-knowledge proof is:
[0108] Initialization: The prover P sends the value of n to the verifier V, but does not disclose the value of x;
[0109] Commitment: The prover P randomly chooses a number r and calculates a commitment D = r^2 mod n, and then sends D to the verifier V; here r^2 mod n is a "commitment" that encrypts the value of r but does not reveal r itself;
[0110] Challenge: After receiving the commitment D, the verifier V selects a bit b and sends b to the prover P; this bit b is the verifier's "challenge" to the prover;
[0111] Response: If b is 0, the prover P sends r to the verifier V. If b is 1, the prover P sends x times r mod n to the verifier V. This step is the prover’s “response” to the verifier’s challenge.
[0112] Verification: The verifier V verifies whether the prover P knows x based on the received response; if b is 0, V checks whether the received r satisfies D = r^2 mod n; if b is 1, V checks whether the received xr satisfies C = (xr)^2 mod n; if these checks pass, the verifier V believes that the prover P does know x, and will not get any information about x;
[0113] x is a secret value known by the prover, which is information that the prover wants to prove he knows but does not want to disclose to the verifier;
[0114] y is public information related to x, which is information publicly available to the verifier and is related to the statement the prover wants to prove.
[0115] If the verification information passes the above verification process, a verification success message is sent to the user device to confirm that the first value in the final encrypted data is within the range If the verification information fails the above verification process, a verification failure message is sent to the user device, indicating that the first value in the final encrypted data is not in the range Inside.
[0116] Through the above process, whether the verification information is correct is verified without exposing the final encrypted data, so that the user can obtain the attribute information of the final encrypted data, thereby ensuring the security of the final encrypted data.
[0117] The pollutant data assessment method based on privacy computing is illustrated below with reference to a specific example.
[0118] The pollutant data evaluation system provided in this application is as follows Figure 2As shown, it includes a data acquisition module, a data preprocessing module, a privacy computing module, an intelligent evaluation module, a result display module, and a security management module, wherein the data acquisition module is used to obtain pollutant data, the data preprocessing module is used to preprocess the acquired pollutant data, the privacy computing module is used to encrypt the pollutant data (step 12, step 13), the intelligent evaluation module is used to evaluate the pollutant data, the result display module is used to display the evaluation results to the user, and the security management module is used to perform security management on the pollutant data evaluation system, including: real-time collection of operation data of each module, including data flow, processing speed, error rate and other information in the process of data acquisition, preprocessing, calculation, evaluation, and display. Real-time detection of system performance indicators, such as response time, throughput, resource utilization (CPU, memory, disk IO, etc.), to ensure that the system runs in the best state. Real-time detection of errors and anomalies in the system, including data processing errors, calculation errors, network anomalies, hardware failures, etc., and triggering an alarm mechanism. Real-time detection of system security, including detection of security threats such as data leakage, unauthorized access, malicious attacks, etc., and taking corresponding protective measures. Record logs of all operations, including user operations, system operation, error reports, etc., and conduct real-time or periodic analysis to identify and resolve problems. Generate reports based on monitoring results and send alarm information to system administrators so that they can handle problems in a timely manner. Based on historical monitoring data, predict possible system problems and issue early warnings so that system administrators can handle them in advance to avoid problems.
[0119] The structure of the above privacy computing module is as follows: Figure 3 As shown, it includes a homomorphic encryption submodule, a secure multi-party computing submodule, a zero-knowledge proof submodule, a differential privacy submodule, a security protocol submodule, and an access control submodule. The homomorphic encryption submodule is used to execute step 12 above, and the secure multi-party computing submodule is used to ensure that the data privacy of all parties involved in the evaluation and calculation is protected when the pollutant data is evaluated. In this way, the relevant parties can jointly calculate the necessary evaluation results without directly sharing their private data. This submodule realizes the secure exchange and processing of data between the participants through distributed computing and encryption technology, ensuring that the data will not be stolen or abused by unauthorized third parties during transmission and processing. The zero-knowledge proof submodule is used to execute the step of verifying the verification request above, the differential privacy submodule is used to execute step 13 above, the security protocol submodule is used to use encryption and security protocols to protect the security of data transmission and processing, and the access control submodule is used to use access control policies and authentication mechanisms to manage access to data.
[0120] The following is an exemplary description of the pollutant data evaluation device based on privacy computing provided in this application.
[0121] like Figure 4 As shown, the embodiment of the present application provides a pollutant data evaluation device based on privacy computing, and the pollutant data evaluation device 400 based on privacy computing includes:
[0122] Acquisition module 401 is used to obtain pollutant data of the current evaluation cycle and the previous T-1 The hash key used to encrypt the data in each assessment cycle is used to obtain multiple characteristic values of the environmental system in the current assessment cycle for preprocessing the pollutant data; the characteristic values are used to describe the environmental information of the environmental system. T The evaluation cycle is the current evaluation cycle;
[0123] An encryption module 402 is used to calculate a hash key of a current evaluation period based on all characteristic values and all hash keys, and to encrypt pollutant data using the hash key of the current evaluation period to obtain initial encrypted data;
[0124] An adding module 403 is used to add random noise and encryption key to the initial encrypted data to obtain final encrypted data;
[0125] The evaluation module 404 is used to send the final encrypted data to the pollutant evaluation device for pollutant evaluation; the pollutant evaluation device decrypts the final encrypted data to obtain pollutant data, and performs pollutant evaluation on the pollutant data to obtain evaluation results, which are used to describe the change status of the pollutant data.
[0126] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0127] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0128] like Figure 5 As shown, an embodiment of the present application provides a terminal device. The terminal device D10 of this embodiment includes: at least one processor D100 ( Figure 5 Only one processor is shown in the figure), a memory D101, and a computer program D102 stored in the memory D101 and executable on the at least one processor D100, wherein the processor D100 implements the steps of any of the above-mentioned method embodiments when executing the computer program D102.
[0129] Specifically, when the processor D100 executes the computer program D102, it obtains the pollutant data of the current evaluation cycle and the hash key used to encrypt the data in the previous T-1 evaluation cycles, and obtains multiple characteristic values of the environmental system used to pre-process the pollutant data in the current evaluation cycle, and then calculates the hash key of the current evaluation cycle based on all characteristic values and all hash keys, and uses the hash key of the current evaluation cycle to encrypt the pollutant data to obtain initial encrypted data, and then adds random noise and encryption keys to the initial encrypted data to obtain final encrypted data, and then sends the final encrypted data to the pollutant evaluation device for pollutant evaluation. Among them, the hash key of the current evaluation cycle is calculated based on the characteristic value and all hash keys, so that the hash key includes the values of the previous multiple hash keys and environmental information, improves the unpredictability and security of the hash key of the current evaluation cycle, and the initial encrypted data obtained by encrypting with a highly secure hash key has high security. At the same time, the encrypted final encrypted data is sent to the pollutant evaluation device for evaluation, which ensures data security and privacy during data transmission and further improves the security of pollutant data evaluation.
[0130] The processor D100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0131] In some embodiments, the memory D101 may be an internal storage unit of the terminal device D10, such as a hard disk or memory of the terminal device D10. In other embodiments, the memory D101 may also be an external storage device of the terminal device D10, such as a plug-in hard disk, a smart memory card (SMC, SmartMedia Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device D10. Further, the memory D101 may also include both an internal storage unit of the terminal device D10 and an external storage device. The memory D101 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory D101 may also be used to temporarily store data that has been output or is to be output.
[0132] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0133] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the pollutant data assessment method device / terminal device based on privacy computing, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0137] The above is a preferred embodiment of the present application. 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 described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A pollutant data assessment method based on privacy computing, characterized in that: include: Obtain pollutant data for the current assessment period, as well as previous T-1 The hash key used to encrypt the data in the evaluation cycle is used to obtain multiple characteristic values of the environmental system used to pre-process the pollutant data in the current evaluation cycle; the characteristic values are used to describe the environmental information of the environmental system, T The evaluation cycle is the current evaluation cycle; Calculating a hash key of a current evaluation period based on all characteristic values and all hash keys, and encrypting the pollutant data using the hash key of the current evaluation period to obtain initial encrypted data; Adding random noise and an encryption key to the initial encrypted data to obtain final encrypted data; sending the final encrypted data to a pollutant assessment device for pollutant assessment; The pollutant assessment device decrypts the final encrypted data to obtain the pollutant data, and performs pollutant assessment on the pollutant data to obtain an assessment result, wherein the assessment result is used to describe a change in the pollutant data; The step of calculating the hash key of the current evaluation cycle based on all the characteristic values and all the hash keys includes: Calculate dynamic factors based on all eigenvalues; Calculate the hash key of the current evaluation cycle according to the dynamic factor and all hash keys; The calculation of dynamic factors based on all eigenvalues includes: By formula: Calculating dynamic factors ; in, represents a hash function, Represents the state characteristic value of the network, Indicates the first type of status characteristic value of the processing device, The second type of status characteristic value representing the processing device, Represents verification data, Represents the addition operation; The calculating the hash key of the current evaluation cycle according to the dynamic factor and all the hash keys includes: By formula: Calculates the hash key for the current evaluation cycle ; in, Indicates The hash key for each evaluation period, Represents a random value.
2. The pollutant data evaluation method according to claim 1, characterized in that: The environmental system includes a processing device and a network where the processing device is located, and the multiple characteristic values include a state characteristic value of the processing device and a state characteristic value of the network.
3. The pollutant data evaluation method according to claim 1, characterized in that: The step of encrypting the pollutant data using the hash key of the current evaluation period to obtain initial encrypted data includes: By formula: Calculate the initial encrypted data ; in, represents the elliptic curve cryptographic function, represents Advanced Encryption Standard encryption, A hash key representing the current evaluation cycle, represents pollutant data, represents a random value, represents a hash function, Represents the addition operation.
4. The pollutant data evaluation method according to claim 1, characterized in that: The adding of random noise and encryption key to the initial encrypted data to obtain final encrypted data comprises: Adding random noise to the initial encrypted data to obtain intermediate encrypted data; The intermediate encrypted data is encrypted using an encryption key to obtain final encrypted data.
5. The pollutant data evaluation method according to claim 1, characterized in that: The pollutant data evaluation method further includes: When receiving a verification request sent by a user device, verifying the verification request using the final encrypted data without exposing the final encrypted data; the verification request is used to request verification of whether the pollutant data is within a preset value range; If the pollutant data is within the preset value range, a verification success message is returned to the user equipment; the verification success message is used to indicate that the pollutant data is within the preset value range.
6. A pollutant data evaluation device based on privacy computing, characterized in that: include: The acquisition module is used to obtain the pollutant data of the current assessment cycle and the previous T-1 The hash key used to encrypt the data in the evaluation cycle is used to obtain multiple characteristic values of the environmental system used to pre-process the pollutant data in the current evaluation cycle; the characteristic values are used to describe the environmental information of the environmental system, T The evaluation cycle is the current evaluation cycle; An encryption module, used to calculate a hash key of a current evaluation period based on all characteristic values and all hash keys, and encrypt the pollutant data using the hash key of the current evaluation period to obtain initial encrypted data; An adding module, used for adding random noise and encryption key to the initial encrypted data to obtain final encrypted data; An evaluation module, used for sending the final encrypted data to a pollutant evaluation device for pollutant evaluation; The pollutant assessment device decrypts the final encrypted data to obtain the pollutant data, and performs pollutant assessment on the pollutant data to obtain an assessment result, wherein the assessment result is used to describe a change in the pollutant data; The encryption module is specifically used to implement: Calculate dynamic factors based on all eigenvalues; Calculate the hash key of the current evaluation cycle according to the dynamic factor and all hash keys; The calculation of dynamic factors based on all eigenvalues includes: By formula: Calculating dynamic factors ; in, represents a hash function, Represents the state characteristic value of the network, Indicates the first type of status characteristic value of the processing device, The second type of status characteristic value representing the processing device, Represents verification data, Represents the addition operation; The calculating the hash key of the current evaluation cycle according to the dynamic factor and all the hash keys includes: By formula: Calculates the hash key for the current evaluation cycle ; in, Indicates The hash key for each evaluation period, Represents a random value.
7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the pollutant data assessment method based on privacy computing as described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the pollutant data assessment method based on privacy computing as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data processing method and equipment
CN107038383A
Signature Extraction Module, Data Verification Module and integrity monitoring System for Sequence Data
KR1020170101567A