Remote detection method, device and electronic equipment for flash flood warning equipment

Through remote detection, water level meter data, simulated water level data, sound and light alarm sound and other means, the status of mountain torrent warning equipment is automatically diagnosed, solving the problem of relying on manual inspection and operation and maintenance in the existing technology, and realizing the equipment All-round automatic detection and operation and maintenance improves efficiency and reduces costs.

CN119207017BActive Publication Date: 2025-02-18HANGZHOU DINGCHUAN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411713193.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-02-18
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

The inspection and operation and maintenance of existing mountain torrent warning equipment rely on manual labor and cannot fully detect equipment, resulting in missed inspection of abnormal situations, which has high operation and maintenance costs, low efficiency and poor real-time performance.

Method used

Using remote detection method, the status of the water level meter, the acousto-optical alarm, the sound and the soundprint recognition of the sound and light alarm, the status of the water level meter, the sound and light alarm, and the battery are judged, and the detection results are reported to the object. Connect to the platform.

Benefits of technology

It realizes all-round automatic diagnosis of equipment, reduces the workload of manual inspection and operation and maintenance, improves efficiency and comprehensiveness of inspection, avoids missed inspection events, and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119207017B_ABST
    Figure CN119207017B_ABST
Patent Text Reader

Abstract

The present invention discloses a remote detection method, device and electronic device for flash flood warning equipment, including: obtaining the communication status of a water level meter and calculating the jitter degree of data, the number of acquisition failures and the number of consecutive acquisition failures based on the most recent historical water level data to detect the water level meter and the installation environment; initializing the simulated water level and accumulating a fixed value until it exceeds the flash flood threshold to trigger the sound and light alarm warning; recording the sound emitted by the sound and light alarm of a fixed duration through a microphone and performing decibel calculation and matching voiceprints, comparing the sound decibel with the fourth threshold and the sound and light alarm with the voiceprint matching result; detecting the battery based on the offline duration of the device within a specified time period; reporting the detection results of the water level meter, the sound and light alarm and the battery to the Internet of Things platform and performing labeling processing and classification statistics, and pushing the statistical results to the responsible person. Through this application, the efficiency of inspection and operation and maintenance and the comprehensiveness of inspection are improved, missed inspections are avoided, and the operation and maintenance costs are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of flash flood disasters, and in particular to a remote detection method, device and electronic equipment for flash flood warning equipment. Background Art

[0002] At present, in order to further improve the monitoring and early warning capabilities of flash flood disasters in small watersheds, flash flood early warning equipment is built in medium and high-risk areas in small watersheds as the last line of defense for flash flood disaster prevention and grassroots early warning. The equipment is mainly composed of a water level meter, an audible and visual alarm, a solar panel, and an equipment box, wherein the equipment box includes a battery, a telemetry terminal, and a microphone. The device is powered by a battery, and collects water level data of rivers and small watersheds through a water level meter. When the monitored water level data exceeds the alarm threshold, the audible and visual alarm is triggered to warn and remind surrounding residents of the danger. Since the equipment needs to be inspected regularly to ensure that it can play a role at critical moments, the inspection content includes whether the water level meter can normally collect the water level, whether there are weeds and shrubs under the water level meter that affect the water level measurement, whether the water level meter is installed in a standardized manner, whether the water level meter communication is normal, whether the audible and visual alarm can warn normally, whether the warning sound meets the requirements, whether the battery power supply is normal, etc., and if the water level meter causes a false alarm due to weeds, shrubs or improper installation, it will also greatly affect the trust of surrounding residents in the equipment, which may be ignored when the warning is occurring. The current inspection and maintenance method relies entirely on maintenance personnel to test and analyze water level meters, sound and light alarms, and batteries at the equipment site, which is extremely time-consuming and leads to the problem that some abnormal conditions are not discovered in time. Therefore, a method that can automatically diagnose whether the equipment is normal in all aspects is particularly important. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a remote detection method, device and electronic device for flash flood warning equipment, so as to solve the technical problems in the related technology that equipment inspection and operation and maintenance are extremely dependent on manual work, the equipment cannot be fully detected, abnormal situations are missed, resulting in high operation and maintenance costs, low efficiency, poor real-time performance, and untimely problem discovery.

