Environment quality data management system and method and storage medium

By introducing blockchain technology and data identifiers into the environmental quality data management system, the problems of data sharing and auditing are solved, the secure sharing and traceability of data are realized, and the management efficiency and security of environmental quality data are improved.

CN119180562AActive Publication Date: 2024-12-24CENT SOUTH UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411286791.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-12-24
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

The existing environmental quality data management system lacks data sharing and data auditing functions, which leads to the inability to seamlessly communicate and share data between different institutions or systems, increasing the work burden of environmental protection personnel, and posing data entry errors and security risks.

Method used

An environmental quality data management system was designed, including a data acquisition unit, a blockchain data verification unit, a data marking unit, a data access control unit and a data sharing unit. Through blockchain technology, the data is securely stored and accessed, and the data is generated. Data identifiers are used to identify data sources and ownership, and to achieve secure sharing and traceability of data through data sharing algorithms.

Benefits of technology

It improves the sharing efficiency and security of environmental quality data, ensures the accuracy and reliability of data, reduces the risks of data tampering and illegal access, and enhances the privacy protection and traceability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119180562A_ABST
    Figure CN119180562A_ABST
Patent Text Reader

Abstract

The invention discloses an environment quality data management system and method and a storage medium. The environment quality data management system comprises a data acquisition unit, a block chain data verification unit, a data marking unit, a data access control unit and a data sharing unit, the data acquisition unit is used for acquiring environment quality data and transmitting the acquired environment quality data to the block chain data verification unit; the block chain data verification unit is used for recording the received environment quality data in a data block of a block chain and transmitting the environment quality data to the data marking unit after verification is completed; the data marking unit is used for generating a data identifier and maintaining an index of the data identifier for each piece of received environment quality data, and transmitting the data identifier and the index to the data access control unit; the data access control unit is used for managing the access authority of a user to the environment quality data and transmitting the access control authority to the data sharing unit; and the data sharing unit controls the environment quality data to be shared through a data sharing algorithm. By adopting the method and the device, the efficiency and the security in the data sharing process are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of environmental quality data processing, and in particular to an environmental quality data management system, method, and storage medium. Background Art

[0002] Environmental quality data refers to various indicators and parameters that record and reflect the environmental conditions in a specific area, including air quality index, water quality test results, soil pollution level, noise decibels, greenhouse gas concentration, etc. Environmental quality data is also very important for the formulation of environmental protection policies, the maintenance of public health and safety, the optimization of urban planning, climate change research, and the maintenance of ecological balance. Large-scale environmental quality data can be used for environmental trend analysis, pollution source tracking, ecological risk assessment, formulation of emission reduction measures, monitoring of environmental governance effects, etc., which is conducive to scientific decision-making and effective management. Existing environmental quality data often involves sensitive access and is often stored in independent systems. When needed, it is called through manual entry or interface transmission.

[0003] In the process of realizing the present invention, the inventors realized that the prior art has at least the following technical problems: the existing environmental quality data management system lacks data sharing function, which leads to the inability to seamlessly communicate and share environmental quality data between different institutions or systems, limiting the comprehensiveness and accuracy of environmental information, requiring repeated entry in different systems, increasing the workload of environmental protection personnel, and easily leading to data entry errors. The existing environmental quality data management system lacks data auditing function, making it difficult to trace and audit the modification and access of environmental quality data, which may lead to risks such as data tampering, abuse and illegal access, damage related interests and the reliability of environmental quality data, and bring certain security risks to sensitive data. Summary of the invention

[0004] Embodiments of the present invention provide an environmental quality data management system, method, computer device and storage medium to improve the efficiency and security of environmental quality data sharing.

[0005] In order to solve the above technical problems, the embodiment of the present application provides an environmental quality data management system, which includes a data acquisition unit, a blockchain data verification unit, a data marking unit, a data access control unit and a data sharing unit; wherein,

[0006] The data collection unit is used to collect environmental quality data and transmit the collected environmental quality data to the blockchain data verification unit;

