Geological disaster monitoring equipment data missing detection method, device, equipment and medium

By processing and analyzing the monitoring data of geological disaster monitoring equipment, and judging the changes in the upload cycle after the added data is eliminated, the data missing detection problem in the absence of information in the equipment is solved, and the equipment status is quickly identified.

CN120238468APending Publication Date: 2025-07-01AEROSPACE SCI & IND INERTIA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311833293.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

It is difficult for the prior art to judge data missing information based solely on monitoring data sent by geological disaster monitoring equipment, especially when the equipment lacks information about the upper cycle, upper time points and data type.

Method used

By obtaining all monitoring data of geological disaster monitoring equipment, removing the added data, sorting it according to the upload time, forming a monitoring data set, determining whether the upload period changes, and detecting the missing data based on the change results.

Benefits of technology

It realizes the detection of missing data information of geological disaster monitoring equipment based solely on monitoring data, helping operation and maintenance personnel to quickly identify problem equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238468A_ABST
    Figure CN120238468A_ABST
Patent Text Reader

Abstract

The invention provides a geological disaster monitoring equipment data missing detection method and device, equipment and a medium, and the method comprises the steps: obtaining all monitoring data uploaded by geological disaster monitoring equipment on the current day, and enabling the monitoring data uploaded on the current day after the report data is removed to form a first monitoring data set according to the uploading time from near to far; judging whether the uploading period of the geological disaster monitoring equipment in the current day is changed or not according to the first monitoring data set; and detecting missing information of the monitoring data of the geological disaster monitoring equipment on the current day according to the judgment result. According to the method provided by the invention, whether the uploading period of the geological disaster monitoring equipment on the current day is changed or not is judged by removing the monitoring data uploaded on the current day after the data is reported, and then the missing information of the monitoring data of the geological disaster monitoring equipment on the current day is detected according to the judgment result; the data missing information is detected only based on the monitoring data sent by the geological disaster monitoring equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data analysis technology, and in particular to a method, device, equipment, and medium for detecting missing data of geological disaster monitoring equipment. Background Art

[0002] Geological disaster devices are installed in the wild and send various types of data, such as periodic data, additional report data, restart data, etc. The characteristics of these data in terms of time are as follows.

[0003] Most of the data sent by geological disaster devices is periodic data. Periodic data has a specific upload time and upload period. After setting the upload time and upload period, the device will upload data at a fixed time point every day. Generally, the upload period of the device is a positive hour or half an hour, and the longest does not exceed 12 hours. For some special test devices, the data period can be as small as 15 minutes at the minimum, but there will be no situation where the period is less than 15 minutes. The characteristic of periodic data is that it has a fixed period longer than 15 minutes, and the duration of periodic data is the survival time of the device.

[0004] Geological disaster devices also send additional report data. When the detection object of the geological disaster monitoring device changes, or the surrounding environment triggers the monitoring device (such as rain), in order to monitor the changes in more detail, the geological disaster monitoring device will send data intensively at a very small time interval. This kind of data is additional report data. The time interval of additional report data is about 1 minute, and the duration varies greatly. Some may last for 4 or 5 minutes, and some may last for one or two days.

[0005] Geological disaster devices send restart data. After the device restarts, it will send a set of data, and this set of data is restart data. The restart time of geological disaster devices is generally uncertain. It may be restarted by on-site maintenance personnel, or it may be a self-set restart of the device. The characteristic of this kind of data is that the upload time point is a random and uncertain single set of data, and there is no fixed time interval with the data before and after.

[0006] In addition, the data collection time of geological disaster monitoring is also related to other factors. First, the upload time of the geological disaster device is related to the device's own situation. When the device's battery runs out or the signal is poor, no data is sent or the sent data is not completely sent to the platform, then data will be missing. Second, the upload time of the geological disaster device is related to the adjustment of the operation and maintenance personnel. During actual detection, the operation and maintenance personnel may adjust the upload time and upload period of the device according to the device's own situation or actual needs, which will affect the determination of the upload time of geological disaster monitoring data. Usually, changing the upload time and period information is an occasional event and not frequent, and there is no situation where the upload time and upload period are changed twice on the same day.

[0007] Determining data loss can effectively judge the status of equipment and help operation and maintenance personnel find problem equipment. However, determining the data upload time point of geological disaster prevention equipment requires knowledge of many equipment information, such as the upload cycle, upload time point, whether the data belongs to additional report data or periodic data, etc. However, there is no such information for some equipment. How to statistically obtain the data loss information of geological disaster prevention equipment only based on the monitoring data sent by the provided equipment has become an urgent problem to be solved. Summary of the Invention

[0008] To solve one of the above technical defects, the present application provides a method, device, equipment, and medium for detecting data loss of geological disaster monitoring equipment.

[0009] In the first aspect of the present application, a method for detecting data loss of geological disaster monitoring equipment is provided. The method includes:

[0010] Obtain all the monitoring data uploaded by the geological disaster monitoring equipment on the current day, and form a first monitoring data set by arranging the monitoring data uploaded on the current day after excluding additional report data in descending order of upload time from near to far;

[0011] Judge whether the upload cycle of the geological disaster monitoring equipment has changed on the current day according to the first monitoring data set;

[0012] Detect the data loss information of the geological disaster monitoring equipment on the current day according to the judgment result.

[0013] In the second aspect of the present application, a device for detecting data loss of geological disaster monitoring equipment is provided. The device includes:

[0014] A processing module, configured to obtain all the monitoring data uploaded by the geological disaster monitoring equipment on the current day, and form a first monitoring data set by arranging the monitoring data uploaded on the current day after excluding additional report data in descending order of upload time from near to far;

[0015] A judgment module, configured to judge whether the upload cycle of the geological disaster monitoring equipment has changed on the current day according to the first monitoring data set obtained by the processing module;

[0016] A detection module, configured to detect the data loss information of the geological disaster monitoring equipment on the current day according to the judgment result of the judgment module.

[0017] In the third aspect of the present application, an electronic device is provided, including:

[0018] A memory;

[0019] A processor; and

[0020] A computer program;

[0021] Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the method described in the first aspect above.

[0022] In the fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the method described in the first aspect above.

[0023] The present application provides a method, apparatus, device, and medium for detecting data loss of a geological disaster monitoring device. The method includes: obtaining all the monitoring data uploaded by the geological disaster monitoring device on the current day, and forming a first monitoring data set by arranging the monitoring data uploaded on the current day after excluding additional reported data in descending order of upload time; determining whether the upload cycle of the geological disaster monitoring device on the current day has changed according to the first monitoring data set; and detecting the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the determination result. The method provided by the present application determines whether the upload cycle of the geological disaster monitoring device on the current day has changed by using the monitoring data uploaded on the current day after excluding additional reported data, and then detects the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the determination result, realizing the detection of data loss information only based on the monitoring data sent by the geological disaster monitoring device. Description of the Drawings

[0024] The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The illustrative embodiments and descriptions thereof of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0025] Figure 1 is a schematic flowchart of a method for detecting data loss of a geological disaster monitoring device provided by an embodiment of the present application;

[0026] Figure 2 is a block diagram of a system for implementing a method for detecting data loss of a geological disaster monitoring device provided by an embodiment of the present application;

[0027] Figure 3 is a schematic structural diagram of a device for detecting data loss of a geological disaster monitoring device provided by an embodiment of the present application. Detailed Embodiments