[0004] According to a first aspect of an embodiment of the present application, a remote detection method for a flash flood warning device is provided, comprising:

[0005] Collecting data of the water level meter within a predetermined number of times until the data is collected successfully and then no longer collecting data; if the data is collected successfully, marking the water level meter as normal, otherwise marking the water level meter as abnormal, thereby obtaining the communication detection result of the water level meter;

[0006] If the water level meter communicates successfully, obtain the most recent stored water level data to generate a first sample set, count the number of failed data collection and the number of consecutive failed collection in the first sample set, if the number of failed data collection is not greater than the first threshold or the number of consecutive failed collection is not greater than the second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the failed data in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter;

[0007] Acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold.

[0008] When the simulated water level data exceeds the flash flood threshold, the sound and light alarm is triggered to give an early warning, and the sound emitted by the sound and light alarm at a fixed time is recorded by a microphone;

[0009] The decibel of the audio recorded by the microphone is calculated, and the voiceprint recognition module is called to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint match is successful, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, thereby obtaining the detection result of the sound and light alarm.

[0010] According to a second aspect of an embodiment of the present application, a remote detection device for flash flood warning equipment is provided, comprising:

[0011] The first detection module is used to collect data of the water level meter within a predetermined number of times until the collection is successful and then stop collecting data. If the collection is successful, the water level meter is marked as normal, otherwise the water level meter is marked as abnormal, so as to obtain the detection result of the water level meter communication;

[0012] A second detection module is used to obtain the most recent stored water level data to generate a first sample set if the water level meter communicates successfully, count the number of data collection failures and the number of consecutive collection failures in the first sample set, and if the number of data collection failures is not greater than a first threshold or the number of consecutive collection failures is not greater than a second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the data that failed to be collected in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, and compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter;

[0013] A data acquisition module is used to acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold.

[0014] An early warning trigger module is used to trigger an audible and visual alarm for early warning when the simulated water level data exceeds a flash flood threshold, and to record the sound emitted by the audible and visual alarm at a fixed time through a microphone;

[0015] The third detection module is used to calculate the decibel of the audio recorded by the microphone and call the voiceprint recognition module to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint match is successful, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, thereby obtaining the detection result of the sound and light alarm.

[0016] Optionally, also include:

[0017] The fourth detection module is used to obtain the offline time duration of the flash flood warning device within a specified time period. If the offline time duration is greater than the fifth threshold, the battery is marked as abnormal, otherwise the battery is marked as normal, thereby obtaining the detection result of the battery.

[0018] According to a second aspect of an embodiment of the present application, there is provided an electronic device, including:

[0019] one or more processors;

[0020] A memory for storing one or more programs;

[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in the first aspect.

[0022] According to a second aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in the first aspect are implemented.

[0023] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0024] It can be seen from the above embodiments that the present application detects the water level meter and the installation environment by acquiring the communication status of the water level meter and calculating the degree of data jitter and the number of acquisition failures based on the most recent historical water level data, judging the status of the sound and light alarm based on decibels and voiceprints, judging the battery status by the length of time the device is offline, and reporting the detection results of the water level meter, sound and light alarm, and battery to the Internet of Things platform and classifying and counting them and pushing them to the responsible person, thereby overcoming the problem of excessive reliance on manual inspection and operation and maintenance of equipment on site, which is prone to missed inspections due to incomplete inspections, and thus achieving the technical effect of remote operation and maintenance. By performing self-inspection on the water level meter and sound and light alarm (the battery can also be inspected), the statistics can be classified and pushed to the responsible person after inspection, which not only reduces the workload of manual inspection and operation and maintenance, but also improves the efficiency of inspection and operation and maintenance and the comprehensiveness of inspection, avoids missed inspections, and reduces operation and maintenance costs.

