Sensor data detection interruption identification method, device and electronic equipment

By obtaining sensor detection results and judging their duration, and determining the interruption time threshold, the security risks caused by interruption of sensor data detection in coal mine safety control system are solved, accurate identification and alarm are achieved, and system security is improved.

CN113687048BActive Publication Date: 2024-11-19JINGYING SHUZHI TECH HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110746490.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-01
Publication Date
2024-11-19
Estimated Expiration
2041-07-01

AI Technical Summary

Technical Problem

The interruption of sensor data detection in the coal mine safety control system results in inaccurate detection values, inability to alarm or power outage, and there is a safety risk.

Method used

By obtaining the detection results of the sensor within the set time period, determining the interrupt time threshold corresponding to the detection results, and determining whether the sensor has a data detection interruption based on the duration and interrupt time threshold of the detection data, and issuing an alarm to prompt the maintenance personnel.

Benefits of technology

Accurately identifying interruptions in sensor data detection avoids the problem of inaccurate data detection and improves the safety and reliability of coal mine safety monitoring systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113687048B_ABST
    Figure CN113687048B_ABST
Patent Text Reader

Abstract

The present invention provides a sensor data detection interruption identification method, device and electronic device, which relates to the field of sensor technology, including: obtaining the detection results of the sensor within a set time period; determining the interruption duration threshold corresponding to the detection result; judging whether the sensor has a data detection interruption based on the duration of each detection data in the detection result and the interruption duration threshold. The present invention can accurately judge whether the sensor has a data detection interruption phenomenon, avoiding the problem of inaccurate data detection caused by the sensor data detection interruption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sensor technology, and in particular to a sensor data detection interruption identification method, device and electronic equipment. Background Art

[0002] With the development of intelligent control technology, sensors are used more and more widely, and the detection data of sensors plays an important role in intelligent control. Taking the sensors in coal mine safety control systems as an example, the coal mine safety control system includes multiple sensors for monitoring methane concentration, carbon monoxide concentration, carbon dioxide concentration, oxygen concentration, hydrogen sulfide concentration, mine dust concentration, etc. When the sensor data detection is interrupted, if the concentration of a certain gas in the mine exceeds the threshold, the returned detection value is inaccurate, and the alarm or power failure cannot be performed, which brings safety risks to coal mine work. Therefore, how to accurately identify whether the sensor has data detection interruption has become an urgent problem to be solved. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a sensor data detection interruption identification method, device and electronic equipment, which can accurately determine whether the sensor has a data detection interruption phenomenon, thereby avoiding the problem of inaccurate data detection caused by the sensor data detection interruption.

[0004] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0005] In the first aspect, an embodiment of the present invention provides a sensor data detection interruption identification method, including: obtaining the detection results of the sensor within a set time period; determining the interruption duration threshold corresponding to the detection results; and judging whether the sensor has a data detection interruption based on the duration of each detection data in the detection results and the interruption duration threshold.

[0006] Further, an embodiment of the present invention provides a first possible implementation of the first aspect, wherein the step of determining the interruption duration threshold corresponding to the detection result includes: determining the interruption duration threshold corresponding to the detection result based on an average value of the detection data.

[0007] Further, the embodiment of the present invention provides a second possible implementation of the first aspect, wherein the calculation formula of the interruption duration threshold is:

[0008]

[0009] Wherein, s is the interruption duration threshold corresponding to the detection result, avg is the average value of the detection data, and a, b and c are all constants.

[0010] Further, an embodiment of the present invention provides a third possible implementation method of the first aspect, wherein the step of judging whether a data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold comprises: judging whether the duration of each detection data is greater than the corresponding interruption duration threshold; when there is target detection data greater than the interruption duration threshold, obtaining the detection time period corresponding to the target detection data; judging whether a data detection interruption occurs in the sensor based on historical detection data before the detection time period.

[0011] Further, an embodiment of the present invention provides a fourth possible implementation of the first aspect, wherein the step of determining whether the sensor has a data detection interruption based on the historical detection data before the detection time period includes: obtaining a first maximum detection value within a first preset time period before the detection time period, and a second maximum detection value of the detection data; determining a detection threshold based on the second maximum detection value; and when the first maximum detection value is greater than the detection threshold, determining that the sensor has a data detection interruption problem.