[0028] In order to make the technical solutions and advantages in the embodiments of the present application clearer and more understandable, the following further describes the exemplary embodiments of the present application in detail with reference to the drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than an exhaustive list of all embodiments. It should be noted that, without conflict, the embodiments and features in the embodiments of the present application can be combined with each other.

[0029] In the process of implementing this application, the inventor found that determining data loss can effectively judge the status of the device and help the operation and maintenance personnel find the faulty devices. However, determining the data upload time point of the geological disaster prevention devices requires mastering a lot of device information, such as the upload cycle, the upload time point, whether the data is additional report data or periodic data, and so on. However, there are some devices that do not have such information. How to statistically obtain the data loss information of the geological disaster prevention devices only based on the monitoring data sent by the provided devices has become an urgent problem to be solved.

[0030] In view of the above problems, an embodiment of this application provides a method, device, equipment, and medium for detecting data loss of geological disaster monitoring devices. The method includes: obtaining all the monitoring data uploaded by the geological disaster monitoring devices on the current day, and forming a first monitoring data set by arranging the monitoring data uploaded on the current day after excluding the additional report data in descending order of upload time; judging whether the upload cycle of the geological disaster monitoring devices on the current day has changed according to the first monitoring data set; and detecting the data loss information of the monitoring data of the geological disaster monitoring devices on the current day according to the judgment result. The method provided by this application judges whether the upload cycle of the geological disaster monitoring devices on the current day has changed through the monitoring data uploaded on the current day after excluding the additional report data, and then detects the data loss information of the monitoring data of the geological disaster monitoring devices on the current day according to the judgment result, realizing the detection of data loss information only based on the monitoring data sent by the geological disaster monitoring devices.

[0031] See Figure 1 , this embodiment provides a method for detecting data loss of geological disaster monitoring devices. The implementation details of the method are as follows:

[0032] 101. Obtain all the monitoring data uploaded by the geological disaster monitoring devices on the current day, and form a first monitoring data set by arranging the monitoring data uploaded on the current day after excluding the additional report data in descending order of upload time.

[0033] The first monitoring data set is all the non-additional report data uploaded by the geological disaster monitoring devices on the day when the method provided by this embodiment is executed for data loss detection.

[0034] 102. Judge whether the upload cycle of the geological disaster monitoring devices on the current day has changed according to the first monitoring data set.

[0035] This step is actually a cycle judgment process for judging whether the upload cycle on the current day has changed. The specific implementation process is as follows:

[0036] 102-1. Exclude the target data in D1 to form a second monitoring data set D2.

[0037] Among them, D1 is the first monitoring data set, the upload time of the target data is within [t0, t0-α0], t0 is the most recent upload time in D1, and α0 is a preset time interval.

[0038] For example, α0 = 2 minutes.

[0039] Taking α0 = 2 minutes as an example, in step 102-1, among all the non-supplementary report data uploaded on the same day, the monitoring data uploaded in the most recent 2 minutes will be removed to obtain the second monitoring data set D2. That is to say, D1 contains D2, and D1∩D2 = D2.

[0040] After step 102-1 is executed, different methods will be used to determine whether the upload cycle of the geological disaster monitoring device has changed on the current day according to whether the second monitoring data set D2 meets the preset conditions.

[0041] Among them, the preset condition is that the upload duration involved in the second monitoring data is less than the preset duration (for example, the preset duration is 360 minutes, that is, 6 hours), or the preset condition is that the number of the second monitoring data is less than the preset number (for example, the preset number is 5).

[0042] Taking the preset duration of 6 hours and the preset number of 5 as an example, if the upload time lengths involved in all elements of the second monitoring data set D2 (the elements of which are all non-supplementary report data uploaded on the current day, excluding the monitoring data uploaded in the most recent 2 minutes) are less than 6 hours, or the total number of elements in D2 is less than 5, then it is considered that the monitoring data in D2 meets the preset conditions, and step 102-2 is used to determine whether the upload cycle of the geological disaster monitoring device has changed on the current day. If the upload time lengths involved in all elements of the second monitoring data set D2 are greater than or equal to 6 hours, and the total number of elements in D2 is greater than or equal to 5, then it is considered that the monitoring data in D2 does not meet the preset conditions, and step 102-3 is used to determine whether the upload cycle of the geological disaster monitoring device has changed on the current day.

[0043] 102-2, if the monitoring data in D2 meets the preset conditions, then:

[0044] When there is monitoring data uploaded on the most recent day for the geological disaster monitoring device, it is determined that the upload cycle of the geological disaster monitoring device has not changed on the current day.

[0045] When there is no monitoring data uploaded on the most recent day for the geological disaster monitoring device, it is determined that the upload cycle of the geological disaster monitoring device has changed on the current day.

[0046] The nearest date here is the previous monitoring data upload date of the current date, that is, the date of the most recent upload before the current date. For example, if the geological disaster monitoring equipment uploads detection data every day, then if the current date is December 10, 2023, the nearest date is December 9, 2023. For example, if the geological disaster monitoring equipment uploads detection data every other day, then if the current date is December 10, 2023, the nearest date is December 8, 2023.

[0047] 102-3, if the monitoring data in D2 does not meet the preset conditions, then select the preset number of the most recently uploaded monitoring data from D1 to form the fourth monitoring data set D4, and determine whether the upload cycle of the geological disaster monitoring equipment has changed on the current date according to D4.

[0048] For example, the preset number is 5.

[0049] For example, select the 5 most recently uploaded monitoring data from D1 to form the fourth monitoring data set D4, and determine whether the upload cycle of the geological disaster monitoring equipment has changed on the current date according to D4.

[0050] That is to say, there are only 5 elements in D4, which are the 5 most recently uploaded elements in D1. That is, D1 contains D4, and D1 ∩ D4 = D4.

[0051] In step 102-3, it will be determined whether the upload cycle of the geological disaster monitoring equipment has changed on the current date according to D4. When specifically determining, it will be based on a historical upload cycle cycle T and D4 to determine whether the upload cycle of the geological disaster monitoring equipment has changed on the current date. The cycle here T is calculated before determining whether the upload cycle of the geological disaster monitoring equipment has changed according to D4. The calculation process is as follows: Obtain the monitoring data uploaded on the nearest date, and form the third monitoring data set D3 by arranging the monitoring data uploaded on the nearest date after excluding the additional reported data in descending order of upload time. Determine the historical upload cycle cycle T .

[0052] It should be noted that in this embodiment and subsequent embodiments, if there is no special description or calculation, D3 is the set formed by arranging the monitoring data uploaded on the nearest date in descending order of upload time after excluding the additional reported data.

[0053] Specifically, the process of determining whether the upload cycle of the geological disaster monitoring equipment has changed according to a historical upload cycle cycle T and D4 is as follows through steps 201 to 204:

[0054] 201. Select the first element in D4 as the current first processed data d1.

[0055] 202. Determine the next element of d1 in D1 and use it as the second processed data d2.

[0056] 203. Determine the first upload time difference Δt1 between d1 and d2.

[0057] 204. If Δt1 = cycle T , then determine that the upload cycle of the geological disaster monitoring device has not changed on the current day.

[0058] If Δt1 ≠ cycle T , then when d1 is not the last element in D4, update d1 to the next element of d1 in D4, and repeat steps 202 to 204. When d1 is the last element in D4, determine that the upload cycle of the geological disaster monitoring device has changed on the current day.