[0025] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0027] Figure 1 The figure is a schematic diagram of installing a radar water level meter according to an exemplary embodiment.

[0028] Figure 2 The figure is a schematic diagram of installing a pressure water level gauge according to an exemplary embodiment.

[0029] Figure 3 The figure is a schematic diagram of installing a float type water level gauge according to an exemplary embodiment.

[0030] Figure 4 The present invention is a flow chart showing a remote detection method for flash flood warning equipment according to an exemplary embodiment.

[0031] Figure 5 The figure shows the stability of the water level meter measurement data according to an exemplary embodiment.

[0032] Figure 6The figure shows a situation in which the measurement data of a water level meter is unstable according to an exemplary embodiment.

[0033] Figure 7 The following is a diagram showing an irregular data situation of water level meter installation according to an exemplary embodiment.

[0034] Figure 8 The present invention is a block diagram showing a remote detection device for flash flood warning equipment according to an exemplary embodiment.

[0035] Fig. 9 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0038] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0039] Since flash flood warnings mostly use contact and non-contact water level gauges to measure data, the non-contact water level gauge is generally a radar water level gauge1, which is installed as follows: Figure 1 As shown, the contact water level gauge is generally a pressure sensor 2 (installation method as shown in Figure 2 as shown) or float type water level gauge 3 (installation method as shown Figure 3As shown in the figure), the contact water level meter is easy to install and maintain, but the accuracy of the data is easily affected by weeds and shrubs under the radar water level meter. The contact water level meter is difficult to install and is easily blocked by silt or debris, which makes it impossible to collect data. In addition, due to direct contact with water, it is easy to be damaged by induced lightning if lightning protection measures are not taken. In order to be compatible with the detection of various types of water level meter sensors, the communication status and data quality of the water level meter are detected, and then the detection results of the water level meter are obtained.

[0040] Figure 4 is a flow chart of a remote detection method for flash flood warning equipment according to an exemplary embodiment. Figure 4 As shown, the method may include the following steps:

[0041] S1: collecting data of the water level meter within a predetermined number of times until the collection is successful and then no longer collecting data; if the collection is successful, marking the water level meter as normal, otherwise marking the water level meter as abnormal, thereby obtaining the detection result of the water level meter communication;

[0042] Specifically, the data of the water level meter is collected through the flash flood warning equipment. If the collection fails, the data will continue to be collected. If the collection is successful, the data will not be collected anymore, and the current successful collection value will be recorded. After multiple consecutive collection failures, the water level meter will be marked as abnormal, otherwise the water level meter will be marked as normal.

[0043] The main purpose of this step is to detect the communication status of the water level meter and determine whether the water level meter can communicate normally. The setting of the continuous acquisition times and the acquisition interval is generally determined according to the power-on start-up time of the water level meter. The time for the water level meter to power on and work normally is 10-20 seconds. In order to avoid the abnormal event of data acquisition failure caused by the overlap of the test with the restart event of the water level meter, the acquisition time interval needs to be greater than the water level meter startup time. Therefore, the acquisition time interval is set to 20 seconds, and the scheduled acquisition times are set to 3 times to ensure that communication with the water level meter can be guaranteed. The communication status of the water level meter is detected based on this step.

[0044] S2: If the water level meter communicates successfully, obtain the most recent stored water level data to generate a first sample set, count the number of failed data collection and the number of consecutive failed collection in the first sample set, if the number of failed data collection is not greater than the first threshold or the number of consecutive failed collection is not greater than the second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the failed data in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, and compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter;