[0012] Further, an embodiment of the present invention provides a fifth possible implementation of the first aspect, wherein the sensor data detection interruption identification also includes: when there is target detection data greater than the interruption duration threshold, obtaining the previous detection data of the target detection data to obtain first detection data; when the first detection data is greater than the average value of the detection data, and the target detection data remains unchanged within a second preset time period, determining that the sensor has a data detection interruption problem.

[0013] Further, an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the sensor data detection interruption identification method also includes: when the sensor has a data detection interruption problem, issuing a detection interruption alarm to prompt maintenance personnel to inspect the sensor; or, when the detection result of the sensor does not contain detection data, determining that the sensor has a data detection interruption problem.

[0014] In the second aspect, an embodiment of the present invention also provides a sensor data detection interruption identification device, including: an acquisition module, used to obtain the detection results of the sensor within a set time period; a determination module, used to determine the interruption duration threshold corresponding to the detection result; a judgment module, used to judge whether the sensor has a data detection interruption based on the duration of each detection data in the detection result and the interruption duration threshold.

[0015] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a storage device; the storage device stores a computer program, and when the computer program is executed by the processor, it executes the method as described in any one of the first aspects.

[0016] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any one of the above-mentioned first aspects are executed.

[0017] The embodiment of the present invention provides a sensor data detection interruption identification method, device and electronic device, which first obtains the detection result of the sensor within a set time period; determines the interruption duration threshold corresponding to the detection result; and judges whether the sensor has a data detection interruption based on the duration of each detection data in the detection result and the interruption duration threshold. By obtaining the detection result of the sensor within a set time period, and obtaining the interruption duration threshold corresponding to each detection data in the detection result, it can be detected according to the duration of each detection data in the detection result whether the detection data remains unchanged for a long time when the sensor is performing data detection, and then it can be accurately judged whether the sensor has a data detection interruption, avoiding the problem of inaccurate data detection caused by sensor data detection interruption.

[0018] Other features and advantages of the embodiments of the present invention will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned techniques of the embodiments of the present invention.

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 A flow chart of a sensor data detection interruption identification method provided by an embodiment of the present invention is shown;

[0022] Figure 2 A graph showing the relationship between the mean value of detection data and the longest duration provided by an embodiment of the present invention is shown;

[0023] Figure 3 A sensor data detection interruption diagram provided by an embodiment of the present invention is shown;

[0024] Figure 4 A schematic diagram of the structure of a sensor data detection interruption identification device provided by an embodiment of the present invention is shown;

[0025] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be described below in conjunction with the drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.

[0027] At present, in the existing coal mine safety monitoring system, taking the gas sensor as an example, when the gas concentration detected by the gas sensor exceeds the threshold, the safety monitoring system will alarm or cut off the power. If the detection value of the gas sensor exceeds the threshold, the gas sensor will have a data detection interruption problem, the detection data of the gas sensor will remain unchanged or return abnormal transmission data, and the safety monitoring system will not be able to issue an alarm or cut off the power, resulting in low safety of the coal mine safety monitoring system.

[0028] To improve this problem, the embodiments of the present invention provide a sensor data detection interruption identification method, device and electronic device. The technology can be used to determine whether the sensor has a data detection interruption phenomenon, avoiding the problem of inaccurate data detection caused by sensor data detection interruption, and improving the safety of the coal mine safety monitoring system. The embodiments of the present invention are described in detail below.

[0029] This embodiment provides a sensor data detection interruption recognition method, which can be applied to an electronic device, which can be a controller of a coal mine safety monitoring system. Figure 1 The sensor data detection interruption identification method flow chart shown in the figure mainly includes the following steps S102 to S106:

[0030] Step S102, obtaining the detection result of the sensor within a set time period.

[0031] When the real-time detection sensor is detecting whether a data detection interruption problem has occurred, the set time period may be a preset time length before the current time, such as the detection result of the sensor within the previous 24 hours.

[0032] When detecting whether a sensor has had a data detection interruption problem on a certain day in the past, that is, based on the historical detection data of the sensor, detecting whether the sensor has had a data detection interruption problem in the historical detection process, the detection result within the above-set time period can be the detection result of the sensor on that day. The above-mentioned detection result includes the real-time detection data of the sensor.