[0059] The process of steps 201 to 204 is actually a loop calculation process. For each element in D4, such as the i4th element in D4 (i.e., the i4th element of the most recently uploaded data), this element is d1. Calculate the upload time difference between d1 and its previously uploaded monitoring data (since D1 stores all the monitoring data uploaded on the current day, and the monitoring data in D1 is sorted in ascending order of upload time from recent to distant, so the later the element, the earlier its upload time. Therefore, find the position of d1 in D1, and the element after this position is its previously uploaded monitoring data, that is, d2). If this time difference is the same as cycle T , it is considered that the cycle has not changed, that is, determine that the upload cycle of the geological disaster monitoring device has not changed on the current day. Because, cycle T is determined according to D3, representing the upload cycle of all the data in D3. Here, D3 is composed of the monitoring data after excluding the additional reported data uploaded on the most recent day. Therefore, cycle T here is the upload cycle of the most recent day. If this time difference is the same as cycle T , it means that the upload cycle of the current day is the same as that of the previous upload day, so the upload cycle of the current day has not changed. If this time difference is not the same as cycle T , then calculate the upload time difference between the (i4 + 1)th element in D4 and its previously uploaded monitoring data, and then determine whether this time difference is the same as cycle T . As long as there is an element in D4, the upload time difference between this element and its previously uploaded monitoring data and cycle Tare the same, it can be considered that the upload cycle of the geological disaster monitoring device has not changed on the current day. If the time differences between all elements in D4 and the upload times of the monitoring data uploaded in the previous time are all different from cycle T it indicates that the upload cycle on the current day has changed, that is, it is determined that the upload cycle of the geological disaster monitoring device has changed on the current day.

[0060] where i4 is the element identifier in D4.

[0061] In addition, after determining whether the upload cycle of the geological disaster monitoring device has changed on the current day in step 102, the upload cycle of the geological disaster monitoring device on the current day will also be determined

[0062] In step 102, it is determined whether the upload cycle of the geological disaster monitoring device has changed on the current day based on whether the monitoring data in D2 meets the preset conditions. Similarly, the implementation process of determining also varies depending on whether the monitoring data in D2 meets the preset conditions.

[0063] If in step 2, it is determined through 102-2 that the upload cycle of the geological disaster monitoring device has not changed on the current day when the monitoring data in D2 meets the preset conditions. That is to say, if the monitoring data in D2 meets the preset conditions and there is monitoring data uploaded on the nearest day for the geological disaster monitoring device, it will be determined that the upload cycle of the geological disaster monitoring device has not changed on the current day. Then, in this case, the monitoring data in D2 meets the preset conditions and the upload cycle of the geological disaster monitoring device has not changed on the current day. At this time, the monitoring data uploaded on the nearest day will be obtained, and the monitoring data uploaded on the nearest day after excluding the additional reported data will be arranged in descending order of upload time to form the third monitoring data set D3, and the historical upload cycle cycle T will be determined based on the current D3, and

[0064] because, cycle T is determined based on D3 and represents the upload cycle of all data in D3. Here, D3 is composed of the monitoring data uploaded on the nearest day after excluding the additional reported data. Therefore, cycle T here is the upload cycle on the nearest day. If the upload cycle on the current day has not changed, it means that the upload cycle on the current day is the same as the upload cycle on the nearest day, that is

[0065] If in step 2, it is determined that the upload cycle of the geological disaster monitoring device on the current day has changed when the monitoring data in 102-2, i.e., D2, meets the preset conditions. That is to say, if the monitoring data in D2 meets the preset conditions and there is no monitoring data uploaded on the most recent day for the geological disaster monitoring device, it will be determined that the upload cycle of the geological disaster monitoring device has changed on the current day. Then, in such a case, although the monitoring data in D2 meets the preset conditions, the upload cycle of the geological disaster monitoring device has changed on the current day. At this time, it can be determined as the default cycle (for example, the default cycle is 60 minutes, i.e., 1 hour), or calculate D3 = D1, and determine the historical upload cycle cycle according to the current D3 T , and determine

[0066] Because, cycle T is determined according to D3, representing the upload cycle of all data in D3. Here, D3 = D1, and D1 is composed of the monitoring data uploaded on the current day after excluding additional reports. Therefore, cycle here T is the upload cycle on the current day. The change in the upload cycle on the current day indicates that the upload cycle on the current day is different from the upload cycle on the most recent day. Also, because in this case, there is no monitoring data uploaded on the most recent day for the geological disaster monitoring device, it can only be obtained through the cycle on the current day i.e.,

[0067] If in step 2, it is determined that the upload cycle of the geological disaster monitoring device on the current day has not changed according to D4 when the monitoring data in 102-3, i.e., D2, does not meet the preset conditions. That is to say, if the monitoring data in D2 does not meet the preset conditions but the upload cycle of the geological disaster monitoring device has not changed on the current day, it will be determined

[0068] where cycle T is calculated before determining whether the upload cycle of the geological disaster monitoring device on the current day has changed according to D4. The calculation process is as follows: Obtain the monitoring data uploaded on the most recent day, and form the third monitoring data set D3 by arranging the monitoring data uploaded on the most recent day after excluding additional reports in descending order of upload time. Determine the historical upload cycle cycle according to the current D3 T .

[0069] Because, cycle T is determined according to D3, representing the upload cycle of all data in D3. Here, D3 is composed of the monitoring data uploaded on the most recent day after excluding additional reports. Therefore, cycle hereT is the upload cycle of the most recent day. If the upload cycle of the current day remains unchanged, it indicates that the upload cycle of the current day is the same as that of the most recent day, that is

[0070] In step 2, if it is through 102-3, that is, the monitoring data in D2 does not meet the preset conditions, it is determined according to D4 whether the upload cycle of the geological disaster monitoring device changes on the current day. That is to say, if the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device changes on the current day, D3 = D3 ∪ D1 will be calculated, and the historical upload cycle cycle will be determined according to the current D3 T , determine

[0071] D3 is initially composed of the monitoring data uploaded on the most recent day, and the monitoring data uploaded on the most recent day after excluding the additional reported data is formed in the order from the nearest to the farthest upload time. After D3 = D3 ∪ D1 is performed here, D3 becomes composed of the monitoring data uploaded on the current day and the most recent day, and the monitoring data uploaded on the most recent day after excluding the additional reported data is formed in the order from the nearest to the farthest upload time.

[0072] Because, cycle T is determined according to D3, representing the upload cycle of all data in D3. Here, D3 = D3 ∪ D1 is composed of the monitoring data uploaded on the current day and the most recent day after excluding the additional reported data. Therefore, the cycle T here is a combined upload cycle of the current day and the most recent day. If the upload cycle of the current day changes, it means that the upload cycle of the current day is different from that of the most recent day. Therefore, in this case, a quasi-cycle will be calculated by combining the current day and the most recent day, that is

[0073] In the above step 102 and the determination during the execution process, there are multiple processes of determining the historical upload cycle cycle according to the current D3 T , for example: when determining whether the upload cycle of the geological disaster monitoring device changes on the current day according to D4, the historical upload cycle cycle will be determined according to the current D3 T . For another example, when the monitoring data in D2 meets the preset conditions and the upload cycle of the geological disaster monitoring device does not change on the current day, during the determination process, the historical upload cycle cycle will be determined according to the current D3 T . For another example, when the monitoring data in D2 meets the preset conditions, but the upload cycle of the geological disaster monitoring device changes on the current day, it may also determine the historical upload cycle cycle according to the current D3 T。For another example, when the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device does not change on the current day, the historical upload cycle cycle will be determined according to the current D3 T 。For another example, when the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device changes on the current day, the historical upload cycle cycle will be determined according to the current D3 T 。

