Ecological environment quality monitoring system
By introducing gateway devices into the environmental monitoring system, relaying data to a remote server, identifying whether the environmental monitoring device has been artificially interfered, solving the problem that environmental monitoring data is prone to tampering in the prior art, and improving the reliability and security of the data.
Patent Information
- Application Number
- CN202411981137.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In the existing environmental monitoring system, environmental monitoring data is easily tampered with during transmission, and due to the high cost of purchasing equipment, the cost of replacing equipment in the short term is high, making it difficult to effectively monitor whether the data is artificially interfered with.
An ecological environment quality monitoring system is designed to deploy gateway equipment at the monitoring point, relay the data between the host computer and the environmental monitoring equipment, and forward the data to the remote server. The remote server identifies whether the environmental monitoring device has been artificially interfered with based on the received control instructions and the device reporting data.
Without changing the existing environmental monitoring equipment control architecture, it can effectively monitor whether environmental monitoring data is artificially interfered, improve data reliability and security, and reduce the cost of equipment replacement.
Smart Images

Figure CN119835299A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to an ecological environment quality monitoring system. Background Art
[0002] In order to achieve full-area environmental quality monitoring, a large number of monitoring points for air environment quality and water environment quality monitoring have been deployed in various regions across the country. The aforementioned monitoring points are equipped with monitoring equipment for specific environmental quality parameters, which collect data on the corresponding types of environmental quality parameters at the points and report the monitoring data in real time.
[0003] At present, the existing environmental monitoring points adopt the system architecture of upper industrial computers and lower monitoring equipment. The upper industrial computers are used to realize quality control and data collection of lower monitoring equipment, and determine the environmental quality reporting data based on the periodically collected monitoring data, and report the environmental quality reporting data to various data sources. Since the aforementioned data reports are processed data, it is impossible to determine whether the environmental quality reporting data has been tampered with by data traceability. However, due to the high procurement costs of various environmental monitoring equipment and supporting upper industrial computers, the cost of replacing them in the short term is too high. Summary of the invention
[0004] In order to monitor whether environmental monitoring related data is interfered with by humans without changing the existing environmental monitoring equipment control architecture, the embodiment of the present disclosure provides a new ecological environment quality monitoring system.
[0005] In a first aspect, an embodiment of the present disclosure provides an ecological environment quality monitoring system, comprising: a remote server, and a host computer, an environmental monitoring device, and a gateway device deployed at a monitoring point;
[0006] The host computer interface of the gateway device is connected to the data IO interface of the host computer, the lower computer interface is connected to the data IO interface of the environmental monitoring device, and the network communication interface is connected to the remote server through the communication network;
[0007] The gateway device is used to receive the control instruction issued by the host computer and forward it to the environment monitoring device, receive the device reported data of the environment monitoring device and forward it to the host computer, and report the control instruction and the device reported data to the remote server;
[0008] The remote server is used to identify whether the environmental monitoring is interfered with artificially according to the control instruction and / or the data reported by the device.
[0009] Optionally, the control instruction includes a quality control instruction, and the device reported data includes quality control result data;
[0010] The step of identifying whether the environmental monitoring device is interfered with manually according to the control instruction and / or the device reported data includes:
[0011] Determining whether the environmental monitoring device performs multiple quality control operations in succession according to the time stamp identification of the quality control instruction or the quality control result data;
[0012] When the environmental monitoring device continuously performs multiple quality control operations, the quality control deviation is calculated based on the nominal concentration and the quality control result data of each quality control operation;
[0013] When the quality control deviations of more than one quality control operations are within the deviation threshold range, and the quality control deviation of the last quality control operation is a negative value, it is determined that there is human quality control interference in the environmental monitoring equipment.
[0014] Optionally, the data reported by the device includes environmental monitoring data;
[0015] The step of identifying whether the environmental monitoring device is interfered with manually according to the control instruction and / or the device reported data includes:
[0016] Calculate the mean and standard deviation of the environmental monitoring data within the continuous set time, as well as the median and mode of the environmental monitoring data within the continuous set time;
[0017] Calculate a first difference between the median and the mean, and a second difference between the mode and the mean, and determine a larger value between the first difference and the second difference;
[0018] Performing weighted summation based on the larger value and the standard deviation and a predetermined weight coefficient to obtain a weighted sum value;
[0019] When the weighted sum is greater than the set sum, it is determined that the environment in which the environmental monitoring equipment is located is subject to human interference.
[0020] Optionally, the remote server is further used to obtain meteorological data of the area where the monitoring point is located;
[0021] The determining that the environment in which the environmental monitoring device is located is interfered with by human beings includes: determining that the environment in which the environmental monitoring device is located is interfered with by human beings when it is determined according to the meteorological data that the continuous set time period is in a meteorologically stable period.
[0022] Optionally, the remote server is also used to calculate the overall pollutant concentration within a set time period based on the environmental monitoring data within a set time period in the device reported data, receive the reported pollutant concentration sent by the host computer, and identify whether the reported pollutant concentration is a false concentration based on the overall pollutant concentration and the reported pollutant concentration.
[0023] Optionally, the gateway device publishes the control instruction and the device reported data to an original data topic, and the remote server obtains the control instruction and the device reported data by subscribing to the original data topic.
[0024] Optionally, the remote server is further used to send a short-time encryption program to the gateway device, where the short-time encryption program is an encryption program used within a set time period;
[0025] The step of forwarding the control instruction and the device reported data to the remote server includes:
[0026] Using the short-time encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, and sending the encrypted forwarding data to the remote server;
[0027] Before the remote server identifies whether the environmental monitoring data is interfered with artificially according to the control instruction and the device reported data, the remote server executes a short-time decryption program to decrypt the encrypted forwarding data to obtain the control instruction and the device reported data;
[0028] The short-time decryption program is a decryption program adapted to the short-time encryption program.
[0029] Optionally, the remote server publishes the short-time encryption program to an encryption program topic, and the gateway device obtains the short-time encryption program by subscribing to the encryption program topic.
[0030] Optionally, the gateway device is further configured with a long-term encryption program, and the remote server is further configured with a long-term decryption program adapted to the long-term encryption program;
[0031] Before the gateway device uses the short-term encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, the method further includes: using the long-term encryption program to encrypt the control instruction and the device reported data to obtain primary encrypted data;
[0032] The gateway device uses the short-time encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, including: using the short-time encryption program to re-encrypt the once encrypted data to obtain the encrypted forwarding data;
[0033] The adopting a short-time decryption program to decrypt the encrypted forwarding data to obtain the control instruction and the device reporting data includes: adopting the short-time decryption program to decrypt the encrypted forwarding data to obtain the primary decrypted data; and adopting a long-time decryption program to re-decrypt the primary decrypted data to obtain the control instruction and the device reporting data; or,
[0034] After obtaining the encrypted forwarding data, the gateway device re-encrypts the encrypted forwarding data using the long-term encryption program to obtain secondary encrypted data, and sends the secondary encrypted data to the remote server;
[0035] After receiving the secondary encrypted data, the remote server uses the long-term decryption program to process the secondary encrypted data to obtain the encrypted forwarding data.
[0036] Compared with the existing system, the ecological environment quality monitoring system in the embodiment of the present disclosure has a gateway device, which is used as a data relay device between the host computer and the environmental monitoring device, and forwards the corresponding data to the remote server while performing the data relay function. In other words, this solution appropriately adds equipment on the basis of the existing monitoring system, and does not change the original monitoring system control architecture, which can enable the remote server to obtain the underlying data, and then identify whether the environmental monitoring data is interfered with by humans based on the underlying data. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor, including
[0039] Figure 1 is a structural diagram of an ecological environment quality monitoring system provided by an embodiment of the present disclosure;
[0040] Figure 2 is a flow chart of a method for identifying whether environmental monitoring is interfered with by humans, provided by some embodiments;
[0041] Figure 3 is a flow chart of some embodiments for identifying whether the environment in which the environment monitoring device is located is disturbed by human beings;
[0042] Figure 4 is a flow chart of another embodiment for identifying whether the environment in which the environment monitoring device is located is interfered with by humans;
[0043] Figure 5 Some further embodiments are flowcharts for identifying whether the environment in which the environmental monitoring device is located is disturbed by human intervention. DETAILED DESCRIPTION
[0044] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0045] The term "including" and its variations used in this document are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. In this document, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0046] In order to solve the problem of environmental monitoring data generated under the system architecture of the upper industrial computer and lower monitoring equipment at the environmental monitoring points in the existing ecological environment quality monitoring system being tampered with, the embodiment of the present disclosure provides an ecological environment quality monitoring system.
[0047] Figure 1 Schematic diagram of the structure of the ecological environment quality monitoring system provided by the embodiment of the present disclosure. Figure 1 As shown, the ecological environment quality monitoring system 100 provided by the embodiment of the present disclosure includes a local device located at an environmental monitoring point, and a remote server 104 that is not located at the environmental monitoring point.
[0048] The local devices located at the environmental monitoring point include a host computer 101 , an environmental monitoring device 102 and a gateway device 103 .
[0049] The host computer 101 is a computing device used to directly manage and control the environment monitoring device 102 located at the environment monitoring point, and is installed with monitoring device control software for controlling the environment monitoring device 102 .
[0050] The gateway device 103 is a device for realizing relay communication between the host computer 101 and the environment monitoring device 102. Its host computer 101 interface is connected to the data IO interface of the host computer 101, and the lower computer interface is connected to the data IO interface of the environment monitoring device 102. After receiving the control instruction issued by the host computer 101, the gateway device 103 forwards the control instruction to the environment monitoring device 102; and after receiving the device report data sent by the environment receiving device, the device report data is forwarded to the host computer 101. In addition, the gateway device 103 is also connected to the remote server 104 through the communication network, and reports the control instruction and the device report data to the remote server 104.
[0051] The aforementioned control instructions and device reported data are the underlying data generated during the environmental monitoring process, which contain various basic data information during the environmental monitoring process. The remote server 104 can identify whether the environmental monitoring data of the environmental monitoring point is subject to human interference by processing the control instructions and / or device reported data.
[0052] As analyzed above, the ecological environment quality monitoring system 100 in the embodiment of the present disclosure has a gateway device 103 in addition to the existing system, and the gateway device 103 is used as a data relay device between the host computer 101 and the environmental monitoring device 102, and forwards the corresponding data to the remote server 104 while performing the data relay function. In other words, this solution appropriately adds equipment on the basis of the existing monitoring system, and does not change the original monitoring system control architecture, which can enable the remote server 104 to obtain the underlying data, and then can identify whether the environmental monitoring data is interfered with by humans based on the underlying data.
[0053] In a specific implementation, the control instructions sent by the host computer 101 to the environmental monitoring device 102 include quality control instructions, which are instructions for controlling the environmental monitoring device 102 to perform equipment calibration. The corresponding equipment reported data includes the quality control result data reported by the environmental monitoring device 102 after completing the equipment calibration. In a specific implementation, relevant personnel may intentionally control the equipment calibration so that the environmental monitoring data generated by the environmental monitoring device 102 during the environmental quality monitoring process is systematically lowered.
[0054] To facilitate reading later, the numbers of the aforementioned devices will no longer be reflected in the following text.
[0055] Figure 2 1 is a flow chart of a method for identifying whether environmental monitoring is interfered with by humans, provided by some embodiments. Figure 2 As shown, the remote server can identify whether the quality control of the environmental monitoring equipment is manually controlled through the following S110-S140.
[0056] S110: Determine whether the environmental monitoring device performs multiple quality control operations in succession based on the time stamp of the quality control instruction or the quality control result data.
[0057] S120: When the environmental monitoring device continuously performs multiple quality control operations, the quality control deviation is calculated based on the nominal concentration and the quality control result data of each quality control operation.
[0058] S130: When the quality control deviation of the last quality control operation is within the deviation threshold range, determine whether the quality control deviation of the last quality control operation is a negative value; if so, execute S140; if not, execute S150.
[0059] S140: Determine whether there is human quality control interference in the environmental monitoring equipment.
[0060] S150: Determine whether human quality control interference cannot be identified.
[0061] In practical applications, due to the working characteristics and cost control limitations of the environmental monitoring equipment itself, the environmental monitoring equipment cannot reach the nominal concentration by measuring the concentration of the components in the calibration standard (such as calibration gas, calibration solution) through its own principle during the quality control operation, but may have a certain difference from the nominal concentration, but the aforementioned difference will not be too large. In specific implementation, after obtaining the concentration data obtained by the quality control result data output by the environmental monitoring equipment (that is, measuring the standard sample), the host computer will determine whether the aforementioned concentration data is within the set range determined based on the concentration of the standard sample (for example, within the fluctuation range of ±15% centered on the set concentration). If it is within the aforementioned range, it is determined that the quality control result data is available. The host computer determines the correction equation based on the aforementioned quality control result data and the nominal concentration, and then uses the correction equation to correct the subsequent environmental monitoring data to obtain the output monitoring data.
[0062] Because the concentration of the calibration standard is fixed, the larger the quality control result data (within the set range), the smaller the correction coefficient of the correction equation, and the smaller the output monitoring data obtained by the subsequent processing of the environmental monitoring data. It is precisely because the larger the quality control result data, the smaller the output monitoring data, that the relevant personnel thought that the output monitoring data could be systematically reduced by intentionally controlling the quality control result data.
[0063] During the specific implementation, relevant personnel will control the environmental monitoring equipment to perform quality control operations, and use the quality control result data to see whether the result data obtained in the quality control process meets the goal of being as large as possible; if the above goal is met, the last quality control result data will be used; and if the quality control result data does not meet the above goal, the environmental monitoring equipment will be controlled to re-execute the quality control operation.
[0064] Accordingly, if the staff intentionally controls the quality control manually, there is a high probability that the environmental monitoring equipment needs to perform multiple quality control operations (at least twice). Based on this, it is possible to identify whether there is a problem of human interference in quality control by whether the quality control operation is performed multiple times, whether multiple quality control operations are available, and the data size of the last quality control result data.
[0065] Specifically, if it is determined according to the time stamp of the quality control instruction or the quality control result data that the environmental monitoring equipment performs multiple quality control operations in succession, the difference between each quality control result data and the nominal concentration is calculated to obtain the quality control deviation. Specifically, the quality control deviation is the deviation obtained by subtracting the quality control result data from the nominal concentration.
[0066] After obtaining the quality control deviation, data identification is performed starting from the quality control deviation of the last quality control operation. If the quality control deviation of more than one quality control operation is within the deviation threshold range, but the quality control deviation of the last quality control operation is negative, there is reason to suspect that the staff has re-performed the quality control operation in order to make the quality control deviation negative, so as to artificially control the systemic deviation and make the output monitoring data smaller. At this time, it can be determined that there is artificial quality control interference in the environmental monitoring equipment.
[0067] In a specific implementation, it is also possible to further determine whether the quality control deviation of the last quality control operation is within the set negative value interval. The aforementioned set negative value interval is an interval adjacent to the fluctuation range determined based on the fluctuation range. For example, for the aforementioned fluctuation range of ±15%, the set negative value interval can be set to (-10%, 15%) (here in the form of nominal concentration percentage). If the quality control deviation of the last quality control operation is within the aforementioned set negative value interval, it can be basically confirmed that there is human quality control interference in the environmental monitoring equipment.
[0068] After the remote server automatically determines that there is human quality control interference in the environmental monitoring equipment, it can also feed back the corresponding quality control result data to the management personnel, who will then conduct manual identification.
[0069] In some specific implementations, in order to make the environmental monitoring data better, the environmental status of the environmental monitoring point may be artificially interfered with to reduce the concentration of pollutants therein, or to improve the corresponding data indicators (such as increasing the dissolved oxygen content, etc.). For example, particulate matter sedimentation can be achieved by increasing the air humidity, thereby reducing the concentration of particulate matter at the environmental monitoring point. However, the aforementioned interference operation cannot be performed all the time. If it is performed all the time, fraud may be identified through some other data indicators. Therefore, the artificial interference operation can only be performed at intervals. The artificial intermittent execution of the interference operation will cause the environmental monitoring data to fluctuate abnormally. Therefore, it is also possible to identify whether the environmental monitoring data fluctuates abnormally and whether the environment in which the environmental monitoring equipment is located (that is, the environment of the environmental monitoring point) is artificially interfered with.
[0070] Figure 3 This is a flow chart of an embodiment for identifying whether the environment in which the environment monitoring device is located is interfered with by humans. Figure 3 As shown, identifying whether the environment in which the environment monitoring device is located is artificially interfered with may include the following S210-S260.
[0071] S210: Perform near-difference processing on the environmental monitoring data within a set continuous time period to obtain differential data, and calculate the mean and standard deviation of the differential data.
[0072] S220: Determine a credible variation range based on the mean and the standard deviation, and determine a credible variation ratio corresponding to the credible variation range.
[0073] S230: Calculate the actual proportion of the differential data within the credible variation range.
[0074] S240: Determine whether the actual proportion is less than the credible change proportion; if so, execute S250; if not, execute S260.
[0075] S250: Determine that the environment in which the environmental monitoring equipment is located has been interfered with by humans.
[0076] S260: It is impossible to determine whether the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0077] Through the analysis of normal environmental monitoring data, it is found that in the absence of external disturbances (or when the external disturbances are small), the differential data of the environmental monitoring data conforms to the characteristics of a normal distribution. On the contrary, environmental monitoring data subject to human interference is unlikely to conform to the characteristics of a normal distribution. Based on the above analysis, the remote server first performs near-difference processing on the environmental monitoring data of a set continuous time to obtain differential data. The differential data is then used for statistical analysis to obtain the mean and standard deviation. The credible range is determined based on the mean and standard deviation, and the credible range of variation can be determined with the mean as the center and two or three times the standard deviation.
[0078] After determining the credible variation range, the proportion of the aforementioned differential data in the credible variation range can then be determined. If the differential data is very large in the credible variation range, then there is a high probability that the differential data conforms to the normal distribution; on the contrary, there is a high probability that the differential data does not conform to the normal distribution. As analyzed above, if it is determined that the differential data does not conform to the normal distribution, it can be determined that the environmental monitoring data does not conform to the state under normal circumstances, and therefore it is determined that the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0079] As analyzed above, the premise for executing the aforementioned S210-S260 is that the environment in which the environmental monitoring equipment is located is identified as a steady-state environment. In specific implementation, the meteorological conditions in the environment in which the environmental monitoring equipment is located are stable. To this end, the remote server will also obtain the meteorological data of the area where the monitoring point is located, and identify whether the meteorological conditions for the set continuous time are stable based on the meteorological data; if the meteorological conditions are stable, then when the actual proportion is less than the credible change proportion, it is determined that the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0080] In other cases, the environment in which the environmental monitoring equipment is located is a non-steady-state environment, but the environmental state changes gradually rather than fluctuating as in the case of human interference. Figure 4 FIG. 1 is a flowchart of another embodiment for identifying whether the environment in which the environment monitoring device is located is interfered with by humans. Figure 4 As shown, in some other embodiments, the method for identifying whether the environment in which the environment monitoring device is located is interfered with by humans includes S310-S360.
[0081] S310: sorting the environmental monitoring data of a set continuous time period to obtain a sorted sequence, determining two quartiles therein, and calculating the quantile inner distance based on the two quartiles.
[0082] S320: Determine a reasonable numerical value variation range based on the quantile internal distance and a predetermined empirical coefficient.
[0083] S330: Count the proportion of environmental monitoring data within a reasonable value change range within a continuous set time period.
[0084] S340: Determine whether the proportion is less than the preset proportion; if so, execute S350; if not, execute S360.
[0085] S350: Determine that the environment in which the environmental monitoring equipment is located is interfered with by human beings.
[0086] S360: It is impossible to determine whether the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0087] When the environmental state changes gradually, the environmental monitoring data fluctuates due to external factors, so that its differential data no longer conforms to the normal distribution characteristics. In this case, the quartiles of the environmental monitoring data within the continuous set time period can be determined by the method of deviation trend analysis, and the quantile internal distance can be calculated. After determining the aforementioned quantile internal distance, the aforementioned quantile internal distance and the empirical coefficient can be used to determine the reasonable numerical change range under the gradual change of environmental state. Then calculate the proportion of environmental monitoring data in the reasonable numerical change range within the continuous set time period; if the aforementioned proportion is less than the preset proportion, it is determined that the environmental monitoring data has abnormal fluctuations, and then it can be determined that the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0088] In specific applications, after obtaining the environmental monitoring data, the host computer will calculate the overall pollutant concentration within a set time period based on the environmental monitoring data. Driven by the assessment indicators, the corresponding staff may tamper with the environmental monitoring data or the overall pollutant concentration data, and then report the tampered overall pollutant concentration to the remote server as the reported pollutant concentration. After the remote server obtains the environmental monitoring data and quality control data sent by the gateway device, if it is determined that the quality control has not been interfered with, it can also calculate the overall pollutant concentration. After obtaining the overall pollutant concentration and the reported pollutant concentration, the remote server can determine whether the reported pollutant concentration is a false concentration based on the overall pollutant concentration. In specific implementation, if the overall pollutant concentration is different from the reported pollutant concentration, or the difference between the two is too large, it is determined that the reported pollutant concentration is a false concentration.
[0089] Figure 5 FIG. 1 is a flowchart of some embodiments for identifying whether the environment in which the environment monitoring device is located is interfered with by humans. Figure 5 As shown, in some other embodiments, the method for identifying whether the environment in which the environment monitoring device is located is interfered with by humans includes S410-S440.
[0090] S410: Calculate the mean and standard deviation of the environmental monitoring data within the continuous set time, as well as the median and mode of the environmental monitoring data within the continuous set time.
[0091] S420: Calculate a first difference between the median and the mean, and a second difference between the mode and the mean, and determine a larger value between the first difference and the second difference.
[0092] S430: Perform weighted summation based on the larger value and the standard deviation and a predetermined weight coefficient to obtain a weighted sum value.
[0093] S440: When the ratio of the weighted sum to the mean is greater than the set ratio, it is determined that the environment in which the environmental monitoring device is located is subject to human interference.
[0094] In some specific applications, when interfering with the environment in which the environmental monitoring site is located, only low-frequency interference is performed, so that the environmental monitoring data (especially the pollutant concentration) has fewer smaller values, so as to use the aforementioned smaller values to lower the overall pollutant concentration. If the aforementioned method is adopted, the mean and standard deviation do not have the characteristics of characterizing a normal distribution, and the median and mode are quite different from the mean. Based on the aforementioned situation, the embodiment of the present disclosure calculates the first difference and the second difference between the median and the mean and mode, and uses the larger value and the standard deviation of the aforementioned differences to obtain a weighted sum, and then uses the ratio of the weighted sum to the mean to determine whether the environment in which the environmental monitoring equipment is located is interfered with by humans.
[0095] Based on the actual situation of environmental quality monitoring, there will be a large number of environmental monitoring sites in actual applications, and correspondingly there will be a large number of gateway devices. In this case, if the data receiving interfaces of each gateway device and the remote server are directly coupled and connected, the system will be too complicated and inconvenient for the online use and offline maintenance of environmental monitoring points. To solve this problem, in the specific implementation, a publish-subscribe mechanism is used between the gateway device and the remote server to transmit the aforementioned control instructions and device reported data. Specifically, an original data topic is created in the proxy service, the gateway device publishes the control instructions and device reported data to the aforementioned original data topic, and the remote server subscribes to the aforementioned original data topic. After the gateway device uploads the control instructions and device reported data to the original data topic, the proxy service pushes the aforementioned data to the remote server.
[0096] In some embodiments, different data have different processing priorities. For example, quality control data and equipment status data have higher priority than environmental quality monitoring data, and different raw data topics need to be set. The aforementioned different types of control instructions and equipment reporting data are published to the corresponding raw data topics respectively.
[0097] Specifically, after receiving the control instruction or the quality control result data, the gateway device will publish the aforementioned data on the quality control raw data topic; after receiving the environmental monitoring data, the environmental monitoring data will be published on the monitoring raw data topic.
[0098] Because the control instructions and various device-reported data output by environmental monitoring equipment are confidential data and are at risk of being intercepted by a third party, the device-reported data forwarded to the remote server through the gateway device cannot be transmitted in plain text, but should be transmitted in cipher text. In this case, the risk of the encrypted cipher text itself being cracked needs to be considered.
[0099] In some embodiments, the remote server sends a short-time encryption program to the network management device. The short-time encryption program is an encryption program that can only be used within a set time period. After its release (that is, the remote server makes it public) exceeds the set time period, the short-time encryption program is no longer of use value (the corresponding short-time decryption program used by the specific remote server is replaced, so that the data encrypted by the short-time encryption program is no longer of use value). In the specific implementation, considering that the gateway device does not have software compilation capabilities, the aforementioned short-time encryption program is a binary program compiled on the remote server side. The aforementioned set time period can be determined according to the cracking complexity of the short-time encryption program. The higher the cracking complexity, the longer the corresponding available set time period.
[0100] In order to enable the gateway device to use the short-time encryption program to encrypt the device reported data, the remote server needs to execute and send the short-time encryption program to the gateway device.
[0101] In some embodiments, the remote server and the gateway device are directly connected in communication, and the remote server can directly send the short-term encryption program to the gateway device.
[0102] In some other embodiments, in order to achieve decoupling of the remote server and a large number of gateway devices, the remote server and the gateway device use a message queue telemetry transmission protocol to implement the distribution of the short-term encryption program. Specifically, (1) the remote server creates an encryption program topic in the proxy service (this proxy service can be a private proxy service deployed under the entity to which the remote server belongs, or it can be a public proxy service) and publishes the short-term encryption program to the aforementioned encryption program topic; (2) the gateway device subscribes to the aforementioned encryption program topic. After publishing a new short-term encryption program in the encryption program topic and publishing it to the encryption program topic, the proxy service pushes the short-term encryption program to the gateway device, so that the gateway device obtains the short-term encryption program.
[0103] After obtaining and loading the aforementioned short-time encryption program, the gateway device uses the short-time encryption program to encrypt the control instructions and the device reported data to obtain encrypted forwarding data, and sends the encrypted forwarding data to the remote server.
[0104] After the remote server receives the encrypted forwarding data sent by the gateway device, it uses the short-time decryption program to decrypt the encrypted forwarding data to obtain the control instruction and device reporting data. The short-time decryption program is a decryption program adapted to the short-time encryption program, which is generated by the remote server according to the short-time encryption program.
[0105] Because the short-term encryption program corresponds to the short-term decryption program, it can decrypt the encrypted forwarding data to obtain the device reported data. After obtaining the device reported data, the remote server can analyze the device reported data to obtain the corresponding output result.
[0106] In some embodiments, in addition to the aforementioned short-term encryption program, the gateway device is also configured with a long-term encryption program. Accordingly, in addition to using the short-term encryption program to encrypt control instructions and device reported data, it can also use the long-term encryption program to encrypt the corresponding data. There may be the following two specific situations.
[0107] 1. Before the gateway device uses a short-time encryption program to encrypt the device reported data to obtain encrypted forwarding data, the gateway device uses a long-time encryption program to encrypt the control instructions and device reported data to obtain encrypted data. Correspondingly, the gateway device uses a short-time encryption program to re-encrypt the encrypted data to obtain encrypted forwarding data. When executing the above encryption process, the remote server uses a short-time decryption program to decrypt the encrypted forwarding data to obtain decrypted data; then, the long-time decryption program is used to re-decrypt the decrypted data to obtain the upper-level monitoring instructions and device reported data.
[0108] 2. After the network management device uses a short-term encryption program to encrypt the control instructions and device reporting data to obtain encrypted forwarding data, the gateway device uses a long-term encryption program to re-encrypt the encrypted forwarding data to obtain secondary encrypted data, and sends the secondary encrypted data to the remote server. Correspondingly, after receiving the secondary encrypted data, the remote server uses a long-term encryption program to process the secondary encrypted data to obtain encrypted forwarding data, and then uses a short-term decryption program to process the encrypted forwarding program to obtain the upper-level monitoring instructions and device reporting data.
[0109] In a specific implementation, the aforementioned long-term encryption program and long-term decryption program may be programs that use symmetric encryption and decryption, or may be programs that use asymmetric encryption and decryption, and the embodiments of the present disclosure do not limit this.
[0110] As analyzed above, the short-term encryption program is only a short-term encryption program. When it is transmitted to the gateway device using the publish-subscribe mechanism, the problem of asynchronous transmission between the remote server and the gateway device (that is, it is uncertain when the gateway device will obtain the short-term encryption program, but the general time range is certain) will affect the coordination between the gateway device using the short-term encryption program and the remote server using the short-term decryption program. In this case, it is necessary to consider how to coordinate the use of the old short-term encryption program and the new short-term encryption program, and how to enable the remote server to determine the corresponding short-term decryption program.
[0111] To solve the aforementioned problem, in some embodiments, while publishing a new short-time encryption program, the remote server publishes the program identifier of the new short-time encryption program. The corresponding gateway device will also obtain the corresponding program identifier when obtaining the new short-time encryption program. In this case, the gateway device can use the new short-time encryption program to encrypt the newly obtained device reported data to obtain encrypted forwarding data. In order for the remote server to determine which short-time decryption program interface to use, the gateway device forms a sending data packet based on the encrypted forwarding data and the new short-time encryption program identifier, and sends the sending data packet to the remote server.
[0112] In some other embodiments, when a new short-time encryption program is released, the remote server releases the effective period of the new short-time encryption program. The corresponding gateway device obtains the corresponding effective period when obtaining the new short-time encryption program. In this case, the gateway device uses the new short-time encryption program to encrypt the newly obtained device report data and obtain encrypted forwarding data after determining that the new short-time encryption program has entered the effective period. Correspondingly, when the remote server determines that the short-time encryption program is in the effective period, it uses the corresponding short-time interface program to decrypt the received confidential report data.
[0113] As analyzed above, the remote server needs to send control instructions to the environmental monitoring device. In the case where the strong coupling relationship between the remote server and the gateway device needs to be decoupled, the remote server can also use a message publish-subscribe mechanism to issue control instructions. Specifically, first create an instruction issuance topic in the proxy service, and the gateway device subscribes to the aforementioned instruction issuance topic. The remote server then publishes the control instruction including the device identifier and the gateway identifier to the instruction issuance topic, and issues the control instruction to all gateway devices through the proxy service. After receiving the aforementioned control instruction, the gateway device determines whether the control instruction is an instruction issued to this site based on the gateway identifier and its own identifier in the control instruction: (1) If it is not an instruction issued to this site, the control instruction is directly discarded; (2) If it is a control instruction issued to this site, the corresponding environmental monitoring device is determined based on the device identifier, and the control instruction is issued to this environmental monitoring device.
[0114] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An ecological environment quality monitoring system, characterized in that: Including: remote server, host computer, environmental monitoring equipment and gateway equipment deployed at monitoring points; The host computer interface of the gateway device is connected to the data IO interface of the host computer, the lower computer interface is connected to the data IO interface of the environmental monitoring device, and the network communication interface is connected to the remote server through the communication network; The gateway device is used to receive the control instruction issued by the host computer and forward it to the environment monitoring device, receive the device reported data of the environment monitoring device and forward it to the host computer, and report the control instruction and the device reported data to the remote server; The remote server is used to identify whether the environmental monitoring is interfered with artificially according to the control instruction and / or the data reported by the device.
2. The monitoring system according to claim 1, characterized in that: The control instructions include quality control instructions, and the device reported data includes quality control result data; The step of identifying whether the environmental monitoring device is interfered with manually according to the control instruction and / or the device reported data includes: Determining whether the environmental monitoring device performs multiple quality control operations in succession according to the time stamp identification of the quality control instruction or the quality control result data; When the environmental monitoring device continuously performs multiple quality control operations, the quality control deviation is calculated based on the nominal concentration and the quality control result data of each quality control operation; When the quality control deviations of more than one quality control operations are within the deviation threshold range, and the quality control deviation of the last quality control operation is a negative value, it is determined that there is human quality control interference in the environmental monitoring equipment.
3. The monitoring system according to claim 1, characterized in that: The data reported by the device includes environmental monitoring data; The step of identifying whether the environmental monitoring device is interfered with manually according to the control instruction and / or the device reported data includes: Performing near-difference processing on the environmental monitoring data within a set continuous time to obtain differential data, and calculating the mean and standard deviation of the differential data; Determine a credible variation range based on the mean and the standard deviation, and determine a credible variation ratio corresponding to the credible variation range; Calculating the actual proportion of the differential data within the credible variation range; When the actual proportion is smaller than the credible change proportion, it is determined that the environment in which the environmental monitoring device is located is artificially interfered with.
4. The monitoring system according to claim 1, characterized in that: The data reported by the device includes environmental monitoring data; The step of identifying whether the environmental monitoring device is interfered with manually according to the control instruction and / or the device reported data includes: Calculate the mean and standard deviation of the environmental monitoring data within the continuous set time, as well as the median and mode of the environmental monitoring data within the continuous set time; Calculate a first difference between the median and the mean, and a second difference between the mode and the mean, and determine a larger value between the first difference and the second difference; Performing weighted summation based on the larger value and the standard deviation and a predetermined weight coefficient to obtain a weighted sum value; When the weighted sum value is greater than the set sum value, it is determined that the environment in which the environmental monitoring device is located is subject to human interference.
5. The monitoring system according to claim 3 or 4, characterized in that: The remote server is also used to obtain meteorological data of the area where the monitoring point is located; The determining that the environment in which the environmental monitoring device is located is interfered with by human beings includes: determining that the environment in which the environmental monitoring device is located is interfered with by human beings when it is determined according to the meteorological data that the continuous set time period is in a meteorologically stable period.
6. The monitoring system according to claim 1, characterized in that: The remote server is also used to calculate the overall pollutant concentration within a set time period based on the environmental monitoring data within a set time period in the data reported by the device, receive the reported pollutant concentration sent by the host computer, and identify whether the reported pollutant concentration is a false concentration based on the overall pollutant concentration and the reported pollutant concentration.
7. The monitoring system according to any one of claims 1 to 4 or claim 6, characterized in that: The gateway device publishes the control instruction and the device reported data to the original data topic, and the remote server obtains the control instruction and the device reported data by subscribing to the original data topic.
8. The monitoring system according to any one of claims 1 to 4 or claim 6, characterized in that: The remote server is also used to send a short-term encryption program to the gateway device, where the short-term encryption program is an encryption program used within a set time period; The step of forwarding the control instruction and the device reported data to the remote server includes: Using the short-time encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, and sending the encrypted forwarding data to the remote server; Before the remote server identifies whether the environmental monitoring data is interfered with artificially according to the control instruction and the device reported data, the remote server executes a short-time decryption program to decrypt the encrypted forwarding data to obtain the control instruction and the device reported data; The short-time decryption program is a decryption program adapted to the short-time encryption program.
9. The monitoring system according to claim 8, characterized in that: The remote server publishes the short-time encryption program to an encryption program topic, and the gateway device obtains the short-time encryption program by subscribing to the encryption program topic.
10. The monitoring system according to claim 8, characterized in that: The gateway device is also configured with a long-term encryption program, and the remote server is also configured with a long-term decryption program adapted to the long-term encryption program; Before the gateway device uses the short-term encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, the method further includes: using the long-term encryption program to encrypt the control instruction and the device reported data to obtain primary encrypted data; The gateway device uses the short-time encryption program to encrypt the control instruction and the device reported data to obtain encrypted forwarding data, including: using the short-time encryption program to re-encrypt the once encrypted data to obtain the encrypted forwarding data; The adopting a short-time decryption program to decrypt the encrypted forwarding data to obtain the control instruction and the device reporting data includes: adopting the short-time decryption program to decrypt the encrypted forwarding data to obtain the primary decrypted data; and adopting a long-time decryption program to re-decrypt the primary decrypted data to obtain the control instruction and the device reporting data; or, After obtaining the encrypted forwarding data, the gateway device re-encrypts the encrypted forwarding data using the long-term encryption program to obtain secondary encrypted data, and sends the secondary encrypted data to the remote server; After receiving the secondary encrypted data, the remote server uses the long-term decryption program to process the secondary encrypted data to obtain the encrypted forwarding data.
Citation Information
Patent Citations
A remote environment monitoring device
CN108534822A
Environment monitoring station operation and maintenance system and method based on block chain
CN110796847A
Thermostat and System and Method for Use of Same
US20210176502A1
Robot remote operation control device, robot remote operation control system, robot remote operation control method, and non-transitory computer readable medium
US20220314449A1