[0045] The main purpose of this step is to detect whether the installation environment and installation method of the non-contact water level meter (radar water level meter) meet the requirements and whether the communication with the water level meter is stable, and to obtain the most recent stored water level data to generate the first sample set. Generally speaking, in order to ensure the timeliness of the warning, the flash flood warning equipment collects data at a frequency of seconds or minutes, and the slowest will not exceed 1 minute. In order to ensure that the installation environment of the water level meter can be accurately judged, after analyzing the data of various existing scenarios, the data of equipment with a good installation environment is stable, and the data of equipment with a poor installation environment will jitter many times within a day. In order to better extract data features, it is preferred to use one day's data. Due to hydrological regulations, data must be reported at least once every 5 minutes, and the equipment will store data at least once every 5 minutes. Therefore, the data interval is 5 minutes, that is, 288 data in one day. If the data in one day does not reach 288, it may be due to power failure of the equipment, etc. The data time domain can be appropriately expanded. Figure 5 It is the stability of the water level meter measurement data. When there are no weeds or shrubs directly below the water level meter, the water level meter measurement data is stable. Figure 6 This is a situation where the water level meter's measurement data is unstable. When weeds and shrubs grow under the water level meter, the water level meter's measurement data is unstable. Figure 7 The water level meter is installed in an irregular manner. When the water level meter is installed tilted, it is an irregular installation. It can be seen that the water level data is stable when the installation environment is good, and the water level data is unstable when the installation environment is poor or the installation is irregular. Figure 5-Figure 7 The water level data were converted using the 85 elevation datum.

[0046] Specifically, there are many situations in which the water level meter cannot collect data. Loose wiring, damaged water level meter, etc. will lead to communication failure with the water level meter and thus failure to collect data. The number of data collection failures and the number of consecutive collection failures in the first set are counted. Through this step, the communication failure can be analyzed from the historical data. If the number of data collection failures is not greater than the first threshold and the number of consecutive collection failures is not greater than the second threshold, the first sample set is divided into several groups of data to generate a second sample set. For the convenience of statistical analysis, the first sample set is divided into N groups, each group contains m data. According to the previous description, N is generally 24 and m is 12. Calculate the average value of each group in the second sample set, and use the average value of each group to replace the data that failed to be collected in each group, calculate the variance of each group of data in the second sample set, generate multiple groups of variances to form a third sample set, remove the maximum and minimum values ​​of the third sample set to generate a fourth sample set, and calculate the average value of the fourth sample set. Since the water level meter mechanisms of different water level meter manufacturers are different, there is a situation where the first data collected when the water level meter is restarted is 0 or the initialization is not completed and no data is returned. If the first data is 0, through the elevation formula H=ax+b, where x is the water level of the water level meter and a is a negative number, it will cause the calculated elevation water level to be too large, interference will occur, and the variance of the water level data will be too large. Therefore, remove the maximum and minimum values ​​of the third sample set to generate the fourth sample set, which can remove some errors. Since the jump and up and down jitter of the water level meter reflect the poor installation environment or irregular installation of the water level meter, the data quality of the water level meter is judged by the degree of data dispersion. If the average value of the fourth sample set is greater than the third threshold, it indicates that the data is discrete, thereby obtaining a detection result that the weeds below the water level meter are too long, too many, or the installation is not standardized and needs to be proofread. Otherwise, the water level meter installation and on-site environment are marked as meeting the requirements. Based on this step, it is possible to detect inaccurate data caused by weeds, shrubs, or the water level meter is not installed horizontally below the non-contact water level meter. Otherwise, if the number of failed data acquisitions is greater than the first threshold and the number of consecutive failed acquisitions is greater than the second threshold, the water level meter communication is marked as abnormal. This step can further confirm the communication status of the water level meter and confirm whether the installation environment of the water level meter meets the specifications.

[0047] S3: Acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold.

[0048] Specifically, the data source is switched to the simulated water level, and the flash flood threshold Zt is obtained. If the communication status of the water level meter is successful, the first simulated water level data Zi is initialized as the current water level meter water i. If the communication status of the water level meter is failed, the first simulated water level data Zi is initialized as a fixed distance of 0.5 meters under the flash flood threshold. The value-added Z=(Zi-Zt) / N each time, where N is the number of times the simulated water level rises from the first to exceed the threshold. Since it is in the simulation mode, too many times will result in too long time, and too few times will result in too fast triggering. Therefore, it is sufficient to ensure that it can be triggered in one minute. In order to ensure the real-time nature of the flash flood, it is increased once every 10S, that is, N is 6. The cumulative increase of the simulated water level can ensure that the water level is in a linear rising trend, which is consistent with the situation of the real flash flood outbreak. In addition, since the flash flood warning equipment triggers the alarm by judging and processing the water level, in order to make the warning more realistic, the alarm is triggered by the rising water level instead of directly triggering the sound and light alarm for warning. The main purpose of this step is to provide a data basis for the simulated flash flood warning.