[0074] The implementation principles of each process are the same, and the only difference lies in what the elements in D3 are. For example, when judging whether the upload cycle of the geological disaster monitoring device changes on the current day according to D4, D3 is the monitoring data uploaded on the most recent day, and is formed by arranging the monitoring data uploaded on the most recent day after excluding the additional report data in descending order of upload time. That is to say, D3 here is the monitoring data of the non-additional report data uploaded on the previous upload day. For another example, when the monitoring data in D2 meets the preset conditions and the upload cycle of the geological disaster monitoring device does not change on the current day, according to the determination During the process, D3 is the monitoring data uploaded on the most recent day, and is formed by arranging the monitoring data uploaded on the most recent day after excluding the additional report data in descending order of upload time. That is to say, D3 here is the monitoring data of the non-additional report data uploaded on the previous upload day. For another example, when the monitoring data in D2 meets the preset conditions but the upload cycle of the geological disaster monitoring device changes on the current day, D3 = D1, that is, D3 is the first monitoring data set obtained in step 101. For another example, when the monitoring data in D2 does not meet the preset conditions but the upload cycle of the geological disaster monitoring device does not change on the current day, D3 is the set formed by the monitoring data uploaded on the most recent day and arranging the monitoring data uploaded on the most recent day after excluding the additional report data in descending order of upload time. That is to say, D3 here is the monitoring data of the non-additional report data uploaded on the previous upload day. For another example, when the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device changes on the current day, D3 = D3 ∪ D1, that is, D3 here is the monitoring data of the non-additional report data uploaded on the current day and the previous upload day

[0075] Regardless of what elements are included in D3, after the elements of the D3 set are determined, the historical upload cycle cycle is determined based on D3 T The process is the same, that is, it is implemented using the same cycle calculation scheme, and cycle T is also a cycle obtained for all elements in the current D2, and only represents calculating the cycle of all elements in D2 for this cycle T The cycle calculation scheme is as follows:

[0076] 1. Obtain multiple alternative periods.

[0077] Since most of the data sent by geological disaster devices is periodic data. Periodic data has specific uploading times and uploading periods. After setting the uploading time and uploading period, the device will upload data at fixed time points every day. Generally, the uploading period of the device is a positive hour or half an hour, and the longest does not exceed 12 hours. For some special test device data, the period can be as small as 15 minutes at minimum, but there will be no situation where the period is less than 15 minutes. The characteristic of periodic data is that it has data with a fixed period longer than 15 minutes, and the duration of periodic data is the survival time of the device. Therefore, the alternative periods can be: 15 minutes, 60 minutes, 120 minutes, 180 minutes, 240 minutes, 360 minutes, 480 minutes, 720 minutes. That is, the alternative periods are: 15 minutes, 1 hour, 2 hours, 3 hours, 4 hours, 6 hours, 8 hours, 12 hours.

[0078] 2. Initialize the occurrence times for each alternative period.

[0079] Among them, the initial value of the occurrence times is 0.

[0080] For example, for the k-th alternative period, its occurrence times count k = 0.

[0081] 3. Adjust the occurrence times of each alternative period according to the uploading moments of each element in the current D3 to obtain the final occurrence times.

[0082] Specifically, the final occurrence times are obtained through the following steps 301 to 305.

[0083] 301. Select the first element in D3 as the third processed data d3.

[0084] 302. If d3 is not the last element in D3, determine the next element after d3 in D3 and use it as the fourth processed data d4. If d3 is the last element in D3, determine the first element in D3 and use it as the fourth processed data d4.

[0085] 303. Determine the second uploading time difference Δt2 between d3 and d4.

[0086] 304. Execute the following steps S1-1 and S1-2:

[0087] S1-1. If there is an alternative period that is the same as Δt2, execute the following steps S1-1-1 and S1-1-2:

[0088] S1-1-1. Increment the occurrence times of this same alternative period by 1.

[0089] S1-1-2, if d3 is not the last element in D3, then update d3 to the next element of d3 in D3, and repeat steps 302 to 304. If d3 is the last element in D3, then execute step 305.

[0090] S1-2, if there is no alternative period identical to Δt2, then execute the following steps S1-2-1 and S1-2-2:

[0091] S1-2-1, if d4 is not the last element in D3 and at the same time d4 is not the first element in D3, then update d4 to the next element of d4 in D3, and repeat steps 303 and 304.

[0092] S1-2-2, if d4 is the last element in D3 or d4 is the first element in D3, then execute the following steps S1-2-2-1 and S1-2-2-2:

[0093] S1-2-2-1, if d3 is not the last element in D3, then update d3 to the next element of d3 in D3, and repeat steps 302 and 304.

[0094] S1-2-2-2, if d3 is the last element in D3, then execute step 305.

[0095] 305, determine the current value of the occurrence times of each alternative period as the final occurrence times.

[0096] The process of obtaining the final occurrence times in the above steps 301 to 305 is actually a loop process, traversing each element in D3. If the currently traversed element is the i3-th element in D3, which is d3, then the upload time difference between d3 and the (i3 + 1)-th element will be calculated. If this time difference is identical to an alternative period (such as identical to the k-th alternative period), then count k = count k+1. Meanwhile, the i3-th and (i3 + 1)-th elements in D3 can also be marked as periodic data, then the processing of the i3-th element is ended, and then a new round of processing of the (i3 + 1)-th element is carried out. If this time difference is different from all alternative periods, then calculate the upload time difference between d3 and the (i3 + 2)-th element, and process it according to whether this time difference is the same as a certain alternative period. If, when reaching the last element of D3, its upload time difference is not the same as all alternative periods, then the processing of the i3-th element is ended, and then a new round of processing of the (i3 + 1)-th element is carried out. That is to say, this loop process will determine the upload time difference between each element in D3 and each previously uploaded monitoring data (that is, each element after it in D3, because the monitoring data in D3 is sorted in ascending order according to the upload time, so the later the element, the earlier its upload time). If there is an alternative period with the same upload time difference, the processing of this element will stop, and the occurrence times of the same alternative period will be incremented by 1. If the upload time differences with all previous monitoring data are different from the alternative periods, then the processing of this element stops, and the processing of the next element is carried out. After all elements in D3 are cyclically calculated, the final occurrence times of each alternative period can be obtained.

[0097] Among them, i3 is the element identifier in D3.

[0098] 4. If the final occurrence times of all alternative periods are all 0, then determine cycle T cannot be calculated. At this time, cycle T can be determined as the default period (for example, the default period is 60 minutes, that is, 1 hour). Otherwise, determine cycle T as the maximum value of the final occurrence times of all alternative periods.

[0099] At this time, cycle T is the period for all data in D3.

[0100] 103. According to the judgment result, detect the missing information of the monitoring data of the geological disaster monitoring equipment on the current day.

[0101] Among them, the missing information includes the number of missing data, the time points of missing data, and the actual number of periodic data.

[0102] Specifically, detect the missing information of the monitoring data of the geological disaster monitoring equipment on the current day through steps 401 to 408.

[0103] 401. If there is monitoring data uploaded on the most recent day by the geological disaster monitoring device, determine the initial monitoring data set D0 = D3 ∪ D1, and label the target element in D0 as periodic data. If there is no monitoring data uploaded on the most recent day by the geological disaster monitoring device, then determine the initial monitoring data set D0 = D1; where the target element is the element in D0 corresponding to the first element of D3.