[0033] Step S104, determining an interruption duration threshold corresponding to the detection result.

[0034] Since the collection time of each detection data is different, the detection object of the sensor may change with time. Taking the detection of gas concentration by a gas sensor as an example, as the average gas concentration increases within a day, the time for which the gas concentration is constant should be shorter, that is, the duration of the detected gas concentration data will become shorter. Therefore, under normal circumstances, the duration of each detection data at different times is variable. When judging whether the duration of the detection data is too long, the set interruption duration threshold is also variable. It is necessary to determine the interruption duration threshold corresponding to the detection result in each set time period.

[0035] Step S106: judging whether data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold.

[0036] Since a certain detection value will remain unchanged when the sensor has a data detection interruption, it is determined in turn whether the duration of each detection data in the detection result is greater than or equal to its corresponding interruption duration threshold. Based on the relationship between the duration of each detection data and its corresponding interruption duration threshold, it is determined whether the sensor has a data detection interruption.

[0037] The above-mentioned sensor data detection interruption identification method provided in this embodiment obtains the detection results of the sensor within a set time period and obtains the interruption duration threshold corresponding to the detection results. According to the duration of each detection data in the detection results, it can be detected whether the detection data remains unchanged for a long time when the sensor is performing data detection. Then, it can be accurately judged whether the sensor has a data detection interruption, thereby avoiding the problem of inaccurate data detection caused by the sensor data detection interruption.

[0038] In order to improve the rationality of determining the interruption duration threshold, this embodiment provides a specific implementation method for determining the interruption duration threshold corresponding to each detection data:

[0039] The interruption duration threshold corresponding to the detection result is determined based on the average value of the detection data.

[0040] Based on the detection results within the above-mentioned set time period, the average value of the detection data in the detection results is calculated. The duration of the sensor's detection data is related to the average value of the detection data in its time period. The larger the average value of the detection data, the shorter the constant time of the detection data. The corresponding interruption duration threshold can be set according to the average value of the detection data within the set time period. When the duration of a certain detection data exceeds the above-mentioned interruption duration threshold, the sensor is likely to have a data detection interruption.

[0041] Obtain the historical detection data of the sensor, and calculate the average value of the detection data per day and the longest duration of the detection data in the historical detection data. See the corresponding table of the average value of some detection data of the gas sensor and the interruption duration threshold shown in Table 1 below:

[0042] Table 2. Correspondence between the average value of some detection data and the interruption duration threshold

[0043] avg / %CH4 s / min avg / %CH4 s / min avg / %CH4 s / min avg / %CH4 s / min 0.1 429.92 0.25 147.74 0.4 78.85 0.55 62.03 0.11 396.43 0.26 139.57 0.41 76.86 0.56 61.55 0.12 365.94 0.27 132.12 0.42 75.04 0.57 61.1 0.13 338.19 0.28 125.35 0.43 73.38 0.58 60.7 0.14 312.92 0.29 119.18 0.44 71.88 0.59 60.33 0.15 289.93 0.3 113.57 0.45 70.51 0.6 60 0.16 268.99 0.31 108.45 0.46 69.26 0.61 59.69 0.17 249.94 0.32 103.8 0.47 68.12 0.62 59.41 0.18 232.59 0.33 99.57 0.48 67.09 0.63 59.16 0.19 216.8 0.34 95.71 0.49 66.15 0.64 58.93 0.2 202.43 0.35 92.2 0.5 65.29 0.65 58.72 0.21 189.35 0.36 89.01 0.51 64.51 0.66 58.53 0.22 177.44 0.37 86.1 0.52 63.8 0.67 58.36 0.23 166.6 0.38 83.45 0.53 63.16 0.68 58.2 0.24 156.73 0.39 81.05 0.54 62.57 0.69 58.06

[0044] During the coal mining process, coal walls will emit gas, the mined coal will also emit gas, and the goaf may also emit gas. The higher the average value of the gas concentration detection data of the sensor on the day, the more gas will gush out of the coal wall, and the greater the fluctuation frequency of the detection data should be. Therefore, under normal circumstances, as the average gas concentration increases within a day, the time for which the gas concentration is constant should be shorter. Each coal mine and each sensor can be considered independent of each other, and the average gas concentration and the length of time it remains constant should be exponentially distributed.