[0049] S4: When the simulated water level data exceeds the flash flood threshold, the sound and light alarm is triggered to issue an early warning, and the sound emitted by the sound and light alarm at a fixed time is recorded by a microphone;

[0050] Specifically, when the simulated water level data exceeds the flash flood threshold, the sound and light alarm is triggered for early warning, and the sound emitted by the sound and light alarm is recorded by the microphone for a fixed time. The main purpose of this step is to record the sound emitted by the sound and light alarm through the microphone. If the recording time is too long, it will increase the processing time of the subsequent steps. If the recording time is too short, the sound emitted by the sound and light alarm may not be recorded. Therefore, the recording time can be selected as 10S, which can ensure the normal recording of the sound and the time will not be too long.

[0051] S5: Calculate the decibel of the audio recorded by the pickup, and call the voiceprint recognition module to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint is successfully matched, mark the sound and light alarm as normal, otherwise mark the sound and light alarm as abnormal, thereby obtaining the detection result of the sound and light alarm; this step includes the following sub-steps:

[0052] S51: importing the audio recorded by the microphone into the voiceprint recognition module, calculating the maximum amplitude value max of the audio, and further calculating the maximum decibel db of the sound played by the sound and light alarm based on the formula db=20*log(max);

[0053] The main purpose of this step is to calculate the volume of the sound emitted by the sound and light alarm. If the sound is too small, the surrounding residents may not hear the sound when the real flash flood comes, and it cannot serve as a warning. Generally, the sound is too small mainly because the sound and light alarm is damaged or the sound and light alarm volume is not adjusted to the maximum.

[0054] S52: calling the voiceprint matching module, importing the audio recorded by the pickup and the audio preset in the voiceprint matching module for voiceprint matching, and if the voiceprint matching is successful, marking the sound and light alarm as playing normally;

[0055] The main purpose of this step is to verify whether the sound and light alarm sounds normally, and to obtain a matching result by comparing the recorded audio with the standard audio template. Currently, voiceprint matching can be implemented by hardware modules or software, which is relatively mature in the market. The software method can adopt solutions from iFlytek and others, and the hardware method can adopt solutions from Qitai Yinglun and others.

[0056] S53: If the voiceprint matches successfully and the maximum decibel of the sound played by the sound and light alarm is greater than the fourth threshold, the sound and light alarm is marked as normal; if the maximum decibel of the sound played by the sound and light alarm is not greater than the fourth threshold, the sound and light alarm is marked as too low; otherwise, the sound and light alarm is marked as abnormal.

[0057] Specifically, if the voiceprint match is successful, it indicates that the sound and light alarm plays the warning audio normally. The maximum decibel of the sound played by the sound and light alarm is compared with the fourth threshold. If the maximum decibel is greater than the fourth threshold, it indicates that the sound and light alarm emits an alarm sound and the volume is normal. Otherwise, it indicates that the sound and light alarm emits a sound but the sound is small. If the voiceprint match fails, it indicates that the sound and light alarm does not play the alarm audio normally.

[0058] The main purpose of this step is to determine the status of the sound and light alarm. By combining the voiceprint with the sound decibel, the status of the sound and light alarm can be better detected to ensure that it can play a role when the flash flood really comes.

[0059] The method further includes: S6: obtaining the offline time duration of the flash flood warning device within the specified time period, and if the offline time duration is greater than a fifth threshold, marking the battery as abnormal, otherwise marking the battery as normal, thereby obtaining the detection result of the battery;