[0007] The blockchain data verification unit is used to convert the received environmental quality data into transactions and record them in the data block of the blockchain, and transmit the environmental quality data to the data marking unit after verification;

[0008] The data marking unit is used to generate a data identifier for each received environmental quality data and maintain an index of the data identifier, and transmit the data identifier and the environmental quality data to a data access control unit simultaneously, wherein the data identifier is used to identify the source and ownership of the data;

[0009] The data access control unit is used to manage the user's access rights to the environmental quality data and transmit the access control rights to the data sharing unit;

[0010] The data sharing unit controls the environmental quality data to be shared through a data sharing algorithm.

[0011] Optionally, the data sharing algorithm is:

[0012]

[0013] Where n is the number of bytes transmitted in the environmental quality data, r i is the number of bytes of data requested for environmental quality data i, d i is the identifier provided in response to the request message, d i The value is 0 or 1.

[0014] Optionally, the environmental quality data management system further includes a data modification unit, a data storage unit and a data analysis unit;

[0015] The data storage unit is used to securely store the environmental quality data after adding the identifier in the form of a blockchain, store the identifier in an identifier database, store the environmental quality data in the environmental quality database, and associate the identifier database with the environmental quality database;

[0016] The data modification unit is used to receive the access control authority of the data access control unit, the identifier of the data storage unit and the environmental quality data. When the modifier is authorized by the access control authority and the identifier of the modifier is the same as the received identifier, the environmental quality data under the identifier being modified is modified, and the modified environmental quality data is transmitted to the data storage unit;

[0017] The data analysis unit is used to associate data to the data storage unit according to a data analysis algorithm;

[0018] The data access control unit is also used to transmit the access control authority to the data modification unit;

[0019] The data marking unit is also used to transmit the data identifier and the environmental quality data to the data storage unit simultaneously.

[0020] Optionally, the data analysis algorithm is:

[0021]

[0022] Among them, i (k) represents the correlation coefficient, |y(k)-x i (k)| represents the distance between the kth data in the standard blockchain and the corresponding data in the ith comparison blockchain. max represents the maximum distance, min represents the minimum distance, and ρ is called the resolution coefficient. Generally, the value range of ρ is (0,1). When ρ≤0.54, the resolution is relatively high, and ρ=0.5 is usually taken.

[0023] Optionally, the environmental quality data management system further includes a data audit unit, a data display unit and a data query unit;

[0024] The data query unit is used to receive the access control authority issued by the data access control unit, the identifier of the participant of the shared environmental quality data issued by the data sharing unit, the identifier and environmental quality data issued by the data storage unit, and the analysis result issued by the data analysis unit, and compare the identifier of the participant of the shared environmental quality data issued by the data sharing unit with the identifier issued by the data storage unit. If the identifiers of the two are the same, the shared environmental quality data can be queried according to the query conditions of the inquirer, and the queried environmental quality data and analysis results are transmitted to the data display unit;

[0025] The data audit unit is used to record and monitor the query operation of the data query unit and the modification operation of the data modification unit. If unauthorized data query or modification behavior is detected and warned, the data query or modification operation is blocked, and an audit log is provided for tracing the flow and modification records of data;

[0026] The data display unit displays the received environmental quality data and analysis results in the form of charts through a display screen;

[0027] The data access control unit is also used to transmit the access control authority to the audit unit and the data query unit;

[0028] The data sharing unit is also used to transmit identifiers of participants participating in the shared environmental quality data to the data query unit.

[0029] Optionally, the data marking unit includes an identification generation module, an identification association module and an identification index module;

[0030] The identification generation module generates a unique identifier for each environmental quality data by generating a unique random number;

[0031] The identification association module associates the generated unique identifier with the source and owner of the data.

[0032] The identification index module is used to maintain an index, and associate each unique identifier with corresponding environmental quality data. The index includes a database and a file system, and is used to quickly query and access data according to the identifier.

[0033] Optionally, the data access control unit includes an authentication and verification module, an access decision module, a data protection module and a record audit module;