[0104] That is to say, if there is monitoring data uploaded on the most recent day, then the initial monitoring data set D0 is jointly composed of D3 and D1, where D3 is the monitoring data uploaded on the most recent day, and D3 is the set formed by the monitoring data uploaded on the most recent day after excluding the additional reported data arranged from the most recent upload time to the farthest. D1 is the monitoring data uploaded on the current day, and D1 is the set formed by the monitoring data uploaded on the most recent day after excluding the additional reported data arranged from the most recent upload time to the farthest. That is to say, D0 is the monitoring data after excluding the additional reported data uploaded on the current day and the most recent day. At the same time, the last uploaded monitoring data (i.e., the target element) in D0 will be labeled as periodic data. If there is no monitoring data uploaded on the most recent day, then the initial monitoring data set D0 is only D1, that is to say, D0 is the monitoring data after excluding the additional reported data uploaded on the current day, and no periodic data is labeled in this case.

[0105] 402. Select an element in D0 in sequence, calculate the fourth upload time difference between the selected element and the element after it. When the fourth upload time difference changes for the first time, if the change is a decrease, then arrange the elements in D0 in ascending order of upload time, and determine the arranged set as the fifth monitoring data set D5. If the change is an increase, then determine the current D0 as the fifth monitoring data set D5.

[0106] Because the elements in D5 are default sorted in descending order of upload time, the later the element, the earlier the upload time. When the fourth upload time difference changes for the first time, if the change is a decrease, it means that the reporting period is small at first and then becomes larger. Then arrange the elements in D0 in ascending order of upload time, and determine the arranged set as the fifth monitoring data set D5, so that the reporting period of D5 is from large to small. Therefore, through step 402, it can be ensured that the upload periods of the subsequent elements in D5 are from large to small, or the upload periods remain unchanged.

[0107] 403. Select the first element in D5 as the fifth processed data d5.

[0108] 404. If d5 is not the last element in D5, then determine the element after d5 in D5 and use it as the sixth processed data d6. If d5 is the last element in D5, then determine the first element in D5 and use it as the sixth processed data d6.

[0109] 405. Determine the third upload time difference Δt3 between d5 and d6.

[0110] 406. Calculate the multiple value of d5 where i is the identifier of d5 in D5.

[0111] 407. Execute the following steps S2-1 and S2-2:

[0112] S2-1. If q i is an integer, then execute the following steps S2-1-1 to S2-1-4:

[0113] S2-1-1. Label d5 and d6 as periodic data.

[0114] S2-1-2. Determine the missing value loss of d5 i = q i - 1.

[0115] S2-1-3. Determine the missing data time of d5 according to the judgment result.

[0116] For example, if the judgment result is that the upload cycle of the geological disaster monitoring device has not changed on the current day, then determine the missing data time of d5 as where t i is the upload time of d5, 0 < p i < q i .

[0117] If the judgment result is that the upload cycle of the geological disaster monitoring device has changed on the current day, then

[0118] 1) Determine the cycle change time t change , the cycle before change cycle l and the cycle after change cycle s .

[0119] Select an element in D5 in sequence, calculate the fifth upload time difference between the selected element and the next element, and determine the upload time of the next element when the fifth upload time difference changes for the first time as t change , and determine the time difference before the change as cycle s , and determine the time difference after the change as cycle l .

[0120] 2) Determine the missing data time of d5 as

[0121] where, if t i < t change , if t i≥t change ,

[0122] S2-1-4. If d5 is not the last element in D5, update d5 to the next element of d5 in D5, and repeat steps 404 to 407. If d5 is the last element in D5, execute step 408.

[0123] S2-2. If q i is not an integer, execute the following steps S2-2-1 and S2-2-2:

[0124] S2-2-1. If d6 is not the last element in D5 and d6 is not the first element in D5, update d6 to the next element of d6 in D5, and repeat steps 405 to 407.

[0125] S2-2-2. If d6 is the last element in D5 or d6 is the first element in D5, execute the following steps S2-2-2-1 and S2-2-2-2:

[0126] S2-2-2-1. If d5 is not the last element in D5, update d5 to the next element of d5 in D5, and repeat steps 404 to 407.

[0127] S2-2-2-2. If d5 is the last element in D5, execute step 408.

[0128] Steps 403 to 408 are a loop process, starting from the first element in D5 for loop calculation. If the currently selected is the i-th element in D5, which is d5. Calculate the upload time difference Δt3 between d5 and the (i + 1)-th element (i.e., d6). If this time difference is exactly an integer multiple of the upload period of the current day (i.e., q i is an integer, ), then label d5 and d6 as periodic data, determine the missing value loss i = q i - 1. If the upload period of the current day has not changed, determine the missing data time of d5 as If the upload period of the current day has changed, the missing data time of d5 is The upload time difference Δt3 between d5 and d6. If this time difference is not an integer multiple of the upload period of the current day (i.e., q i is a non-integer, ) Then, calculate the upload time difference Δt3 between d5 and the (i + 2)-th element (i.e., d6), and perform subsequent steps until there is an upload time difference of d6 that is exactly an integer multiple of the upload cycle of the current day to obtain the periodic data, missing values, and missing data times. If there is still no upload time difference of d6 that is exactly an integer multiple of the upload cycle of the current day until the last element of D5 then stop processing the i-th element and start processing the (i + 1)-th element until all elements in D5 are processed.

[0129] 408. Detect that the number of missing data in the monitoring data of the geological disaster monitoring device on the current day is ∑ i loss i , the missing data time points are the missing data times of all elements in D5, and the actual number of periodic data is the total number of data marked as periodic data in D5.

[0130] If the system composition for implementing the method of this embodiment is as Figure 2 shown, including a monitoring data database, a data missing calculation module, and a data missing storage database, the data uploaded by the geological disaster monitoring device will be stored in the monitoring data database. The data missing calculation module executes the method provided in this embodiment to detect data missing, and stores the finally obtained missing information in the data missing storage database.

[0131] The method provided in this embodiment calculates the information related to the data missing information on the current day through the monitoring data of two days (i.e., the current day and the nearest day). If it is determined that the cycle on the current day has changed, the data missing information is obtained. The reason is that usually, after changing the upload cycle, it is necessary to send a full day's data before it can be clearly seen that the upload time has changed. Therefore, when calculating the data on the current day, it is assumed that the data for the entire day is uploaded according to the same cycle.

[0132] This embodiment provides a method for detecting data missing in a geological disaster monitoring device, which obtains all the monitoring data uploaded by the geological disaster monitoring device on the current day, and forms a first monitoring data set by arranging the monitoring data uploaded on the current day after removing the additional reported data in descending order of upload time from near to far; determines whether the upload cycle of the geological disaster monitoring device on the current day has changed according to the first monitoring data set; and detects the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the judgment result. The method provided in this embodiment determines whether the upload cycle of the geological disaster monitoring device on the current day has changed through the monitoring data uploaded on the current day after removing the additional reported data, and then detects the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the judgment result, realizing the detection of data missing information only based on the monitoring data sent by the geological disaster monitoring device.

[0133] Based on the same inventive concept of the method for detecting missing data of geological disaster monitoring equipment, this embodiment provides a device for detecting missing data of geological disaster monitoring equipment, see Figure 3 , the device comprises:

[0134] The processing module 301 is used to obtain all monitoring data uploaded by the geological disaster monitoring equipment on the current day, and to sort the monitoring data uploaded on the current day after removing the additional reporting data according to the upload time from recent to far, to form a first monitoring data set.

[0135] The judgment module 302 is used to judge whether the upload cycle of the geological disaster monitoring equipment on the current day has changed based on the first monitoring data set obtained by the processing module 301.