[0060] Specifically, the offline time duration of the flash flood warning device within the specified time period is obtained, the device is powered on and records the power-on time in the memory, and the current time is updated to the memory at intervals during the operation of the device. The operation time and the power-on time are a group, and the power-on time is only recorded once when the power is on. The operation time is updated for a fixed period of time. The fixed time period cannot be too long or too short. If it is too long, the time interval may be too large, and if it is too short, the device load may be increased due to too frequent writing. Since S2 has introduced the data reporting time, this time can be the same as the data reporting time, that is, 5 minutes, which is neither too long nor too short. If the device has been restarted, multiple groups of power-on-operation time pairs will be stored, and the online time duration of each group of devices in the specified time period and the total time duration of the specified time period are counted. The total time duration of the specified time period minus the online time duration of each group is the total offline time duration. By calculating the total time duration Tr of multiple groups of power-on time within the specified time period, the specified time duration is Tt, and the total offline time duration is Tl. According to the formula Tl= Tt-Tr, the total offline time duration of the flash flood warning device can be calculated. If the offline time is longer than the fifth threshold, it indicates that the battery power supply is abnormal; otherwise, it indicates that the battery power supply is normal, thereby obtaining the detection result of the battery.

[0061] The main purpose of this step is to infer the battery power supply status through the offline time of the flash flood warning device. Since the battery voltage may be artificially high and not all flash flood warning devices have the function of measuring battery voltage, through analysis of a large number of offline devices, when the flash flood warning device is online when there is sunshine during the day and offline when there is no sunshine at night, or the device is continuously offline, it indicates that the battery is faulty. Therefore, the offline time is used to judge the battery status.

[0062] The method also includes: S7: reporting the detection results of the water level meter, the sound and light alarm and the battery to the Internet of Things platform.

[0063] Specifically, the test results of the water level meter, the sound and light alarm, and the battery are reported to the IoT platform. The test results of the water level meter include the communication status and installation environment, the test results of the sound and light alarm include whether the sound and light alarm is broadcasting normally and the volume status, and the test results of the battery include the battery power supply status. The results are reported in subdivided form to facilitate subsequent classification by the IoT platform, so that the operation and maintenance personnel can better understand the status of the equipment.

[0064] The main purpose of this step is to report the detection results of the water level meter, the sound and light alarm and the battery to the IoT platform, so as to facilitate subsequent classification and statistics by the IoT platform.

[0065] After receiving the detection results of various flash flood warning devices, the IoT platform can also classify them according to the city, county, and township levels, including:

[0066] The self-test status of the sub-device of the device is marked, and a first marking process is performed if the self-test is normal, a second marking process is performed if the self-test is abnormal, a third marking process is performed if there is no self-test, and a fourth marking process is performed for an offline device.

[0067] It can be seen from the above embodiments that the present application detects the water level meter and the installation environment by acquiring the communication status of the water level meter and calculating the degree of data jitter and the number of collection failures based on the most recent historical water level data, judging the status of the sound and light alarm based on decibels and voiceprints, judging the battery status by the length of time the device is offline, and reporting the detection results of the water level meter, sound and light alarm, and battery to the Internet of Things platform and classifying and counting them and pushing them to the responsible person, thereby overcoming the problem of excessive reliance on manual inspection and operation and maintenance of equipment on site, which is prone to missed inspections due to incomplete inspections, and thus achieving the technical effect of remote operation and maintenance, performing self-inspections on the water level meter, sound and light alarm, batteries, etc., and after the inspection, the statistics can be classified and pushed to the responsible person, which not only reduces the workload of manual inspection and operation and maintenance, but also improves the efficiency of inspection and operation and maintenance and the comprehensiveness of inspection, avoids the occurrence of missed inspections, and reduces the cost of operation and maintenance.

[0068] Corresponding to the aforementioned embodiment of the remote detection method for flash flood warning equipment, the present application also provides an embodiment of a remote detection device for flash flood warning equipment.

[0069] Figure 8 FIG. 1 is a block diagram of a remote detection device for flash flood warning equipment according to an exemplary embodiment. Figure 8 , the device comprises:

[0070] The first detection module 1 is used to collect data of the water level meter within a predetermined number of times until the collection is successful and then stop collecting data. If the collection is successful, the water level meter is marked as normal, otherwise the water level meter is marked as abnormal, so as to obtain the detection result of the water level meter communication;

[0071] The second detection module 2 is used to obtain the most recent stored water level data to generate a first sample set if the water level meter communicates successfully, count the number of data collection failures and the number of consecutive collection failures in the first sample set, and if the number of data collection failures is not greater than the first threshold or the number of consecutive collection failures is not greater than the second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the data that failed to be collected in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, and compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter;

[0072] Data acquisition module 3 is used to acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold.

[0073] The early warning trigger module 4 is used to trigger the sound and light alarm to warn when the simulated water level data exceeds the flash flood threshold, and to record the sound emitted by the sound and light alarm at a fixed time through a microphone;

[0074] The third detection module 5 is used to calculate the decibel of the audio recorded by the microphone and call the voiceprint recognition module to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint match is successful, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, thereby obtaining the detection result of the sound and light alarm.

[0075] Optionally, also include:

[0076] The fourth detection module is used to obtain the offline time duration of the flash flood warning device within a specified time period. If the offline time duration is greater than the fifth threshold, the battery is marked as abnormal, otherwise the battery is marked as normal, thereby obtaining the detection result of the battery.

[0077] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0078] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, 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 present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0079] Accordingly, the present application also provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the remote detection method for flash flood warning equipment as described above. Fig. 9As shown, a hardware structure diagram of a remote detection device for flash flood warning equipment provided by an embodiment of the present invention is provided in any device with data processing capability, except Fig. 9 In addition to the processor and memory shown, any device with data processing capability in which the apparatus in the embodiment is located may also include other hardware, generally based on the actual functions of the device with data processing capability, which will not be described in detail.

[0080] Accordingly, the present application also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the remote detection method for flash flood warning equipment as described above is implemented. The computer-readable storage medium can be an internal storage unit of any device with data processing capabilities described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), an SD card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium can also include both an internal storage unit and an external storage device of any device with data processing capabilities. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.

[0081] Those skilled in the art will readily appreciate other embodiments of the present application after considering the description and practicing the contents disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The description and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0082] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A remote detection method for flash flood warning equipment, characterized in that: include: Collecting data of the water level meter within a predetermined number of times until the data is collected successfully and then no longer collecting data; if the data is collected successfully, marking the water level meter as normal, otherwise marking the water level meter as abnormal, thereby obtaining the communication detection result of the water level meter; If the water level meter communicates successfully, obtain the most recent stored water level data to generate a first sample set, count the number of failed data collection and the number of consecutive failed collection in the first sample set, if the number of failed data collection is not greater than the first threshold or the number of consecutive failed collection is not greater than the second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the failed data in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter; Acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold. When the simulated water level data exceeds the flash flood threshold, the sound and light alarm is triggered to give an early warning, and the sound emitted by the sound and light alarm at a fixed time is recorded by a microphone; The decibel of the audio recorded by the microphone is calculated, and the voiceprint recognition module is called to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint match is successful, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, thereby obtaining the detection result of the sound and light alarm.

2. The method according to claim 1, characterized in that Also includes: The offline time duration of the flash flood warning device within the specified time period is obtained. If the offline time duration is greater than a fifth threshold, the battery is marked as abnormal, otherwise the battery is marked as normal, thereby obtaining the detection result of the battery.

3. The method according to claim 2, characterized in that Also includes: The detection results of the water level meter, the sound and light alarm and the battery are reported to the Internet of Things platform.