[0034] The authentication and verification module first performs authentication and verification on the request to determine the legitimacy and authority level of the request;

[0035] The access decision module makes an access decision based on the result of the authentication verification and determines whether to allow the requester to access the requested data based on the access policy and permission configuration;

[0036] The data protection module is used to provide the corresponding environmental quality data to the access requester if the access is authorized. In this process, data encryption, data desensitization or other data protection operations are also performed to ensure the security and privacy of the data;

[0037] The record audit module is responsible for recording and auditing data access activities, which include recording access requests, access results, visitor information and timestamps.

[0038] Optionally, the data audit unit includes a monitoring data access module, a recording data modification module, an anomaly detection and warning module, and an audit log generation module;

[0039] The monitoring data access module is used to record and monitor all access operations to environmental quality data, and track the behavior of each user or system, and record the time, location and access data;

[0040] The data modification recording module is used to record the values ​​before and after the modification, the modification time and the operator information when the environmental quality data is modified, so as to ensure the integrity of the data and provide the ability to trace the modification;

[0041] The anomaly detection and warning module is used to detect unauthorized or abnormal data access behavior, and when unauthorized or abnormal behavior is detected, generate a warning and take early warning measures, wherein the unauthorized or abnormal behavior includes illegal access and unauthorized data modification;

[0042] The audit log generation module is used to generate an audit log to record all access and modification operations. The audit log is used to trace data flow and modification records, and is also used as a basis for legal evidence or internal audits.

[0043] In order to solve the above technical problems, the embodiment of the present application further provides an environmental quality data management method, which is applied to the above environmental quality data management system, and the method includes:

[0044] Collect environmental quality data;

[0045] By adopting the blockchain method, the environmental quality data is converted into transactions and recorded on the chain;

[0046] Verify the on-chain data, and after verification, index and mark the environmental quality data and the authority identifiers corresponding to the environmental quality data;

[0047] When a data sharing request is received, the control authority of the initiator of the sharing request is verified based on the index tag. After the verification is passed, the environmental quality data corresponding to the control authority is shared.

[0048] In order to solve the above technical problems, an embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above environmental quality data management method when executing the computer program.

[0049] In order to solve the above technical problems, 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 of the above environmental quality data management method are implemented.

[0050] The environmental quality data management system, method and storage medium provided by the embodiment of the present invention include a data collection unit, a blockchain data verification unit, a data marking unit, a data access control unit and a data sharing unit through the environmental quality data management system; wherein the data collection unit is used to collect environmental quality data and transmit the collected environmental quality data to the blockchain data verification unit; the blockchain data verification unit is used to convert the received environmental quality data into transactions and record them in the data block of the blockchain, and transmit the environmental quality data to the data marking unit after verification; the data marking unit is used to generate a data identifier and maintain an index of the data identifier for each received environmental quality data, and transmit the data identifier and the environmental quality data to the data access control unit at the same time, wherein the data identifier is used to identify the source and ownership of the data; the data access control unit is used to manage the user's access rights to the environmental quality data, and transmit the access control rights to the data sharing unit; the data sharing unit controls the environmental quality data to be shared through the data sharing algorithm. It realizes linking the data in the form of blocks, and through encryption and access control mechanisms, ensures the security and privacy protection of the shared data, and improves the efficiency and security of the data sharing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0052] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0053] Figure 2 is a schematic diagram of the structure of an embodiment of an environmental quality data management system according to the present application;

[0054] Figure 3 is a flow chart of an embodiment of the environmental quality data management method of the present application;

[0055] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0057] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

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