[0136] The detection module 303 is used to detect missing information of the monitoring data of the geological disaster monitoring equipment on the current day based on the judgment result of the judgment module 302.

[0137] The judgment module 302 is used to remove the target data in D1 to form a second monitoring data set D2. D1 is the first monitoring data set, the upload time of the target data is within [t0, t0-α0], t0 is the most recent upload time in D1, and α0 is a preset time interval.

[0138] If the monitoring data in D2 meets the preset conditions, when the geological disaster monitoring device has monitoring data uploaded on the most recent day, it is judged that the upload cycle of the geological disaster monitoring device on the current day has not changed. When the geological disaster monitoring device does not have monitoring data uploaded on the most recent day, it is judged that the upload cycle of the geological disaster monitoring device on the current day has changed. The most recent day is the day on which the monitoring data was uploaded before the current day.

[0139] If the monitoring data in D2 does not meet the preset conditions, a preset number of monitoring data that have been uploaded most recently are selected from D1 to form a fourth monitoring data set D4, and it is determined based on D4 whether the upload cycle of the geological disaster monitoring equipment on the current day has changed.

[0140] The device further includes: a first processing module for acquiring the monitoring data uploaded on the most recent day, and arranging the monitoring data uploaded on the most recent day after removing the additional reported data according to the upload time from recent to far, to form a third monitoring data set D3.

[0141] Determine the historical upload cycle based on the current D3 T .

[0142] The judging module 302 is used to perform the following steps:

[0143] 201, select the first element in D4 as the current first processed data d1.

[0144] 202. Determine the next element of d1 in D1 and use it as the second processed data d2.

[0145] 203. Determine the first upload time difference Δt1 between d1 and d2.

[0146] 204. If Δt1 = cycle T , then it is determined that the upload cycle of the geological disaster monitoring device on the current day has not changed. If Δt1 ≠ cycle T , then when d1 is not the last element in D4, update d1 to the next element of d1 in D4 and repeat steps 202 to 204. When d1 is the last element in D4, it is determined that the upload cycle of the geological disaster monitoring device on the current day has changed.

[0147] Wherein, the device further includes: a second processing module for determining the upload cycle of the geological disaster monitoring device on the current day

[0148] Wherein, the second processing module is configured to, if the monitoring data in D2 meets the preset conditions and the upload cycle of the geological disaster monitoring device on the current day has not changed, obtain the monitoring data uploaded most recently, and form a third monitoring data set D3 from the monitoring data uploaded most recently after excluding the additional reported data, arranged in descending order of upload time, and determine the historical upload cycle cycle based on the current D3 T , and determine

[0149] If the monitoring data in D2 meets the preset conditions, but the upload cycle of the geological disaster monitoring device on the current day has changed, then determine as the default cycle, or calculate D3 = D1, and determine the historical upload cycle cycle based on the current D3 T , and determine

[0150] If the monitoring data in D2 does not meet the preset conditions, but the upload cycle of the geological disaster monitoring device on the current day has not changed, then determine

[0151] If the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device on the current day has changed, then calculate D3 = D3 ∪ D1, and determine the historical upload cycle cycle based on the current D3 T , determine

[0152] Among them, the preset condition is that the upload duration involved in the second monitoring data is less than the preset duration, or the preset condition is that the quantity of the second monitoring data is less than the preset quantity.

[0153] Among them, α0 = 2 minutes.

[0154] Among them, the preset quantity is 5.

[0155] Among them, the preset duration is 360 minutes.

[0156] Among them, determine the historical upload cycle cycle according to the current D3 T , including:

[0157] Obtain multiple alternative cycles.

[0158] Initialize the occurrence times for each alternative cycle, where the initial value of the occurrence times is 0.

[0159] According to the upload times of the elements in the current D3, adjust the occurrence times of each alternative cycle to obtain the final occurrence times.

[0160] If the final occurrence times of all alternative cycles are 0, then determine cycle T as the default cycle, otherwise, determine cycle T as the maximum value of the final occurrence times of all alternative cycles.

[0161] Among them, the default cycle is 60 minutes.

[0162] Among them, according to the upload times of the elements in the current D3, adjust the occurrence times of each alternative cycle to obtain the final occurrence times, including:

[0163] 301. Select the first element in D3 as the third processed data d3.

[0164] 302. If d3 is not the last element in D3, then determine the next element of d3 in D3 and use it as the fourth processed data d4. If d3 is the last element in D3, then determine the first element in D3 and use it as the fourth processed data d4.

[0165] 303. Determine the second upload time difference Δt2 between d3 and d4.

[0166] 304. Execute the following steps S1-1 and step S1-2:

[0167] S1-1. If there is an alternative cycle that is the same as Δt2, then execute the following steps S1-1-1 and S1-1-2:

[0168] S1-1-1. Increment the occurrence times of the same alternative cycle by 1.

[0169] S1-1-2, if d3 is not the last element in D3, update d3 to the next element of d3 in D3, and repeat steps 302 to 304. If d3 is the last element in D3, execute step 305.

[0170] S1-2, if there is no alternative period identical to Δt2, execute the following steps S1-2-1 and S1-2-2:

[0171] S1-2-1, if d4 is not the last element in D3 and at the same time d4 is not the first element in D3, update d4 to the next element of d4 in D3, and repeat steps 303 and 304.

[0172] S1-2-2, if d4 is the last element in D3 or d4 is the first element in D3, execute the following steps S1-2-2-1 and S1-2-2-2:

[0173] S1-2-2-1, if d3 is not the last element in D3, update d3 to the next element of d3 in D3, and repeat steps 302 and 304.

[0174] S1-2-2-2, if d3 is the last element in D3, execute step 305.

[0175] 305, determine the current value of the occurrence times of each alternative period as the final occurrence times.

[0176] Among them, the alternative periods are: 15 minutes, 60 minutes, 120 minutes, 180 minutes, 240 minutes, 360 minutes, 480 minutes, 720 minutes.

[0177] Among them, the missing information includes the number of missing data, the time points of the missing data, and the actual number of cycle data.

[0178] The detection module 303 is used to execute the following steps:

[0179] 401, when there is monitoring data uploaded recently by the geological disaster monitoring device, determine the initial monitoring data set D0 = D3 ∪ D1, and mark the target elements in D0 as cycle data. When there is no monitoring data uploaded recently by the geological disaster monitoring device, determine the initial monitoring data set D0 = D1. Among them, the target element is the element corresponding to the first element of D3 in D0.

[0180] 402. Select an element from D0 in sequence, calculate the fourth upload time difference between the selected element and the next element. When the fourth upload time difference changes for the first time, if the change is a decrease, arrange the elements in D0 in descending order of upload time, and determine the arranged set as the fifth monitoring data set D5. If the change is an increase, determine the current D0 as the fifth monitoring data set D5.

[0181] 403. Select the first element in D5 as the fifth processed data d5.

[0182] 404. If d5 is not the last element in D5, determine the next element of d5 in D5 and use it as the sixth processed data d6. If d5 is the last element in D5, determine the first element in D5 and use it as the sixth processed data d6.

[0183] 405. Determine the third upload time difference Δt3 between d5 and d6.

[0184] 406. Calculate the multiple value of d5 where i is the identifier of d5 in D5.

[0185] 407. Execute the following steps S2-1 and S2-2:

[0186] S2-1. If q i is an integer, execute the following steps S2-1-1 to S2-1-4:

