Method and device for recording monitoring data
By comparing the monitoring data of the upstream and downstream water flow areas with the monitoring data of the upstream and downstream water flow areas, the data error problem caused by abnormal monitoring equipment is solved, and the credibility and accuracy of the monitoring results are improved.
Patent Information
- Application Number
- CN202411604386.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN119125488A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a method and device for recording monitoring data. Background Art
[0002] In order to improve the safety of the reservoir, in the relevant technology, different monitoring equipment will be set up in different water flow areas of the reservoir to aggregate the monitored data and upload them to the monitoring terminal. The monitoring terminal will record the monitoring data uploaded by the monitoring equipment and generate monitoring results.
[0003] However, if this recording method has an abnormality in the monitoring device, such as data distortion, drift or other disturbances, the monitoring data uploaded by the monitoring device will be abnormal, and the monitoring terminal will not be able to determine whether the monitoring data uploaded by the monitoring device is invalid data caused by the abnormality of the detection device, resulting in errors between the data recorded by the monitoring terminal and the actual situation, affecting the credibility of the generated monitoring results. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a monitoring data recording method, which can reduce the recording of invalid monitoring data by the monitoring terminal and improve the credibility of the generated monitoring results.
[0005] The application also proposes a device for recording monitoring data.
[0006] The application also provides an electronic device.
[0007] The present application also proposes a computer-readable storage medium.
[0008] The method for recording monitoring data according to the first aspect of the present application includes: Obtain the target monitoring data of the target period uploaded by the target monitoring device in any water flow area; Verifying the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data; Determining that the validity detection result is that the target monitoring data is valid, and recording the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0009] By acquiring the target monitoring data of the target time period uploaded by the target monitoring device of any water flow area, the target monitoring data is verified according to the monitoring data set of the associated time period uploaded by the monitoring device of the associated water flow area of the water flow area, and the validity test result of the target monitoring data is obtained. When it is determined that the validity test result is that the target monitoring data is valid, the target monitoring data is recorded to the monitoring terminal, so as to utilize the associated characteristics of the water flow data in the upstream and downstream areas to verify the monitoring data uploaded by the target monitoring device of the water flow area, so as to record the data after the verification is successful, thereby reducing the recording of invalid monitoring data by the monitoring terminal and improving the credibility of the monitoring results generated by recording monitoring data.
[0010] According to one embodiment of the present application, obtaining target monitoring data of a target period uploaded by a target monitoring device in any water flow area includes: Sending a test signal to the target monitoring device; Receiving test data fed back by the target monitoring device according to the test signal; Determine that the test data is normal, and obtain the target monitoring data of the target time period uploaded by the target monitoring device.
[0011] According to one embodiment of the present application, it also includes: Determine that the test data is abnormal, and stop receiving the monitoring data uploaded by the target monitoring device until the received test data is normal.
[0012] According to an embodiment of the present application, the target monitoring data is verified according to the monitoring data set of the associated time period uploaded by the monitoring device of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data, including: Obtain a historical monitoring data set of a historical period adjacent to the target period uploaded by a monitoring device in an upstream water flow area adjacent to the water flow area, and obtain a future monitoring data set of a next period adjacent to the target period uploaded by a monitoring device in a downstream water flow area adjacent to the water flow area; In the case where the target monitoring data is abnormal, it is determined that there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
[0013] According to one embodiment of the present application, it also includes: When the target monitoring data is normal, it is determined that each monitoring data in the historical monitoring data set is normal, or each monitoring data in the future monitoring data set is normal, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
[0014] According to one embodiment of the present application, it also includes: When the target monitoring data is normal, it is determined that there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is invalid.
[0015] According to one embodiment of the present application, it also includes: Determine that the validity detection result is that the target monitoring data is invalid, and generate alarm information including the location information based on the location information of the target monitoring device.
[0016] The monitoring data recording device according to the second aspect of the present application includes: A data acquisition module, used to acquire target monitoring data of a target period uploaded by a target monitoring device in any water flow area; A data verification module, used to verify the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area, and obtain the validity detection result of the target monitoring data; A data recording module, used to determine that the validity detection result is that the target monitoring data is valid, and record the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0017] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a processor and a memory storing a computer program, and when the processor executes the computer program, the method for recording monitoring data described in any of the above embodiments is implemented.
[0018] According to the computer-readable storage medium of the fourth aspect of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the method for recording monitoring data described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1A first flow chart of a method for recording monitoring data in some embodiments of the present application; Figure 2 A second flow chart of a method for recording monitoring data according to some embodiments of the present application; Figure 3 A schematic diagram of the structure of a monitoring data recording device provided in some embodiments of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] Below, the monitoring data recording method and device provided in the embodiments of the present application will be introduced and explained in detail through several specific embodiments.
[0023] In one embodiment, a method for recording monitoring data is provided, which is applied to a monitoring terminal and is used to record valid monitoring data uploaded by a monitoring device. The monitoring terminal can be any terminal device such as a mobile terminal, a desktop terminal or a server, wherein the server can be an independent server or a server cluster composed of multiple servers, and can also be a cloud server that provides basic cloud computing services such as cloud services, cloud message databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and large message data and artificial intelligence sampling point devices.
[0024] like Figure 1 As shown, a method for recording monitoring data provided in this embodiment includes: Step 101, obtaining target monitoring data of a target period uploaded by a target monitoring device in any water flow area; Step 102, verifying the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area, and obtaining the validity detection result of the target monitoring data; Step 103, determining that the validity detection result is that the target monitoring data is valid, and recording the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0025] In some embodiments, the reservoir may divide the area through which the water flows into a plurality of water flow areas in advance according to the direction of the water flow. Exemplarily, the area through which the water flows when the reservoir discharges flood water may be divided into a plurality of water flow areas according to the flood discharge path of the reservoir, or the area through which the water flows when the reservoir stores water may be divided into a plurality of water flow areas according to the water storage path of the reservoir. The size of each water flow area may be set according to actual conditions. Each water flow area may be provided with a monitoring device for monitoring the water flow in the water flow area, and the monitoring device may include a water quality monitor for monitoring water quality, and a water level monitor for monitoring water level, etc.
[0026] For any water flow area, the upstream water flow area and the downstream water flow area adjacent to the water flow area can be determined based on the water flow direction, so that the upstream and downstream water flow areas adjacent to the water flow area can be determined as the associated water flow areas of the water flow area.
[0027] When water flow monitoring is required, the monitoring terminal can use the monitoring equipment of any water flow area as the target monitoring equipment, and obtain the monitoring data of the water flow area in the target period uploaded by the target monitoring equipment as the target monitoring data of the target period. The monitoring data may include water flow data such as water quality or water level of the water flow area monitored by the target monitoring equipment. The target period can be any period and can be set according to actual needs.
[0028] After obtaining the target monitoring data for the target period, the target monitoring data may be compared with a monitoring data set for the associated period uploaded by a monitoring device of an associated water flow area in the water flow area.
[0029] As a possible implementation method, the monitoring equipment of the upstream water flow area adjacent to the water flow area can be obtained, and the monitoring data monitored in the historical period adjacent to the target period can be formed into a historical monitoring data set. For example, if the target period is 8:00 a.m-8:05 a.m, the historical period can be 7:55 a.m-8:00 a.m, so as to obtain the monitoring equipment of the upstream water flow area, and the monitoring data monitored in 7:55 a.m-8:00 a.m can be formed into a historical monitoring data set.
[0030] Since the water flow in a water flow area will be affected by the water flow in its upstream water flow area, if the water quality in the upstream water flow area of the water flow area is abnormal, the abnormal water quality will flow to the water flow area, causing the water quality in the water flow area to also be detected abnormal. Therefore, after obtaining the historical monitoring data set, the historical monitoring data set can be compared with the target data.
[0031] Among them, if all the monitoring data in the historical monitoring data set and the target monitoring data are normal data, that is, data indicating normal water flow, then it can be determined that the target monitoring data is credible, and at this time, it can be determined that the target monitoring data is valid; if there are abnormal monitoring data in the historical monitoring data set, such as monitoring data indicating abnormal water quality of the water flow, and the target monitoring data is normal, it means that the target monitoring device that uploaded the target monitoring data may be damaged and cause missed detection, and at this time, it can be determined that the target monitoring data is invalid; if there are abnormal monitoring data in the historical monitoring data set, and the target monitoring data is abnormal at the same time, but the abnormal monitoring data and the target monitoring data are of different abnormal types, such as the abnormal monitoring data If the abnormal type of the measured data is water quality abnormality, and the abnormal type of the target monitoring data is water level abnormality, it means that the abnormality of the target monitoring data may be caused by damage to the target monitoring equipment. At this time, it can be determined that the target monitoring data is invalid; if each monitoring data in the historical monitoring data set is normal data, and the target monitoring data is abnormal, it means that the abnormality of the target monitoring data may be caused by damage to the target monitoring equipment. At this time, it can be determined that the target monitoring data is invalid; if there is abnormal monitoring data in the historical monitoring data set, and the target monitoring data is abnormal at the same time, and the abnormal monitoring data and the target monitoring data have the same abnormal type, then it can be determined that the target monitoring data is valid.
[0032] As another possible implementation, the monitoring equipment of the downstream water flow area adjacent to the water flow area can be obtained, and the monitoring data monitored in the next time period adjacent to the target time period can be used to form a future monitoring data set. If the target time period is 8:00 a.m.-8:05 a.m., the next time period can be 8:05 a.m.-8:10 a.m., so as to obtain the monitoring equipment of the downstream water flow area, and the monitoring data monitored in 8:05 a.m.-8:10 a.m. can be used to form a future monitoring data set. Among them, the duration of the next time period adjacent to the target time period is greater than or equal to the duration of the target time period, so that the water flowing through the water flow area during the target time period will flow into the downstream water flow area adjacent to the water flow area in the next time period adjacent to the target time period.
[0033] Since the water flow in the downstream water flow area adjacent to the water flow area will be affected by the water flow in the water flow area, if the water quality in the water flow area is abnormal, the abnormal water quality will flow to the downstream water flow area adjacent to the water flow area, causing the water quality in the downstream water flow area to be detected abnormally. Therefore, after obtaining the future monitoring data set, the future monitoring data set can be compared with the target data.
[0034] Among them, if all the monitoring data in the future monitoring data set and the target monitoring data are normal data, that is, data indicating normal water flow, then it can be determined that the target monitoring data is credible, and the validity monitoring result of the target monitoring data is valid at this time; if there are abnormal monitoring data in the future monitoring data set, such as monitoring data indicating abnormal water quality of the water flow, and the target monitoring data is normal, it means that the target monitoring device that uploaded the target monitoring data may be damaged and cause missed detection, and at this time it can be determined that the target monitoring data is invalid; if there are abnormal monitoring data in the future monitoring data set, and the target monitoring data is abnormal at the same time, but the abnormal monitoring data and the target monitoring data are of different abnormal types, such as If the abnormal type of the abnormal monitoring data is water quality abnormality, while the abnormal type of the target monitoring data is water level abnormality, it means that the abnormality of the target monitoring data may be caused by damage to the target monitoring equipment. In this case, it can be determined that the target monitoring data is invalid; if the monitoring data in the future monitoring data set are normal data, but the target monitoring data are abnormal, it means that the abnormality of the target monitoring data may be caused by damage to the target monitoring equipment. In this case, it can be determined that the target monitoring data is invalid; if there is abnormal monitoring data in the future monitoring data set, and the target monitoring data is abnormal at the same time, and the abnormal monitoring data and the target monitoring data have the same abnormal type, it can be determined that the target monitoring data is valid.
[0035] After obtaining the validity test result of the target monitoring data, if the validity test result is that the target monitoring data is valid, the target monitoring data can be recorded to the monitoring terminal for generating monitoring results; if the validity test result is that the target monitoring data is invalid, the target monitoring data will not be recorded, and an alarm message indicating an abnormality of the target monitoring device will be generated.
[0036] By acquiring the target monitoring data of the target time period uploaded by the target monitoring device of any water flow area, the target monitoring data is verified according to the monitoring data set of the associated time period uploaded by the monitoring device of the associated water flow area of the water flow area, and the validity test result of the target monitoring data is obtained. When it is determined that the validity test result is that the target monitoring data is valid, the target monitoring data is recorded to the monitoring terminal, so as to utilize the associated characteristics of the water flow data in the upstream and downstream areas to verify the monitoring data uploaded by the target monitoring device of the water flow area, so as to record the data after the verification is successful, thereby reducing the recording of invalid monitoring data by the monitoring terminal and improving the credibility of the monitoring results generated by recording monitoring data.
[0037] To further reduce the possibility of obtaining invalid monitoring data, in some embodiments, obtaining target monitoring data of a target period uploaded by a target monitoring device in any water flow area includes: Sending a test signal to the target monitoring device; Receiving test data fed back by the target monitoring device according to the test signal; Determine that the test data is normal, and obtain the target monitoring data of the target time period uploaded by the target monitoring device.
[0038] In some embodiments, before receiving the monitoring data uploaded by the target monitoring device, a test signal may be sent to the target monitoring device to receive the test data fed back by the target monitoring device according to the test signal. The test signal may be a prompt signal for instructing the target monitoring device to send its configuration data, and the test data includes the configuration data of the target monitoring device.
[0039] If the test data fed back by the target monitoring device is received, the test data can be tested to determine whether the test data is complete. If the test data is complete, the configuration data in the test data can be compared with the preset configuration data of the target detection device. Among them, the preset configuration data can be the factory configuration data of the target detection device. If the configuration data in the test data is consistent with the preset configuration data, it means that the configuration of the target monitoring device is normal. At this time, it can be determined that the test data is normal, and the target monitoring data of the target period uploaded by the target monitoring device can be obtained.
[0040] In some embodiments, if it is determined that the test data is abnormal, the receiving of the monitoring data uploaded by the target monitoring device is stopped until the received test data is normal.
[0041] Exemplarily, if the test data is incomplete, it can be determined that the test data is abnormal; or, if the configuration data in the test data is inconsistent with the preset configuration data, it means that the configuration of the target monitoring device is abnormal, and the test data can be determined to be abnormal.
[0042] After determining that the test data is abnormal, stop receiving the monitoring data uploaded by the target monitoring device, and periodically send a test signal to the target monitoring device to periodically detect the test data fed back by the target monitoring device according to the test signal. Until the test data is detected to be normal, resume receiving the monitoring data uploaded by the target monitoring device.
[0043] In this way, the acquisition of monitoring data of monitoring devices with abnormal configurations can be reduced, thereby reducing the possibility of acquiring invalid monitoring data.
[0044] To further improve the accuracy of verifying the target monitoring data, in some embodiments, Figure 2 As shown, the target monitoring data is verified according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data, including: Step 201, obtaining a historical monitoring data set of a historical period adjacent to the target period uploaded by a monitoring device of an upstream water flow area adjacent to the water flow area, and obtaining a future monitoring data set of a next period adjacent to the target period uploaded by a monitoring device of a downstream water flow area adjacent to the water flow area; Step 202, when the target monitoring data is abnormal, determine whether there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, and obtain the validity detection result of the target monitoring data that the target monitoring data is valid.
[0045] Considering that one of the upstream water flow area or the downstream water flow area adjacent to the water flow area may be a filtering area for purifying the water quality, or may be a flood discharge area for discharging the water, the water flow data of one of the upstream water flow area or the downstream water flow area may be different from the water flow data of the water flow area. If the upstream water flow area adjacent to the water flow area is a filtering area, the actual water quality of the upstream water flow area is abnormal, while the actual water quality of the water flow area may be normal. Therefore, if the target monitoring data is only compared with the monitoring data of a certain area in the upstream water flow area or the downstream water flow area, there is a possibility that the valid target monitoring data may be misjudged as invalid.
[0046] To this end, in some embodiments, the monitoring equipment of the upstream water flow area adjacent to the water flow area can be obtained, and the monitoring data monitored in the historical period adjacent to the target period can be used to form a historical monitoring data set. In addition, the monitoring equipment of the downstream water flow area adjacent to the water flow area can be obtained, and the monitoring data monitored in the next period adjacent to the target period can be used to form a future monitoring data set. Then the historical monitoring data set and the future monitoring data set are compared with the target monitoring data at the same time.
[0047] In the case of abnormal target monitoring data, if there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, that is, there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set, or there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the future monitoring data set, then it can be determined that the target monitoring data is credible, and the validity monitoring result of the target monitoring data is valid.
[0048] By verifying the historical monitoring data set and the future monitoring data set with the target monitoring data at the same time, when the target monitoring data is abnormal, if there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, the target monitoring data is determined to be valid, thereby reducing the possibility of misjudging the abnormal target monitoring data as invalid due to only using a single adjacent water flow area for data comparison, and improving the accuracy of the verification of the target monitoring data.
[0049] In the case of abnormal target monitoring data, if there is no abnormal monitoring data consistent with the abnormal type of the target monitoring data in both the historical monitoring data set and the future monitoring data set, that is, there is no abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set, and there is no abnormal monitoring data consistent with the abnormal type of the target monitoring data in the future monitoring data set, then it means that the water flow states monitored in the upstream and downstream areas of the water flow area are different from the target monitoring data of the water flow area. Therefore, the abnormality of the target monitoring data is most likely caused by the abnormality of the target monitoring equipment. At this time, it can be determined that the validity monitoring result of the target monitoring data is invalid, reducing the possibility of misjudgment of abnormal target monitoring data.
[0050] In some embodiments, when the target monitoring data is normal, if each monitoring data in the historical monitoring data set is normal, or each monitoring data in the future monitoring data set is normal, it can be determined that the target monitoring data is credible, and the validity monitoring result of the target monitoring data is valid.
[0051] In some embodiments, the method further comprises: When the target monitoring data is normal, it is determined that there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is invalid.
[0052] Since the water flow area and its upstream and downstream water flow areas are divided according to the direction of the water flow, if the monitoring data of the upstream and downstream water flow areas show abnormal water quality, it means that the water flow with abnormal water quality is likely to flow from the upstream water flow area of the water flow area to the downstream water flow area of the water flow area. The water flow with abnormal water quality is likely to flow through the water flow area, resulting in abnormal monitoring data uploaded by the water flow area.
[0053] Based on this, if the target monitoring data is normal, it can be detected whether there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set. If there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set, such as abnormal water quality monitoring data in the historical monitoring data set, and abnormal water quality monitoring data in the future monitoring data set, then it means that the abnormal water flow is likely to flow from the upstream water flow area of the water flow area to the downstream water flow area of the water flow area. The actual monitoring data of the water flow area during the target period is likely to be abnormal monitoring data, which is inconsistent with the monitoring data uploaded by the target monitoring device. Therefore, it can be determined that the normality of the target monitoring data is likely to be caused by the abnormality of the target monitoring device, and the validity monitoring result of the target monitoring data is invalid, thereby reducing the possibility of misjudgment of normal target monitoring data.
[0054] After obtaining the validity test result of the target monitoring data, if the validity test result is that the target monitoring data is valid, the target monitoring data is recorded to the monitoring terminal for generating the monitoring result; otherwise, an alarm message indicating that the target monitoring device is abnormal is generated.
[0055] To facilitate subsequent inspection of abnormal target monitoring devices, in some embodiments, if the validity monitoring result of the target monitoring data is invalid, an alarm message including location information can be generated based on the location information of the target monitoring device. The location information may include the coordinate information of the target monitoring device. This facilitates subsequent finding of the target monitoring device for inspection based on the location information.
[0056] The following is a description of the monitoring data recording device provided in the present application. The monitoring data recording device described below and the monitoring data recording method described above can be referenced to each other.
[0057] In one embodiment, if Figure 3 As shown, a monitoring data recording device is provided, comprising: The data acquisition module 210 is used to acquire the target monitoring data of the target period uploaded by the target monitoring device in any water flow area; A data verification module 220 is used to verify the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area, and obtain the validity detection result of the target monitoring data; A data recording module 230, configured to determine that the validity detection result indicates that the target monitoring data is valid, and record the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0058] By acquiring the target monitoring data of the target time period uploaded by the target monitoring device of any water flow area, the target monitoring data is verified according to the monitoring data set of the associated time period uploaded by the monitoring device of the associated water flow area of the water flow area, and the validity test result of the target monitoring data is obtained. When it is determined that the validity test result is that the target monitoring data is valid, the target monitoring data is recorded to the monitoring terminal, so as to utilize the associated characteristics of the water flow data in the upstream and downstream areas to verify the monitoring data uploaded by the target monitoring device of the water flow area, so as to record the data after the verification is successful, thereby reducing the recording of invalid monitoring data by the monitoring terminal and improving the credibility of the monitoring results generated by recording monitoring data.
[0059] In one embodiment, the data acquisition module 210 is specifically used for: Sending a test signal to the target monitoring device; Receiving test data fed back by the target monitoring device according to the test signal; Determine that the test data is normal, and obtain the target monitoring data of the target time period uploaded by the target monitoring device.
[0060] In one embodiment, the data acquisition module 210 is further used to: Determine that the test data is abnormal, and stop receiving the monitoring data uploaded by the target monitoring device until the received test data is normal.
[0061] In one embodiment, the data verification module 220 is specifically used for: Obtain a historical monitoring data set of a historical period adjacent to the target period uploaded by a monitoring device in an upstream water flow area adjacent to the water flow area, and obtain a future monitoring data set of a next period adjacent to the target period uploaded by a monitoring device in a downstream water flow area adjacent to the water flow area; In the case where the target monitoring data is abnormal, it is determined that there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
[0062] In one embodiment, the data verification module 220 is further used to: When the target monitoring data is normal, it is determined that each monitoring data in the historical monitoring data set is normal, or each monitoring data in the future monitoring data set is normal, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
[0063] In one embodiment, the data verification module 220 is further used to: When the target monitoring data is normal, it is determined that there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is invalid.
[0064] In one embodiment, the data recording module 230 is further configured to: Determine that the validity detection result is that the target monitoring data is invalid, and generate alarm information including the location information based on the location information of the target monitoring device.
[0065] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute a method for recording monitoring data, for example, including: Obtain the target monitoring data of the target period uploaded by the target monitoring device in any water flow area; Verifying the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data; Determining that the validity detection result is that the target monitoring data is valid, and recording the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0066] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0067] On the other hand, an embodiment of the present application further provides a storage medium, the storage medium includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the monitoring data recording method provided in the above embodiments, for example, including: Obtain the target monitoring data of the target period uploaded by the target monitoring device in any water flow area; Verifying the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data; Determining that the validity detection result is that the target monitoring data is valid, and recording the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
[0068] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0069] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for recording monitoring data, characterized in that: include: Obtain the target monitoring data of the target period uploaded by the target monitoring device in any water flow area; Verifying the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area to obtain the validity detection result of the target monitoring data; Determining that the validity detection result is that the target monitoring data is valid, and recording the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
2. The method for recording monitoring data according to claim 1, characterized in that: Obtain the target monitoring data of the target period uploaded by the target monitoring device in any water flow area, including: Sending a test signal to the target monitoring device; Receiving test data fed back by the target monitoring device according to the test signal; Determine that the test data is normal, and obtain the target monitoring data of the target time period uploaded by the target monitoring device.
3. The method for recording monitoring data according to claim 2, characterized in that: Also includes: Determine that the test data is abnormal, and stop receiving the monitoring data uploaded by the target monitoring device until the received test data is normal.
4. The method for recording monitoring data according to any one of claims 1 to 3, characterized in that: According to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area, the target monitoring data is verified to obtain the validity detection result of the target monitoring data, including: Acquire a historical monitoring data set of a historical period adjacent to the target period uploaded by a monitoring device in an upstream water flow area adjacent to the water flow area, and acquire a future monitoring data set of a next period adjacent to the target period uploaded by a monitoring device in a downstream water flow area adjacent to the water flow area; In the case where the target monitoring data is abnormal, it is determined that there is abnormal monitoring data consistent with the abnormal type of the target monitoring data in the historical monitoring data set or the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
5. The method for recording monitoring data according to claim 4, characterized in that: Also includes: When the target monitoring data is normal, it is determined that each monitoring data in the historical monitoring data set is normal, or each monitoring data in the future monitoring data set is normal, and the validity detection result of the target monitoring data is that the target monitoring data is valid.
6. The method for recording monitoring data according to claim 4, characterized in that: Also includes: When the target monitoring data is normal, it is determined that there is abnormal monitoring data with the same abnormal type between the historical monitoring data set and the future monitoring data set, and the validity detection result of the target monitoring data is that the target monitoring data is invalid.
7. The method for recording monitoring data according to any one of claims 1 to 3, 5 or 6, characterized in that: Also includes: Determine that the validity detection result is that the target monitoring data is invalid, and generate alarm information including the location information based on the location information of the target monitoring device.
8. A monitoring data recording device, characterized in that: include: A data acquisition module, used to acquire target monitoring data of a target period uploaded by a target monitoring device in any water flow area; A data verification module, used to verify the target monitoring data according to the monitoring data set of the associated time period uploaded by the monitoring equipment of the associated water flow area of the water flow area, and obtain the validity detection result of the target monitoring data; A data recording module, used to determine that the validity detection result is that the target monitoring data is valid, and record the target monitoring data to a monitoring terminal; Wherein, the associated water flow area is at least one of an upstream water flow area or a downstream water flow area adjacent to the water flow area; The associated time period is a time period adjacent to the target time period.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method for recording monitoring data according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for recording monitoring data according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Abnormal data processing method and device and monitoring system
CN105574624A
NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof
CN113155222A
Water quality anomaly monitoring method and device, storage medium and computer equipment
CN114022052A
Water quality monitoring method and system
CN114280256A
Water quality monitoring method and equipment
CN114817851A
Cited By
Reservoir monitoring data synchronization method and device
CN119342063A