[0059] See also Figure 1 ,like Figure 1 As shown, Figure 1 is a schematic diagram of an application environment of an environmental quality data management system / method in an embodiment of the present invention. The environmental quality data management system / method provided by the present application can be applied in Figure 1In the application environment, the blockchain is composed of several nodes that can communicate with each other. Each node can be regarded as a block storage. Each block storage is used to save data. Each data node contains all data. The block storage data has a complete historical record and can be quickly restored and expanded. The regional chain is divided into public chain, private chain and alliance chain. The public chain is open to any node. Every organization / node can participate in the blockchain calculation, and any organization / node can download and obtain complete blockchain data. The private chain is that some blockchains do not want anyone to participate in this system. It is not open to the public and is suitable for internal data management and auditing or open testing of specific institutions. The alliance chain is that the permissions of each node participating are completely equal. Everyone can achieve trusted data exchange without full mutual trust. Each node of the alliance chain usually has a corresponding entity organization. Only after authorization can they join and exit the network. In the process of using the entire blockchain backup system, digital signatures are required. Digital signatures design a hash function, the sender's public key, and the sender's private key. The blockchain has complete distributed storage characteristics. In fact, it is a larger network data storage and uses a data structure in the form of a "hash algorithm" to save basic data.

[0060] In order to solve the above technical problems, the present application embodiment provides an environmental quality data management system, please refer to Figure 2 ,like Figure 2 As shown, the environmental quality data management system includes a data collection unit 201, a blockchain data verification unit 202, a data marking unit 203, a data access control unit 204 and a data sharing unit 205; wherein,

[0061] The data collection unit 201 is used to collect environmental quality data and transmit the collected environmental quality data to the blockchain data verification unit;

[0062] The blockchain data verification unit 202 is used to convert the received environmental quality data into transactions and record them in the data block of the blockchain, and transmit the environmental quality data to the data marking unit after verification;

[0063] The data marking unit 203 is used to generate a data identifier for each received environmental quality data and maintain an index of the data identifier, and transmit the data identifier and the environmental quality data to the data access control unit at the same time, wherein the data identifier is used to identify the source and ownership of the data;

[0064] The data access control unit 204 is used to manage the user's access rights to the environmental quality data and transmit the access control rights to the data sharing unit;

[0065] The data sharing unit 205 controls the sharing of environmental quality data through a data sharing algorithm.

[0066] Preferably, in this embodiment, the data collection unit 301 can be directly connected to the data source, or obtain data from a weather station, a water quality monitoring station, and an environmental protection company through an API interface, and the collected environmental quality data includes but is not limited to the air quality index (AQI), PM2.5 and PM10 concentrations, water pollution indicators, and noise levels, etc. This flexibility allows environmental quality data to be collected from multiple data sources, which not only increases the diversity of data, but also helps to build a more comprehensive environmental monitoring network.

[0067] The data tagging unit 303 generates a unique identifier for each environmental quality data, which helps to identify the source and ownership of the data. The data access control unit manages the user's access rights to the environmental quality data and sets the read or write access control rights of the data according to the identifier and user role. Ensure that only authorized users can access the relevant data.

[0068] It should be noted that the data sharing unit 305 enables participants who have obtained control authority to safely share environmental quality data through a data sharing algorithm, and ensures the security and privacy protection of shared data through encryption and access control mechanisms.

[0069] Preferably, the data sharing algorithm is:

[0070]

[0071] Where n is the number of bytes transmitted in the environmental quality data, r i is the number of bytes of data requested for environmental quality data i, d i is the identifier provided in response to the request message, d i The value is 0 or 1.

[0072] In a specific optional implementation, the environmental quality data management system further includes a data modification unit 209, a data storage unit 210, and a data analysis unit 211;

[0073] The data storage unit 210 is used to securely store the environmental quality data after adding the identifier in the form of a blockchain, store the identifier in an identifier database, store the environmental quality data in the environmental quality database, and associate the identifier database with the environmental quality database;

[0074] The data modification unit 209 is used to receive the access control authority of the data access control unit, the identifier of the data storage unit and the environmental quality data. When the modifier is authorized by the access control authority and the identifier of the modifier is the same as the received identifier, the environmental quality data under the identifier being modified is modified, and the modified environmental quality data is transmitted to the data storage unit;

[0075] The data analysis unit 211 is used to associate data to the data storage unit according to the data analysis algorithm;

[0076] The data access control unit 204 is also used to transmit the access control authority to the data modification unit;

