Environmental quality data management system, method, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2026-08-11
AI Technical Summary
[0003]发明人在实现本发明的过程中,意识到现有技术至少存在如下技术问题:现有的环境质量数据的管理系统缺乏数据共享功能会导致环境质量数据在不同机构或系统之间无法无缝交流和共享,限制了环境信息的全面性和准确性,在不同系统中需要重复录入,增加了环保人员的工作负担,并且容易导致数据录入错误,现有的环境质量数据的管理系统缺乏数据审计功能使得环境质量数据的修改和访问难以追溯和审核,这可能引发数据篡改、滥用和非法访问等风险,损害相关利益和环境质量数据的可靠性,给敏感数据带来一定的安全风险
[0050]本发明实施例提供的环境质量数据管理系统、方法及存储介质,通过环境质量数据管理系统包括数据采集单元、区块链数据验证单元、数据标记单元、数据访问控制单元和数据共享单元;其中,数据采集单元用于采集环境质量数据,并将采集到的环境质量数据传输至区块链数据验证单元;区块链数据验证单元用于将接收到的环境质量数据转化为交易,并记录在区块链的数据区块中,在验证完毕后将环境质量数据传输至数据标记单元;数据标记单元用于为接收到的每个环境质量数据生成数据标识符和维护数据标识符的索引,并将数据标识符和环境质量数据同时传输至数据访问控制单元,其中,数据标识符用于标识数据的来源和所有权;数据访问控制单元用于管理用户对环境质量数据的访问权限,并将访问控制权限传输至数据共享单元;数据共享单元通过数据共享算法控制环境质量数据进行共享。实现了将数据以区块的形式链接起来,通过加密和访问控制机制,以确保共享数据的安全性和隐私保护,提高了数据共享过程中的效率和安全性。
Smart Images