[0045] Draw a scatter plot based on the statistical results, see Figure 2 The relationship between the average value of the detection data on the day and the longest duration is shown in the figure. Figure 2 The horizontal axis is the average value of the detection data of a certain day, and the vertical axis is the longest duration of the detection data, in minutes. The inventor found through statistics and scatter plots that the concentrated part of the detection data presents an exponential distribution. Based on the statistical results, the exponential function y=e x The transformed function y = a × e bx +c, and get the calculation formula for the interruption duration threshold:

[0046]

[0047] Wherein, s is the interruption duration threshold corresponding to the detection result, avg is the average value of the detection data, and a, b and c are all constants. The constants a, b and c can be obtained by fitting based on the historical detection data of the sensor. In a specific implementation, the calculation formula for the interruption duration threshold can be:

[0048]

[0049] In order to improve the accuracy of data detection interruption judgment, this embodiment provides an implementation method for judging whether the sensor has data detection interruption based on the duration of each detection data and the corresponding interruption duration threshold. The implementation method can be specifically referred to the following implementation methods 1 and 2:

[0050] Implementation method 1: Determine whether the duration of each detection data is greater than the corresponding interruption duration threshold. Calculate the duration of each detection data remaining unchanged, including -99999 and -99998 returned when the transmission is abnormal, where -99999 and -99998 indicate sensor transmission abnormality. Compare the duration of each detection data with its corresponding interruption duration threshold.

[0051] When there is target detection data longer than the interruption duration threshold, the detection time period corresponding to the target detection data is obtained. When there is detection data with a duration longer than the corresponding interruption duration threshold in the sensor's detection data, the data is recorded as target detection data, which may be the data returned when the sensor is interrupted. The detection start time and detection end time corresponding to the target detection data are further obtained to obtain the detection time period, that is, the start and end time when the sensor continuously returns the target detection data.

[0052] Determine whether the sensor has data detection interruption based on the historical detection data before the detection time period. According to the detection time period corresponding to the target detection data, the detection data before the target data is judged. For details, refer to the following steps 1) to 2):

[0053] Step 1): Obtain a first maximum detection value within a first preset time period before the detection time period, and a second maximum detection value of the detection data.

[0054] The maximum detection data is obtained within the first preset time before the detection start time of the target detection data, and is recorded as the first maximum detection data m1. For example, when the detection time period corresponding to the target detection data is 11:50-18:20, the maximum detection data m1 of 10 to 30 minutes before 11:50 is obtained.

[0055] The maximum value of the detection data within the above-mentioned set time period is obtained, which is recorded as the second maximum detection data m2. That is, when the real-time detection sensor is detecting whether a data detection interruption problem has occurred, the maximum detection data within a preset time period (such as 24 hours) before the detection start time of the target detection data is used as the second maximum detection data; when the detection sensor is detecting whether a data detection interruption problem has occurred on a certain day in the past, the maximum detection value of the target detection data on that day is used as the second maximum detection data.

[0056] Step 2): determining a detection threshold value according to the second maximum detection value, and when the first maximum detection value is greater than the detection threshold value, determining that a data detection interruption problem occurs in the sensor.

[0057] The value range of the above-mentioned detection threshold n can be 80%*m2~90%*m2. When m1>n, it indicates that the highest point of the target detection data in the previous period is very high, and the detection data of the sensor suddenly changes from a higher detection value to remain unchanged, indicating an abnormal detection, and it is determined that the sensor has a problem of data detection interruption.

[0058] Implementation method 2: In this implementation method, the detection result within the above-mentioned set time period is the historical detection data of the sensor within a certain time period in the past. Based on the historical detection data of the sensor, it is determined whether the sensor has had a data interruption problem during the historical detection process. Specifically, the following steps a to b can be referred to for execution:

[0059] Step a: When there is target detection data whose duration is greater than the interruption duration threshold, the previous detection data of the target detection data is acquired to obtain the first detection data.

[0060] The duration of each detection data is obtained from the historical detection results of the sensor, and it is determined whether the duration of each detection data is greater than the corresponding interruption duration threshold. The detection data with a duration greater than the corresponding interruption duration threshold is recorded as the target detection data.

