A method, system and storage medium for starting control of a target device
By setting up sensors in emergency equipment to detect environmental anomalies and output warning signals, the problem of difficulty in finding equipment quickly during emergencies is solved, the location of the equipment is quickly prompted, and response efficiency and safety are improved.
Patent Information
- Application Number
- CN202410782632.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-18
AI Technical Summary
In an emergency, it is difficult for personnel to quickly find emergency equipment such as fire extinguishers, which results in long search times and increased losses. The existing technology lacks an automatic start-up warning function, making it difficult to identify the location of the equipment, especially when smoke or the environment is unclear.
By setting sensors in the target device, based on the environmental data extraction status, warning signals are output to prompt the device location, including sound and light prompts, and smoke, temperature and infrared sensors are used to detect environmental anomalies to ensure accuracy and applicability.
It can quickly prompt the location of emergency equipment when the environment is abnormal, reducing search time and improving response efficiency and safety in emergency situations.
Smart Images

Figure CN118351635B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of device startup methods, and in particular to a startup control method, system and storage medium for a target device. Background Art
[0002] When dealing with emergencies, such as fires and accidents, it is crucial to be able to quickly find equipment such as fire extinguishers, first aid devices, life jackets, etc. For example, an automated external defibrillator (AED) is a portable medical device used to rescue patients with cardiac arrest. For example, a fire extinguisher is a portable fire-fighting tool. Fire extinguishers contain chemicals to put out fires. Fire extinguishers are one of the most common firefighting equipment and are stored in public places or places where fires may occur. Different types of fire extinguishers are filled with different ingredients and are designed for different causes of fire.
[0003] When a fire occurs, people on the scene will face the situation of urgently looking for a fire extinguisher in a short time. At this time, the position of the personnel is not fixed, while the position of the fire extinguisher is fixed. The personnel need to find the fire extinguisher first, and then use the fire extinguisher to put out the fire. However, the process of looking for a fire extinguisher often takes too long due to the emergency, causing various losses. When a fire occurs, it is crucial to find the location of the fire extinguisher. If the location of the fire extinguisher can be quickly known, the time for finding the fire extinguisher can be saved, which is conducive to reducing the amount of losses.
[0004] For example, in the related art, the application document with publication number CN109308795A discloses a method for preventing fire in underground coal mines, including a gas pressure regulating chamber and a gas monitoring system. The gas pressure regulating chamber is connected to the return air of the coal mine through a pipeline and is aggregated and concentrated in the pressure equalizing chamber; the gas monitoring system is equipped with a combustible gas detector and an infrared sensor at each monitoring point, and an alarm controller is connected near the combustible gas detector. The alarm controller is connected to the pressure equalizing chamber fan through a wire to control the opening and closing of the pressure equalizing chamber fan, and the alarm controller and the infrared sensor are remotely connected to the control computer through wireless communication. The environment is monitored by infrared monitoring, gas monitoring and other methods to realize an alarm or early warning mechanism to eliminate fire hazards.
[0005] In the existing technology, many emergency devices do not have the function of automatically starting an alarm, and personnel still need to search on site according to the prompts on the attached labels. Especially in special scenarios, such as smoke or other environments, improper labeling or inability to see the surrounding environment clearly can make it difficult to find emergency equipment. Summary of the invention
[0006] In order to realize a rapid startup warning of a device so as to quickly prompt the location of a certain emergency or fire-fighting equipment, the present application provides a startup control method, system and storage medium for a target device.
[0007] In a first aspect, the present application provides a method for starting a target device, which adopts the following technical solution:
[0008] A method for controlling the startup of a target device comprises the following steps:
[0009] Acquire first environmental data of the scene based on the first sensor;
[0010] Extracting a first environmental state from the first environmental data using a preset first extraction algorithm;
[0011] Matching the first environmental state with a preset first reference environmental state, and outputting a first matching result;
[0012] If the content of the first matching result is a match failure, continue to obtain new first environment data;
[0013] If the content of the first matching result is a successful match, a first response signal is generated according to the first matching result, and the target device starts to output a preset first warning state in response to the first response signal;
[0014] The first warning state includes a sound prompt and / or a light prompt; the first sensor and the target device are connected by wire or by radio.
[0015] By adopting the above technical solution, based on the sensor installed near the target device or the sensor installed remotely, the first sensor can sense when an abnormal environmental situation occurs near or far away from the target device, and then the target device can start to output the first warning state to prompt the personnel the location of the target device, so that the personnel who cannot find the fire extinguisher can quickly know the location of the fire extinguisher.
[0016] Optionally, the method further comprises the following steps:
[0017] The first sensor is located inside the target device, the first sensor is located next to the target device, or the first sensor is located within a preset first distance range near the target device.
[0018] By adopting the above technical solution, the first sensor can be set at multiple positions, which is conducive to identifying different environmental abnormalities and improving the applicability of the method.
[0019] Optionally, the method further comprises the following steps:
[0020] The first sensor is a smoke sensor, and the first environmental data is smoke data;
[0021] There are one or more first sensors; when there are multiple first sensors, the first environmental data of multiple triggered first sensors are read, and then a first calculation result is obtained according to a weighted average value, and the weight of each first environmental data is set to be inversely related to the first distance data between the first sensor and the target device, and the larger the first distance data, the smaller the weight of the corresponding first environmental data, and the smaller the first distance data, the larger the weight of the corresponding first environmental data;
[0022] A corresponding first environmental sensing value is generated according to the first calculation result.
[0023] By adopting the above technical solution, the smoke sensor can detect the smoke in the fire and trigger the target device to start outputting the first warning state. In addition, multiple smoke sensors can obtain a more accurate first environmental sensing value through calculation.
[0024] Optionally, the first extraction algorithm comprises:
[0025] Calculating whether the current first environment sensing value is higher than a preset first environment reference value;
[0026] If it is not higher than, the first environmental state is a normal state; if it is higher than, the first environmental state is an abnormal state;
[0027] If the first environmental state is an abnormal state, calculating N first environmental data acquired within a preset recent time period, and calculating a change trend of the N first environmental data;
[0028] If the growth amount of the change trend is less than a preset first reference growth value, the first environmental state is modified to a normal state; otherwise, the first environmental state is maintained as an abnormal state and the first environmental state is output.
[0029] By adopting the above technical solution, the first environmental state is adaptively corrected according to the comparison of the change trend of the first environmental data, which is conducive to further improving the accuracy of the first environmental state.
[0030] Optionally, the method further comprises the following steps:
[0031] Acquire second environmental data of the scene based on the second sensor;
[0032] Extracting a second environmental state from the second environmental data using a preset second extraction algorithm;
[0033] Matching the second environmental state with a preset second reference environmental state, and outputting a second matching result;
[0034] If the content of the second matching result is a match failure, continue to obtain new second environment data;
[0035] If the content of the second matching result is a successful match, the content of the first matching result is obtained, and a first matching degree value between the first environmental state and the second environmental state is calculated; if the first matching degree value is less than a preset first matching reference value, a second response signal is generated according to the first matching degree value result, and the target device starts controlling the output of a preset second warning state in response to the second response signal;
[0036] The second warning state includes a sound prompt and / or a light prompt, and the speaking speed of the sound prompt and / or the flashing frequency of the light prompt are set to be positively correlated to the quantity ratio of the first sensor to the second sensor; the larger the quantity ratio, the faster the speaking speed and / or the flashing frequency, and the smaller the quantity ratio, the slower the speaking speed and / or the flashing frequency.
[0037] By adopting the above technical solution, two sensors are used to detect environmental abnormalities, and the second sensor is used to verify the first sensor. After comparing the relevant data of the two sensors, a second warning state of whether the sensor is operating normally can be obtained.
[0038] Optionally, the method further comprises the following steps:
[0039] The second sensor is located inside the target device, the second sensor is located next to the target device, or the second sensor is located within a preset second distance range near the target device;
[0040] The second sensor is a temperature sensor, and the second environmental data is temperature data;
[0041] There are one or more second sensors; when there are multiple second sensors, the second environmental data of the multiple triggered second sensors are read and then a second calculation result is obtained according to a weighted average value, and the weight of each second environmental data is set to be inversely related to the second distance data between the second sensor and the target device. The larger the second distance data, the smaller the weight of the corresponding second environmental data, and the smaller the second distance data, the larger the weight of the corresponding second environmental data; the corresponding second environmental sensing value is generated using a weighted average algorithm according to the first calculation result and the second calculation result;
[0042] The second extraction algorithm includes: calculating whether the current second environment sensing value is higher than a preset second environment reference value; if not, the second environment state is a normal state; if higher, the second environment state is an abnormal state;
[0043] If the second environmental state is an abnormal state, calculate the N second environmental data acquired within the preset recent time period, and calculate the change trend of the N second environmental data; calculate the first occurrence time difference between the change trend of the first environmental data and the change trend of the second environmental data; if the first occurrence time difference is greater than the preset first time reference value, modify the second environmental state to a normal state; otherwise, the second environmental state is maintained as an abnormal state, and the second environmental state is output.
[0044] By adopting the above technical solution, two sensors are used to detect environmental abnormalities, and the second sensor is used to verify the first sensor. The triggering time of the temperature sensor lags behind the smoke sensor. The environmental abnormality state can be verified based on the first occurrence time difference. If the triggering time of the temperature sensor is ahead of the smoke sensor, it means that the fire has been extinguished, and the second environmental state output is corrected.
[0045] Optionally, the method further comprises the following steps:
[0046] Acquiring third environmental data at the scene based on a third sensor;
[0047] Extracting a third environmental state from the third environmental data using a preset third extraction algorithm;
[0048] Matching the third environmental state with a preset third reference environmental state, and outputting a third matching result;
[0049] If the content of the third matching result is a match failure, continue to obtain new third environment data;
[0050] If the content of the third matching result is a successful match, the content of the second matching result is obtained, and a second matching degree value between the second environmental state and the third environmental state is calculated; if the second matching degree value is less than a preset second matching reference value, a third response signal is generated according to the second matching degree value result, and the target device starts controlling the output of a preset third warning state in response to the third response signal;
[0051] The third warning state includes a sound prompt and / or a light prompt, and the speaking speed of the sound prompt and / or the flashing frequency of the light prompt are set to be positively correlated to the quantity ratio of the second sensor to the third sensor; the larger the quantity ratio, the faster the speaking speed and / or the flashing frequency, and the smaller the quantity ratio, the slower the speaking speed and / or the flashing frequency.
[0052] By adopting the above technical solution, two sensors are used to detect environmental abnormalities, and a third sensor is used to verify the second sensor. After comparing the relevant data of the two sensors, a third warning state of whether the sensor is operating normally can be obtained.
[0053] Optionally, the method further comprises the following steps:
[0054] The third sensor is located inside the target device, the third sensor is located next to the target device, or the third sensor is located within a preset third distance range near the target device;
[0055] The third sensor is an infrared image sensor, and the third environment data is infrared image data. A color temperature map corresponding to an object in the infrared image data of each of the third sensors is calculated, and a high temperature center is calculated according to the color temperature map, wherein the high temperature center is a temperature area in the color temperature map where the temperature is higher than a set threshold, and a temperature value at the high temperature center is matched from a preset database as the third environment data;
[0056] There are one or more third sensors; when there are multiple third sensors, the third environmental data of multiple triggered third sensors are read and then a third calculation result is obtained according to a weighted average value, and the weight of each third environmental data is set to be inversely related to the third distance data between the third sensor and the target device. The larger the third distance data, the smaller the weight of the corresponding third environmental data, and the smaller the third distance data, the larger the weight of the corresponding third environmental data; the corresponding third environmental sensing value is generated using a weighted average algorithm according to the second calculation result and the third calculation result;
[0057] The third extraction algorithm includes: calculating whether the current third environment sensing value is higher than a preset third environment reference value; if not, the third environment state is a normal state; if higher, the third environment state is an abnormal state;
[0058] If the third environmental state is an abnormal state, calculate the N third environmental data obtained within the preset recent time period, and calculate the change trend of the N third environmental data; calculate the second occurrence time difference between the change trend of the third environmental data and the change trend of the first environmental data; if the second occurrence time difference is greater than the preset second time reference value, and the difference between the first occurrence time difference and the second occurrence time difference is less than the preset time range value, modify the third environmental state to a normal state; otherwise, the third environmental state is maintained as an abnormal state, and the third environmental state is output.
[0059] By adopting the above technical solution, two sensors are used to detect environmental abnormalities, and a third sensor is used to verify the first sensor. The triggering time of the smoke sensor lags behind that of the image sensor. The abnormal environmental state can be verified based on the second time difference. If the triggering time of the smoke sensor is ahead of that of the image sensor, it means that the fire has been extinguished, and the third environmental state output is corrected.
[0060] In a second aspect, the present application provides a startup control system for a target device, which adopts the following technical solution:
[0061] A startup control system for a target device comprises a processor, wherein a program of any one of the above-mentioned startup control methods for the target device is executed in the processor.
[0062] In a third aspect, the present application provides a storage medium, which adopts the following technical solution:
[0063] A storage medium stores a program of the startup control method of a target device as described in any one of the above.
[0064] In summary, the present application includes at least one of the following beneficial technical effects: based on a sensor set up near the target device or a sensor set up remotely, the first sensor can sense when an environmental abnormality occurs near or far away from the target device, and then the target device can start to output a first warning state to prompt personnel of the location of the target device, so that people who cannot find the fire extinguisher can quickly know the location of the fire extinguisher. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 The invention is a method step diagram of a method for starting control of a target device.
[0066] Figure 2 It is a schematic diagram of the overall structure of an assembly of an automatic prompting fire extinguisher.
[0067] Figure 3 It is a diagram of the explosion of the automatic warning fire extinguisher.
[0068] Figure 4 It is a schematic diagram of the explosion of the automatic prompt device.
[0069] Figure 5 This is a method step diagram based on the first sensor control.
[0070] Figure 6 It is a method step diagram of the first extraction algorithm.
[0071] Figure 7 This is a method step diagram based on the second sensor control.
[0072] Figure 8It is a method step diagram for outputting a second environmental state.
[0073] Fig. 9 This is a method step diagram based on the third sensor control.
[0074] Fig.10 This is a method step diagram for outputting a third environmental state.
[0075] Figure numerals: 1. Automatic reminder fire extinguisher assembly; 2. Nozzle; 3. Safety lock rod; 4. Pressure gauge; 5. Fire extinguisher tank; 6. Pressure handle and nozzle; 7. Safety latch; 8. Automatic reminder device; 9. Speaker; 10. Switch; 11. Battery; 12. Communication module; 13. Main control system module; 14. Automatic reminder device housing. DETAILED DESCRIPTION
[0076] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings.
[0077] In the description of this specification, the description with reference to the terms "certain embodiments", "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0078] The present application embodiment discloses a method for starting and controlling a target device. In this embodiment, the target device is a fire extinguisher as an example, but may also be other emergency devices, the difference being the specific sensors. Figure 1 , including the following steps:
[0079] The first environmental data of the scene is obtained based on the first sensor, wherein the first sensors are set to be multiple, each having a first environmental data, and what is obtained is a data set obtained by multiple first sensors. Among them, if the target device is used for a fire extinguisher, the first sensor can be a smoke sensor. The working principle of the smoke sensor is mainly based on the scattering and absorption characteristics of smoke particles to light, and the core components include light-emitting diodes and photoresistors. When there is no smoke, the light emitted by the light-emitting diode will directly illuminate the photoresistor, and the resistance value of the photoresistor remains within a stable range. When there are smoke particles in the air, these particles will scatter and absorb light, causing the resistance value of the photoresistor to change. By measuring the change in the resistance value of the photoresistor, the smoke concentration in the air can be determined. Therefore, the data obtained by the smoke sensor is the smoke concentration data in the environment.
[0080] The first environmental state is extracted from the first environmental data using a preset first extraction algorithm; wherein the first environmental data here is a data set obtained by multiple first sensors. The first extraction algorithm mainly filters and selects the set of smoke concentration data in the first environmental data. The first extraction algorithm processes the set of data. For example, if the overall rising data suddenly changes to a too low data in the middle, filtering is performed; or if the overall flat data suddenly changes to a data with a large deviation in the middle, filtering is performed; the first environmental state is the data of the extracted smoke characteristics.
[0081] Match the first environmental state with the preset first reference environmental state, and output the first matching result; for example, if the smoke concentration is 0, it means that there is no smoke, which means that the first environmental state is in a smoke-free environment. If the smoke concentration gradually increases, and the smoke concentration is lower than the threshold; it means that although there is smoke, there may be no fire. If the smoke concentration gradually increases, and the smoke concentration gradually exceeds the threshold, it means that there is smoke and a fire may have occurred. Alternatively, if the sum of the smoke values does not exceed the preset total threshold over a period of time, it means that there is no fire; if the sum of the smoke values exceeds the preset total threshold over a period of time, it means that there may be a fire; alternatively, multiple judgment ranges can be set to determine whether there may be other smoke occurrences; wherein the first matching result is a fire or a possible fire.
[0082] If the first matching result indicates that the match fails, then new first environment data is obtained; if the match fails, it means that no fire has occurred and a fire extinguisher is not needed. Therefore, new first environment data is obtained, and the set of first environment data within a new period of time is obtained.
[0083] If the first matching result is a successful match, a first response signal is generated according to the first matching result, and the first response signal is a signal that triggers an alarm. In response to the first response signal, the target device starts to output a preset first alarm state.
[0084] The first warning state includes sound prompts and / or light prompts; the target device prompts the location of the target device through sound and / or light alarms, which is conducive to finding the location of equipment such as fire extinguishers. The first sensor and the target device are connected by wired electricity or radio, and the first sensor can be connected to the target device signal in a variety of ways. Among them, the sound prompt can be a pre-stored voice or a device that can make a sound, such as a buzzer.
[0085] Based on the sensor installed near the target device or the sensor installed remotely, the first sensor can sense when an abnormal environmental situation occurs near or far away from the target device, and then the target device can start to output the first warning state to prompt personnel the location of the target device, so that people who cannot find the fire extinguisher can quickly know the location of the fire extinguisher.
[0086] The method further comprises the steps of:
[0087] The first sensor is located inside the target device, the first sensor is located next to the target device, or the first sensor is located within a preset first distance range near the target device. For example, the first sensor is a device built into the fire extinguisher, or it can be a device installed near the fire extinguisher, or it can be installed on the roof above the fire extinguisher, or other locations in the corridor. The first sensor can be set in multiple locations, which is conducive to identifying different environmental abnormalities and improving the applicability of the method. If it is not a fire extinguisher, for example, a first aid device, it can also be installed at an exit or entrance where there is a lot of traffic. The prompt structure can be fixedly installed with the sensor, or it can be at a certain distance, so as to achieve a variety of installation methods.
[0088] Reference Figure 2 and Figure 3 The automatic prompting fire extinguisher assembly 1 includes a fire extinguisher tank 5, a pressure handle and a nozzle 6, a nozzle 2, a safety lock rod 3, a pressure gauge 4, a safety latch 7 and an automatic prompting device 8. The automatic prompting device 8 is a target device that can provide sound or light prompts according to the data measured by the sensor.
[0089] Reference Figure 4 The automatic prompt device 8 includes a speaker 9, a switch 10, a battery 11, a communication module 12, a main control system module 13, and an automatic prompt device housing 14; the speaker 9 is used to play sound. The communication module 12 is used to achieve connection with the sensor, or to connect the signal with the background remote control system. The switch 10 is used to control whether the automatic prompt device starts monitoring. The battery 11 is used to power the entire automatic prompt device. The main control system module 13 is used to process the received and sent signals to achieve signal transmission and execution. The automatic prompt device housing 14 is used to install the above-mentioned components.
[0090] In addition, in addition to being integrated into the fire extinguisher, the automatic reminder device can also be a detachable installation structure because the fire extinguisher is a disposable product. For example, it can be installed on an existing ordinary fire extinguisher through gluing, magnetism or snap-on structures, thereby reducing costs and increasing the reusability of the target device.
[0091] Reference Figure 5 , the method further comprises the steps of:
[0092] When applied to a fire extinguisher, the first sensor is a smoke sensor, and the first environmental data is smoke data; there are one or more first sensors.
[0093] When there are multiple first sensors, read the first environmental data of multiple triggered first sensors, and the triggered first sensors are sensors that exceed the smoke concentration threshold. Then, the first calculation result is obtained according to the weighted average value, and the weight of each first environmental data is set to be inversely related to the first distance data between the first sensor and the target device. The larger the first distance data, the smaller the weight of the corresponding first environmental data, and the smaller the first distance data, the larger the weight of the corresponding first environmental data. For example, the distances of the four first sensors from the first sensor of the target device are 1m, 2m, 3m, and 4m respectively; the corresponding weights of the first environmental data are: 0.5, 0.25, 0.15, and 0.1 respectively. Therefore, the first calculation result = 0.5×the first environmental data obtained by the first sensor at a distance of 1m + 0.25×the first environmental data obtained by the first sensor at a distance of 2m + 0.15×the first environmental data obtained by the first sensor at a distance of 3m + 0.1×the first environmental data obtained by the first sensor at a distance of 4m.
[0094] The first environment sensing value corresponding to the first calculation result is generated, and the first calculation result is adjusted by proportion to generate the first environment sensing value. For example, the first calculation result is 10, and after the proportion is reduced, it is 10 / 15, and is presented in the form of a ratio.
[0095] The smoke sensor can detect smoke in a fire and thus trigger the target device to start outputting a first warning state. In addition, multiple smoke sensors can obtain a more accurate first environmental sensing value through calculation.
[0096] Reference Figure 6 , the first extraction algorithm includes:
[0097] Calculate whether the current first environment sensing value is higher than a preset first environment reference value; for example, the first environment sensing value is 5, 6, 7, 4, 8, 9, 10, 11 or 12, and the first environment reference value is 10 (wherein the numerical value is only used for comparison and explanation and does not involve the actual measurement value).
[0098] If it is not higher than, the first environmental state is a normal state; if it is higher than, the first environmental state is an abnormal state; that is, a value higher than 10 is an abnormal state, and a value lower than 10 is a normal state.
[0099] If the first environmental state is an abnormal state, calculate the N first environmental data obtained within the preset recent time period, and calculate the change trend of the N first environmental data; if there is a situation higher than 10, it is necessary to further determine whether there is a real fire, for example, analyze the smoke data sampled 20 times within 5 minutes, that is, the first environmental data, and calculate the change trend of the 20 first environmental data, that is, the speed of smoke change.
[0100] If the growth amount of the change trend is less than the preset first reference growth value, the first environmental state is modified to a normal state; otherwise, the first environmental state is maintained as an abnormal state and the first environmental state is output. For example, if the smoke increases at a fast rate, the abnormal state is maintained; if the growth rate is slow, it means that there may be some interfering judgment factors, such as smokers, dust, haze and other weather effects.
[0101] Adaptively correcting the first environmental state based on comparing the change trend of the first environmental data is beneficial to further improve the accuracy of the result of the first environmental state.
[0102] Reference Figure 7 , the method further comprises the steps of:
[0103] The second environmental data of the scene is obtained based on the second sensor; the second sensor is a temperature sensor, which is used to obtain temperature data, that is, the second environmental data; there are also multiple second sensors, and what is obtained is a collection of multiple temperature data.
[0104] The second environmental state is extracted from the second environmental data using a preset second extraction algorithm; similarly, the set of temperature data is also extracted by filtering and selecting to reduce the influence of interference signals on the temperature data.
[0105] Matching the second environmental state with a preset second reference environmental state, and outputting a second matching result;
[0106] For example, if the temperature data are all at normal temperature, it means that there is no smoke, which means that the first environmental state is in an environment without fire. If the temperature data gradually rises, and the temperature data are all below the threshold; it means that although there is fire, there may not be a fire, and further judgment may be needed. If the temperature data gradually rises, and the temperature data gradually exceeds the threshold, it means that there may be a fire. Alternatively, if the sum of the temperatures over a period of time does not exceed the preset total threshold, it means that there is no fire. If the sum of the temperatures over a period of time exceeds the preset total threshold, it means that there may be a fire; alternatively, multiple judgment ranges can be set to determine whether there may be other situations where the temperature is too high; the second matching result is that there is smoke and there is a fire or a possible fire.
[0107] If the content of the second matching result is a match failure, continue to obtain new second environmental data; wherein, a match failure indicates that the numerical value and change trend corresponding to the set corresponding to the temperature data do not exceed the threshold, or the sum is less than the preset total threshold, and therefore, it is necessary to continue to obtain for continuous monitoring.
[0108] If the content of the second matching result is a successful match, the content of the first matching result is obtained; that is, the judgment of the temperature data is combined with the judgment of the smoke data, so as to ensure that the results of the two are consistent, that is, the matching degree is high, thus helping to achieve a more accurate judgment. Calculate the first matching degree value between the first environmental state and the second environmental state. If the first matching degree value is less than the preset first matching reference value, a second response signal is generated according to the first matching degree value result, and the target device responds to the second response signal and starts to control the output of the preset second warning state.
[0109] The first environmental state is a state determined to be normal or abnormal based on data obtained by the smoke sensor; the second environmental state is a state determined to be normal or abnormal based on data obtained by the temperature sensor;
[0110] For example, normal is 1 and abnormal is 0;
[0111] If the first environment state and the second environment state are both normal or both abnormal, the matching degree is 1;
[0112] If one of the first environmental state and the second environmental state is normal and the other is abnormal, the matching degree is 0.5.
[0113] The second warning state includes a sound prompt and / or a light prompt, and the speaking speed of the sound prompt and / or the flashing frequency of the light prompt are set to be positively correlated to the quantity ratio of the first sensor to the second sensor; the larger the quantity ratio, the faster the speaking speed and / or the flashing frequency, and the smaller the quantity ratio, the slower the speaking speed and / or the flashing frequency.
[0114] The ratio of the number of the first sensor to the number of the second sensor is the ratio of the triggered sensors; when the number of the first sensor (large smoke) is 3 and the number of the second sensor (high temperature) is 4, the ratio is 3 / 4, and the sound is played or the light is flashing at the first frequency; when the number of the first sensor (large smoke) is 4 and the number of the second sensor (high temperature) is 4, the ratio is 4 / 4, and the sound is played or the light is flashing at the second frequency; the first frequency is less than the second frequency. The increase in the ratio means that the numerator increases, or the numerator and denominator increase at the same time, so it means that the temperature is too high, and the larger the smoke, the faster the frequency of prompts is needed.
[0115] When a fire occurs, smoke is often generated first, and the smoke spreads faster. Then, as the fire spreads, the temperature gradually rises, and the thermal energy value of the thermal energy map also rises. By using the ratio method, the first sensor (smoke) is used as the numerator and the second sensor (temperature) is used as the denominator. As the fire occurs, the numerator will increase faster first, and then both the numerator and the denominator will gradually increase. Therefore, the ratio will also gradually increase.
[0116] Two sensors are used to detect environmental abnormalities, and the second sensor is used to verify the first sensor. After comparing the relevant data of the two sensors, a second warning state of whether the sensor is operating normally can be obtained.
[0117] The second sensor can be installed in the following ways: the second sensor is located inside the target device, the second sensor is located next to the target device, or the second sensor is located within a preset second distance range near the target device; similarly, the temperature sensor can also be built into the target device, or installed on a wall or the ground near the target device, or on the ceiling above, or at other installation locations within 5 meters from the target device.
[0118] The type of the second sensor is further limited: when applied to a fire extinguisher, the second sensor is a temperature sensor, and the second environmental data is temperature data; there are one or more second sensors.
[0119] Reference Figure 8 , the method further comprises the steps of:
[0120] This step is to use a plurality of second sensors to Figure 7 The detailed steps for correcting the second environmental state mentioned in the embodiment are as follows: when there are multiple second sensors, read the second environmental data of the multiple triggered second sensors, that is, the temperature sensor whose temperature value exceeds the preset threshold. Then, the second calculation result is obtained according to the weighted average value, and the weight of each second environmental data is set to be inversely related to the second distance data between the second sensor and the target device. The larger the second distance data, the smaller the weight of the corresponding second environmental data, and the smaller the second distance data, the larger the weight of the corresponding second environmental data. For example, the distances of the four second sensors from the second sensor of the target device are 2m, 4m, 6m, and 8m respectively; the corresponding weights of the second environmental data are: 0.5, 0.25, 0.15, and 0.1 respectively. Therefore, the second calculation result = 0.5×the second environmental data obtained by the second sensor at a distance of 2m + 0.25×the second environmental data obtained by the second sensor at a distance of 4m + 0.15×the second environmental data obtained by the second sensor at a distance of 6m + 0.1×the second environmental data obtained by the second sensor at a distance of 8m.
[0121] A corresponding second environmental sensing value is generated using a weighted average algorithm according to the first calculation result and the second calculation result. The second environmental sensing value = the first calculation result × the weight of the first calculation result + the second calculation result × the weight of the second calculation result, wherein the weight of the second calculation result + the weight of the first calculation result = 1.
[0122] The second extraction algorithm includes: calculating whether the current second environment sensing value is higher than a preset second environment reference value; for example, the second environment sensing value is 21, 28, 29, 30, 31 or 32, and the second environment reference value is 30. (Wherein, the numerical value is only used for comparison and explanation, and does not involve the actual measurement value).
[0123] If it is not higher than 30, the second environmental state is a normal state; if it is higher than 30, the second environmental state is an abnormal state. That is, a value higher than 30 is an abnormal state, and a value lower than 30 is a normal state.
[0124] If the second environment state is abnormal, calculate the N second environment data acquired in the preset recent time period, and calculate the change trend of the N second environment data. If there is an abnormal state higher than 30, further determine whether there is a real fire, for example, determine the temperature data sampled 20 times within 5 minutes, that is, the second environment data, and calculate the change trend of the 20 second environment data, that is, the speed of temperature change.
[0125] Calculate the first time difference between the change trend of the first environmental data and the change trend of the second environmental data; if the first time difference is greater than the preset first time reference value, modify the second environmental state to a normal state; otherwise, maintain the second environmental state as an abnormal state and output the second environmental state. For example, if the temperature increases quickly, the abnormal state is maintained; if the temperature increases slowly, it means that there may be some interfering judgment factors.
[0126] Two sensors are used to detect environmental abnormalities, and the second sensor is used to verify the first sensor. The trigger time of the temperature sensor lags behind the smoke sensor. The environmental abnormality can be verified based on the first time difference. If the trigger time of the temperature sensor is earlier than the smoke sensor, it means that the fire has been extinguished, and the second environmental state output is corrected.
[0127] Reference Fig. 9 , the method further comprises the steps of:
[0128] The third environment data of the scene is obtained based on the third sensor; the third sensor uses an infrared camera, and the third environment data is the infrared thermal energy image taken. Similarly, the third sensor is also provided with multiple sensors, and multiple images of multiple locations are taken to form a thermal energy data set.
[0129] The third environment state is extracted from the third environment data using a preset third extraction algorithm; wherein the third environment data here is a data set obtained by multiple third sensors. The third extraction algorithm mainly performs image recognition analysis on the set of infrared thermal energy images in the third environment data, and finally converts them into thermal energy values, eliminating interference images, so as to improve the accuracy of data analysis using the third sensor; the third extraction algorithm is the processing of the data set, for example, the thermal energy value obtained by analyzing the infrared thermal energy image, the overall thermal energy value is on an upward trend; if the thermal energy value of one of the infrared thermal energy images suddenly changes to a data that is too low, filtering is performed; or if the thermal energy value is generally flat data, and a thermal energy value data with a large deviation suddenly changes in the middle, filtering is performed; the third environment state is a data set corresponding to the thermal energy value of the extracted infrared thermal energy image.
[0130] The third environmental state is matched with the preset third reference environmental state, and the third matching result is output; for example, if the thermal energy values are all 5, it means that no fire has occurred, which means that the third environmental state is in an environment without fire. If the thermal energy values gradually increase, and the thermal energy values are all lower than the threshold value; it means that although there is a rise in heat, there may be no fire. If the thermal energy values gradually increase, and the thermal energy values gradually exceed the threshold value, it means that there may be a fire; or, if the sum of the thermal energy values does not exceed the preset total threshold value within a period of time, it means that there is no fire, if the sum of the thermal energy values exceeds the preset total threshold value within a period of time, it means that there may be a fire; or, multiple judgment ranges can be set to determine whether there may be other situations where the thermal energy values are larger; wherein the third matching result is a fire or a possible fire.
[0131] If the third matching result indicates that the match fails, then the new third environment data is obtained; if the match fails, it means that no fire has occurred and no fire extinguisher is needed. Therefore, the new third environment data is obtained, and the acquisition of the third environment data within a new period of time is continued.
[0132] If the content of the third matching result is a successful match, the content of the second matching result is obtained, and the second matching degree value between the second environmental state and the third environmental state is calculated; if the second matching degree value is less than the preset second matching reference value, a third response signal is generated according to the second matching degree value result, and the target device responds to the third response signal to start controlling the output of the preset third warning state.
[0133] Among them, for example, the normal state is 1 and the abnormal state is 0;
[0134] If the second environment state and the third environment state are both normal or both abnormal, the matching degree is 1;
[0135] If one of the second environment state and the third environment state is normal and the other is abnormal, the matching degree is 0.5.
[0136] The third warning state includes sound prompts and / or light prompts, and the speech speed of the sound prompts and / or the flashing frequency of the light prompts are set to be positively correlated to the ratio of the number of the second sensor to the third sensor; the larger the number ratio, the faster the speech speed and / or the flashing frequency; the smaller the number ratio, the slower the speech speed and / or the flashing frequency. The ratio of the number of the second sensor to the third sensor is the ratio of the triggered sensors; when the trigger number of the second sensor (high temperature) is 4 and the trigger number of the third sensor (high calorific value) is 5; the ratio is 4 / 5, and the sound is played or the light flashes at the third frequency; when the trigger number of the second sensor (high temperature) is 5 and the trigger number of the third sensor (high calorific value) is 6; the ratio is 5 / 6, and the increase in the ratio means that both the temperature and the calorific value increase, and the sound is played or the light flashes at the fourth frequency; wherein the third frequency is less than the fourth frequency.
[0137] When a fire occurs, smoke is often generated first, and the smoke spreads faster. Then, as the fire spreads, the temperature gradually rises, and the thermal energy value of the thermal energy diagram also rises. By using the ratio method, the second sensor (temperature) is used as the numerator and the third sensor (thermal energy value) is used as the denominator. As the fire occurs, both the numerator and the denominator gradually rise, so the ratio will also gradually increase.
[0138] Two sensors are used to detect environmental abnormalities, and a third sensor is used to verify the second sensor. After comparing the relevant data of the two sensors, a third warning state of whether the sensor is operating normally can be obtained.
[0139] The third sensor can be installed in the following ways: the third sensor is located inside the target device, the third sensor is located next to the target device, or the third sensor is located within a preset third distance range near the target device. Similarly, the third sensor can also be built into the target device, or installed on a wall or the ground near the target device, or on the ceiling above the target device, or other installation locations within 5 meters from the target device.
[0140] Further definition of the type of the third sensor: when applied to a fire extinguisher, the third sensor is an infrared image sensor, and the third environmental data is infrared image data. There are one or more third sensors.
[0141] Reference Fig.10 , the method further comprises the steps of:
[0142] This step is for Fig. 9The step of obtaining the third environment data based on the third sensor is as follows: the color temperature map corresponding to the object in the infrared image data of each third sensor is calculated, and the high temperature center is calculated according to the color temperature map. The high temperature center is a temperature area in the color temperature map where the temperature is higher than a set threshold, and the temperature value at the high temperature center is matched from a preset database as the third environment data.
[0143] This step is to use a plurality of third sensors to Fig. 9 The detailed steps for correcting the third environmental state mentioned in the embodiment are as follows: when there are multiple third sensors, read the third environmental data of multiple triggered third sensors, that is, the sensors whose thermal energy values of the third sensors exceed the preset threshold value. Then, the third calculation result is obtained according to the weighted average value, and the weight of each third environmental data is set to be inversely related to the third distance data between the third sensor and the target device. The larger the third distance data, the smaller the weight of the corresponding third environmental data, and the smaller the third distance data, the larger the weight of the corresponding third environmental data. For example, the distances of the four third sensors from the second sensor of the target device are 1m, 3m, 5m, and 7m respectively; the corresponding weights of the second environmental data are: 0.6, 0.2, 0.15, and 0.05 respectively. Therefore, the third calculation result = 0.6×the third environmental data obtained by the third sensor at a distance of 1m + 0.2×the third environmental data obtained by the third sensor at a distance of 3m + 0.15×the third environmental data obtained by the third sensor at a distance of 5m + 0.05×the third environmental data obtained by the third sensor at a distance of 7m.
[0144] A corresponding third environmental sensing value is generated using a weighted average algorithm based on the second calculation result and the third calculation result; the third environmental sensing value=second calculation result×weight of the second calculation result+third calculation result×weight of the third calculation result, wherein the weight of the second calculation result+weight of the third calculation result=1.
[0145] The third extraction algorithm includes: calculating whether the current third environment sensing value is higher than a preset third environment reference value; for example, the third environment sensing value is 40, 53, 56, 60, 65 or 71, and the third environment reference value is 55. (Wherein, the numerical value is only used for comparison and explanation, and does not involve the actual measurement value).
[0146] If it is not higher, the third environmental state is a normal state; if it is higher, the third environmental state is an abnormal state; that is, a value higher than 55 is an abnormal state, and a value lower than 55 is a normal state.
[0147] If the third environment state is abnormal, calculate the N third environment data acquired in the preset recent time period, and calculate the change trend of the N third environment data. If there is an abnormal state higher than 55, further determine whether there is a real fire, for example, determine the data of the infrared thermal energy map sampled 20 times within 5 minutes, that is, the third environment data, and calculate the change trend of the 20 third environment data, that is, the speed of the change of the thermal energy value.
[0148] Calculate the second occurrence time difference between the change trend of the third environmental data and the change trend of the first environmental data; if the second occurrence time difference is greater than the preset second time reference value, and the difference between the first occurrence time difference and the second occurrence time difference is less than the preset time range value, then modify the third environmental state to a normal state; otherwise, the third environmental state is maintained as an abnormal state, and the third environmental state is output. For example, if the thermal energy value increases at a faster rate, the abnormal state is maintained; if the thermal energy value increases at a slower rate, it indicates that there may be some interfering judgment factors.
[0149] Two sensors are used to detect environmental abnormalities, and a third sensor is used to verify the first sensor. The triggering time of the smoke sensor lags behind that of the image sensor. The abnormal environmental state can be verified based on the second time difference. If the triggering time of the smoke sensor is ahead of the image sensor, it means that the fire has been extinguished, and the third environmental state output is corrected.
[0150] An embodiment of the present application further discloses a startup control system for a target device, including a processor, wherein a program of any one of the startup control methods for the target device described above is executed in the processor.
[0151] The embodiment of the present application further discloses a storage medium storing a program of the startup control method of a target device as described in any one of the above.
[0152] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for controlling the startup of a target device, It is characterized in that The steps include: Acquire first environmental data of the scene based on the first sensor; Extracting a first environmental state from the first environmental data using a preset first extraction algorithm; Matching the first environmental state with a preset first reference environmental state, and outputting a first matching result; If the content of the first matching result is a match failure, continue to obtain new first environment data; If the content of the first matching result is a successful match, a first response signal is generated according to the first matching result, and the target device starts to output a preset first warning state in response to the first response signal; The first warning state includes a sound prompt and / or a light prompt; the first sensor and the target device are connected by wire or by radio; Acquire second environmental data of the scene based on the second sensor; Extracting a second environmental state from the second environmental data using a preset second extraction algorithm; Matching the second environmental state with a preset second reference environmental state, and outputting a second matching result; If the content of the second matching result is a match failure, continue to obtain new second environment data; If the content of the second matching result is a successful match, obtaining the content of the first matching result, and calculating a first matching degree value between the first environmental state and the second environmental state; If the first matching degree value is less than a preset first matching reference value, a second response signal is generated according to the first matching degree value result, and the target device starts controlling the output of a preset second warning state in response to the second response signal; The second warning state includes a sound prompt and / or a light prompt, and the speaking speed of the sound prompt and / or the flashing frequency of the light prompt are set to be positively correlated to the quantity ratio of the first sensor to the second sensor; the larger the quantity ratio, the faster the speaking speed and / or the flashing frequency, and the smaller the quantity ratio, the slower the speaking speed and / or the flashing frequency.
2. The method for controlling the startup of a target device according to claim 1, It is characterized in that The method further comprises the steps of: The first sensor is located inside the target device, the first sensor is located next to the target device, or the first sensor is located within a preset first distance range near the target device.
3. The method for controlling the startup of a target device according to claim 1, It is characterized in that The method further comprises the steps of: The first sensor is a smoke sensor, and the first environmental data is smoke data; There are one or more first sensors; when there are multiple first sensors, the first environmental data of multiple triggered first sensors are read, and then a first calculation result is obtained according to a weighted average value, and the weight of each first environmental data is set to be inversely related to the first distance data between the first sensor and the target device, and the larger the first distance data, the smaller the weight of the corresponding first environmental data, and the smaller the first distance data, the larger the weight of the corresponding first environmental data; A corresponding first environmental sensing value is generated according to the first calculation result.
4. The method for controlling the startup of a target device according to claim 3, It is characterized in that The first extraction algorithm comprises: Calculating whether the current first environment sensing value is higher than a preset first environment reference value; If it is not higher than, the first environmental state is a normal state; if it is higher than, the first environmental state is an abnormal state; If the first environmental state is an abnormal state, calculating N first environmental data acquired within a preset recent time period, and calculating a change trend of the N first environmental data; If the growth amount of the change trend is less than a preset first reference growth value, the first environmental state is modified to a normal state; otherwise, the first environmental state is maintained as an abnormal state and the first environmental state is output.
5. The method for controlling the startup of the target device according to claim 4, It is characterized in that The method further comprises the steps of: The second sensor is located inside the target device, the second sensor is located next to the target device, or the second sensor is located within a preset second distance range near the target device; The second sensor is a temperature sensor, and the second environmental data is temperature data; There are one or more second sensors; when there are multiple second sensors, the second environmental data of multiple triggered second sensors are read and then a second calculation result is obtained according to a weighted average value, and the weight of each second environmental data is set to be inversely related to the second distance data between the second sensor and the target device, and the larger the second distance data, the smaller the weight of the corresponding second environmental data, and the smaller the second distance data, the larger the weight of the corresponding second environmental data; Generate a corresponding second environmental sensing value using a weighted average algorithm according to the first calculation result and the second calculation result; The second extraction algorithm includes: calculating whether the current second environment sensing value is higher than a preset second environment reference value; if not, the second environment state is a normal state; if higher, the second environment state is an abnormal state; If the second environmental state is an abnormal state, calculate the N second environmental data acquired within the preset recent time period, and calculate the change trend of the N second environmental data; calculate the first occurrence time difference between the change trend of the first environmental data and the change trend of the second environmental data; if the first occurrence time difference is greater than the preset first time reference value, modify the second environmental state to a normal state; otherwise, the second environmental state is maintained as an abnormal state, and the second environmental state is output.
6. The method for controlling the startup of the target device according to claim 5, It is characterized in that The method further comprises the steps of: Acquiring third environmental data at the scene based on a third sensor; Extracting a third environmental state from the third environmental data using a preset third extraction algorithm; Matching the third environmental state with a preset third reference environmental state, and outputting a third matching result; If the content of the third matching result is a match failure, continue to obtain new third environment data; If the content of the third matching result is a successful match, obtaining the content of the second matching result, and calculating a second matching degree value between the second environmental state and the third environmental state; If the second matching degree value is less than a preset second matching reference value, a third response signal is generated according to the second matching degree value result, and the target device starts controlling the output of a preset third warning state in response to the third response signal; The third warning state includes a sound prompt and / or a light prompt, and the speaking speed of the sound prompt and / or the flashing frequency of the light prompt are set to be positively correlated to the quantity ratio of the second sensor to the third sensor; the larger the quantity ratio, the faster the speaking speed and / or the flashing frequency, and the smaller the quantity ratio, the slower the speaking speed and / or the flashing frequency.
7. The method for controlling the startup of the target device according to claim 6, It is characterized in that The method further comprises the steps of: The third sensor is located inside the target device, the third sensor is located next to the target device, or the third sensor is located within a preset third distance range near the target device; The third sensor is an infrared image sensor, and the third environment data is infrared image data. A color temperature map corresponding to an object in the infrared image data of each of the third sensors is calculated, and a high temperature center is calculated according to the color temperature map, wherein the high temperature center is a temperature area in the color temperature map where the temperature is higher than a set threshold, and a temperature value at the high temperature center is matched from a preset database as the third environment data; There are one or more third sensors; when there are multiple third sensors, the third environmental data of multiple triggered third sensors are read and then a third calculation result is obtained according to a weighted average value, and the weight of each third environmental data is set to be inversely related to the third distance data between the third sensor and the target device. The larger the third distance data, the smaller the weight of the corresponding third environmental data, and the smaller the third distance data, the larger the weight of the corresponding third environmental data; the corresponding third environmental sensing value is generated using a weighted average algorithm according to the second calculation result and the third calculation result; The third extraction algorithm includes: calculating whether the current third environment sensing value is higher than a preset third environment reference value; if not, the third environment state is a normal state; if higher, the third environment state is an abnormal state; If the third environmental state is an abnormal state, calculate the N third environmental data obtained within the preset recent time period, and calculate the change trend of the N third environmental data; calculate the second occurrence time difference between the change trend of the third environmental data and the change trend of the first environmental data; if the second occurrence time difference is greater than the preset second time reference value, and the difference between the first occurrence time difference and the second occurrence time difference is less than the preset time range value, modify the third environmental state to a normal state; otherwise, the third environmental state is maintained as an abnormal state, and the third environmental state is output.
8. A startup control system for a target device, It is characterized in that The device comprises a processor, wherein a program of the method for starting control of a target device according to any one of claims 1 to 7 is executed in the processor.
9. A storage medium, It is characterized in that A program storing the method for starting up a target device according to any one of claims 1 to 7.