[0187] S2-1-1. Label d5 and d6 as periodic data.

[0188] S2-1-2. Determine the missing value loss i = q i - 1.

[0189] S2-1-3. Determine the missing data time of d5 according to the judgment result.

[0190] S2-1-4. If d5 is not the last element in D5, update d5 to the next element of d5 in D5 and repeat steps 404 to 407. If d5 is the last element in D5, execute step 408.

[0191] S2-2. If q i is not an integer, execute the following steps S2-2-1 and S2-2-2:

[0192] S2-2-1. If d6 is not the last element in D5 and d6 is not the first element in D5, update d6 to the next element of d6 in D5 and repeat steps 405 to 407.

[0193] S2-2-2, if d6 is the last element in D5 or d6 is the first element in D5, then perform the following steps S2-2-2-1 and S2-2-2-2:

[0194] S2-2-2-1, if d5 is not the last element in D5, then update d5 to the next element of d5 in D5, and repeat steps 404 to 407.

[0195] S2-2-2-2, if d5 is the last element in D5, then perform step 408.

[0196] 408, detect that the number of missing data in the monitoring data of the geological disaster monitoring device on the current day is ∑ i loss i , the missing data time points are the missing data times of all elements in D5, and the actual number of periodic data is the total number of data marked as periodic data in D5.

[0197] Among them, the detection module 303 is used to determine that the missing data time of d5 is where t i is the upload time of d5, 0 < p i < q i .

[0198] If the judgment result is that the upload cycle of the geological disaster monitoring device has changed on the current day, then determine the cycle change time t change , the cycle cycle l before the change and the cycle cycle s after the change, and determine that the missing data time of d5 is Among them, if t i < t change , If t i ≥ t change ,

[0199] Optionally, determine the cycle change time t change , the cycle cycle l before the change and the cycle cycle s after the change, including:

[0200] Select an element in D5 in sequence, calculate the fifth upload time difference between the selected element and its next element, and determine the upload time of the next element when the fifth upload time difference changes for the first time as t change , and determine the time difference before the change as cycle s, determine the changed time difference as cycle l .

[0201] The device provided in this embodiment determines whether the upload cycle of the geological disaster monitoring device has changed on the current day by eliminating the monitoring data uploaded on the current day after additional reports, and then detects the missing information of the monitoring data of the geological disaster monitoring device on the current day based on the judgment result, realizing the detection of missing data information only based on the monitoring data sent by the geological disaster monitoring device.

[0202] Based on the same inventive concept of the method for detecting data missing of geological disaster monitoring devices, this embodiment provides an electronic device, which includes: a memory, a processor, and a computer program.

[0203] Among them, the computer program is stored in the memory and is configured to be executed by the processor to implement the above Figure 1 shown method for detecting data missing of geological disaster monitoring devices.

[0204] The electronic device provided in this embodiment, the computer program thereon is executed by the processor to determine whether the upload cycle of the geological disaster monitoring device has changed on the current day by eliminating the monitoring data uploaded on the current day after additional reports, and then detects the missing information of the monitoring data of the geological disaster monitoring device on the current day based on the judgment result, realizing the detection of missing data information only based on the monitoring data sent by the geological disaster monitoring device.

[0205] Based on the same inventive concept of the method for detecting data missing of geological disaster monitoring devices, this embodiment provides a computer-readable storage medium, and a computer program is stored thereon. The computer program is executed by the processor to implement the above Figure 1 shown method for detecting data missing of geological disaster monitoring devices.

[0206] The computer-readable storage medium provided in this embodiment, the computer program thereon is executed by the processor to determine whether the upload cycle of the geological disaster monitoring device has changed on the current day by eliminating the monitoring data uploaded on the current day after additional reports, and then detects the missing information of the monitoring data of the geological disaster monitoring device on the current day based on the judgment result, realizing the detection of missing data information only based on the monitoring data sent by the geological disaster monitoring device.

[0207] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming languages such as Java and interpreted scripting languages such as JavaScript.

[0208] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0209] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0210] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0211] Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments as well as all changes and modifications falling within the scope of the present application.

[0212] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to cover these changes and modifications.

Claims

1. A method for detecting data loss of geological disaster monitoring equipment, characterized in that, The method includes: Obtain all the monitoring data uploaded by the geological disaster monitoring device on the current day, and form a first monitoring data set with the monitoring data uploaded on the current day after excluding the additional reported data arranged in descending order of upload time from the most recent to the oldest; Judge whether the upload cycle of the geological disaster monitoring device on the current day has changed according to the first monitoring data set; Detect the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the judgment result.

2. The method according to claim 1, wherein The step of judging whether the upload cycle of the geological disaster monitoring device on the current day has changed according to the first monitoring data set includes: Exclude the target data in D1 to form a second monitoring data set D2; where D1 is the first monitoring data set, and the upload time of the target data is within [t0, t0 - α0], t0 is the most recent upload time in D1, and α0 is a preset time interval; If the monitoring data in D2 meets the preset conditions, when there is monitoring data uploaded on the most recent day by the geological disaster monitoring device, judge that the upload cycle of the geological disaster monitoring device on the current day has not changed; when there is no monitoring data uploaded on the most recent day by the geological disaster monitoring device, judge that the upload cycle of the geological disaster monitoring device on the current day has changed; the most recent day is the previous monitoring data upload day of the current day; If the monitoring data in D2 does not meet the preset conditions, select a preset number of the most recently uploaded monitoring data from D1 to form a fourth monitoring data set D4, and judge whether the upload cycle of the geological disaster monitoring device on the current day has changed according to D4.

3. The method according to claim 2, wherein Before judging whether the upload cycle of the geological disaster monitoring device on the current day has changed according to D4, it further includes: Obtain the monitoring data uploaded on the most recent day, and form a third monitoring data set D3 with the monitoring data uploaded on the most recent day after excluding the additional reported data arranged in descending order of upload time from the most recent to the oldest; Determine the historical upload cycle cycle according to the current D3 T ; The step of judging whether the upload cycle of the geological disaster monitoring device on the current day has changed according to D4 includes: 201, Select the first element in D4 as the current first processed data d1; 202, Determine the next element of d1 in D1 and use it as the second processed data d2; 203, Determine the first upload time difference Δt1 between d1 and d2; 204, if Δt1 = cycle T , it is determined that the upload cycle of the geological disaster monitoring device on the current day has not changed; if Δt1 ≠ cycle T , then when d1 is not the last element in D4, update d1 to the next element of d1 in D4, and repeat steps 202 to 204. When d1 is the last element in D4, it is determined that the upload cycle of the geological disaster monitoring device on the current day has changed.

4. The method according to claim 3, characterized in that After judging whether the upload cycle of the geological disaster monitoring device on the current day has changed according to D1, it further includes: Determine the upload cycle of the geological disaster monitoring equipment on the current day 5. The method according to claim 4, wherein Determining the upload cycle of the geological disaster monitoring device on the current day including: If the monitoring data in D2 meets the preset conditions and the upload cycle of the geological disaster monitoring device on the current day has not changed, then obtain the monitoring data uploaded on the most recent day, and form a third monitoring data set D3 with the monitoring data uploaded on the most recent day after excluding the additional reported data, arranged in descending order of upload time. Determine the historical upload cycle cycle based on the current D3 T , and determine If the monitoring data in D2 meets the preset conditions, but the upload cycle of the geological disaster monitoring device changes on the current day, then determine as the default cycle, or calculate D3 = D1, and determine the historical upload cycle cycle according to the current D3 T , and determine If the monitoring data in D2 does not meet the preset conditions, but the upload cycle of the geological disaster monitoring device on the current day has not changed, then determine If the monitoring data in D2 does not meet the preset conditions and the upload cycle of the geological disaster monitoring device changes on the current day, then calculate D3 = D3 ∪ D1, and determine the historical upload cycle cylce according to the current D3 T , determine 6. The method according to claim 2, characterized in that, The preset condition is that the upload duration involved in the second monitoring data is less than the preset duration, or the preset condition is that the number of the second monitoring data is less than the preset number.