[0077] The data marking unit 205 is also used to transmit the data identifier and the environmental quality data to the data storage unit simultaneously.

[0078] Preferably, the data analysis algorithm is:

[0079]

[0080] Among them, i (k) represents the correlation coefficient, |y(k)-x i (k)| represents the distance between the kth data in the standard blockchain and the corresponding data in the ith comparison blockchain. max represents the maximum distance, min represents the minimum distance, and ρ is called the resolution coefficient. Generally, the value range of ρ is (0,1). When ρ≤0.54, the resolution is relatively high, and ρ=0.5 is usually taken.

[0081] In a specific optional implementation, the environmental quality data management system further includes a data audit unit 206, a data display unit 207, and a data query unit 208;

[0082] The data query unit 206 is used to receive the access control authority issued by the data access control unit, the identifier of the participant of the shared environmental quality data issued by the data sharing unit, the identifier issued by the data storage unit and the environmental quality data and the analysis result issued by the data analysis unit, and compare the identifier of the participant of the shared environmental quality data issued by the data sharing unit with the identifier issued by the data storage unit. If the identifiers of the two are the same, the shared environmental quality data can be queried according to the query conditions of the inquirer, and the queried environmental quality data and the analysis result are transmitted to the data display unit;

[0083] The data audit unit 207 is used to record and monitor the query operation of the data query unit and the modification operation of the data modification unit. If unauthorized data query or modification behavior is detected and warned, the data query or modification operation is blocked and an audit log is provided for tracing the flow and modification records of data.

[0084] The data display unit 208 displays the received environmental quality data and analysis results in the form of charts through a display screen;

[0085] The data access control unit 204 is also used to transmit the access control authority to the audit unit and the data query unit;

[0086] The data sharing unit 205 is further used to transmit identifiers of participants who participate in sharing environmental quality data to the data query unit.

[0087] In this embodiment, the data audit unit is responsible for tracking the historical changes and access records of the data, thereby ensuring the traceability and transparency of the data. The data modification unit may involve modifying or updating specific data while following the authority and verification mechanism to maintain the consistency and accuracy of the data.

[0088] In this embodiment, the data storage unit is responsible for storing the verified environmental quality data on the blockchain to ensure the data's persistence and immutability. The data query unit may allow users to query specific data based on identifiers or other conditions, subject to access control restrictions.

[0089] In a specific optional implementation, the data marking unit 203 includes an identification generation module 2031, an identification association module 2032, and an identification index module 2033;

[0090] The identification generation module 2031 generates a unique identifier for each environmental quality data by generating a unique random number;

[0091] The identification association module 2032 associates the generated unique identifier with the source and owner of the data.

[0092] The identification index module 2033 is used to maintain the index, and associate each unique identifier with the corresponding environmental quality data. The index includes a database and a file system, and is used to quickly query and access data according to the identifier.

[0093] In this embodiment, the identification generation module 2031 generates a unique identifier for each environmental quality data by generating a unique random number, the identification association module 2032 associates the generated unique identifier with the source and owner of the data, and the identification index module 2033 is used to maintain the index and associate each unique identifier with the corresponding environmental quality data. The index includes a database and a file system, and provides the function of quickly querying and accessing data based on the identifier.

[0094] In a specific optional implementation, the data access control unit 204 includes an authentication and verification module 2041, an access decision module 2042, a data protection module 2043 and a record audit module 2044;

[0095] The authentication and verification module 2041 first performs authentication and verification on the request to determine the legitimacy and authority level of the request;

[0096] The access decision module 2042 makes an access decision based on the result of the authentication verification, and determines whether to allow the requester to access the requested data based on the access policy and permission configuration;

[0097] The data protection module 2043 is used to provide the corresponding environmental quality data to the access requester if the access is authorized. In this process, data encryption, data desensitization or other data protection operations are also performed to ensure the security and privacy of the data;

[0098] The record audit module 2044 is responsible for recording and auditing data access activities, which include recording access requests, access results, visitor information and timestamps.