[0061] The previous detection data of the target detection data is obtained, and the previous detection data is recorded as the first detection data. For example, when the sensor returns one detection data per second, assuming that the detection time period of the target detection data is 20:50:00-24:00:00, the detection data returned by the sensor at 20:49:59 is obtained and recorded as the first detection data.

[0062] Step b: When the first detection data is greater than the average value of the detection data within the preset time period, and the target detection data remains unchanged within the second preset time period, it is determined that the sensor has a data detection interruption problem.

[0063] The above-mentioned preset time period can be the detection average value of the date where the target detection data is located, that is, the detection data average value of the day. For example, when the detection time period of the target detection data is 20:50:00-24:00:00 on the 20th, the detection data average value of the 20th is obtained.

[0064] Determine whether the previous detection data of the above target detection data is greater than the average detection data of the day, that is, determine whether the detection data before the interruption is greater than the average. If so, further determine whether the above target detection data remains unchanged within a second preset time period. If all of the above conditions are met, determine that the sensor has a data detection interruption problem.

[0065] The above-mentioned second preset duration is related to the detection time period of the target detection data. The second preset duration can be the duration from the detection start time of the target detection data to 24:00 on the same day. Assuming that the detection time period of the target detection data is 20:50:00-24:00:00 on the 20th, the second preset duration is the detection start time 20:50:00 to 24:00 on the 20th, that is, to determine whether the target detection data remains unchanged from the start time and there is no more detection data on the same day.

[0066] In a specific implementation, when the detection result of the sensor does not include detection data, it is determined that the sensor has a data detection interruption problem. That is, when the sensor does not feed back detection data, it indicates that the sensor has not performed data detection, and it is determined that the sensor has a data detection interruption problem.

[0067] The sensor data detection interruption identification method provided in this embodiment can be applied to a coal mine safety monitoring system, so as to identify data detection interruption of each sensor in the coal mine safety monitoring system, and determine whether each sensor has a data detection interruption problem. In order to improve the safety and reliability of the coal mine safety monitoring system, the sensor data detection interruption identification method provided in this embodiment also includes:

[0068] When the sensor has a data detection interruption problem, a detection interruption alarm is issued to prompt maintenance personnel to inspect the sensor. When the sensor is identified to have a data detection interruption problem, a detection interruption alarm is immediately issued. The alarm mode may include any one or more of sound, light and text alarms to prompt the staff to cut off the power supply and repair the sensor in time, avoid the gas concentration in the mine exceeding the standard and failing to detect it in time, and avoid the safety hazards caused by the interruption of sensor data detection.

[0069] The sensor data detection interruption identification method provided in this embodiment can be applied to the data detection interruption identification of any sensor, has strong versatility, avoids the safety hazards caused by the sensor data detection interruption, and improves the safety and reliability of sensor detection.

[0070] Based on the above embodiment, this embodiment provides an example of applying the above sensor data detection interruption identification method, which can be specifically performed with reference to the following steps 1 to 4:

[0071] Step 1: Determine whether the sensor returns detection data on the day. If there is no detection data, it is determined that the sensor has a data interruption. If there is detection data, execute step 2.

[0072] Step 2: Calculate the average value of the detection data within a day based on the detection results of the sensor and determine the interruption duration threshold.

[0073] The interruption duration threshold is recorded as s, and the average value of the detection data is recorded as avg. The relationship is as follows:

[0074]

[0075] Step 3: Determine the detection time period and duration of the detection data. When the duration of the detection data is greater than the corresponding interruption duration threshold, the sensor may have data interruption.

[0076] Step 4: Based on the detection time period 4 of the detection data, the data before and after the interruption time are judged. If one of the following conditions is met, it is considered that the sensor has a data interruption:

[0077] (1) Whether the highest point in the period before the interruption (i.e., the detection period) is very high (for example, the maximum value in the 10 minutes before the interruption is greater than 80% of the maximum value of the day).

[0078] See Figure 3 The sensor data detection interrupt diagram shown, Figure 3 The figure shows the relationship between the detection time and detection data uploaded on a certain working face of a coal mine on a certain day. Figure 3 The horizontal axis represents the detection time, and the vertical axis represents the detection data. Figure 3 It can be seen that the data of sensor T1 remains unchanged from 11:50 to 18:20, and the data rises to a higher position before the interruption, which determines that the sensor has a data detection interruption problem from 11:50 to 18:20.

