Fire threat determination method based on sound data and related apparatus
By combining microphone arrays and alarm devices, and utilizing preset feature screening and height adjustment, a multi-dimensional analysis of fire threats can be achieved, reducing false alarm rates and improving the reliability of fire monitoring, ensuring that alarm information is delivered reliably.
Patent Information
- Application Number
- CN202511448834.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-11
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2045-10-11
AI Technical Summary
Existing fire alarm equipment lacks wireless communication and data processing capabilities, resulting in a high false alarm rate and an inability to further analyze fire threats.
The system employs a microphone array and alarm equipment. Sound data is collected through the microphone array, and the height of the target sound source is screened based on preset characteristics. The microphone height is adjusted to obtain more accurate secondary sound data. The fire threat is analyzed by combining low-frequency and high-frequency sound characteristics, and a confirmation mechanism and redundant communication are introduced.
It improves the analysis accuracy and reliability of the fire alarm system, reduces the false alarm rate, ensures reliable delivery of alarm information, and enhances the monitoring reliability of the system in complex environments.
Smart Images

Figure CN120932416B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fire alarm technology on the Internet, and in particular to a method and related apparatus for determining fire threats based on sound data. Background Technology
[0002] Currently, some common smoke detectors, carbon detectors, or composite (smoke + carbon monoxide) fire alarms on the market are stand-alone models with simple structures. They alarm upon detecting a target object but lack wireless communication and data processing capabilities.
[0003] The lack of wireless communication and data processing capabilities means that existing fire alarm devices can only trigger an alarm based on whether a target object is detected, without being able to further analyze potential fire threats, resulting in a high false alarm rate. Summary of the Invention
[0004] To address the aforementioned issues, embodiments of this application provide a method and related apparatus for determining fire threats based on sound data. Adopting the solution of this application helps reduce the false alarm rate of fire alarm systems.
[0005] In a first aspect, embodiments of this application provide a method for determining fire threats based on sound data, applied to the control equipment of an indoor fire alarm system. The indoor fire alarm system further includes: a microphone array and an alarm device. The microphone array includes multiple microphones for collecting sound data from a first area, and the alarm device is used to generate first alarm information. The method includes: if the first alarm information generated by the alarm device is received, acquiring multiple first sound data collected by the multiple microphones; determining the target height of the corresponding target sound source based on the first target sound data, wherein the first target sound data is sound data that satisfies preset characteristics among the multiple first sound data, and the preset characteristics are used to indicate the existence of a level-one fire threat; adjusting the height of at least one microphone in the microphone array according to the target height, acquiring multiple second sound data collected by the multiple microphones; and determining whether a level-two fire threat exists in the first area based on the multiple second sound data.
[0006] As can be seen, in this embodiment of the application, by adjusting the height of the microphones in the target microphone array by the first target height, the microphones in the microphone array can be adjusted to a more suitable position according to the target height where the target sound source is located to collect sound data and obtain multiple second sound data, thereby improving the accuracy of the analysis results obtained based on multiple second sound data and reducing the false alarm rate of the fire alarm system.
[0007] In conjunction with the first aspect, in one possible embodiment, the preset features include at least one of the following: the peak amplitude is the largest and the peak amplitude is greater than a first preset threshold; the peak amplitude is the largest and the peak amplitude is greater than a second preset threshold, and the duration is greater than a first preset duration, while the second preset threshold is less than the first preset threshold; the peak amplitude is the largest, the amplitude statistical characteristics remain stable or monotonically increase over time, and the duration is greater than a second preset duration, while the second preset duration is greater than the first preset duration.
[0008] As can be seen, in this embodiment of the application, multiple first sound data are screened for the first time by setting preset features. Only when multiple first sound data meet the preset features is the subsequent step of judging whether there is a fire threat in the first area executed, thereby improving the efficiency of the fire alarm system.
[0009] In conjunction with the first aspect, in one possible embodiment, determining the target height of the corresponding target sound source based on the first target sound data includes: obtaining a first height of a first microphone corresponding to the first target sound data; obtaining a second height of a second microphone corresponding to the second target sound data, wherein the second microphone is a plurality of microphones with different heights from the first microphone; determining a first moment when the peak amplitude appears in the first target sound data and a second moment when the peak amplitude appears in the second target sound data; and determining the target height based on the first height, the second height, the first moment, and the second moment.
[0010] As can be seen, in this embodiment of the application, by using sound data collected by microphones at different heights and the time of their peak occurrence, combined with height difference and time difference information, the initial positioning of the target sound source height is achieved, providing a reliable spatial information basis for further identification of subsequent fire threats.
[0011] In conjunction with the first aspect, in one possible embodiment, adjusting the height of at least one microphone in the microphone array according to the target height includes: adjusting the height of a third microphone to a third height; wherein the third height is lower than the target height, and the third microphone is a microphone among a plurality of microphones whose distance to the first microphone corresponding to the first target sound data is not greater than a preset distance; and adjusting the height of a fourth microphone to a fourth height; wherein the fourth height is higher than the target height, and the fourth microphone is a microphone among a plurality of microphones whose distance to the first microphone is greater than a preset distance.
[0012] As can be seen, in this embodiment of the application, by adjusting the height of microphones at different positions according to the height of the initially located target sound source, the active optimization of the sound acquisition spatial range is achieved, and then fire threat analysis is performed based on the optimized second sound data, thereby enhancing the reliability of fire monitoring in complex environments.
[0013] In conjunction with the first aspect, in one possible embodiment, determining whether a second-level fire threat exists in the first area based on multiple second sound data includes: determining whether the second sound data collected by the third microphone conforms to low-frequency fire sound characteristics, which include slight burning characteristics or slight bursting characteristics; determining whether the second sound data collected by the fourth microphone conforms to high-frequency fire sound characteristics, which include intense burning characteristics, intense bursting characteristics, or object collapse characteristics; if any one of the multiple second sound data conforms to low-frequency sound characteristics or high-frequency sound characteristics, then it is determined that a second-level fire threat exists in the first area.
[0014] As can be seen, in this embodiment, by collecting and analyzing low-frequency and high-frequency sound features that may characterize different stages of a fire based on the differences in microphone position and height, a multi-dimensional and refined identification of secondary fire threats is achieved. The third microphone, deployed at a lower position, focuses on capturing low-frequency features in the early stage of a fire, which is beneficial for early warning; the fourth microphone, deployed at a higher position, focuses on capturing high-frequency features during the fire development stage, which is beneficial for judging the escalation of the fire. Combining the sound data collected by the third and fourth microphones improves the reliability of the judgment results and reduces the false alarm rate of the fire alarm system.
[0015] In conjunction with the first aspect, in one possible embodiment, if there is a level 2 fire threat in the first area, the method further includes: generating a second alarm message, the second alarm message including the existence of a level 2 fire threat in the first area; sending the second alarm message to a user terminal; and determining that a receipt confirmation message from the user terminal in response to the sending of the second alarm message has been received.
[0016] As can be seen from the embodiments of this application, by not only generating and sending detailed alarm information after determining a level two fire threat, but also introducing a receipt confirmation mechanism, the alarm information can be reliably delivered to the user, reducing the potential losses caused by the fire.
[0017] In conjunction with the first aspect, in one possible embodiment, the multiple microphones also include corresponding wireless modules. If no acknowledgment information is received from the user terminal in response to the second alarm information, the method further includes: determining the fifth microphone, which is furthest from the target sound source, from the multiple microphones; adjusting the fifth microphone to a preset height; and sending the second alarm information to the user terminal based on the fifth microphone.
[0018] As can be seen, in this embodiment of the application, by introducing a redundant communication mechanism based on spatial distribution and highly adjustable, the reliability of alarm information delivery under extreme disaster conditions is improved.
[0019] Secondly, this application provides a fire threat determination device based on sound data, belonging to an indoor fire alarm system. The indoor fire alarm system further includes: a microphone array and an alarm device. The microphone array includes multiple microphones for collecting sound data from a first area, and the alarm device is used to generate first alarm information. The device includes:
[0020] The acquisition unit is used to acquire multiple first sound data collected by multiple microphones if it receives a first alarm information generated by an alarm device.
[0021] The determining unit is used to determine the target height of the corresponding target sound source based on the first target sound data. The first target sound data is sound data that meets preset features among a plurality of first sound data. The preset features are used to indicate the existence of a level one fire threat.
[0022] The acquisition unit is used to adjust the height of at least one microphone in the microphone array according to the target height and acquire multiple second sound data collected by multiple microphones;
[0023] The determination unit is used to determine whether a level two fire threat exists in the first area based on multiple second sound data.
[0024] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, and one or more instructions being adapted to be loaded by the processor and to execute part or all of the methods of the first aspect and / or the second aspect.
[0025] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform part or all of the methods of the first aspect and / or the second aspect.
[0026] Fifthly, this application provides a computer program product that, when read and executed by a computer, causes the computer to perform part or all of the methods of the first aspect and / or the second aspect.
[0027] It is understood that the beneficial effects of the embodiments of the second to fifth aspects can be referred to the beneficial effects of the method of the first aspect, and will not be repeated here. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This application provides an illustration of an application scenario for a fire threat determination method based on sound data, as shown in the embodiments of this application.
[0030] Figure 2 A schematic diagram of the microphone height distribution before adjustment is provided in an embodiment of this application;
[0031] Figure 3 This application provides a schematic diagram of an adjusted microphone height distribution as an embodiment of the present application.
[0032] Figure 4 A flowchart illustrating a method for determining fire threats based on sound data, provided for an embodiment of this application;
[0033] Figure 5 A flowchart illustrating another method for determining fire threats based on sound data, provided in an embodiment of this application;
[0034] Figure 6 A flowchart illustrating another method for determining fire threats based on sound data provided in this application embodiment;
[0035] Figure 7 A schematic diagram illustrating the determination of a fifth microphone as provided in an embodiment of this application;
[0036] Figure 8 A schematic diagram of a fire threat determination device based on sound data provided in this application embodiment;
[0037] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0038] Reference numerals: Application scenario: 100; Control device: 101; Microphone: 102; Alarm device: 103; User terminal: 104; Fire threat determination device based on sound data: 800; Acquisition unit: 801; Determination unit: 802; Electronic device: 900; Memory: 901; Processor: 902; Communication interface: 903; Bus: 904. Detailed Implementation
[0039] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0040] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0041] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0042] The embodiments of this application will now be described with reference to the accompanying drawings.
[0043] Example 1: Please refer to Figure 1 , Figure 1 This is a schematic diagram of an application scenario for a fire threat determination method based on sound data provided in an embodiment of this application. In application scenario 100, there is a control device 101 for an indoor fire alarm system. The indoor fire alarm system also includes a microphone array, which includes multiple microphones 102, an alarm device 103, and a user terminal 104.
[0044] The control device 101 is connected to multiple microphones 102 and an alarm device 103, thereby enabling it to acquire multiple sound data generated in real time by the microphones 102 and the first alarm information generated in real time by the alarm device 103.
[0045] Multiple audio data points are generated by microphone 102 capturing sound from corresponding second regions. The second region is a sub-region of the first region, encompassing parts of the first region, and there may be overlap between two adjacent second regions. Figure 1The application scenario 100 shown only illustrates two microphones 102 located at different horizontal heights. In reality, there may be more microphones 102 in different positions and at different heights.
[0046] The first alarm message is generated by alarm device 103, which is specifically a smoke detector or carbon detector, etc. Alarm device 103 generates the first alarm message when it detects a target object (smoke or carbon monoxide, etc., which are fire-related objects).
[0047] In this embodiment of the application, if the control device 101 receives the first alarm information generated by the alarm device 103, it acquires multiple first sound data collected by multiple microphones 102.
[0048] The control device 101 here receives the first alarm information generated by the alarm device 103, indicating that the corresponding alarm device 103 has detected a target object (such as smoke, carbon monoxide, etc.) in the first area, indicating that there may be a fire risk in the first area. At this time, it is necessary to acquire multiple first sound data collected by multiple microphones 102 and perform further analysis based on the multiple first sound data collected by multiple microphones 102.
[0049] The control device 101 determines the target height of the corresponding target sound source based on the first target sound data. The first target sound data is sound data that meets preset characteristics among multiple first sound data. The preset characteristics are used to indicate the existence of a level one fire threat.
[0050] It should be noted that the first target sound data must meet preset characteristics, including volume greater than a preset volume level and duration greater than a preset duration. When the first target sound meets the preset characteristics, the target sound source here is the sound source suspected to be generated at the center of the fire.
[0051] Therefore, it is necessary to locate the target height of the target sound source based on the first target sound data, and then adjust the microphone array based on the target height of the target sound source to further analyze whether there is a fire threat in the first area.
[0052] The control device 101 adjusts the height of at least one microphone 102 in the microphone array according to the target height, and acquires multiple second sound data collected by multiple microphones 102.
[0053] The control device 101 will adjust the height of at least one microphone 102 in the microphone array based on the target height. Specifically, please refer to [link to relevant documentation]. Figure 2 , Figure 2This is a schematic diagram of the microphone height distribution before adjustment provided in an embodiment of this application. The first microphone in the microphone array is located at the leftmost position in the diagram. The heights of the other microphones are different from those of the first microphone. The different microphones 102 collect sound data in the corresponding second area from different positions.
[0054] Please see Figure 3 , Figure 3 This is a schematic diagram of the adjusted microphone height distribution provided in an embodiment of this application. After determining the target height based on the first sound data, the control device 101 adjusts the height of multiple microphones 102 based on the target height. Figure 3 In the example shown, the height of all microphones 102 is adjusted to the same height, i.e., the target height, so that the multiple microphones 102 of the microphone array are at a compatible height with the target sound source, or the height of the microphones 102 is slightly higher than the target height, so as to collect clearer and more accurate sound data from the target sound source.
[0055] It can be seen that, compared to the arrangement height of the multiple microphones 102 before adjustment, after the height of the multiple microphones 102 is adjusted, the multiple microphones 102 are closer to the target sound source (i.e., the suspected fire center). Therefore, based on the clearer and more accurate second sound data obtained by re-collection, it is possible to determine whether there is a fire threat in the first area, thereby improving the credibility of the judgment result.
[0056] Control device 101 determines whether there is a level 2 fire threat in the first area based on multiple second sound data.
[0057] After the control device 101 adjusts at least one microphone 102 in the microphone array based on the target height, the multiple microphones 102 will be adjusted to a position closer to or more suitable for receiving the target sound source (i.e., the suspected fire center) to acquire new second sound data for analysis to determine whether there is a secondary fire threat in the first area.
[0058] It should be noted that the level 2 fire threat here is higher than the level 1 fire threat. The level 1 fire threat indicates that there is a target sound source in the first area that is suspected to be the center of a fire, while the level 2 fire threat indicates that the target sound source matches the sound characteristics of a fire and there is a high probability that there is a fire threat in the first area.
[0059] As can be seen, in this embodiment of the application, by adjusting the height of the microphones in the target microphone array by the first target height, the microphones in the microphone array can be adjusted to a more suitable position according to the target height where the target sound source is located to collect sound data and obtain multiple second sound data, thereby improving the accuracy of the analysis results obtained based on multiple second sound data and reducing the false alarm rate of the fire alarm system.
[0060] The following will explain the specific steps; please refer to [link / reference]. Figure 4 , Figure 4 This application provides a flowchart illustrating a method for determining fire threats based on sound data, which can be based on... Figure 1 The application scenario 100 shown is implemented as follows: Figure 4 As shown, it includes steps S401-S404.
[0061] S401: If the control device receives the first alarm information generated by the alarm device, it acquires multiple first sound data collected by multiple microphones.
[0062] Specifically, the first alarm information indicates that the alarm device has detected a target in the first area. At this time, the control device further analyzes the situation in the first area by acquiring multiple first sound data collected by multiple microphones.
[0063] The first alarm information is generated by the receiving alarm device and sent to the control device. Optionally, the control device also acquires multiple third sound data collected by multiple microphones. If the multiple third sound data meet the alarm information characteristics (such as satisfying the characteristics of the buzzer time interval, volume, etc.), it is determined that the control device has received the first alarm information generated by the alarm device.
[0064] S402: The control device determines the target height of the corresponding target sound source based on the first target sound data. The first target sound data is sound data that meets preset characteristics among multiple first sound data. The preset characteristics are used to indicate the existence of a level one fire threat.
[0065] This article identifies both Level 1 and Level 2 fire threats. It should be noted that a Level 1 fire threat indicates the possibility of a fire in the first area, requiring further detailed audio data for analysis and assessment. A Level 2 fire threat indicates the presence of a fire in the first area, necessitating timely alerts to the user.
[0066] Optionally, the preset features include at least one of the following: the peak amplitude is the largest and the peak amplitude is greater than a first preset threshold; the peak amplitude is the largest and the peak amplitude is greater than a second preset threshold, and the duration is greater than a first preset duration, while the second preset threshold is less than the first preset threshold; the peak amplitude is the largest, the amplitude statistical characteristics remain stable or monotonically increase over time, and the duration is greater than a second preset duration, while the second preset duration is greater than the first preset duration.
[0067] Specifically, the following mainly describes the first fire threat. In this article, the first fire threat is characterized by the presence of a sound source in the first area that may match the sound characteristics of a fire scene. Its specific characteristics include high volume and long duration. If a fire threat exists in the first area, it is necessary to obtain more accurate and clear second audio data to further determine whether a fire threat actually exists in the first area.
[0068] In this example, the preset features include at least one of the following: the peak amplitude is the largest and the peak amplitude is greater than the first preset threshold; the peak amplitude is the largest and the peak amplitude is greater than the second preset threshold, and the duration is greater than the first preset duration, while the second preset threshold is less than the first preset threshold; the peak amplitude is the largest, the amplitude statistical characteristics remain stable or monotonically increase over time, and the duration is greater than the second preset duration, while the second preset duration is greater than the first preset duration.
[0069] For the feature combination of "maximum peak amplitude and peak amplitude greater than the first preset threshold", firstly, the target sound data with the largest peak amplitude has the largest volume, and the corresponding microphone is also closest to the target sound source. The peak amplitude being greater than the first preset threshold indicates that the volume of the target sound source is greater than the volume corresponding to the first preset threshold. This could be a common sound in a fire scene, such as an explosion or intense burning. Combined with the first alarm information received by the control device in step S401, it can be inferred that there may be a fire threat in the first area, requiring further determination of whether a fire threat actually exists in the first area.
[0070] For the feature combination of "maximum peak amplitude, peak amplitude greater than the second preset threshold, duration greater than the first preset duration, and the second preset threshold less than the first preset threshold," firstly, the volume corresponding to the first target sound data with the maximum peak amplitude is the highest, and the corresponding microphone is also closest to the target sound source. Secondly, the peak amplitude being greater than the second preset threshold indicates that the volume of the target sound source is greater than the volume corresponding to the second preset threshold. The second preset threshold being less than the first preset threshold may be because the intensity of combustion in this case is not as intense as the intensity of combustion corresponding to the first preset threshold in the first case. Therefore, in this feature combination, the first target sound data also needs to meet the condition that the duration is greater than the first preset duration before proceeding to the next step of further determining whether there is a fire threat in the first area.
[0071] For the feature combination of "maximum peak amplitude, stable amplitude statistical characteristics or monotonically increasing over time, and duration greater than the second preset duration, which in turn is greater than the first preset duration," firstly, the maximum peak amplitude corresponds to the maximum volume; the stable amplitude statistical characteristics or monotonically increasing over time indicate that the volume corresponding to the first target sound data gradually increases over time, while the duration is greater than the second preset duration. This indicates that a fire threat may be occurring in the first area, with the intensity of combustion increasing over time. Therefore, the subsequent step of further determining whether a fire threat exists in the first area is executed.
[0072] As can be seen, in this embodiment of the application, multiple first sound data are screened for the first time by setting preset features. Only when multiple first sound data meet the preset features is the subsequent step of judging whether there is a fire threat in the first area executed, thereby improving the efficiency of the fire alarm system.
[0073] Optionally, determining the target height of the corresponding target sound source based on the first target sound data includes: obtaining the first height of the first microphone corresponding to the first target sound data; obtaining the second height of the second microphone corresponding to the second target sound data, wherein the second microphone is a plurality of microphones with different heights from the first microphone; determining the first moment when the peak amplitude appears in the first target sound data and the second moment when the peak amplitude appears in the second target sound data; and determining the target height based on the first height, the second height, the first moment, and the second moment.
[0074] Specifically, in the embodiments of this application, the specific implementation process of determining the target height of the target sound source based on the first target sound data is explained.
[0075] First, the control device acquires the first height of the first microphone corresponding to the first target sound data. The first microphone is a device that collects sound data that meets preset characteristics from multiple microphones.
[0076] The control device then acquires the second height of the second microphone corresponding to the second target sound data. The second microphone is a device with a different height than the first microphone, used to provide a height difference to support spatial positioning.
[0077] Furthermore, the first moment when the peak amplitude appears in the first target sound data and the second moment when the peak amplitude appears in the second target sound data are determined by utilizing the time difference information of sound wave propagation.
[0078] Based on the first altitude, the second altitude, the first moment, and the second moment, the target altitude of the target sound source is determined by calculating the difference in sound wave propagation path or time delay, combined with the geometric relationship between the microphones.
[0079] For example, the height of a sound source can be calculated using the Time Difference of Arrival (TDOA) positioning principle combined with the spatial coordinates of the microphones. Based on the speed of sound in the air, the time difference between the arrival of the sound wave from the target sound source to the first and second microphones is calculated. According to the spatial coordinate relationship between the first and second microphones and the time difference, combined with the first and second heights, the vertical height of the target sound source can be calculated.
[0080] As can be seen, in this embodiment of the application, by using sound data collected by microphones at different heights and the time of their peak occurrence, combined with height difference and time difference information, the initial positioning of the target sound source height is achieved, providing a reliable spatial information basis for further identification of subsequent fire threats.
[0081] S403: The control device adjusts the height of at least one microphone in the microphone array according to the target height, and acquires multiple second sound data collected by multiple microphones.
[0082] Specifically, the control device can adjust the height of multiple microphones to the target height, or adjust the height of multiple microphones to a certain distance above the target height, so that the microphone array can collect clearer and more accurate sound data.
[0083] S404: The control equipment determines whether there is a level two fire threat in the first area based on multiple second sound data.
[0084] Specifically, the control equipment will analyze multiple second sound data to determine whether they match fire characteristics to determine whether there is a level two fire threat in the first area.
[0085] If multiple second sound data match fire characteristics (e.g., match burning sound characteristics, or match alarm sound characteristics and the duration matches the corresponding duration), then a level two fire threat is identified.
[0086] Example 2: The above-mentioned application embodiments provide a fire threat determination method including detailed steps of determining the target height of the target sound source. Based on this, focusing on adjusting multiple microphones according to the target height, this application embodiment also provides a more detailed fire threat determination method based on sound data. Please refer to [link to relevant documentation]. Figure 5 , Figure 5 A flowchart illustrating another method for determining fire threats based on sound data provided in this application embodiment is shown below. Figure 1 The application scenario 100 shown is implemented as follows: Figure 5 As shown, it includes steps S501-S506.
[0087] S501: If the control device receives the first alarm information generated by the alarm device, it acquires multiple first sound data collected by multiple microphones.
[0088] S502: The control device determines the target height of the corresponding target sound source based on the first target sound data. The first target sound data is sound data that meets preset characteristics among multiple first sound data. The preset characteristics are used to indicate the existence of a level one fire threat.
[0089] S503: Adjust the height of the third microphone to a third height; wherein the third height is lower than the target height, and the third microphone is the microphone among multiple microphones whose distance to the first microphone corresponding to the first target sound data is not greater than a preset distance.
[0090] Specifically, in this step, the third microphone is positioned below the target height of the determined target sound source. The selection criterion for the third microphone is that it is the microphone among multiple microphones whose distance from the first microphone (i.e., the microphone that initially detected the target sound) is no greater than a preset distance. Adjusting the third microphone, which is closer to the first microphone, to a lower position helps to capture low-frequency sound signals (such as smoldering, initial crackling sounds) that may be generated by fire characteristics such as rising hot air and smoke diffusion from below. These signals require a position closer to the center of the fire to obtain clear sound data.
[0091] S504: Adjust the height of the fourth microphone to the fourth height; wherein the fourth height is higher than the target height, and the fourth microphone is the microphone among multiple microphones whose distance from the first microphone is greater than a preset distance.
[0092] Specifically, in this step, the fourth microphone is positioned above the target height. The selection criterion for the fourth microphone is that it is located at a distance greater than a preset distance from the first microphone. Adjusting the fourth microphone, which is farther away and at a higher height, helps to capture high-frequency sound signals that may be generated by the development of a fire from above (such as the howling sound of intense burning, violent cracking, or structural collapse). It also allows for the use of a larger spatial baseline, further improving the ability to resolve the direction of sound source height.
[0093] Secondly, raising the height of the first microphone can also keep the fourth microphone away from the center of the fire. If the fire is too large, the third microphone is damaged, or the sound data obtained by the third microphone is distorted, the control device can still perform subsequent steps based on the second sound data generated by the fourth microphone.
[0094] As can be seen, in this embodiment of the application, by adjusting the height of microphones at different positions according to the height of the initially located target sound source, the active optimization of the sound acquisition spatial range is achieved, and then fire threat analysis is performed based on the optimized second sound data, thereby enhancing the reliability of fire monitoring in complex environments.
[0095] S505: The control device acquires multiple second sound data collected by multiple microphones.
[0096] S506: The control equipment determines whether there is a level two fire threat in the first area based on multiple second sound data.
[0097] Optionally, determining whether a secondary fire threat exists in the first area based on multiple second sound data includes: determining whether the second sound data collected by the third microphone conforms to the low-frequency sound characteristics of a fire, which include slight burning or slight bursting characteristics; determining whether the second sound data collected by the fourth microphone conforms to the high-frequency sound characteristics of a fire, which include intense burning, intense bursting, or object collapse characteristics; if any one of the multiple second sound data conforms to either the low-frequency or high-frequency sound characteristics, then it is determined that a secondary fire threat exists in the first area.
[0098] Specifically, in the embodiments of this application, the third microphone and the fourth microphone are at different horizontal heights.
[0099] First, determine whether the second sound data collected by the third microphone matches the low-frequency sound characteristics of a fire. These low-frequency sound characteristics include, but are not limited to, slight burning characteristics (such as the low-frequency "humming" sound or continuous low-frequency noise produced by smoldering wood) or slight crackling characteristics (such as the short, low-frequency "crackling" sound produced when a small flame ignites a small object). These characteristics are typically low in frequency and weak in energy, and exist in the early stages of a fire.
[0100] The system then determines whether the second sound data collected by the fourth microphone matches the high-frequency sound characteristics of a fire. These high-frequency sound characteristics include, but are not limited to, characteristics of intense burning (such as the "whooshing" sound produced by air convection during a large fire, which is high-frequency and high-energy), characteristics of violent explosions (such as the sharp, high-frequency "pop" sound produced by the deflagration of oil or electrical short circuits), or characteristics of collapsing objects (such as the high-frequency impact and cracking sounds produced when furniture or structural components burn and collapse). These characteristics are typically high-frequency and high-energy, and are present in the development or intense stages of a fire.
[0101] If any one of the plurality of second sound data matches the low-frequency sound characteristics or the high-frequency sound characteristics, then it is determined that there is a level-two fire threat in the first area. This judgment logic is based on the physical law that different stages of fire development produce sounds with different frequency characteristics. It adopts a dual-path judgment strategy, paying attention to both the low-frequency signs of the initial fire and capturing the high-frequency performance during the development stage, thereby improving the comprehensiveness and reliability of threat identification.
[0102] For example, the conformity judgment of sound features can be achieved in the following way: extract the time domain features (such as zero crossing rate, energy) and frequency domain features (such as spectral centroid, Mel frequency cepstral coefficients) of the sound data; perform pattern matching or similarity calculation with the extracted features and the fire sound feature templates (such as sound data of various combustibles burning and items collapsing) stored in the MCU; if the similarity exceeds the preset threshold, it is determined that it conforms to the corresponding features.
[0103] As can be seen, in this embodiment, by collecting and analyzing low-frequency and high-frequency sound features that may characterize different stages of a fire based on the differences in microphone position and height, a multi-dimensional and refined identification of secondary fire threats is achieved. The third microphone, deployed at a lower position, focuses on capturing low-frequency features in the early stage of a fire, which is beneficial for early warning; the fourth microphone, deployed at a higher position, focuses on capturing high-frequency features during the fire development stage, which is beneficial for judging the escalation of the fire. Combining the sound data collected by the third and fourth microphones improves the reliability of the judgment results and reduces the false alarm rate of the fire alarm system.
[0104] Optionally, if the first sound data meets the preset characteristics of maximum peak amplitude, stable amplitude statistical characteristics or monotonically increasing over time, and a duration greater than a second preset duration, after adjusting the height of the third microphone to the third height, the method further includes: the third microphone rising at a preset rate until the height of the third microphone rises to a fourth height. Determining whether a secondary fire threat exists in the first area based on multiple second sound data includes: judging whether the multiple second sound data meet the low-frequency sound characteristics and / or high-frequency sound characteristics of a fire.
[0105] Specifically, in this application embodiment, a step of height adjustment and judgment logic is added to the microphone height adjustment and threat judgment process when a certain preset feature is met. The specific preset feature represents a fire threat that may be occurring in the first area and whose intensity of combustion is increasing over time.
[0106] If the first sound data exhibits the following characteristics: maximum peak amplitude, stable amplitude statistical characteristics or monotonically increasing over time, and a duration exceeding a second preset duration, it indicates a potential, continuously developing fire threat. In this case, after adjusting the height of the third microphone to the third height, it is necessary to control the third microphone to continuously rise at a preset rate until its height reaches the fourth height. This dynamic adjustment process allows a single microphone to scan different height regions in the vertical direction, acquiring more comprehensive acoustic environment information.
[0107] In the analysis of sound data, it is comprehensively determined whether the multiple second sound data conform to the low-frequency sound characteristics and / or high-frequency sound characteristics of a fire. By jointly analyzing the sound data collected at different heights during the ascent, both low-frequency fire characteristics that may exist at lower locations (such as the sound of initial smoldering) and high-frequency fire characteristics that may appear at higher locations (such as the sound of intense burning) can be detected, thus achieving comprehensive monitoring of the acoustic characteristics of the entire vertical space.
[0108] Furthermore, the preset rate here can be adaptively adjusted according to the fire's development speed and environmental characteristics; for example, the ascent rate can be appropriately increased when a continuous increase in amplitude is detected. Multiple sets of second sound data collected during the ascent can be correlated and analyzed in time series to determine the vertical development trend of the fire.
[0109] As can be seen, in this embodiment of the application, by adding the dynamic lifting and lowering scanning function of the microphone, the characteristics of the continuously developing fire threat are taken into account. By replacing the deployment of multiple fixed-height microphones with the vertical movement of some microphones, the monitoring effect is guaranteed while reducing the damage to some microphones caused by the development of the fire, thus improving the reliability of the system.
[0110] For detailed explanations of steps S501, S502, and S505, please refer to the descriptions and related content of steps S401-S404 in the above application embodiments, which will not be repeated here.
[0111] Example 3: The above-described embodiments primarily depict a control method for an indoor fire alarm system based on sound data to determine the presence of a fire threat in a first area. Based on this, when a fire threat is determined to exist in the first area, this embodiment also provides another, more detailed method for determining the fire threat. Please refer to... Figure 6 , Figure 6 A flowchart illustrating another method for determining fire threats based on sound data provided in this application embodiment is shown below. Figure 1 The application scenario 100 shown is implemented as follows: Figure 6 As shown, it includes steps S601-S606.
[0112] S601: If the control device receives the first alarm information generated by the alarm device, it acquires multiple first sound data collected by multiple microphones.
[0113] S602: The control device determines the target height of the corresponding target sound source based on the first target sound data. The first target sound data is the sound data that meets the preset characteristics among multiple first sound data. The preset characteristics are used to indicate the existence of a level one fire threat.
[0114] S603: The control device adjusts the height of at least one microphone in the microphone array according to the target height, and acquires multiple second sound data collected by multiple microphones.
[0115] S604: The control equipment determines whether there is a level two fire threat in the first area based on multiple second sound data.
[0116] For a detailed explanation of steps S601-S604, please refer to the description and related content of steps S401-S404 in the above application embodiment, which will not be repeated here.
[0117] S605: If there is a level 2 fire threat in the first zone, the control equipment generates a second alarm message, which includes the presence of a level 2 fire threat in the first zone.
[0118] S606: The control device sends a second alarm message to the user terminal; confirms receipt of the acknowledgment message from the user terminal in response to the second alarm message.
[0119] Specifically, if a level-two fire threat is determined to exist in the first area based on multiple second sound data, a second alarm message is generated. This second alarm message contains at least a clear indication that a level-two fire threat exists in the first area, and may include additional detailed information such as the threat level, suspected fire type, and time of occurrence.
[0120] After generating the second alarm message, the message is sent to the user terminal. Specifically, the user terminal is pre-bound to the control device via a server, short-range communication verification, or other means. The message can be sent through the device's built-in wired or wireless communication module, ensuring that the alarm message is delivered to the user in a timely manner.
[0121] Furthermore, it is necessary to determine whether a confirmation message has been received from the user terminal in response to the second alarm message. This confirmation message indicates that the user has successfully received and is aware of the alarm, thus completing the alarm closed-loop management.
[0122] If no confirmation message is received within the preset time period, a resend mechanism can be triggered, such as repeatedly sending the second alarm message at increasing time intervals until a confirmation message is received or the maximum number of resends is reached.
[0123] As can be seen from the embodiments of this application, by not only generating and sending detailed alarm information after determining a level two fire threat, but also introducing a receipt confirmation mechanism, the alarm information can be reliably delivered to the user, reducing the potential losses caused by the fire.
[0124] Optionally, the multiple microphones also include corresponding wireless modules. If no acknowledgment information is received from the user terminal in response to the second alarm information, the method further includes: determining the fifth microphone that is furthest from the target sound source from the multiple microphones; adjusting the fifth microphone to a preset height; and sending the second alarm information to the user terminal based on the fifth microphone.
[0125] Specifically, in this embodiment, if the control device does not receive a confirmation message from the user terminal responding to the alarm, it indicates that the initial communication channel may have failed or the user terminal has not successfully received the alarm. In this case, a redundant communication process is initiated.
[0126] First, the fifth microphone, which is furthest from the target sound source, is selected from among multiple microphones. The reason for choosing the furthest microphone is that its physical location is likely to be least affected by heat and smoke interference from the core area of the fire, has the highest probability of its communication hardware remaining intact, and is more likely to be located in a safe area where the fire has not spread, which is conducive to ensuring the reliability of the communication link.
[0127] The fifth microphone is then adjusted to a preset height. This preset height can be pre-optimized according to the environment, such as adjusting it to a height near a window to enhance wireless signal penetration, or raising it to near the ceiling to avoid indoor obstacles.
[0128] Specifically, please see Figure 7 , Figure 7 This is a schematic diagram illustrating the determination of a fifth microphone according to an embodiment of this application. It can be seen that... Figure 7 In the scenario shown, multiple microphones are distributed at different horizontal positions. The fifth microphone is the farthest from the target sound source. Given the potential fire threat at the location of the target sound source, the risk of it being damaged or interfered with is also the lowest. Therefore, in this scenario, the second alarm information will be sent through the fifth microphone.
[0129] In addition, if sending a message at the preset height still fails, the height of the first microphone can be adjusted to a lower height to try to connect to different locations for communication.
[0130] Finally, an alarm message is sent to the user terminal based on the wireless module built into the fifth microphone. This utilizes the communication capabilities integrated into the microphone module to establish a backup link independent of the main communication path.
[0131] As can be seen, in this embodiment of the application, by introducing a redundant communication mechanism based on spatial distribution and highly adjustable, the reliability of alarm information delivery under extreme disaster conditions is improved.
[0132] By implementing the methods in the above-described embodiments, it can be seen that by adjusting the height of the microphones in the target microphone array at the first target height, a more suitable position is adjusted for sound data acquisition, resulting in multiple second sound data points. This improves the accuracy of the analysis results based on the multiple second sound data points and reduces the false alarm rate of the fire alarm system. By setting preset features to perform an initial screening of the multiple first sound data points, the efficiency of the fire alarm system is improved. Sound data collected by microphones at different heights enables preliminary positioning of the target sound source height, providing a reliable spatial information basis for further fire threat assessment. Based on the initially located target sound source height, the reliability of fire monitoring in complex environments is enhanced. By combining the sound data collected by the third and fourth microphones with the differences in microphone position and height, the credibility of the judgment results is improved, reducing the false alarm rate of the fire alarm system. The transmission of alarm information and the acknowledgment mechanism via control devices or microphones improve the reliability of alarm information delivery.
[0133] Based on the description of the above configuration method embodiments, this application also provides a fire threat determination device 800 based on sound data, which can be operated in... Figure 1 A computer program (including program code) in the control device 101 shown, and used to execute Figure 4 , Figure 5 and Figure 6 The method shown. See also Figure 8 , Figure 8 This application provides a schematic diagram of a fire threat determination device based on sound data, the fire threat determination device 800 based on sound data includes:
[0134] The acquisition unit 801 is used to acquire multiple first sound data collected by multiple microphones if it receives a first alarm information generated by an alarm device.
[0135] The determining unit 802 is used to determine the target height of the corresponding target sound source based on the first target sound data. The first target sound data is sound data that meets preset features among a plurality of first sound data. The preset features are used to indicate the existence of a level one fire threat.
[0136] The acquisition unit 801 is used to adjust the height of at least one microphone in the microphone array according to the target height and acquire multiple second sound data collected by multiple microphones;
[0137] The determination unit 802 is used to determine whether there is a level two fire threat in the first area based on multiple second sound data.
[0138] In one possible embodiment, the preset features include at least one of the following: the peak amplitude is the largest and the peak amplitude is greater than a first preset threshold; the peak amplitude is the largest and the peak amplitude is greater than a second preset threshold, and the duration is greater than a first preset duration, while the second preset threshold is less than the first preset threshold; the peak amplitude is the largest, the amplitude statistical characteristics remain stable or monotonically increase over time, and the duration is greater than a second preset duration, while the second preset duration is greater than the first preset duration.
[0139] In one possible embodiment, in determining the target height of the corresponding target sound source based on the first target sound data, the acquisition unit 801 is further specifically configured to: acquire the first height of the first microphone corresponding to the first target sound data; acquire the second height of the second microphone corresponding to the second target sound data, wherein the second microphone is a plurality of microphones with different heights from the first microphone; determine the first moment when the peak amplitude appears in the first target sound data and the second moment when the peak amplitude appears in the second target sound data; and determine the target height based on the first height, the second height, the first moment, and the second moment.
[0140] In one possible embodiment, in adjusting the height of at least one microphone in the microphone array according to the target height, the determining unit 802 is further specifically configured to: adjust the height of a third microphone to a third height; wherein the third height is lower than the target height, and the third microphone is a microphone among a plurality of microphones whose distance to the first microphone corresponding to the first target sound data is not greater than a preset distance; and adjust the height of a fourth microphone to a fourth height; wherein the fourth height is higher than the target height, and the fourth microphone is a microphone among a plurality of microphones whose distance to the first microphone is greater than a preset distance.
[0141] In one possible embodiment, in determining whether a second-level fire threat exists in the first area based on multiple second sound data, the determining unit 802 is further specifically configured to: determine whether the second sound data collected by the third microphone conforms to low-frequency fire sound characteristics, including slight burning characteristics or slight bursting characteristics; determine whether the second sound data collected by the fourth microphone conforms to high-frequency fire sound characteristics, including intense burning characteristics, intense bursting characteristics, or object collapse characteristics; if any one of the multiple second sound data conforms to low-frequency sound characteristics or high-frequency sound characteristics, then it is determined that a second-level fire threat exists in the first area.
[0142] In one possible embodiment, if there is a level 2 fire threat in the first area, the acquisition unit 801 is further configured to: generate a second alarm message, the second alarm message including the existence of a level 2 fire threat in the first area; send the second alarm message to the user terminal; and determine that a receipt confirmation message from the user terminal in response to the second alarm message has been received.
[0143] In one possible embodiment, the multiple microphones also include corresponding wireless modules. If no acknowledgment information is received from the user terminal in response to the second alarm information, the determining unit 802 is further configured to: determine the fifth microphone that is furthest from the target sound source from the multiple microphones; adjust the fifth microphone to a preset height; and send the second alarm information to the user terminal based on the fifth microphone.
[0144] Based on the description of the above method and device embodiments, please refer to... Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 The electronic device 900 shown (specifically, the electronic device 900 may be a computer device, Figure 1 The control device 101 shown includes a memory 901, a processor 902, a communication interface 903, and a bus 904. The memory 901, processor 902, and communication interface 903 are interconnected via the bus 904.
[0145] The memory 901 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
[0146] The memory 901 can store programs. When the program code stored in the memory 901 is executed by the processor 902, the processor 902 and the communication interface 903 are used to execute the various steps of the fire threat determination method based on sound data according to the embodiments of this application.
[0147] The processor 902 may be a general-purpose central processing unit (CPU), microcontroller, application-specific integrated circuit (ASIC), graphics processing unit (GPU), or one or more integrated circuits, used to execute relevant programs to achieve the functions required by the units in the electronic device 900 of this application embodiment, or to execute the fire threat determination method based on sound data of this application method embodiment.
[0148] The processor 902 can also be an integrated circuit chip with signal processing capabilities. In implementation, each step of the fire threat determination method based on sound data in this application can be completed by the integrated logic circuitry in the hardware of the processor 902 or by instructions in software form. The processor 902 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microcontroller or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory 901. The processor 902 reads the information in the memory 901 and, in conjunction with its hardware, performs the functions required by the units included in the electronic device 900 of this application embodiment, or performs the fire threat determination method based on sound data of this application method embodiment.
[0149] The communication interface 903 uses transceiver devices, such as, but not limited to, transceivers, to enable communication between the electronic device 900 and other devices or communication networks. For example, data can be acquired through the communication interface 903.
[0150] Bus 904 may include a pathway for transmitting information between various components of electronic device 900 (e.g., memory 901, processor 902, communication interface 903).
[0151] It should be noted that, although Figure 9 The illustrated electronic device 900 only shows a memory 901, a processor 902, and a communication interface 903. However, those skilled in the art should understand that in specific implementations, the electronic device 900 may also include other devices necessary for normal operation. Furthermore, depending on specific needs, those skilled in the art should understand that the electronic device 900 may also include hardware devices for implementing other additional functions. Moreover, those skilled in the art should understand that the electronic device 900 may only include the devices necessary for implementing the embodiments of this application, and may not necessarily include... Figure 9 All the devices shown.
[0152] This application embodiment also provides a chip, which includes a processor and a data interface. The processor reads instructions stored in the memory through the data interface to implement the fire threat determination method based on sound data.
[0153] Optionally, as one implementation, the chip may further include a memory storing instructions, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the fire threat determination method based on sound data.
[0154] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform one or more steps of any of the above methods.
[0155] This application also provides a computer program product containing instructions. When the computer program product is run on a computer or processor, it causes the computer or processor to perform one or more steps of any of the methods described above.
[0156] Those skilled in the art will appreciate that the functionality described in conjunction with the various illustrative logic blocks, modules, and algorithmic steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functionality described by the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. The computer-readable medium may comprise a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium, or a communication medium that includes any medium facilitating the transfer of a computer program from one place to another (e.g., based on a communication protocol). In this way, the computer-readable medium may substantially correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or carrier wave. The data storage medium may be any available medium accessible by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementing the techniques described in this application. A computer program product may comprise a computer-readable medium.
[0157] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, or any other media that can be used to store desired program code in the form of instructions or data structures and is accessible by a computer. Furthermore, any connection is properly referred to as computer-readable media. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other temporary media, but are specifically addressed to non-temporary tangible storage media. As used herein, disks and optical discs include compact optical discs (CDs), laser optical discs, optical discs, digital versatile optical discs (DVDs), and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. The combination of the above items should also be included in the scope of computer-readable media.
[0158] Instructions can be executed by one or more processors, such as digital signal processors (DSPs), general-purpose microcontrollers, application-specific integrated circuits (ASICs), field-programmable arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, the term "processor" as used herein can refer to any of the foregoing structures or any other structures suitable for implementing the techniques described herein. Furthermore, in some aspects, the functionality described in the various illustrative logic blocks, modules, and steps described herein can be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into combined codecs. Moreover, the techniques can be fully implemented within one or more circuit or logic elements.
[0159] The technology of this application can be implemented in a wide variety of devices or apparatuses, including wireless handheld devices, integrated circuits (ICs), or a set of ICs (e.g., chipsets). The various components, modules, or units described in this application are intended to emphasize functional aspects of the apparatus for performing the disclosed technology, but do not necessarily need to be implemented by different hardware units. In fact, as described above, the various units can be combined with suitable software and / or firmware within coded hardware units, or provided via interoperable hardware units (containing one or more processors as described above).
[0160] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the specific descriptions of the corresponding steps in the foregoing method embodiments, and will not be repeated here.
[0161] It should be understood that in the description of this application, unless otherwise stated, " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B can represent A or B; where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Additionally, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and the terms "first," "second," etc., do not necessarily imply difference. In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.
[0162] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the division of units is merely a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. The coupling, direct coupling, or communication connection shown or discussed between each other may be indirect coupling or communication connection through some interfaces, apparatuses, or units, and may be electrical, mechanical, or other forms.
[0163] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0164] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media can be read-only memory (ROM), random access memory (RAM), or magnetic media, such as floppy disks, hard disks, magnetic tapes, magnetic disks, or optical media, such as digital versatile discs (DVDs), or semiconductor media, such as solid state disks (SSDs).
[0165] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
[0166] The device embodiments described above are merely illustrative. The units and modules described as separate components may or may not be physically separate. Furthermore, some or all of the units and modules can be selected to achieve the purpose of this embodiment, depending on actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0167] The above description is only a specific embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for determining a fire threat based on sound data, characterized by, The application discloses a control device applied to an indoor fire alarm system, and a method for controlling the indoor fire alarm system. If the first alarm information generated by the alarm device is received, a plurality of first sound data collected by the plurality of microphones is acquired. A target height where a target sound source corresponding to the first target sound data is located is determined according to the first target sound data, the first target sound data being sound data meeting a preset feature in the plurality of first sound data, and the preset feature being used for indicating that there is a first-class fire threat. A height of at least one microphone in the microphone array is adjusted according to the target height, and a plurality of second sound data collected by the plurality of microphones is acquired, specifically including: adjusting a height of a third microphone to a third height, wherein the third height is lower than the target height, and the third microphone is a microphone in the plurality of microphones and the distance between the third microphone and the first microphone corresponding to the first target sound data is not greater than a preset distance; and adjusting a height of a fourth microphone to a fourth height, wherein the fourth height is higher than the target height, and the fourth microphone is a microphone in the plurality of microphones and the distance between the fourth microphone and the first microphone is greater than the preset distance. Whether there is a second-class fire threat in the first area is determined according to the plurality of second sound data, specifically including: judging whether second sound data collected by the third microphone meets a fire low-frequency sound feature, the fire low-frequency sound feature including a slight burning feature or a slight explosion feature; judging whether second sound data collected by the fourth microphone meets a fire high-frequency sound feature, the fire high-frequency sound feature including a violent burning feature, a violent explosion feature or an object collapse feature; and if any one of the plurality of second sound data meets the low-frequency sound feature or the high-frequency sound feature, it is determined that there is a second-class fire threat in the first area.
2. The method of claim 1, wherein, The preset feature includes at least one of the following: a peak amplitude is maximum, and the peak amplitude is greater than a first preset threshold value; a peak amplitude is maximum, the peak amplitude is greater than a second preset threshold value, and a duration is greater than a first preset duration, and the second preset threshold value is less than the first preset threshold value; a peak amplitude is maximum, an amplitude statistical characteristic is stable or monotonically increasing over time, and a duration is greater than a second preset duration, and the second preset duration is greater than the first preset duration.
3. The method of claim 1, wherein, The target height where the target sound source corresponding to the first target sound data is located is determined according to the first target sound data, and the target height is determined according to a first height of a first microphone corresponding to the first target sound data, a second height of a second microphone corresponding to second target sound data, a first time when a peak amplitude appears in the first target sound data, and a second time when the peak amplitude appears in the second target sound data. The target height is determined according to the first height, the second height, the first time and the second time. 4. The method according to any one of claims 1 to 3, characterized in that, If the first area has a secondary fire threat, the method further comprises: generating second alarm information, the second alarm information comprising that the first area has a secondary fire threat; sending the second alarm information to a user terminal; determining that a receipt confirmation information sent by the user terminal in response to the second alarm information is received.
5. The method of claim 4, wherein, The plurality of microphones further comprises a corresponding wireless module, and if the receipt confirmation information sent by the user terminal in response to the second alarm information is not received, the method further comprises: determining a fifth microphone farthest from the target sound source from the plurality of microphones; adjusting the fifth microphone to a preset height; sending the second alarm information to the user terminal based on the fifth microphone.
6. A fire threat determination apparatus based on sound data, characterized by, The indoor fire alarm system further comprises a microphone array and an alarm device, the microphone array comprises a plurality of microphones for collecting sound data of a first area, and the alarm device is configured to generate first alarm information; the device comprises: an obtaining unit configured to obtain a plurality of first sound data collected by the plurality of microphones if the first alarm information generated by the alarm device is received; a determining unit configured to determine a target height of a corresponding target sound source according to first target sound data, the first target sound data being sound data satisfying a preset feature from the plurality of first sound data, the preset feature being used to indicate a primary fire threat; an obtaining unit configured to adjust a height of at least one microphone in the microphone array according to the target height, and obtain a plurality of second sound data collected by the plurality of microphones, specifically comprising: adjusting a height of a third microphone to a third height, wherein the third height is lower than the target height, and the third microphone is a microphone in the plurality of microphones having a distance from the first microphone no greater than a preset distance; adjusting a height of a fourth microphone to a fourth height, wherein the fourth height is higher than the target height, and the fourth microphone is a microphone in the plurality of microphones having a distance from the first microphone greater than the preset distance; a determining unit configured to determine whether the first area has a secondary fire threat according to the plurality of second sound data, specifically comprising: judging whether second sound data collected by the third microphone meets a fire low-frequency sound feature, the fire low-frequency sound feature comprising a slight burning feature or a slight explosion feature; judging whether second sound data collected by the fourth microphone meets a fire high-frequency sound feature, the fire high-frequency sound feature comprising a violent burning feature, a violent explosion feature, or an object collapse feature; and if any one of the plurality of second sound data meets the low-frequency sound feature or the high-frequency sound feature, determining that the first area has a secondary fire threat.
7. An electronic device, comprising: A device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing steps in the method of any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method of any one of claims 1-5.
Citation Information
Patent Citations
Intelligent fire-fighting one-stop early warning system
CN113299030A
Fire safety monitoring method and system based on Internet of Things
CN118470890A