[0099] In this embodiment, the authentication verification module 2041 first authenticates the request to determine the legitimacy and authority level of the request. The access decision module 2042 makes an access decision based on the result of the authentication verification and the data access control unit, and determines whether the requester is allowed to access the requested data based on the access policy and authority configuration. If the access is authorized, the data protection module 2043 provides the access requester with corresponding environmental quality data. During this process, data encryption, data desensitization or other data protection operations are also performed to ensure the security and privacy of the data. The record audit module 2044 is responsible for recording and auditing data access activities, which include recording access requests, access results, visitor information and timestamps.

[0100] In a specific optional implementation, the data audit unit 206 includes a monitoring data access module 2061, a record data modification module 2062, an anomaly detection and warning module 2063, and an audit log generation module 2064;

[0101] The monitoring data access module 2061 is used to record and monitor all access operations to environmental quality data, and track the behavior of each user or system, and record the time, location and access data;

[0102] The data modification recording module 2062 is used to record the values ​​before and after the modification, the modification time and the operator information when the environmental quality data is modified, so as to ensure the integrity of the data and provide the ability to trace the modification;

[0103] The abnormality detection and warning module 2063 is used to detect unauthorized or abnormal data access behaviors, and when unauthorized or abnormal behaviors are detected, generate warnings and take early warning measures, wherein unauthorized or abnormal behaviors include illegal access and unauthorized data modification;

[0104] The audit log generation module 2064 is used to generate an audit log to record all access and modification operations. The audit log is used to trace data flow and modification records, and is also used as a basis for legal evidence or internal audits.

[0105] Furthermore, the data sharing unit 205 includes an access permission setting module, an authorization request module, an authorization verification module and a data sharing module. The access permission setting module sets access control attributes for all uploaded environmental quality data. The data sharing unit 205 allows the data owner to define the data access policy, including the permission of the participant to read or write specific data. The authorization request module receives that if a participant accesses specific data of other participants, it needs to send an authorization request to the data sharing unit. The authorization request contains an identifier of the required data and the purpose and scope of the requested access. After receiving the authorization request through the data sharing unit, the authorization verification module will verify the identity and authority of the requesting party. Only legitimate participants with corresponding authority can obtain access authorization. The data sharing module is used for when the authorization verification is passed. The data sharing unit 205 will encrypt and transmit the requested data to the requesting party according to the authorization policy of the data owner. The data can only be decrypted and accessed by the authorized party.

[0106] In this embodiment, the environmental quality data management system includes a data collection unit, a blockchain data verification unit, a data marking unit, a data access control unit and a data sharing unit; wherein the data collection unit is used to collect environmental quality data and transmit the collected environmental quality data to the blockchain data verification unit; the blockchain data verification unit is used to convert the received environmental quality data into transactions and record them in the data block of the blockchain, and transmit the environmental quality data to the data marking unit after verification; the data marking unit is used to generate a data identifier and maintain an index of the data identifier for each received environmental quality data, and transmit the data identifier and the environmental quality data to the data access control unit at the same time, wherein the data identifier is used to identify the source and ownership of the data; the data access control unit is used to manage the user's access rights to the environmental quality data and transmit the access control rights to the data sharing unit; the data sharing unit controls the environmental quality data to be shared through the data sharing algorithm. It realizes linking the data in the form of blocks, and through encryption and access control mechanisms, ensures the security and privacy protection of the shared data, and improves the efficiency and security of the data sharing process.

[0107] See also Figure 3 , Figure 3 An environmental quality data management method provided by an embodiment of the present invention is shown. Figure 1 The application environment in is taken as an example to illustrate, and the details are as follows:

[0108] S301: Collect environmental quality data.

[0109] S302: Using blockchain, environmental quality data is converted into transactions and recorded on the chain.

[0110] S303: Verify the on-chain data, and after the verification is passed, index and mark the environmental quality data and the authority identifier corresponding to the environmental quality data.

