A multifunctional smoke fire early warning method, system and readable storage medium
By employing a window-based strategy and dynamic adjustments in the smoke fire early warning system, the problem of false alarms in traditional smoke detection systems in kitchen environments has been solved, achieving highly sensitive fire threat identification and resource optimization.
Patent Information
- Application Number
- CN202410570301.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2044-05-09
AI Technical Summary
Traditional smoke detection systems struggle to distinguish between cooking smoke and steam and actual fire smoke in a kitchen environment, leading to frequent false alarms.
A multifunctional smoke fire early warning method is adopted, which divides the time window into a first-class window and a second-class window, and implements different early warning strategies in each window. The first-class window is for specific activity times, and a non-sensitive threshold higher than the conventional upper limit threshold is set; the second-class window is for non-specific activity times, and the conventional upper limit threshold is used. At the same time, the changes in sensor data within the current window and the previous consecutive time windows are monitored, and an early warning is issued only when the change value continues to rise and each increase exceeds the cumulative threshold.
It reduces the false alarm rate in high-smoke environments, improves the sensitivity of identifying real fire threats, reduces system resource consumption, and avoids misjudgments in safety monitoring due to preset errors.
Smart Images

Figure CN118334816B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of safety warning, in particular to a multifunctional smoke fire warning method, system and readable storage medium. BACKGROUND
[0002] In the environment of a domestic kitchen, the generation of smoke and steam is a common phenomenon due to cooking activities. These smoke and steam generated by cooking are often different in characteristics from real fire smoke, but traditional smoke detection systems often have difficulty distinguishing these differences, thus leading to frequent false alarms.
[0003] The currently widely used smoke detection technologies mainly include photoelectric and ionic smoke detectors. Photoelectric detectors perceive smoke by detecting the scattering of light in smoke; while ionic detectors detect smoke by detecting changes in air ions.
[0004] Although these smoke detectors can work effectively in most cases, they do not perform ideally in the specific scenario of a kitchen, since the smoke detectors are usually provided with fixed alarm thresholds that do not take into account the frequent generation of smoke and steam in the kitchen during cooking. Therefore, when the kitchen generates a lot of smoke or steam due to normal cooking activities, these detectors can still trigger an alarm, causing frequent false alarms. SUMMARY
[0005] The present application provides a multifunctional smoke fire warning method, system and readable storage medium, for reducing the false alarm rate in a high smoke environment.
[0006] In a first aspect, the present application provides a multifunctional smoke fire warning method, comprising:
[0007] determining a current time window according to the position of the current time in a preset time table, wherein the preset time table stores time windows of different time lengths, wherein a time window within a specific activity time is defined as a first type window, and a time window outside the specific activity time is defined as a second type window, and the time length of the first type window is greater than that of the second type window;
[0008] collecting sensor data of several types within the current time window;
[0009] if the current time window is the second type window, determining whether the sensor data is greater than the corresponding upper threshold;
[0010] if any sensor data is greater than the corresponding upper threshold, issuing a warning information;
[0011] If the current time window is the first type of window, obtain a change value of the sensor data in the current time window, and obtain change values of the sensor data in a preset number of continuous time windows before the current time window;
[0012] In a case where the change value continuously increases over time and each increase is greater than the accumulation threshold value, an early warning information is issued, and the accumulation threshold value is less than the upper threshold value;
[0013] If the current time window is the first type of window, determine whether the sensor data is greater than a corresponding non-sensitive threshold value;
[0014] If any sensor data is greater than a corresponding non-sensitive threshold value, an early warning information is issued, and the non-sensitive threshold value is greater than the upper threshold value.
[0015] In the above embodiments, the time window is divided into the first type of window and the second type of window, and different early warning strategies are implemented in each type of window. In the second type of window, i.e., the non-specific activity time, there is generally no increase in smoke, temperature or gas, so a conventional upper threshold value is used for early warning. This simplifies monitoring in a normal environment and reduces the consumption of system resources. For the first type of window, which is usually during specific activities such as cooking, smoke and steam are expected to be generated. In these windows, a non-sensitive threshold value higher than the conventional upper threshold value is set to reduce false positives caused by normal cooking activities. In addition, in order to deal with potential potential safety hazards that gradually accumulate signals to a dangerous level, not only the change of sensor data in the current window is monitored, but also the changes of data in the previous continuous time windows are compared. Only when these change values continuously increase and each increase exceeds the accumulation threshold value, an early warning information is issued. This accumulation threshold value is set lower than the upper threshold value, which further optimizes the identification of real fire threats, thus reducing the false positive rate in a high-smoke environment such as a kitchen and maintaining high sensitivity to real fire threats.
[0016] In combination with some embodiments of the first aspect, in some embodiments, after the steps of obtaining a change value of the sensor data in the current time window, and obtaining change values of the sensor data in a preset number of continuous time windows before the current time window, the method further comprises:
[0017] In a case where the change value first increases and then decreases, determine whether the sensor data in the current time window is greater than a corresponding upper threshold value;
[0018] If not greater than the corresponding upper threshold value, redefine the current time window and a time window subsequent to the current time window, which is defined as the second type of window, as the first type of window.
[0019] In the above embodiment, when the change value first increases and then decreases without exceeding the upper threshold, it is determined that the cooking activity has ended, and the second type of window is switched back to the first type of window. This automatic adjustment mechanism effectively solves the problem of safety monitoring misjudgment caused by preset errors (the preset user is cooking, but in fact there is no cooking).
[0020] In combination with some embodiments of the first aspect, in some embodiments, after the step of redefining the current time window and the time window subsequently defined as the second type of window as the first type of window if it is not greater than the corresponding upper threshold, the method further comprises:
[0021] Taking the midpoint of the current time window as a reference point;
[0022] Extending forward from the reference point to a preset front end threshold, and setting the forward extension point as the start time of the specific activity;
[0023] Extending backward from the reference point to a preset rear end threshold, and setting the backward extension point as the end time of the specific activity;
[0024] Modifying the preset schedule according to the start and end times of the specific activity.
[0025] In the above embodiment, the time of the specific activity is dynamically adjusted using historical data, making the preset time more suitable for actual use habits. This not only improves the accuracy of time management, but also more effectively allocates resources, such as enhancing smoke monitoring during the expected cooking time, ensuring safety while reducing resource consumption during non-critical periods.
[0026] In combination with some embodiments of the first aspect, in some embodiments, after the step of determining the current time window according to the position of the current time in the preset schedule, the method further comprises:
[0027] Increasing the preset time length of the end of the previous time window to the current time window, the previous time window being the previous time window of the current time window.
[0028] In the above embodiment, time overlap is introduced when setting the time window, solving the problem that the event may occur exactly on the boundary of the two fixed time windows. This overlapping design of time window ensures the continuity and integrity of the data. Therefore, this technology not only improves the accuracy of event capture, but also reduces the possibility of data loss or misinterpretation due to improper division of time windows, thereby improving reliability.
[0029] In combination with some embodiments of the first aspect, in some embodiments, before the step of determining the current time window according to the position of the current time in the preset schedule, the method further comprises:
[0030] Receiving a touch instruction selected by the user;
[0031] determining the start time and the end time of the specific activity time according to the touch instruction;
[0032] creating a preset schedule according to the start time and the end time of the specific activity time.
[0033] In the above embodiment, the start time and the end time of the specific activity time are determined by receiving the touch instruction selected by the user, which can be adjusted according to the specific situation of the user, so as to be more personalized and flexible to adapt to the actual needs of the user.
[0034] In combination with some embodiments of the first aspect, in some embodiments, in the case that the change value continues to rise over time and each rise is greater than the cumulative threshold, the step of issuing the early warning information specifically includes:
[0035] In the case that the change value continues to rise over time and each rise is greater than the cumulative threshold, an option of delay is provided to the user through the user interface;
[0036] In the case that the user cancels the alarm in the delay option, the early warning information is not issued;
[0037] In the case that the user determines to alarm in the delay option, the early warning information is issued.
[0038] In the above embodiment, in the case that the change value continues to rise and each rise exceeds the cumulative threshold, an option of delay is provided to the user, so that the user can select whether to immediately issue the early warning according to the current specific situation and personal judgment. Such a user-involved decision-making process significantly reduces the possibility of false positives and avoids disturbing the user's life and work in the case that there is no actual fire.
[0039] In combination with some embodiments of the first aspect, in some embodiments, after the step of not issuing the early warning information in the case that the user cancels the alarm in the delay option, the method further includes:
[0040] updating the cumulative threshold according to a preset updating rule, the updating rule being used to increase the cumulative threshold, and the increased cumulative threshold being less than the upper threshold.
[0041] In the above embodiment, in the case that the user cancels the alarm, the cumulative threshold is appropriately increased according to the preset updating rule, so as to ensure that the future early warning threshold is more reasonable and reduce the frequent unnecessary alarms caused by too sensitive threshold setting.
[0042] In the second aspect, the embodiments of the present application provide a multifunctional smoke fire early warning system, which comprises one or more processors and memories.
[0043] The memory is coupled to the one or more processors, and the memory is configured to store computer program code comprising computer instructions, which are invoked by the one or more processors to cause the multifunctional smoke fire early warning system to perform the method as described in the first aspect and any possible implementation of the first aspect.
[0044] In a third aspect, the embodiments of the present application provide a computer program product comprising instructions which, when executed on a multifunctional smoke fire early warning system, cause the multifunctional smoke fire early warning system to perform the method as described in the first aspect and any possible implementation of the first aspect.
[0045] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium comprising instructions which, when executed on a multifunctional smoke fire early warning system, cause the multifunctional smoke fire early warning system to perform the method as described in the first aspect and any possible implementation of the first aspect.
[0046] It can be understood that the multifunctional smoke fire early warning system provided by the second aspect, the computer program product provided by the third aspect, and the computer storage medium provided by the fourth aspect are all used to execute the multifunctional smoke fire early warning method provided by the embodiments of the present application. Therefore, the beneficial effects that can be achieved are referred to the beneficial effects in the corresponding method, which will not be described here.
[0047] The one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0048] 1. The multifunctional smoke fire early warning method provided by the present application divides the time window into a first type of window and a second type of window, and implements different early warning strategies in each type of window. In the second type of window, i.e. non-specific activity time, there is generally no increase in smoke, temperature or gas, so a conventional upper threshold is used for early warning. This simplifies monitoring in a normal environment and reduces the consumption of system resources. For the first type of window, which is usually during specific activities such as cooking, smoke and steam are expected to be generated. In these windows, a non-sensitive threshold higher than the conventional upper threshold is set to reduce false positives caused by normal cooking activities. In addition, in order to deal with potential potential safety hazards that gradually accumulate to a dangerous level of signal strength, not only the change in sensor data within the current window is monitored, but also the data changes within the previous consecutive time windows are compared. Only when these change values continue to rise and each increase exceeds the cumulative threshold, an early warning message is issued. This cumulative threshold is set lower than the upper threshold, further optimizing the identification of real fire threats, thus reducing the false positive rate in high-smoke environments such as kitchens, and maintaining high sensitivity to real fire threats.
[0049] 2. The multifunctional smoke fire early warning method provided in the application, when the change value first increases and then decreases and does not exceed the upper threshold value, determines that the cooking activity has ended, and switches the second type of window back to the first type of window. This automatic adjustment mechanism effectively solves the problem of safety monitoring misjudgment that may be caused by preset errors (the preset user is cooking, but in fact there is no cooking).
[0050] 3. The multifunctional smoke fire early warning method provided in the application dynamically adjusts the time of a specific activity using historical data, so that the preset time is more in line with actual use habits, not only improving the accuracy of time management, but also more effectively allocating resources, such as enhancing smoke monitoring during the expected cooking time, ensuring safety while reducing resource consumption during non-critical periods. BRIEF DESCRIPTION OF DRAWINGS
[0051] Figure 1 A flowchart of the multifunctional smoke fire early warning method provided in the application.
[0052] Figure 2 Another flowchart of the multifunctional smoke fire early warning method provided in the application.
[0053] Figure 3 A scene diagram of the multifunctional smoke fire early warning method provided in the application.
[0054] Figure 4 Another scene diagram of the multifunctional smoke fire early warning method provided in the application.
[0055] Figure 5 A schematic diagram of the physical device of the multifunctional smoke fire early warning system provided in the application. DETAILED DESCRIPTION
[0056] The terms used in the following embodiments of the application are only for the purpose of describing specific embodiments of the application, and are not intended to be limiting to the application. As used in the specification and the appended claims of the application, the singular forms "a," "an," and "the" are intended to include both singular and plural forms, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or" used in the application means any or all possible combinations of one or more of the listed items.
[0057] Hereinafter, the terms "first" and "second" are only for the purpose of description, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the application, the meaning of "multiple" is two or more, unless otherwise specified.
[0058] The multifunctional smoke fire early warning method in the embodiment is described as follows:
[0059] As Figure 1 shown, Figure 1 a flowchart of the multifunctional smoke fire early warning method provided in the application.
[0060] S101, determine a current time window according to the position of the current time in a preset time table, the preset time table stores time windows of different time lengths, wherein a time window in a specific activity time is defined as a first type window, and a time window outside the specific activity time is defined as a second type window, and the time length of the first type window is greater than that of the second type window.
[0061] The preset time table includes a time range in which the specific activity is likely to occur and a setting rule of the time window, and the specific activity time is a preset time range in which the specific activity is likely to occur, for example, the specific activity time can include the morning food preparation time (such as 7 o'clock to 9 o'clock), the noon cooking time (11 o'clock to 1 o'clock) and the evening cooking time (such as 5 o'clock to 7 o'clock).
[0062] In some embodiments, a specific number of minutes is set for the time length of the first type window, which is greater than that of the second type window (for example, 15 minutes), and a shorter specific number of minutes is set for the time length of the second type window (for example, 10 minutes), and in actual use, the time lengths of the two types of windows can be appropriately adjusted according to actual needs and the characteristics of the time period, but the time length of the first type window is greater than that of the second type window.
[0063] It is worth noting that in the specific activity time, the smoke, steam and temperature may change rapidly due to the presence of personnel activities. However, since there is indeed someone present during this period, the monitoring system can be adjusted to adapt to such normal environmental changes. Therefore, the time window can be appropriately increased, the frequency and intensity of data processing can be reduced, resources can be saved, and excessive response can be avoided.
[0064] It should be noted that in actual use, there are multiple specific activity times in a day in the preset time table, for example, the morning and evening food preparation times.
[0065] In some embodiments, the preset time table can be set by the manufacturer, and the user can adjust or reset the time table according to the actual activity habits of his own family. The user makes personalized adjustments on the basis of the manufacturer's preset, which is not limited here.
[0066] In some embodiments, before step S101, it further includes: S1, receiving a touch instruction selected by a user;
[0067] In some embodiments, the touch instruction is received through a touch screen or similar interactive interface.
[0068] For example, the touch screen of a multifunctional smoke fire warning system displays an interface with options for selecting time periods, and the user can select the specific time for the specific activity by simply touching. Once the selection is triggered, the underlying software receives the command and interprets it as a specific instruction, such as "specific activity time: 7:00-9:00".
[0069] S2, determining the start and end time of the specific activity time according to the touch instruction;
[0070] According to the user's touch instruction, the time information contained in the user's intention needs to be parsed. This usually involves extracting the start and end time from the user input and verifying and formatting these times to meet the system requirements.
[0071] S3, creating a preset schedule according to the start and end time of the specific activity time.
[0072] Continuing the example above, for the first type of window, a specific number of minutes is set, which is longer than the second type of window, and for the second type of window, a shorter specific number of minutes is set, and then the specific activity time and non-specific activity time are divided into several time windows.
[0073] It can be seen that the touch instruction received by the user to determine the start and end of the specific activity time can be adjusted according to the user's specific situation, making it more personalized and flexible to adapt to the user's actual needs.
[0074] In some embodiments, the preset time length at the end of the previous time window is increased to the current time window, and the previous time window is the previous time window of the current time window.
[0075] An example includes the following time windows:
[0076] Window 1: 7:00-7:12
[0077] Window 2: 7:12-7:24
[0078] Window 3: 7:24-7:36
[0079] ...
[0080] Window 8: 8:24-8:36
[0081] Window 9: 8:36-8:48
[0082] Window 10: 8:48-9:00.
[0083] A time window from 6:58 to 9:00 can be set, each window lasts for 14 minutes, and each window has a 2-minute overlap with the previous window;
[0084] Then, the time window changes to:
[0085] Window 1: 6:58-7:12
[0086] Window 2: 7:10-7:24
[0087] Window 3: 7:22-7:36 ...
[0088] Window 10: 8:46-9:00.
[0089] It can be seen that the time overlap is introduced when setting the time window, which solves the problem that the event may exactly occur on the boundary of two fixed time windows. The overlapping design of the time window ensures the continuity and integrity of the data. Therefore, this technology not only improves the accuracy of event capture, but also reduces the data loss or misunderstanding that may be caused by improper division of the time window, thereby improving the reliability.
[0090] S102, collecting sensor data of several types within the current time window.
[0091] In some embodiments, the sensor includes a smoke detection module, a temperature detection module, and a gas leakage detection module, and the sensor data includes smoke data, temperature data, and gas data.
[0092] Taking the smoke detection module as an example, the smoke detection module collects smoke data every pre-set data or continuously. The current multifunctional smoke fire warning collects smoke data within the current time window, and then arranges this data, for example, to obtain the maximum value, curve, etc., which is not limited here.
[0093] It should be noted that the collection frequency of the sensor is related to the length of the time window. The longer the time window, the lower the collection frequency.
[0094] In some embodiments, after step S102, it is judged whether the current time window belongs to the first type of window or the second type of window.
[0095] If it belongs to the second type of window, step S103 is executed.
[0096] If it belongs to the first type of window, step S105 is executed.
[0097] S103, if the current time window is the second type of window, it is judged whether the sensor data is greater than the corresponding upper threshold value.
[0098] The upper threshold refers to the reference standard for evaluating whether the sensor data (such as smoke, temperature or gas concentration) is abnormal. This threshold is usually set relatively low in order to detect and respond to potential problems in a timely manner, and is preset by the manufacturer, but can also be adjusted by the user according to specific needs.
[0099] S104, if any sensor data is greater than the corresponding upper threshold, an early warning information is issued.
[0100] In some embodiments, a loud alarm sound can be issued, and flashing lights can also be used to improve the visibility of the alarm in conjunction with the sound alarm. In other embodiments, the alarm is sent to the user's mobile phone or other smart devices through the smart home system.
[0101] S105, if the current time window is the first type of window, the change value of the sensor data in the current time window is obtained, and the change value of the sensor data in a preset number of consecutive time windows before the current time window is obtained.
[0102] Referring to the above example, not only the change value of the data in the current time window (7:22-7:36) is obtained, but also the change value of the data in the previous two time windows (window A: 6:58-7:12 and window B: 7:10-7:24) is obtained.
[0103] Reference Figure 3 , Figure 3 A scene diagram of the multifunctional smoke fire early warning method provided in the present application.
[0104] The change value of the data in the current time window C and the change value of the data in the current time window A and the current time window B are obtained.
[0105] S106, if the change value continues to rise over time and each rise is greater than the cumulative threshold, an early warning information is issued, and the cumulative threshold is less than the upper threshold.
[0106] If the change value of the smoke concentration in the current time window (7:22-7:36) is increased by 6% compared to the previous time window, and the increase value exceeds the cumulative threshold of 5%, and the change value of the smoke concentration in the previous two time windows (window A: 6:58-7:12 and window B: 7:10-7:24) all exceed the cumulative threshold of 5%, an immediate warning is issued. In some embodiments, a loud alarm sound can be issued, and flashing lights can also be used to improve the visibility of the alarm in conjunction with the sound alarm. In other embodiments, the alarm is sent to the user's mobile phone or other smart devices through the smart home system.
[0107] S107, whether the sensor data is greater than the corresponding non-sensitive threshold is judged.
[0108] The non-sensitive threshold refers to a preset data point, data below which is generally not expected to cause a system alert and is therefore considered to be within a normal or safe range.
[0109] It is noted that the non-sensitive threshold is greater than the upper threshold, as the thresholds for smoke and temperature in a kitchen, which is often used for cooking, are set relatively high to avoid frequent false positives.
[0110] In some embodiments, the thresholds are preset by the manufacturer, but can also be adjusted by the user as needed.
[0111] S108, if any sensor data is greater than the corresponding non-sensitive threshold, an early warning message is issued, the non-sensitive threshold being greater than the upper threshold.
[0112] As can be seen, by dividing the time window into the first type of window and the second type of window, and implementing different early warning strategies in each type of window. In the second type of window, i.e. the non-specific activity time, there is generally no increase in smoke, temperature or gas, so the conventional upper threshold is used for early warning. This simplifies the monitoring in a normal environment and reduces the consumption of system resources. For the first type of window, which is usually during specific activities such as cooking, smoke and steam are expected to be generated. In these windows, a non-sensitive threshold higher than the conventional upper threshold is set to reduce false positives caused by normal cooking activities. In addition, in order to deal with potential potential safety hazards that gradually accumulate to a dangerous level of signal strength, not only the change in sensor data within the current window is monitored, but also the change in data within the previous consecutive time window is compared. An early warning message is only issued when these change values continue to rise and each increase exceeds the accumulation threshold. This accumulation threshold is set lower than the upper threshold, further optimizing the identification of real fire threats, thus reducing the false positive rate in high-smoke environments such as kitchens, while maintaining high sensitivity to real fire threats.
[0113] In the above embodiment, the false positive rate in high-smoke environments such as kitchens is reduced. In actual application, when the above multifunctional smoke fire early warning method is executed, there may be problems of safety monitoring misjudgment caused by preset errors (the preset user is cooking, but in fact there is no cooking) and preset time not conforming to actual use habits. The following describes the multifunctional smoke fire early warning method in the embodiments of the present application in combination with another flowchart of the multifunctional smoke fire early warning method shown in FIG. 6. Figure 2
[0114] As shown in FIG. 6, another flowchart of the multifunctional smoke fire early warning method provided by the present application is shown. Figure 2 Figure 2 As shown in FIG. 6, another flowchart of the multifunctional smoke fire early warning method provided by the present application is shown.
[0115] S201、In the case where the change value first increases and then decreases, determine whether the sensor data of the current time window is greater than the corresponding upper threshold value.
[0116] With the above example, refer to Figure 4 , Figure 4 The scene diagram of the multifunctional smoke fire early warning method provided in the present application.
[0117] Windows A to C: In these time windows, the data detected by the sensor (which may be temperature or smoke concentration) shows an increasing trend.
[0118] Window D: The data of this window shows a decreasing trend compared to the previous three windows.
[0119] Determine whether the sensor data of window D is greater than the corresponding upper threshold value;
[0120] If it is greater than the corresponding upper threshold value, it means that the user is still cooking, and at this time, the current time window is still maintained as the second type of window.
[0121] If it is not greater than the corresponding upper threshold value, it means that the user has finished cooking, and at this time, step S202 is executed.
[0122] S202, If it is not greater than the corresponding upper threshold value, redefine the current time window and the time window subsequently defined as the second type of window as the first type of window.
[0123] Based on the data performance of window D, these time windows are redefined as the first type of window.
[0124] It can be seen that when the change value first increases and then decreases and does not exceed the upper threshold value, it is determined that the cooking activity has ended, and the second type of window is switched back to the first type of window. This automatic adjustment mechanism effectively solves the problem of safety monitoring misjudgment that may be caused by preset errors (presetting that the user is cooking, but in fact there is no cooking).
[0125] S203, Take the midpoint of the current time window as a reference point.
[0126] For window D, the time range is from 7:34 to 7:48, and the midpoint time is 7:41
[0127] S204, Extend from the reference point to the preset front end threshold value, and set the forward extension point as the start time of the specific activity.
[0128] The system extends the reference point 7:41 to the preset front end threshold value, assuming that the front end threshold value is set to 1 hour, i.e., from 6:41.
[0129] S205, Extend from the reference point to the preset rear end threshold value, and set the rear extension point as the end time of the specific activity.
[0130] The system extends the reference point 7:41 back to the preset back-end threshold, assuming the back-end threshold is set to 1 hour, i.e., starting from 8:41.
[0131] S206, modifying the preset schedule according to the start and end time of the specific activity.
[0132] It can be seen that the use of historical data to dynamically adjust the time of the specific activity makes the preset time more in line with the actual use habit, not only improving the accuracy of time management, but also more effectively allocating resources, such as enhancing smoke monitoring during the expected cooking time, ensuring safety while reducing resource consumption during non-critical periods.
[0133] In other embodiments, S106 is specifically S1061, in the case where the change value continues to rise over time and each rise is greater than the cumulative threshold, providing a delay option to the user through the user interface;
[0134] S1062, in the case where the user cancels the alarm in the delay option, no warning information is issued;
[0135] In some embodiments, a loud alarm sound is first issued, and a flashing light can also be used in conjunction with the sound alarm to improve the visibility of the alarm, providing a user with an option such as a "cancel alarm" button. When the user presses this button, all ongoing alarm processes are terminated, ensuring that all related alarm and warning signals are immediately stopped.
[0136] S1063, in the case where the user determines the alarm in the delay option, issuing the warning information.
[0137] In other embodiments, the alarm process is followed by the alarm process, the delay option provides the alarm process, and then the user does not respond within the specified time or chooses to determine the alarm in the delay option, and the alarm process is performed.
[0138] It can be seen that when the change value continues to rise and each rise exceeds the cumulative threshold, a delay option is provided to the user, so that the user can choose whether to immediately issue a warning according to the current specific situation and personal judgment. Such a user-involved decision-making process significantly reduces the likelihood of false alarms and avoids disturbing the user's life and work in the absence of an actual fire.
[0139] In other embodiments, after step S1062, the method further comprises:
[0140] S1064, updating the cumulative threshold according to a preset update rule, the update rule being used to increase the cumulative threshold, and the increased cumulative threshold being less than the upper threshold.
[0141] The updating rule usually includes an increasing operation on the threshold value, while ensuring that the increasing operation does not cause the accumulated threshold value to exceed the set upper limit, so as to keep the threshold value in a reasonable and safe range, which will not be described herein.
[0142] It can be seen that, in the case that the user selects to cancel the alarm, the accumulated threshold value is appropriately increased according to the preset updating rule, so as to ensure that the future early warning threshold value is more reasonable and reduce frequent unnecessary alarms caused by too sensitive threshold value setting.
[0143] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, refer to the method embodiments of the present application.
[0144] The present application also discloses a multifunctional smoke fire early warning system. Refer to Figure 5 The following is a schematic diagram of an entity device of the multifunctional smoke fire early warning system provided by the present application. The computer 500 can include at least one processor 501, at least one network interface 504, a user interface 503, a memory 505, and at least one communication bus 502.
[0145] The communication bus 502 is used to realize the connection and communication between the components.
[0146] The user interface 503 can include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 can further include a standard wired interface and a wireless interface.
[0147] The network interface 504 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0148] The processor 501 can include one or more processing cores. The processor 501 connects various parts within the server through various interfaces and lines, executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Alternatively, the processor 501 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 501 can integrate a combination of one or more of a central processing unit (CPU), a graphics processor (GPU), and a modem. Among them, the CPU mainly processes operating systems, user interfaces, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 501, but can be realized by a separate chip.
[0149] The memory 505 can include a random access memory (RAM) and a read-only memory (ROM). Alternatively, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 505 can alternatively be at least one storage device located away from the aforementioned processor 501. Referring to Figure 5 The memory 505 as a computer storage medium can include an operating system, a network communication module, a user interface module, and an application program of a multifunctional smoke fire warning.
[0150] In Figure 5In the illustrated computer 500, the user interface 503 is mainly used to provide an interface for the user to input, and obtain data input by the user; and the processor 501 can be used to invoke the multifunctional smoke fire warning application stored in the memory 505, which, when executed by one or more processors 501, causes the computer 500 to perform the method described in one or more of the above embodiments. It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all described as a combination of a series of actions, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0151] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0152] In several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic. The division of units is only a logical function division. In actual implementation, another division mode can be adopted. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some service interface, device or unit, and can be electrical or other forms.
[0153] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.
[0154] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically independently, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0155] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The aforementioned memory includes: a U disk, a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0156] The above-described are only exemplary embodiments of the present disclosure, and cannot limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the specification and practicing the true principles of the present disclosure.
[0157] The present application is intended to cover any variations, uses, or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not recorded in the present disclosure. The specification and examples are only considered as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A multifunctional smoke fire early warning method, characterized in that, include: The current time window is determined based on the current time's position in a preset time schedule. The preset time schedule stores time windows of different lengths. A time window that is within a specific activity time is defined as a first type of window, and a time window that is outside the specific activity time is defined as a second type of window. The length of the first type of window is greater than that of the second type of window. Several types of sensor data are collected within the current time window; If the current time window is the second type of window, then determine whether the sensor data is greater than the corresponding upper limit threshold; If any of the sensor data exceeds the corresponding upper limit threshold, a warning message will be issued; If the current time window is the first type of window, then obtain the change value of the sensor data within the current time window, and obtain the change value of the sensor data within a preset number of consecutive time windows before the current time window; If the change value continues to rise over time, and each rise is greater than the cumulative threshold, an early warning message is issued, wherein the cumulative threshold is less than the upper limit threshold. If the current time window is the first type of window, then determine whether the sensor data is greater than the corresponding non-sensitive threshold; If any of the sensor data exceeds the corresponding non-sensitive threshold, an early warning message is issued, wherein the non-sensitive threshold is greater than the upper limit threshold.
2. The multifunctional smoke fire early warning method according to claim 1, characterized in that, After the steps of obtaining the change value of the sensor data within the current time window and obtaining the change value of the sensor data within a preset number of consecutive time windows prior to the current time window, the method further includes: If the change value first increases and then decreases, determine whether the sensor data in the current time window is greater than the corresponding upper limit threshold. If it is not greater than the corresponding upper limit threshold, then the current time window and the time windows subsequently defined as the second type of window are redefined as the first type of window.
3. The multifunctional smoke fire early warning method according to claim 2, characterized in that, After the step of redefining the current time window and subsequent time windows defined as the second type of window into the first type of window if the value is not greater than the corresponding upper limit threshold, the method further includes: Use the midpoint of the current time window as the reference point; Extending forward from the reference point to a preset front-end threshold, the forward extension point is set as the start time of the specific activity; Extending backward from the reference point to a preset back-end threshold, the point of backward extension is set as the end time of the specific activity; Modify the preset schedule according to the start and end times of the specific activity.
4. The multifunctional smoke fire early warning method according to claim 1, characterized in that, After the step of determining the current time window based on the current time's position in a preset time schedule, the method further includes: The preset time length at the end of the previous time window is added to the current time window, where the previous time window is the time window preceding the current time window.
5. The multifunctional smoke fire early warning method according to claim 1, characterized in that, Before the step of determining the current time window based on the current time's position in a preset time schedule, the method further includes: Receive touch commands selected by the user; The start and end times of a specific activity are determined based on the touch command; Create a preset schedule based on the start and end times of the specific activity.
6. The multifunctional smoke fire early warning method according to claim 1, characterized in that, The step of issuing a warning when the change value continues to rise over time, and each rise is greater than the cumulative threshold, specifically includes: When the change value continues to rise over time, and each rise is greater than the cumulative threshold, a delay option is provided to the user through the user interface. If the user selects to cancel the alarm in the delay option, the warning message will not be issued; The warning message is issued when the user selects the delay option and confirms the alarm.
7. The multifunctional smoke fire early warning method according to claim 6, characterized in that, After the step of not issuing the warning information when the user selects to cancel the alarm in the delay option, the method further includes: The cumulative threshold is updated according to a preset update rule, which is used to increase the cumulative threshold, and the increased cumulative threshold is less than the upper limit threshold.
8. A multifunctional smoke fire early warning system, characterized in that, include: One or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the multifunctional smoke fire early warning system to perform the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the multi-functional smoke fire early warning system, the multi-functional smoke fire early warning system performs the method as described in any one of claims 1-7.
10. A computer program product, characterized in that, When the computer program product is run on the multifunctional smoke fire early warning system, the multifunctional smoke fire early warning system performs the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Fire warning method and device, computer equipment and storage medium
CN108777051A
Fire early warning method and device, computer equipment and storage medium
CN115050155A