4. The method according to claim 1, characterized in that: The decibel of the audio recorded by the pickup is calculated, and the voiceprint recognition module is called to match the voiceprint. If the sound decibel is greater than the four thresholds and the voiceprint is successfully matched, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, including: Import the audio recorded by the microphone into the voiceprint recognition module, calculate the maximum amplitude value max of the audio, and then calculate the maximum decibel db of the sound played by the sound and light alarm based on the formula db=20*log(max); Calling the voiceprint matching module, importing the audio recorded by the pickup and the audio preset by the voiceprint matching module for voiceprint matching, if the voiceprint matching is successful, marking the sound and light alarm playing normally; If the voiceprint matches successfully and the maximum decibel of the sound played by the sound and light alarm is greater than the fourth threshold, the sound and light alarm is marked as normal; if the maximum decibel of the sound played by the sound and light alarm is not greater than the fourth threshold, the sound of the sound and light alarm is marked as too small and the sound and light alarm is marked as abnormal.

5. The method according to claim 1, characterized in that Get the offline time of the flash flood warning device within the specified time period. If the offline time is greater than the fifth threshold, mark the battery as abnormal; otherwise, mark the battery as normal, including: The online time duration of each group of device records within the specified time period and the total time duration of the specified time period are counted. The total offline time duration minus the online time duration of each group is obtained. If the total offline time duration within the specified time period is greater than the fifth threshold, the device is marked as being offline for too long and the battery is abnormal; otherwise, the battery is marked as normal.

6. The method according to claim 3, characterized in that After receiving the detection results of various flash flood warning devices, the IoT platform classifies them according to the city, county, and township levels, including: The self-test status of the water level meter, sound and light alarm and battery of the flash flood warning equipment is marked. If the self-test is normal, the first marking process is performed; if the self-test is abnormal, the second marking process is performed; if there is no self-test, the third marking process is performed; and if the device is offline, the fourth marking process is performed.

7. A remote detection device for flash flood warning equipment, characterized in that: include: The first detection module is used to collect data of the water level meter within a predetermined number of times until the collection is successful and then stop collecting data. If the collection is successful, the water level meter is marked as normal, otherwise the water level meter is marked as abnormal, so as to obtain the detection result of the water level meter communication; A second detection module is used to obtain the most recent stored water level data to generate a first sample set if the water level meter communicates successfully, count the number of data collection failures and the number of consecutive collection failures in the first sample set, and if the number of data collection failures is not greater than a first threshold or the number of consecutive collection failures is not greater than a second threshold, divide the first sample set into several groups of data to generate a second sample set, calculate the average value of each group in the second sample set, and replace the data that failed to be collected in each group with the average value of each group, calculate the variance of each group of data in the second sample set, generate a third sample set composed of multiple groups of variances, remove the maximum value and minimum value of the third sample set to generate a fourth sample set, calculate the average value of the fourth sample set, and compare the average value of the fourth sample set with the third threshold, so as to obtain the installation environment of the water level meter; A data acquisition module is used to acquire simulated water level data in real time. Each time the latest simulated water level data is acquired, a fixed value is added to the previous simulated water level data to ensure that the water level is in a linear rising trend. If the water level meter communication result is successful, the initial value of the simulated water level data is the current water level of the water level meter. Otherwise, the initial value of the simulated water level data is a fixed value below the mountain flood water level warning threshold. An early warning trigger module is used to trigger an audible and visual alarm for early warning when the simulated water level data exceeds a flash flood threshold, and to record the sound emitted by the audible and visual alarm at a fixed time through a microphone; The third detection module is used to calculate the decibel of the audio recorded by the microphone and call the voiceprint recognition module to match the voiceprint. If the sound decibel is greater than the fourth threshold and the voiceprint match is successful, the sound and light alarm is marked as normal, otherwise the sound and light alarm is marked as abnormal, thereby obtaining the detection result of the sound and light alarm.

8. The device according to claim 7, characterized in that Also includes: The fourth detection module is used to obtain the offline time duration of the flash flood warning device within a specified time period. If the offline time duration is greater than the fifth threshold, the battery is marked as abnormal, otherwise the battery is marked as normal, thereby obtaining the detection result of the battery.

9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Fire-fighting audible and visual alarm fault detection method based on voice recognition

    CN112542033A

  • Mechanical equipment diagnosis and early warning device based on voiceprint recognition

    CN116659841A