[0111] S304: When a data sharing request is received, the control authority of the initiator of the sharing request is verified based on the index tag, and after the verification is passed, the environmental quality data corresponding to the control authority is shared.

[0112] In this embodiment, environmental quality data is collected; the environmental quality data is converted into transactions and recorded on the chain by blockchain; the data on the chain is verified, and after the verification is passed, the environmental quality data and the authority identifier corresponding to the environmental quality data are indexed and marked; when a data sharing request is received, the control authority of the initiator of the sharing request is verified based on the index mark, and after the verification is passed, the environmental quality data corresponding to the control authority is shared. The data is linked in the form of blocks, and the security and privacy protection of the shared data are ensured through encryption and access control mechanisms, thereby improving the efficiency and security of the data sharing process.

[0113] It should be understood that the order of execution of the steps in the above embodiment does not necessarily 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 embodiment of the present invention.

[0114] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0115] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components connected to the memory 41, the processor 42, and the network interface 43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0116] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0117] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or D interface display memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as the program code of the environmental quality data management method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0118] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run the program code stored in the memory 41 or process data, such as running the program code of the environmental quality data management method.

[0119] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0120] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores an interface display program, and the interface display program can be executed by at least one processor so that the at least one processor performs the steps of the environmental quality data management method as described above.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0122] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. An environmental quality data management system, characterized in that: The environmental quality data management system includes a data collection unit, a blockchain data verification unit, a data marking unit, a data access control unit and a data sharing unit; wherein, The data collection unit is used to collect environmental quality data and transmit the collected environmental quality data to the blockchain data verification unit; The blockchain data verification unit is used to convert the received environmental quality data into transactions and record them in the data block of the blockchain, and transmit the environmental quality data to the data marking unit after verification; The data marking unit is used to generate a data identifier for each received environmental quality data and maintain an index of the data identifier, and transmit the data identifier and the environmental quality data to a data access control unit simultaneously, wherein the data identifier is used to identify the source and ownership of the data; The data access control unit is used to manage the user's access rights to the environmental quality data and transmit the access control rights to the data sharing unit; The data sharing unit controls the environmental quality data to be shared through a data sharing algorithm.

2. The environmental quality data management system according to claim 1, characterized in that: The data sharing algorithm is: Where n is the number of bytes transmitted in the environmental quality data, r i is the number of bytes of data requested for environmental quality data i, d i is the identifier provided in response to the request message, d i The value is 0 or 1.

3. The environmental quality data management system according to claim 1, characterized in that: The environmental quality data management system also includes a data modification unit, a data storage unit and a data analysis unit; The data storage unit is used to securely store the environmental quality data after adding the identifier in the form of a blockchain, store the identifier in an identifier database, store the environmental quality data in the environmental quality database, and associate the identifier database with the environmental quality database; The data modification unit is used to receive the access control authority of the data access control unit, the identifier of the data storage unit and the environmental quality data. When the modifier is authorized by the access control authority and the identifier of the modifier is the same as the received identifier, the environmental quality data under the identifier being modified is modified, and the modified environmental quality data is transmitted to the data storage unit; The data analysis unit is used to associate data to the data storage unit according to a data analysis algorithm; The data access control unit is also used to transmit the access control authority to the data modification unit; The data marking unit is also used to transmit the data identifier and the environmental quality data to the data storage unit simultaneously.

4. The environmental quality data management system according to claim 3, characterized in that: The data analysis algorithm is: Among them, i (k) represents the correlation coefficient, |y(k)-x i (k)| represents the distance between the kth data in the standard blockchain and the corresponding data in the ith comparison blockchain. max represents the maximum distance, min represents the minimum distance, and ρ is called the resolution coefficient. Generally, the value range of ρ is (0,1). When ρ≤0.54, the resolution is relatively high, and ρ=0.5 is usually taken.