[0079] (2) The data before the interruption is greater than the mean, the monitoring value remains unchanged from a certain moment, and there is no more data on that day.

[0080] Corresponding to the sensor data detection interruption identification method provided in the above embodiment, the embodiment of the present invention provides a sensor data detection interruption identification device, see Figure 4 The structure diagram of a sensor data detection interruption identification device shown in FIG. 1 includes the following modules:

[0081] The acquisition module 41 is used to acquire the detection result of the sensor within a set time period.

[0082] The determination module 42 is used to determine an interruption duration threshold corresponding to the detection result.

[0083] The judgment module 43 is used to judge whether the sensor has a data detection interruption based on the duration and interruption duration threshold of each detection data in the detection result.

[0084] The sensor data detection interruption identification device provided in this embodiment can detect whether the detection data remains unchanged for a long time when the sensor is performing data detection, and can further accurately determine whether the sensor has a data detection interruption phenomenon, thereby avoiding the problem of inaccurate data detection caused by sensor data detection interruption.

[0085] In one implementation, the determination module 42 is further configured to determine an interruption duration threshold corresponding to the detection result based on an average value of the detection data.

[0086] In one implementation, the calculation formula for the above interruption duration threshold is:

[0087]

[0088] Wherein, s is the interruption duration threshold corresponding to the detection data, avg is the average value of the detection data within the first preset duration, and a, b and c are all constants.

[0089] In one embodiment, the above-mentioned judgment module 43 is further used to judge whether the duration of each detection data is greater than the corresponding interruption duration threshold; when there is target detection data greater than the interruption duration threshold, obtain the detection time period corresponding to the target detection data; based on the historical detection data before the detection time period, judge whether the sensor has a data detection interruption.

[0090] In one embodiment, the above-mentioned judgment module 43 is further used to obtain a first maximum detection value within a first preset time period before the detection time period, and a second maximum detection value of the detection data; determine a detection threshold based on the second maximum detection value; when the first maximum detection value is greater than the detection threshold, determine that the sensor has a data detection interruption problem.

[0091] In one embodiment, the above-mentioned judgment module 43 is further used to obtain the previous detection data of the target detection data to obtain the first detection data when there is target detection data greater than the interruption duration threshold; when the first detection data is greater than the average value of the detection data, and the target detection data remains unchanged within a second preset time length, it is determined that the sensor has a data detection interruption problem.

[0092] In one embodiment, the above device further comprises:

[0093] The alarm module is used to issue a detection interruption alarm when the sensor has a data detection interruption problem, so as to prompt maintenance personnel to inspect the sensor.

[0094] The second determination module is used to determine that a data detection interruption problem occurs in the sensor when the detection result of the sensor does not include the detection data.

[0095] The sensor data detection interruption identification device provided in this embodiment can be applied to the data detection interruption identification of any sensor, has strong versatility, avoids the safety hazards caused by the sensor data detection interruption, and improves the safety and reliability of sensor detection.

[0096] The implementation principle and technical effects of the device provided in this embodiment are the same as those of the aforementioned embodiments. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0097] An embodiment of the present invention provides an electronic device, such as Figure 5 As shown in the structural diagram of the electronic device, the electronic device includes a processor 51 and a memory 52, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of the method provided in the above embodiment are implemented.

[0098] See also Figure 5 The electronic device further includes: a bus 54 and a communication interface 53, and the processor 51, the communication interface 53 and the memory 52 are connected via the bus 54. The processor 51 is used to execute executable modules stored in the memory 52, such as computer programs.

[0099] The memory 52 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0100] The bus 54 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0101] Among them, the memory 52 is used to store programs, and the processor 51 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 51, or implemented by the processor 51.

[0102] The processor 51 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 51 or the instruction in the form of software. The above processor 51 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. It can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 52, and the processor 51 reads the information in the memory 52 and completes the steps of the above method in combination with its hardware.

[0103] An embodiment of the present invention provides a computer-readable medium, wherein the computer-readable medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described in the above embodiment.

[0104] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned embodiment, and will not be repeated here.