Figure CN119180562B_ABST
Abstract
Description
Technical Field
[0001] This 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 Technology
[0002] Environmental quality data refers to various indicators and parameters that record and reflect the environmental conditions of a specific area, including air quality index, water quality test results, soil pollution levels, noise levels (decibels), and greenhouse gas concentrations. Environmental quality data is crucial for formulating environmental protection policies, maintaining public health and safety, optimizing urban planning, conducting climate change research, and maintaining ecological balance. Large-scale environmental quality data can be used for environmental trend analysis, pollution source tracing, ecological risk assessment, developing emission reduction measures, and monitoring the effectiveness of environmental governance, contributing to scientific decision-making and effective management. Existing environmental quality data often involves sensitive access and is typically stored in separate systems, accessed manually or via API transmission when needed.
[0003] In the process of realizing this invention, the inventors realized that the prior art has at least the following technical problems: The lack of data sharing function in existing environmental quality data management systems leads to the inability to seamlessly communicate and share environmental quality data between different institutions or systems, which limits the comprehensiveness and accuracy of environmental information. Repeated data entry is required in different systems, increasing the workload of environmental protection personnel and easily leading to data entry errors. The lack of data auditing function in existing environmental quality data management systems makes it difficult to trace and audit the modification and access of environmental quality data. This may lead to risks such as data tampering, abuse and illegal access, which damage the relevant interests and the reliability of environmental quality data, and bring certain security risks to sensitive data. Summary of the Invention
[0004] This invention provides an environmental quality data management system, method, computer equipment, and storage medium to improve the efficiency and security of environmental quality data sharing.
[0005] To address the aforementioned technical problems, this application provides an environmental quality data management system, which includes a data acquisition unit, a blockchain data verification unit, a data tagging unit, a data access control unit, and a data sharing unit; wherein...
[0006] The data acquisition 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 a transaction and record it in the data block of the blockchain. After verification, the environmental quality data is transmitted to the data tagging unit.
[0008] The data tagging unit is used to generate a data identifier for each received environmental quality data and maintain an index for the data identifier, and transmits the data identifier and the environmental quality data to the 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 users' access permissions to environmental quality data and to transmit access control permissions to the data sharing unit;
[0010] The data sharing unit controls the sharing of environmental quality data 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, and r i d is the number of bytes of data requested by environmental quality data i. i It is an identifier provided as a response to a 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 with added identifiers in the form of a blockchain, store the identifiers in the 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 permissions 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 permissions and the modifier's identifier is the same as the received identifier, the environmental quality data under the identifier in the modification 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 with the data storage unit according to the data analysis algorithm;
[0018] The data access control unit is also used to transmit access control permissions to the data modification unit;
[0019] The data tagging unit is also used to simultaneously transmit the data identifier and the environmental quality data to the data storage unit.
[0020] Optionally, the data analysis algorithm is:
[0021]
[0022] Where, ζ i (k) represents the correlation coefficient, |y(k)-x i (k)| represents the distance between the standard blockchain and the corresponding k-th data in the i-th 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 high. Usually, ρ=0.5 is taken.
[0023] Optionally, the environmental quality data management system further includes a data auditing unit, a data display unit, and a data query unit;
[0024] The data query unit is used to receive access control permissions issued by the data access control unit, identifiers of participants sharing environmental quality data issued by the data sharing unit, identifiers issued by the data storage unit, and analysis results issued by the environmental quality data and data analysis unit. It compares the identifiers of participants sharing environmental quality data issued by the data sharing unit with the identifiers issued by the data storage unit. If the two identifiers are the same, the shared environmental quality data can be retrieved according to the query conditions of the queryer, and the retrieved environmental quality data and analysis results are transmitted to the data display unit.
[0025] The data auditing unit is used to record and monitor the query operations of the data query unit and the modification operations 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 to trace 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 on the display screen;
[0027] The data access control unit is also used to transmit access control permissions to the audit unit and the data query unit;
[0028] The data sharing unit is also used to transmit the identifiers of the participants in the shared environmental quality data to the data query unit.
[0029] Optionally, the data tagging unit includes an identifier generation module, an identifier association module, and an identifier indexing module;
[0030] The identifier generation module generates a unique identifier for each environmental quality data by generating a unique random number;
[0031] The identifier 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 that associates each unique identifier with corresponding environmental quality data. The index includes a database and a file system for quickly querying and accessing data based on 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 auditing module;
[0034] The authentication and verification module first authenticates the request to determine its legality and permission level.
[0035] The access decision module makes access decisions based on the authentication results, 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 access requester with the 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.
[0037] The record auditing 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 auditing unit includes a data access monitoring module, a data modification recording module, an anomaly detection and alerting 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 to track the behavior of each user or system, recording the time, location, and access data.
[0040] The data modification module is used to record the values before and after the modification, the modification time, and the operator information when environmental quality data is modified, to ensure data integrity and provide the ability to trace modifications.
[0041] The anomaly detection and warning module is used to detect unauthorized or abnormal data access behavior. When unauthorized or abnormal behavior is detected, a warning is generated and early warning measures are taken. The unauthorized or abnormal behavior includes illegal access and unauthorized data modification.
[0042] The audit log generation module is used to generate audit logs that record all access and modification operations. The audit logs are used to trace data flow and modification records, and also serve as legal evidence or the basis for internal audits.
[0043] To address the aforementioned technical problems, this application also provides an environmental quality data management method, which is applied to the aforementioned environmental quality data management system. The method includes:
[0044] Collect environmental quality data;
[0045] Using blockchain technology, the environmental quality data is transformed 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 corresponding permission identifiers.
[0047] Upon receiving a data sharing request, the control permissions of the request initiator are verified based on the index tag. After successful verification, the environmental quality data corresponding to the control permissions are shared.
[0048] To address the aforementioned technical problems, this application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the aforementioned environmental quality data management method.
[0049] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the aforementioned environmental quality data management method.
[0050] The environmental quality data management system, method, and storage medium provided in this invention include a data acquisition unit, a blockchain data verification unit, a data tagging unit, a data access control unit, and a data sharing unit. The data acquisition unit collects environmental quality data and transmits it to the blockchain data verification unit. The blockchain data verification unit converts the received environmental quality data into transactions and records them in blockchain data blocks. After verification, it transmits the environmental quality data to the data tagging unit. The data tagging unit generates a data identifier for each received environmental quality data and maintains an index for the data identifier. It then transmits both the data identifier and the environmental quality data to the data access control unit, whereby the data identifier identifies the source and ownership of the data. The data access control unit manages user access permissions to the environmental quality data and transmits access control permissions to the data sharing unit. The data sharing unit controls the sharing of environmental quality data through a data sharing algorithm. This system links data in blocks and uses encryption and access control mechanisms to ensure the security and privacy of shared data, improving efficiency and security during the data sharing process. Attached Figure Description
[0051] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;
[0053] Figure 2 This is a schematic diagram of the structure of an embodiment of the environmental quality data management system according to this application;
[0054] Figure 3 This is a flowchart of an embodiment of the environmental quality data management method of this application;
[0055] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0057] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0058] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0059] Please see Figure 1 ,like Figure 1 As shown, Figure 1 This is a schematic diagram of an application environment for an environmental quality data management system / method according to an embodiment of the present invention. The environmental quality data management system / method provided in this application can be applied to, for example... Figure 1In the application environment, a blockchain consists of several nodes that can communicate with each other. Each node can be regarded as a block storage, and each block storage is used to store data. Each data node contains all the data. The block storage data has a complete historical record and can be quickly restored and expanded. Blockchains are divided into public chains, private chains, and consortium chains. Public chains are open to any node, and every institution / node can participate in the blockchain computation. Moreover, any institution / node can download and obtain the complete blockchain data. Private chains are blockchains that some organizations do not want anyone to participate in the system and do not disclose it to the public. They are suitable for internal data management, auditing, or open testing of specific institutions. Consortium chains have completely equal permissions for each participating node. They can achieve trusted data exchange without complete mutual trust. Each node in a consortium chain usually has a corresponding entity organization, and can only join or leave the network after authorization. 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. Blockchain has complete distributed storage characteristics. In fact, it is a larger network data storage that uses a data structure in the form of a "hash algorithm" to store basic data.
[0060] To address the aforementioned technical problems, this application provides an environmental quality data management system. Please refer to [link / reference]. Figure 2 ,like Figure 2 As shown, the environmental quality data management system includes a data acquisition unit 201, a blockchain data verification unit 202, a data tagging unit 203, a data access control unit 204, and a data sharing unit 205; wherein,
[0061] Data acquisition 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 blocks of the blockchain. After verification, the environmental quality data is transmitted to the data tagging unit.
[0063] The data tagging unit 203 is used to generate a data identifier for each received environmental quality data and maintain an index for the data identifier, and transmits the data identifier and environmental quality data to the data access control unit at the same time. 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 users' access permissions to environmental quality data and to transmit access control permissions 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 acquisition unit 301 can be directly connected to the data source, or obtain data from meteorological stations, water quality monitoring stations, and environmental protection companies through an API interface. The collected environmental quality data includes, but is not limited to, Air Quality Index (AQI), PM2.5 and PM10 concentrations, water pollution indicators, and noise levels. This flexibility allows for the collection of environmental quality data 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 piece of environmental quality data, helping to identify the data's source and ownership. The data access control unit manages user access permissions to the environmental quality data, setting read or write access control permissions based on the identifier and user role. This ensures that only authorized users can access the relevant data.
[0068] It should be noted that the data sharing unit 305, through a data sharing algorithm, enables authorized participants with control permissions to securely share environmental quality data. Encryption and access control mechanisms ensure the security and privacy of the shared data.
[0069] Preferably, the data sharing algorithm is as follows:
[0070]
[0071] Where n is the number of bytes transmitted in the environmental quality data, and r i d is the number of bytes of data requested by environmental quality data i. i It is an identifier provided as a response to a request message, d i The value is 0 or 1.
[0072] In one specific optional embodiment, 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 the 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 permissions of the data access control unit, the identifier of the data storage unit, and environmental quality data. When the modifier is authorized by the access control permissions 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] Data analysis unit 211 is used to associate data with data storage unit according to data analysis algorithm;
[0076] The data access control unit 204 is also used to transmit access control permissions to the data modification unit;
[0077] The data tagging unit 205 is also used to simultaneously transmit data identifiers and environmental quality data to the data storage unit.
[0078] Preferably, the data analysis algorithm is as follows:
[0079]
[0080] Where, ζ i (k) represents the correlation coefficient, |y(k)-x i (k)| represents the distance between the standard blockchain and the corresponding k-th data in the i-th 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 high. Usually, ρ=0.5 is taken.
[0081] In one specific optional embodiment, the environmental quality data management system further includes a data auditing unit 206, a data display unit 207, and a data query unit 208;
[0082] The data query unit 206 is used to receive access control permissions issued by the data access control unit, identifiers of participants sharing environmental quality data issued by the data sharing unit, identifiers issued by the data storage unit, and analysis results issued by the environmental quality data and data analysis unit. It compares the identifiers of participants sharing environmental quality data issued by the data sharing unit with the identifiers issued by the data storage unit. If the two identifiers are the same, the shared environmental quality data can be retrieved according to the query conditions of the queryer, and the retrieved environmental quality data and analysis results are transmitted to the data display unit.
[0083] The data audit unit 207 is used to record and monitor the query operations of the data query unit and the modification operations of the data modification unit. If unauthorized data query or modification behavior is detected and alerted, the data query or modification operation is blocked, and an audit log is provided to trace 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 on the display screen;
[0085] The data access control unit 204 is also used to transmit access control permissions to the audit unit and the data query unit;
[0086] The data sharing unit 205 is also used to transmit the identifiers of the participants in the shared environmental quality data to the data query unit.
[0087] In this embodiment, the data auditing unit is responsible for tracking historical changes and access records of data, thereby ensuring data traceability and transparency. The data modification unit may involve modifying or updating specific data, while adhering to permission and verification mechanisms to maintain data consistency and accuracy.
[0088] In this embodiment, the data storage unit is responsible for storing the verified environmental quality data on the blockchain, ensuring the data's persistence and immutability. The data query unit may allow users to query specific data based on identifiers or other conditions, while being subject to access control restrictions.
[0089] In one specific optional embodiment, the data tagging unit 203 includes an identifier generation module 2031, an identifier association module 2032, and an identifier indexing module 2033;
[0090] The identifier 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 an index that associates each unique identifier with the corresponding environmental quality data. The index includes a database and a file system for quick querying and accessing data based on the identifier.
[0093] In this embodiment, the identifier generation module 2031 generates a unique identifier for each environmental quality data by generating a unique random number. The identifier association module 2032 associates the generated unique identifier with the source and owner of the data. The identifier 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, providing the function of quickly querying and accessing data based on the identifier.
[0094] In one specific optional embodiment, 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 auditing module 2044;
[0095] The authentication and verification module 2041 first performs authentication and verification on the request to determine the legality and permission level of the request;
[0096] The access decision module 2042 makes access decisions based on the authentication results, 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 access requester with the corresponding environmental quality data if the access is authorized. In this process, it also performs data encryption, data desensitization or other data protection operations to ensure the security and privacy of the data.
[0098] The Record Audit module 2044 is responsible for recording and auditing data access activities, including recording access requests, access results, visitor information, and timestamps.
[0099] In this embodiment, the authentication module 2041 first authenticates the request to determine its legality and permission level. Based on the authentication result, the access decision module 2042 and the data access control unit make an access decision, determining whether to allow the requester to access the requested data according to the access policy and permission configuration. If the access is authorized, the data protection module 2043 provides the requester with the corresponding environmental quality data. During this process, data encryption, data anonymization, or other data protection operations are also performed to ensure data security and privacy. The recording and auditing module 2044 is responsible for recording and auditing data access activities, including recording access requests, access results, visitor information, and timestamps.
[0100] In one specific optional implementation, the data auditing unit 206 includes a data access monitoring module 2061, a data modification recording 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 to track the behavior of each user or system, recording 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 environmental quality data is modified, to ensure data integrity and provide the ability to trace modifications.
[0103] The anomaly detection and warning module 2063 is used to detect unauthorized or abnormal data access behavior. When unauthorized or abnormal behavior is detected, a warning is generated and early warning measures are taken. Unauthorized or abnormal behavior includes unauthorized access and unauthorized data modification.
[0104] The audit log generation module 2064 is used to generate audit logs that record all access and modification operations. Audit logs are used to trace data flow and modification records, and are also used as legal evidence or the basis for 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 data owners to define data access policies, including granting participants the right to read or write specific data. The authorization request module receives information that if a participant needs to access specific data from other participants, it must send an authorization request to the data sharing unit. The authorization request includes the 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 verifies the identity and permissions of the requester. Only legitimate participants with the corresponding permissions can obtain access authorization. Once the authorization verification is successful, the data sharing module, according to the data owner's authorization policy, encrypts and transmits the requested data to the requester. This data can only be decrypted and accessed by the authorized party.
[0106] In this embodiment, the environmental quality data management system includes a data acquisition unit, a blockchain data verification unit, a data tagging unit, a data access control unit, and a data sharing unit. The data acquisition unit collects environmental quality data and transmits it to the blockchain data verification unit. The blockchain data verification unit converts the received environmental quality data into transactions and records them in blockchain data blocks. After verification, it transmits the environmental quality data to the data tagging unit. The data tagging unit generates a data identifier for each received environmental quality data and maintains an index for the data identifier. It then transmits both the data identifier and the environmental quality data to the data access control unit, whereby the data identifier identifies the source and ownership of the data. The data access control unit manages user access permissions to the environmental quality data and transmits access control permissions to the data sharing unit. The data sharing unit controls the sharing of environmental quality data through a data sharing algorithm. This system links data in blocks and uses encryption and access control mechanisms to ensure the security and privacy of shared data, improving efficiency and security during the data sharing process.
[0107] Please see Figure 3 , Figure 3 This invention illustrates an environmental quality data management method provided by an embodiment of the present invention, which is applied to... Figure 1 The following is a detailed explanation using the application environment in [the context of the application] as an example:
[0108] S301: Collect environmental quality data.
[0109] S302: Using blockchain technology, environmental quality data is transformed into transactions and recorded on the chain.
[0110] S303: Verify the on-chain data, and after successful verification, index and mark the environmental quality data and the corresponding permission identifier.
[0111] S304: Upon receiving a data sharing request, the control authority of the request initiator is verified based on the index tag. After successful verification, the environmental quality data corresponding to the control authority is shared.
[0112] In this embodiment, environmental quality data is collected; a blockchain approach is used to transform the environmental quality data into transactions and record them on the chain; the on-chain data is verified, and after successful verification, the environmental quality data and its corresponding permission identifiers are indexed and marked; upon receiving a data sharing request, the control permissions of the request initiator are verified based on the index tags, and after successful verification, the environmental quality data corresponding to the control permissions is shared. This approach links data together in the form of blocks, and through encryption and access control mechanisms, ensures the security and privacy protection of shared data, improving the efficiency and security of the data sharing process.
[0113] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0114] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. 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 via a system bus. It should be noted that only the computer device 4 with components connected to the memory 41, processor 42, and network interface 43 is shown in the figure; however, it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing 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 (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0116] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.
[0117] The memory 41 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or D-interface display memory), 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 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 4. Of course, the memory 41 may include both the internal storage unit and its external storage device of the computer device 4. In this embodiment, the memory 41 is typically used to store the operating system and various application software installed on the computer device 4, such as the program code of an environmental quality data management method. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
[0118] In some embodiments, the processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run program code stored in the memory 41 or process data, such as running program code for an environmental quality data management method.
[0119] The network interface 43 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 4 and other electronic devices.
[0120] This application also provides another embodiment, namely, a computer-readable storage medium storing an interface display program that can be executed by at least one processor to cause the at least one processor to perform the steps of the environmental quality data management method described above.
[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0122] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are 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 acquisition unit, a blockchain data verification unit, a data tagging unit, a data access control unit, and a data sharing unit; wherein, The data acquisition 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 a transaction and record it in the data block of the blockchain. After verification, the environmental quality data is transmitted to the data tagging unit. The data tagging unit is used to generate a data identifier for each received environmental quality data and maintain an index for the data identifier, and transmits the data identifier and the environmental quality data to the 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 users' access permissions to environmental quality data and to transmit access control permissions to the data sharing unit; The data sharing unit controls the sharing of environmental quality data through a data sharing algorithm; The data sharing algorithm is as follows: in, It refers to the number of bytes transmitted in the environmental quality data. It is environmental quality data The number of bytes of data requested to be transferred. It is an identifier provided as a response to a request message. The value is 0 or 1; The environmental quality data management system further 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 with added identifiers in the form of a blockchain, store the identifiers in the 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 permissions 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 permissions and the modifier's identifier 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 with the data storage unit according to the data analysis algorithm; The data access control unit is also used to transmit access control permissions to the data modification unit; The data tagging unit is also used to simultaneously transmit the data identifier and the environmental quality data to the data storage unit; The environmental quality data management system further includes a data auditing unit, a data display unit, and a data query unit. The data query unit is used to receive access control permissions issued by the data access control unit, identifiers of participants sharing environmental quality data issued by the data sharing unit, identifiers issued by the data storage unit, and analysis results issued by the environmental quality data and data analysis unit. It compares the identifiers of participants sharing environmental quality data issued by the data sharing unit with the identifiers issued by the data storage unit. If the two identifiers are the same, the shared environmental quality data can be retrieved according to the query conditions of the queryer, and the retrieved environmental quality data and analysis results are transmitted to the data display unit. The data auditing unit is used to record and monitor the query operations of the data query unit and the modification operations 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 to trace 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 on the display screen; The data access control unit is also used to transmit access control permissions to the audit unit and the data query unit; The data sharing unit is also used to transmit the identifiers of the participants in the shared environmental quality data to the data query unit.
2. The environmental quality data management system as described in claim 1, characterized in that, The data analysis algorithm is as follows: in, Represents the correlation coefficient. Indicating the standard blockchain and the first The corresponding first comparison blockchain The distance between data points Indicates the maximum distance. Indicates the minimum distance. This is called the resolution coefficient. The value range of is (0,1), when When the value is ≤0.54, the resolution is relatively high, so we take... =0.
5.
3. The environmental quality data management system as described in claim 1, characterized in that, The data tagging unit includes an identifier generation module, an identifier association module, and an identifier indexing module; The identifier generation module generates a unique identifier for each environmental quality data by generating a unique random number; The identifier association module associates the generated unique identifier with the source and owner of the data. The owner includes at least one identity information of an organization or institution, individual, enterprise or company. The identification index module is used to maintain an index that associates each unique identifier with corresponding environmental quality data. The index includes a database and a file system for quickly querying and accessing data based on the identifier.
4. The environmental quality data management system as described in 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 auditing module; The authentication and verification module first authenticates the request to determine its legality and permission level. The access decision module makes access decisions based on the authentication results, 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 the 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 auditing module is responsible for recording and auditing data access activities, which include recording access requests, access results, visitor information, and timestamps.
5. The environmental quality data management system as described in claim 1, characterized in that, The data auditing unit includes a data access monitoring module, a data modification recording module, an anomaly detection and alert 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 to track the behavior of each user or system, recording the time, location, and access data. The data modification module is used to record the values before and after the modification, the modification time, and the operator information when environmental quality data is modified, to ensure data integrity and provide the ability to trace modifications. The anomaly detection and warning module is used to detect unauthorized or abnormal data access behavior. When unauthorized or abnormal behavior is detected, a warning is generated and early warning measures are taken. The unauthorized or abnormal behavior includes illegal access and unauthorized data modification. The audit log generation module is used to generate audit logs that record all access and modification operations. The audit logs are used to trace data flow and modification records, and also serve as legal evidence or the basis for internal audits.
6. 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 5, and the method includes: Collect environmental quality data; The environmental quality data is converted into transactions and recorded on the chain using blockchain technology. Verify the on-chain data, and after verification, index and mark the environmental quality data and the corresponding permission identifiers. Upon receiving a data sharing request, the control permissions of the request initiator are verified based on the index tag. After successful verification, the environmental quality data corresponding to the control permissions are shared.
7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the environmental quality data management method as described in claim 6.
Citation Information
Patent Citations
Automatic data acquisition and integration method and system for environmental monitoringinstruments
CN112966285A
Pathology management system
CN116612847A