5. The environmental quality data management system according to claim 3, characterized in that: The environmental quality data management system also includes a data audit unit, a data display unit and a data query unit; The data query unit is used to receive the access control authority issued by the data access control unit, the identifier of the participant of the shared environmental quality data issued by the data sharing unit, the identifier and environmental quality data issued by the data storage unit, and the analysis result issued by the data analysis unit, and compare the identifier of the participant of the shared environmental quality data issued by the data sharing unit with the identifier issued by the data storage unit. If the identifiers of the two are the same, the shared environmental quality data can be queried according to the query conditions of the inquirer, and the queried environmental quality data and analysis results are transmitted to the data display unit; The data audit unit is used to record and monitor the query operation of the data query unit and the modification operation of the data modification unit. If unauthorized data query or modification behavior is detected and warned, the data query or modification operation is blocked, and an audit log is provided for tracing the flow and modification records of data; The data display unit displays the received environmental quality data and analysis results in the form of charts through a display screen; The data access control unit is also used to transmit the access control authority to the audit unit and the data query unit; The data sharing unit is also used to transmit identifiers of participants participating in the shared environmental quality data to the data query unit.

6. The environmental quality data management system according to claim 1, characterized in that: The data marking unit includes an identification generation module, an identification association module and an identification index module; The identification generation module generates a unique identifier for each environmental quality data by generating a unique random number; The identification association module associates the generated unique identifier with the source and owner of the data, where the owner includes at least one identity information of an organization or institution, an individual, an enterprise or a company. The identification index module is used to maintain an index, and associate each unique identifier with corresponding environmental quality data. The index includes a database and a file system, and is used to quickly query and access data according to the identifier.

7. The environmental quality data management system according to claim 1, characterized in that: The data access control unit includes an authentication and verification module, an access decision module, a data protection module and a record audit module; The authentication and verification module first performs authentication and verification on the request to determine the legitimacy and authority level of the request; The access decision module makes an access decision based on the result of the authentication verification and determines whether to allow the requester to access the requested data based on the access policy and permission configuration; The data protection module is used to provide the access requester with corresponding environmental quality data if the access is authorized. In this process, data encryption, data desensitization or other data protection operations are also performed to ensure the security and privacy of the data; The record audit module is responsible for recording and auditing data access activities, which include recording access requests, access results, visitor information and timestamps.

8. The environmental quality data management system according to claim 1, characterized in that: The data audit unit includes a monitoring data access module, a record data modification module, an anomaly detection and warning module and an audit log generation module; The monitoring data access module is used to record and monitor all access operations to environmental quality data, and track the behavior of each user or system, and record the time, location and access data; The data modification recording module is used to record the values ​​before and after the modification, the modification time and the operator information when the environmental quality data is modified, so as to ensure the integrity of the data and provide the ability to trace the modification; The anomaly detection and warning module is used to detect unauthorized or abnormal data access behavior, and when unauthorized or abnormal behavior is detected, generate a warning and take early warning measures, wherein the unauthorized or abnormal behavior includes illegal access and unauthorized data modification; The audit log generation module is used to generate an audit log to record all access and modification operations. The audit log is used to trace data flow and modification records, and is also used as a basis for legal evidence or internal audits.

9. A method for managing environmental quality data, characterized in that: The environmental quality data management method is applied to the environmental quality data management system according to any one of claims 1 to 8, and the method comprises: Collect environmental quality data; By adopting the blockchain method, the environmental quality data is converted into transactions and recorded on the chain; Verify the on-chain data, and after verification, index and mark the environmental quality data and the authority identifiers corresponding to the environmental quality data; When a data sharing request is received, the control authority of the initiator of the sharing request is verified based on the index tag. After the verification is passed, the environmental quality data corresponding to the control authority is shared.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the environmental quality data management method as described in claim 9 is implemented.

Citation Information

Patent Citations

  • Automatic data acquisition and integration method and system for environmental monitoringinstruments

    CN112966285A

  • Block packaging method for block chain, electronic device and storage medium

    CN113806440A

  • Pathology management system

    CN116612847A

  • Data sharing method based on block chain

    CN118467643A

  • Internet of Things data sharing method, system and device based on block chain and medium

    CN118631818A