[0105] The sensor data detection interruption identification method, device and computer program product of the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0106] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0107] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0108] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0109] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A sensor data detection interruption identification method, characterized in that: include: S102, obtaining the detection results of the sensor within a set time period; S104, determining an interruption duration threshold corresponding to the detection result; S106, determining whether data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold; The step S104 includes: determining an interruption duration threshold corresponding to the detection result based on an average value of the detection data; The calculation formula of the interruption duration threshold is: in, is the interruption duration threshold corresponding to the detection result, is the average value of the detection data, 、 and are all constants; The step S106 includes: Determine whether the duration of each detection data is greater than the corresponding interruption duration threshold; When there is target detection data with a duration greater than the interruption duration threshold, obtaining the detection time period corresponding to the target detection data; wherein, when there is detection data with a duration greater than the corresponding interruption duration threshold in the detection data of the sensor, the detection data is recorded as target detection data; Obtaining a first maximum detection value within a first preset time period before the detection time period, and a second maximum detection value of the detection data; determining a detection threshold according to the second maximum detection value; When the first maximum detection value is greater than the detection threshold, it is determined that a data detection interruption problem occurs in the sensor.

2. The method according to claim 1, characterized in that Also includes: When the sensor has a problem of data detection interruption, a detection interruption alarm is issued to prompt maintenance personnel to repair the sensor.

3. A sensor data detection interruption identification method, characterized in that: include: S102, obtaining the detection results of the sensor within a set time period; S104, determining an interruption duration threshold corresponding to the detection result; S106, determining whether data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold; The step S104 includes: determining an interruption duration threshold corresponding to the detection result based on an average value of the detection data; The calculation formula of the interruption duration threshold is: in, is the interruption duration threshold corresponding to the detection result, is the average value of the detection data, 、 and are all constants; The step S106 includes: Determine whether the duration of each detection data is greater than the corresponding interruption duration threshold; When target detection data having a duration greater than the interruption duration threshold exists, the previous detection data of the target detection data is obtained to obtain first detection data; wherein, the duration of each detection data is obtained from the historical detection results of the sensor, and it is determined whether the duration of each detection data is greater than its corresponding interruption duration threshold, and the detection data having a duration greater than the corresponding interruption duration threshold is recorded as the target detection data; When the first detection data is greater than the average value of the detection data and the target detection data remains unchanged within a second preset time period, it is determined that a data detection interruption problem occurs in the sensor.

4. The method according to claim 3, characterized in that Also includes: When the sensor has a problem of data detection interruption, a detection interruption alarm is issued to prompt maintenance personnel to repair the sensor.

5. A sensor data detection interruption identification device, characterized in that: The method according to any one of claims 1 to 2, wherein the device comprises: An acquisition module is used to obtain the detection results of the sensor within a set time period; A determination module, configured to determine an interruption duration threshold corresponding to the detection result; a judgment module, configured to judge whether data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold; The judgment module is used to judge whether the duration of each detection data is greater than the corresponding interruption duration threshold; when there is target detection data greater than the interruption duration threshold, obtain the detection time period corresponding to the target detection data; obtain the first maximum detection value within a first preset time period before the detection time period, and the second maximum detection value of the detection data; determine the detection threshold based on the second maximum detection value; when the first maximum detection value is greater than the detection threshold, determine that the sensor has a data detection interruption problem.

6. A sensor data detection interruption identification device, characterized in that: The method according to any one of claims 3 to 4, wherein the device comprises: An acquisition module is used to obtain the detection results of the sensor within a set time period; A determination module, configured to determine an interruption duration threshold corresponding to the detection result; a judgment module, configured to judge whether data detection interruption occurs in the sensor based on the duration of each detection data in the detection result and the interruption duration threshold; The judgment module is used to determine whether the duration of each detection data is greater than the corresponding interruption duration threshold; when there is target detection data greater than the interruption duration threshold, obtain the previous detection data of the target detection data to obtain the first detection data; when the first detection data is greater than the average value of the detection data and the target detection data remains unchanged within a second preset time, it is determined that the sensor has a data detection interruption problem.

7. An electronic device, characterized in that: include: processors and storage devices; The storage device stores a computer program, which, when executed by the processor, executes the method according to any one of claims 1 to 2.

8. An electronic device, characterized in that: include: processors and storage devices; The storage device stores a computer program, which, when executed by the processor, executes the method according to any one of claims 3 to 4.

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

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