7. The method according to claim 2, characterized in that The α0 = 2 minutes.

8. The method according to claim 2 or 6, characterized in that, The preset number is 5.

9. The method according to claim 6, characterized in that, The preset duration is 360 minutes.

10. The method according to claim 3 or 5, characterized in that, Determining the historical upload cycle cycle according to the current D3 T , including: Obtain multiple alternative cycles; Initialize the number of occurrences for each alternative cycle, where the initial value of the number of occurrences is 0; Adjust the number of occurrences of each alternative cycle according to the upload times of the elements in the current D3 to obtain the final number of occurrences; If the final occurrence count of all alternative cycles is 0, then determine cycle T as the default cycle; otherwise, determine cycle T as the maximum value of the final occurrence counts of all alternative cycles.

11. The method according to claim 5 or 10, characterized in that The default cycle is 60 minutes.

12. The method according to claim 10, wherein The step of adjusting the number of occurrences of each alternative cycle according to the upload times of the elements in the current D3 to obtain the final number of occurrences includes:

301. Select the first element in D3 as the third processed data d3; 302. If d3 is not the last element in D3, determine the next element of d3 in D3 and use it as the fourth processed data d4; if d3 is the last element in D3, determine the first element in D3 and use it as the fourth processed data d4; 303. Determine the second upload time difference Δt2 between d3 and d4; 304. Execute the following steps S1-1 and S1-2: S1-1. If there is an alternative period equal to Δt2, execute the following steps S1-1-1 and S1-1-2: S1-1-1. Increment the occurrence count of this equal alternative period by 1; S1-1-2. If d3 is not the last element in D3, update d3 to the next element of d3 in D3 and repeat steps 302 to 304; if d3 is the last element in D3, execute step 305; S1-2. If there is no alternative period equal to Δt2, execute the following steps S1-2-1 and S1-2-2: S1-2-1. If d4 is not the last element in D3 and at the same time d4 is not the first element in D3, update d4 to the next element of d4 in D3 and repeat steps 303 and 304; S1-2-2. If d4 is the last element in D3 or d4 is the first element in D3, execute the following steps S1-2-2-1 and S1-2-2-2: S1-2-2-1. If d3 is not the last element in D3, update d3 to the next element of d3 in D3 and repeat steps 302 and 304; S1-2-2-2. If d3 is the last element in D3, execute step 305; 305. Determine the current value of the occurrence count of each alternative period as the final occurrence count.

13. The method according to claim 12, wherein The alternative periods are: 15 minutes, 60 minutes, 120 minutes, 180 minutes, 240 minutes, 360 minutes, 480 minutes, 720 minutes.

14. The method according to claim 4, characterized in that The missing information includes the number of missing data, the time points of the missing data, and the actual number of periodic data; According to the judgment result, detecting the missing information of the monitoring data of the geological disaster monitoring device on the current day includes:

401. If there is monitoring data uploaded by the geological disaster monitoring device on the most recent day, determine the initial monitoring data set D0 = D3 ∪ D1 and mark the target element in D0 as periodic data; if there is no monitoring data uploaded by the geological disaster monitoring device on the most recent day, determine the initial monitoring data set D0 = D1; where the target element is the element corresponding to the first element of D3 in D0; 402. Select an element from D0 in sequence, calculate the fourth upload time difference between the selected element and the element after it. When the fourth upload time difference changes for the first time, if the change is a decrease, arrange the elements in D0 in descending order of upload time, and determine the arranged set as the fifth monitoring data set D5; if the change is an increase, determine the current D0 as the fifth monitoring data set D5.

403. Select the first element in D5 as the fifth processed data d5.

404. If d5 is not the last element in D5, determine the element after d5 in D5 and use it as the sixth processed data d6; if d5 is the last element in D5, determine the first element in D5 and use it as the sixth processed data d6.

405. Determine the third upload time difference Δt3 between d5 and d6. 406, calculate the multiple value of d5 where i is the identifier of d5 in D5; 407. Execute the following steps S2-1 and S2-2: S2-1, if q i is an integer, then perform the following steps S2-1-1 to S2-1-4: S2-1-1. Label d5 and d6 as periodic data. S2-1-2, determine the missing value loss of d5 i = q i - 1; S2-1-3. Determine the missing data time of d5 according to the judgment result. S2-1-4. If d5 is not the last element in D5, update d5 to the element after d5 in D5, and repeat steps 404 to 407; if d5 is the last element in D5, execute step 408. S2-2, if q i is not an integer, then perform the following steps S2-2-1 and S2-2-2: S2-2-1. If d6 is not the last element in D5 and d6 is not the first element in D5, update d6 to the element after d6 in D5, and repeat steps 405 to 407. S2-2-2. If d6 is the last element in D5 or d6 is the first element in D5, execute the following steps S2-2-2-1 and S2-2-2-2: S2-2-2-1. If d5 is not the last element in D5, update d5 to the element after d5 in D5, and repeat steps 404 to 407. S2-2-2-2. If d5 is the last element in D5, execute step 408. 408, detect that the number of missing data in the monitoring data of the geological disaster monitoring device on the current day is ∑ i loss i , the missing data time points are the missing data times of all elements in D5, and the actual number of periodic data is the total number of data marked as periodic data in D5.

15. The method according to claim 14, characterized in that, The determination of the missing data time of d5 according to the judgment result includes: If the judgment result is that the upload cycle of the geological disaster monitoring device has not changed on the current day, then determine that the missing data time of d5 is where t i is the upload time of d5, and 0 < p i < q i ; If the judgment result is that the upload cycle of the geological disaster monitoring device has changed on the current day, determine the cycle change moment t change , the cycle cycle before the change l and the cycle cycle after the change s , determine that the missing data time of d5 is where, if t i < t change , if t i ≥ t change , 16. The method according to claim 15, wherein The determination of the periodic change moment t change , the cycle before the change cycle l and the cycle after the change cycle s , including: Select an element in D5 in sequence, calculate the fifth upload time difference between the selected element and the element after it, and determine the upload time of the element after the first occurrence of the change in the fifth upload time difference as t change , and determine the time difference before the change as cycle s , and determine the time difference after the change as cycle l .

17. A data missing detection device for geological disaster monitoring equipment, characterized in that, The device includes: A processing module, configured to obtain all the monitoring data uploaded by the geological disaster monitoring device on the current day, and form a first monitoring data set with the monitoring data uploaded on the current day after excluding the additional reported data, arranged in descending order of upload time. A judgment module, configured to judge whether the upload cycle of the geological disaster monitoring device on the current day has changed according to the first monitoring data set obtained by the processing module. A detection module, configured to detect the missing information of the monitoring data of the geological disaster monitoring device on the current day according to the judgment result of the judgment module.

18. An electronic device, characterized in that, It includes: A memory; A processor; And A computer program; Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1-16.

19. A computer-readable storage medium, characterized in that, A computer program is stored thereon; the computer program is executed by the processor to implement the method according to any one of claims 1-16.