Foreign matter removal method, device, electronic device and storage medium
By determining the possibility of fire through light detection and sensor data, and combining it with fans to remove foreign objects, the problem of false alarms in smoke alarms is solved, achieving improved reliability and accuracy.
Patent Information
- Application Number
- CN202511036007.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-26
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-07-26
AI Technical Summary
Existing smoke alarm devices are prone to foreign matter such as dust, mosquitoes, and water vapor entering after long-term use, resulting in false alarms or no alarms, affecting the accuracy and timeliness of fire judgment.
The light detection module detects the brightness of the light and combines it with the temperature and humidity change data from the sensor module to determine the possibility of fire. If there is no fire, the foreign matter removal module removes foreign matter, including using multiple fans for maze cleaning to ensure the reliability of the device.
The smoke alarm device has been improved in terms of alarm reliability, false alarm rate has been reduced, timely alarm has been ensured in case of real fire, and the service life of the device has been extended.
Smart Images

Figure CN120526526B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smoke alarms, and in particular to a foreign matter removal method, device, electronic equipment and storage medium. Background Art
[0002] Smoke alarms are critical fire warning devices. Their accuracy and timely response directly impact the safety of life and property. They can quickly identify smoke signals in the early stages of a fire and issue audible and visual alarms, buying valuable time for evacuation. However, current alarms are susceptible to foreign matter such as dust, mosquitoes, and moisture after long-term use, leading to false alarms or even no alarms, thus affecting people's ability to detect fires. Therefore, improving the reliability of smoke alarms is an urgent issue. Summary of the Invention
[0003] The embodiments of the present application provide a foreign matter removal method, device, electronic device, and storage medium, which improve the reliability of the alarm capability of a smoke alarm device.
[0004] In a first aspect, embodiments of the present application provide a foreign matter removal method, which is applied to a smoke alarm device. The smoke alarm device includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module. The method includes:
[0005] Detecting a first light brightness value corresponding to a first moment by the light detection module;
[0006] When the first light brightness value is greater than or equal to a preset light brightness value, acquiring temperature change data and humidity change data detected by the sensor module within a preset time period; the preset time period is a time period before the first moment;
[0007] determining a fire occurrence possibility value based on the temperature change data and the humidity change data;
[0008] If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module;
[0009] If the fire occurrence possibility value is less than the preset fire occurrence possibility value, a foreign object clearing operation is performed on the maze in the smoke alarm device through the foreign object clearing module.
[0010] In a second aspect, an embodiment of the present application provides a foreign matter removal device, which is applied to a smoke alarm device. The smoke alarm device includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module. The foreign matter removal device includes: a detection unit and a processing unit;
[0011] The detection unit is configured to detect a first light brightness value corresponding to a first moment through the light detection module;
[0012] The processing unit is configured to obtain temperature change data and humidity change data detected by the sensor module within a preset time period when the first light brightness value is greater than or equal to a preset light brightness value; the preset time period is a time period before the first moment;
[0013] determining a fire occurrence possibility value based on the temperature change data and the humidity change data;
[0014] If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module;
[0015] If the fire occurrence possibility value is less than the preset fire occurrence possibility value, a foreign object clearing operation is performed on the maze in the smoke alarm device through the foreign object clearing module.
[0016] In a third aspect, an embodiment of the present invention provides an electronic device comprising: a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor so that the electronic device performs the method of the first aspect.
[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method of the first aspect.
[0018] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, so that a computer executes the method of the first aspect.
[0019] The implementation of the present invention has the following beneficial effects:
[0020] It can be seen that the foreign matter removal method described in the embodiment of the present invention is applied to a smoke alarm device, which includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module. The specific operation process of the foreign matter removal method is to first detect a first light brightness value corresponding to a first moment through the light detection module. When the first light brightness value is greater than or equal to a preset light brightness value, the temperature change data and humidity change data detected by the sensor module within a preset time period are obtained. Then, based on the temperature change data and the humidity change data, a fire probability value is determined. If the fire probability value is greater than or equal to the preset fire probability value, an alarm operation is performed based on the alarm module. If the fire probability value is less than the preset fire probability value, a foreign matter removal operation is performed on the maze in the smoke alarm device through the foreign matter removal module, thereby improving the reliability of the alarm capability of the smoke alarm device. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the implementation methods or background technologies of the present application, the drawings required for use in the implementation methods or background technologies of the present application will be described below.
[0022] Figure 1 This is a schematic structural diagram of a smoke alarm device provided in an embodiment of the present application;
[0023] Figure 2 This is a flow chart of a foreign matter removal method provided in an embodiment of the present application;
[0024] Figure 3 This is a flow chart of a foreign body removal operation provided by an embodiment of the present application;
[0025] Figure 4 This is a structural diagram of a foreign body removal operation provided by an embodiment of the present application;
[0026] Figure 5 This is another structural diagram of a foreign matter removal operation provided by an embodiment of the present application;
[0027] Figure 6 This is a flow chart for determining a first aging degree value provided by an embodiment of the present application;
[0028] Figure 7 This is a flow chart for determining a fire probability value provided by an embodiment of the present application;
[0029] Figure 8 This is a schematic structural diagram of a foreign matter removal device provided in an embodiment of the present application;
[0030] Figure 9It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the present invention, the following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0032] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0033] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0034] See also Figure 1 , Figure 1 It is a structural schematic diagram of a smoke alarm device provided in an embodiment of the present application.
[0035] exist Figure 1In the embodiment, the smoke alarm device 100 includes a light detection module 101, a sensor module 102, a foreign object removal module 103, and an alarm module 104. When removing foreign objects from the smoke alarm device 100, the light detection module 101 first detects a first light brightness value corresponding to a first moment. When the first light brightness value is greater than or equal to a preset light brightness value, the sensor module 102 obtains temperature and humidity change data within a preset time period, where the preset time period is a period before the first moment. A fire probability value is then determined based on the temperature and humidity change data. If the fire probability value is greater than or equal to the preset fire probability value, the alarm module 104 initiates an alarm operation. If the fire probability value is less than the preset fire probability value, the foreign object removal module 103 performs a foreign object removal operation within the smoke alarm device 100.
[0036] See also Figure 2 , Figure 2 This is a flow chart of a foreign body removal method provided by an embodiment of the present application, including but not limited to the following steps:
[0037] S201: Detecting a first light brightness value corresponding to a first moment by the light detection module.
[0038] In this embodiment, the maze within the smoke alarm device is a core physical structural component, closely intertwined with the modules within the smoke alarm, each with its own distinct focus. Its essence is to provide a stable and accurate detection environment for the modules, while also relying on some of these modules to maintain its own functional effectiveness. Through its internal tortuous passages and light-blocking walls, the maze creates an optical path where light cannot reach the receiver when smoke is absent, but is scattered toward the receiver when smoke is present. Without the maze, light from the light source would directly strike the optical receiver (causing false alarms when smoke is absent), or external stray light would interfere with detection (distorting light values). The light detection module would be unable to accurately distinguish between scattered smoke light and interfering light, completely rendering its detection function ineffective. Therefore, the performance of the light detection module depends on the structural design of the maze.
[0039] When smoke does not enter the maze, the light-shielding walls and winding passages of the maze will block the light emitted by the light source from directly reaching the light receiver. The light detection module is in a dark environment, and the brightness of the light detected at this time is close to zero. When smoke enters the maze, the smoke particles will scatter the light from the light source, and some of the scattered light will reach the light receiver through the maze passage. The light detection module will sample the intensity of the scattered light received by the light receiver at this moment to determine the brightness value of the light at that moment.
[0040] In this embodiment, if foreign matter similar to smoke, such as dust and water vapor, enters the maze of the smoke alarm device, it will also scatter the light of the light source. At the same time, part of the scattered light will reach the light receiver through the maze channel. The light detection module will sample the intensity of the scattered light received by the light receiver, and thus detect the first light brightness value corresponding to the first moment through the light detection module, wherein the first moment is any moment after foreign matter similar to smoke, such as dust and water vapor, enters the maze of the smoke alarm device. That is to say, when foreign matter similar to smoke, such as dust and water vapor, enters the maze of the smoke alarm device, the light detection module will continue to detect the light brightness value.
[0041] S202: When the first light brightness value is greater than or equal to a preset light brightness value, acquiring temperature change data and humidity change data detected by the sensor module within a preset time period.
[0042] In this embodiment, the preset time period is a period before the first moment. The sensor module is a functional module in the smoke alarm device for collecting environmental physical parameters. Its core function is to monitor changes in ambient temperature and humidity in real time and record relevant data. Specifically, this module typically includes a temperature sensor (such as a thermocouple or thermistor) and a humidity sensor (such as a capacitive humidity sensor or a resistive humidity sensor). These sensors are capable of continuously capturing ambient temperature and humidity values and transmitting these data in a processable form (such as an electrical signal) to the device's control unit, providing a basis for subsequent fire probability determination.
[0043] When the first light brightness value is greater than or equal to the preset light brightness value, it means that smoke or foreign matter such as dust and water vapor has entered the maze of the smoke sensor device. At this time, it is necessary to determine whether smoke or foreign matter has entered the maze of the smoke sensor device. If it is smoke, a fire may have occurred and an alarm operation needs to be performed. However, if it is foreign matter, performing an alarm operation will cause the smoke alarm to falsely alarm, resulting in a waste of resources. At this time, the foreign matter in the maze of the smoke sensor device needs to be cleared.
[0044] It needs to be explained that when suspended particles such as smoke, dust, and water vapor enter the maze of the smoke alarm device, the light brightness value detected by the light detection module will increase. Therefore, when the first light brightness value is greater than or equal to the preset light brightness value, it means that smoke or foreign matter such as dust and water vapor has entered the maze of the smoke sensor device.
[0045] After determining that smoke or foreign matter such as dust and water vapor has entered the maze of the smoke sensor device, it is necessary to determine whether a fire has actually occurred. In this embodiment, the temperature change data and humidity change data detected by the sensor module within a preset time period are obtained, and then the possibility value of the fire occurrence is determined based on the temperature change data and humidity change data.
[0046] S203: Determine a fire occurrence possibility value based on the temperature change data and the humidity change data.
[0047] In this embodiment, when a fire occurs, the burning flames release a large amount of heat, causing the surrounding temperature to rise significantly in a short period of time. Furthermore, the temperature changes during a fire are sudden and rapid, significantly different from temperature fluctuations in a normal environment. However, when foreign matter such as dust and water vapor enter the maze, they generally do not cause abnormal temperature changes.
[0048] Furthermore, when a fire breaks out and spreads, high temperatures accelerate water evaporation. Flames consume oxygen, producing dry smoke, which can cause a rapid drop in humidity. Therefore, humidity changes caused by fires are sudden. However, when dust enters the maze, it does not affect humidity. However, when water vapor enters the maze, it may cause the ambient temperature to rise naturally, but the change is slow and not sudden.
[0049] Therefore, when the temperature rises rapidly and the humidity drops rapidly, the possibility of fire will be higher. When the temperature is stable and unchanged and the humidity is normal or changes slowly, it is possible that foreign matter such as dust and water vapor has entered the maze of the smoke alarm device. At this time, the possibility of fire is lower.
[0050] It can be seen that by determining the fire probability value based on temperature change data and humidity change data, it is possible to effectively distinguish whether the abnormal light brightness is caused by real fire smoke or foreign matter such as dust and water vapor through the change characteristics of the two related to the occurrence of fire, thereby greatly reducing false alarms and ensuring that the alarm can be accurately triggered when a real fire occurs. At the same time, in non-fire scenarios, the normal operation of the device can be maintained through operations such as clearing foreign matter, thereby improving the reliability and accuracy of the smoke alarm device.
[0051] S204: If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, an alarm operation is performed based on the alarm module.
[0052] In this embodiment, when a fire is detected, the alarm module immediately activates, emitting both audible and visual signals. The smoke alarm device can also be networked, transmitting the alarm information wirelessly or via wired transmission to a pre-defined receiver (e.g., a mobile phone or fire control room). The alarm module's alarm state persists until the fire risk is resolved, for example, by manually pressing the reset button or when the light detection module returns to normal brightness.
[0053] In this embodiment, the preset fire probability value is a preset fire probability threshold value set in the smoke alarm device. When the fire probability value is greater than the threshold value, it means that the first light brightness value corresponding to the first moment detected by the light detection module is caused by smoke entering the maze of the smoke alarm device, which also indicates that a fire has occurred at this time.
[0054] Specifically, when the fire occurrence possibility value calculated based on the temperature change data and the humidity change data is greater than or equal to the preset fire occurrence possibility value, it indicates that a fire has occurred, so the alarm module of the smoke alarm device performs an alarm operation.
[0055] S205: If the fire occurrence possibility value is less than the preset fire occurrence possibility value, the foreign matter removal module performs a foreign matter removal operation on the maze in the smoke alarm device.
[0056] In this embodiment, the foreign object removal module may include a first fan, a second fan and a third fan. When the first fan, the second fan and the third fan are arranged in the smoke alarm device at intervals of 120 degrees, if it is detected that the fire possibility value is less than the preset fire possibility value, the first fan, the second fan and the third fan are immediately turned on at the same time to perform a foreign object removal operation on the maze in the smoke alarm device; when the first fan, the second fan and the third fan are arranged on the same side of the smoke alarm device, the first fan can be turned on first. If the foreign object is removed in a short time by turning on only the first fan, then the second fan and the third fan do not need to be turned on again. However, if the first fan does not remove the foreign object in a short time, then the second fan and the third fan need to be turned on, and the first fan, the second fan and the third fan are used together to perform a foreign object removal operation on the maze in the smoke alarm device.
[0057] If the fire probability value is less than the preset fire probability value, it indicates that no fire has occurred at this time, and it is also determined that foreign matter has appeared in the maze of the smoke alarm device. At this time, it is necessary to perform a foreign matter removal operation on the maze in the smoke alarm device according to the foreign matter removal module until the light brightness value detected by the light detection module is less than the preset light brightness value, which indicates that the foreign matter removal module has cleared the foreign matter in the maze of the smoke alarm device.
[0058] As can be seen, the light detection module's first light brightness value serves as the initial judgment basis (when the brightness value is greater than or equal to the preset light brightness value, it indicates that the maze may be obscured by foreign objects or smoke interference). Combined with the temperature and humidity change data collected by the sensor module, it determines whether a fire has occurred. If a fire is confirmed, the alarm module is triggered to ensure that a real fire is not missed. If a fire is confirmed not to have occurred, it is clearly due to foreign object interference. The foreign object removal module then performs targeted cleaning of the maze, avoiding false alarms caused by non-fire factors such as dust and insects, while also reducing manual maintenance costs. This design not only ensures the timeliness and accuracy of fire alarms, but also automatically eliminates potential interference risks from the device itself, ensuring that the smoke alarm device maintains stable and reliable operation over long-term use.
[0059] See also Figure 3 , Figure 3 This is a flow chart of a foreign body removal operation provided by an embodiment of the present application, including but not limited to the following steps:
[0060] S301: operating the first fan at a first wind speed at the first moment, and performing a foreign object removal operation on the maze in the smoke alarm device within a preset time period by the first fan.
[0061] In this embodiment, the foreign object removal module includes a first fan, a second fan and a third fan, and the first fan, the second fan and the third fan are located on the same side of the smoke alarm device. At this time, the first fan can be turned on first to perform a foreign object removal operation on the maze in the smoke alarm device. When the foreign objects are few or easier to remove, if only the first fan is turned on to remove the foreign objects, there is no need to turn on the second fan and the third fan, thereby avoiding waste of resources.
[0062] See also Figure 4 , Figure 4 This is a schematic diagram of a structure for performing a foreign body removal operation provided by an embodiment of the present application. Figure 4In the embodiment, the first, second, and third fans are located on the same side of the first smoke alarm device 400 and on the same side of the maze exterior. The first fan is located on either side of the second and third fans, making it easier to activate the first fan first to clear foreign objects from the maze within the first smoke alarm device 400. If only the first fan is activated to clear foreign objects, there is no need to activate the second and third fans, thus avoiding wasting resources. This on-the-same-side arrangement allows the airflow generated by the three fans to form a directional, overlapping sweeping path outside the maze, preventing airflow cancellation or turbulence caused by fans being dispersed in different directions. This ensures that wind force is concentrated at the entrance and surface of the maze, enhancing foreign object removal efficiency. With the first fan positioned on both sides and the second and third fans in the middle, the first fans on both sides generate lateral airflow to cover the gaps at the edges of the maze. The wind force from the central fan strengthens the sweeping force in the core area, achieving a comprehensive, no-dead-angle sweep of the maze exterior and effectively removing foreign objects from different locations. The layout on the same side can simplify the air duct design inside the first smoke alarm device 400, reduce the space occupied by other core components during fan installation, and facilitate the centralized arrangement of air inlets or outlets, avoiding structural complexity caused by fan dispersion.
[0063] It should be explained that, in this embodiment, the first fan, the second fan and the third fan can also be set at intervals of 120 degrees, see Figure 5 , Figure 5 This is another structural diagram of the foreign matter removal operation provided by the embodiment of the present application. Figure 5 In the example, the first, second, and third fans are arranged in a circular pattern within the second smoke alarm device 500, with uniform angles between them. Each fan is equidistant from the maze. This symmetrical layout allows each fan's airflow coverage to complement each other around the maze. When the three fans are operating simultaneously, airflow sweeps the outer surface and entrance area of the maze from three different directions, avoiding blind spots caused by fans concentrated on one side. This airflow specifically covers hidden areas prone to dust accumulation, such as the sides and back of the maze, achieving a 360-degree airflow envelope around the maze, ensuring that foreign objects from all directions are swept and removed. The 120-degree spacing reduces airflow interference between the fans. If the fans are too closely spaced, airflows can collide, creating turbulence and weakening the sweeping effect. If the fans are too far apart, coverage gaps may occur. The even 120-degree distribution allows each fan's airflow to sweep the maze surface in a "relay" pattern, preventing overlapping and conflicting airflow directions while forming a continuous cleaning path, enhancing the removal of stubborn foreign objects. This layout can also optimize the internal space utilization of the device. In the limited device cavity, the 120-degree fan-shaped distribution does not need to occupy a continuous straight line space, and can form a compact and non-interfering structure with core components such as the maze and optical sensors.
[0064] It should be noted that, in actual applications, the number of fans in the smoke alarm device can be set to more than three, and the specific number is not limited here. In addition, this solution is mainly described as the first fan, the second fan, and the third fan being located on the same side of the smoke alarm device.
[0065] The wind speed of the first fan can be preset, and the directional airflow generated by the fan is used to perform preliminary cleaning of the maze in the smoke alarm device. The low-intensity airflow of the single fan is used to preferentially remove lightweight and easily detachable foreign matter (such as dust particles, fine fibers, etc.) attached to the surface of the maze. At the same time, the time boundary of a single cleaning is controlled by means of a preset duration to avoid ineffective energy consumption, so as to decide whether to turn on the remaining fans to enhance the cleaning intensity based on the subsequent cleaning effect. It can also minimize energy consumption while ensuring basic cleaning capabilities.
[0066] S302: Obtain a second light brightness value corresponding to the light detection module at a second moment.
[0067] In this embodiment, the second moment is the end moment of the preset time period. After the first fan performs a foreign object removal operation on the maze in the smoke alarm device within the preset time period, it is necessary to determine whether the first fan has completely removed the foreign object from the maze of the smoke alarm device. In this embodiment, the method for determining whether the foreign object has been completely removed is to detect a light brightness value by the light detection module. If the light brightness value is less than the preset light brightness value, it indicates that the foreign object in the maze of the smoke alarm device has been completely removed. If the light brightness value is still greater than or equal to the preset light brightness value, it indicates that the foreign object in the maze of the smoke alarm device has not been completely removed and the removal operation needs to be continued.
[0068] S303: If the second light brightness value is less than the preset light brightness value, control the first fan to stop running.
[0069] In this embodiment, if the second light brightness value is less than the preset light brightness value, it indicates that the foreign matter in the maze of the smoke alarm device has been cleared. At this time, there is no need to turn on the second fan and the third fan, and the first fan needs to be controlled to stop running. The advantage of this operation is that the foreign matter removal process can be completed accurately and efficiently. On the one hand, the second light brightness value is less than the preset light brightness value, which means that the first fan has successfully cleared the foreign matter in the maze within the preset time. Stopping the fan at this time can avoid unnecessary continuous operation, reduce energy consumption, and extend the service life of components such as the fan. On the other hand, by terminating the operation in time, the smoke alarm device can quickly return to a normal fire monitoring state, avoiding the airflow or noise generated by the fan operation from interfering with subsequent core monitoring functions such as light detection and sensor perception, ensuring that the device always maintains a sensitive response to real fire conditions, and taking into account the effectiveness of foreign matter removal and the economy and stability of equipment operation.
[0070] S304: If the second light brightness value is less than the first light brightness value and greater than or equal to the preset light brightness value, operate the second fan at a second wind speed and the third fan at a third wind speed at the second moment.
[0071] In this embodiment, the first fan continues to operate at the first wind speed, so as to perform a foreign object removal operation on the maze in the smoke alarm device through the first fan, the second fan, and the third fan.
[0072] It should be explained that, in this embodiment, the second wind speed of the second fan and the third wind speed of the third fan are preset, and the first wind speed, the second wind speed and the third wind speed may be equal or unequal, and the wind speed of the fan is not limited here.
[0073] When the second light brightness value is lower than the first light brightness value, it means that the first fan has removed some foreign matter and the light interference has weakened. However, if the second light brightness value is still greater than or equal to the preset light brightness value, it means that the foreign matter has not been completely removed and interference still exists. At this time, the first fan needs to continue to run at the original first wind speed, and the second fan (at the second wind speed) and the third fan (at the third wind speed) need to be started at the same time. The coordinated operation of the three fans will form a stronger airflow.
[0074] S305: When the light brightness value corresponding to the light detection module is less than the preset light brightness value, control the first fan, the second fan, and the third fan to stop running.
[0075] In this embodiment, when the light brightness value corresponding to the light detection module is less than the preset light brightness value, it indicates that the foreign matter in the maze within the smoke alarm device has been completely cleared. At this time, it is necessary to control the first fan, the second fan and the third fan to stop running to avoid unnecessary waste of resources.
[0076] It can be seen that the first fan is first started to perform a foreign object removal operation on the maze inside the smoke alarm device, and the preliminary removal is completed within a preset time. The light detection module is used to verify the effect at the second moment. If the light brightness value corresponding to the light detection module is less than the preset light brightness value, it will stop immediately to avoid energy waste. If the light brightness value corresponding to the light detection module is still greater than the preset light brightness value, but has decreased slightly, the second and third fans will continue to be turned on at the second moment to increase the removal force until the light brightness value corresponding to the light detection module is less than the preset light brightness value. This design not only avoids the excessive energy consumption of directly starting multiple fans, but also uses real-time light monitoring to form a closed-loop control, so that the opening and stopping of the fans are matched with the actual removal of foreign objects. While extending the life of the equipment and reducing the false alarm rate, it ensures that the device is always in a sensitive response state to real fires, achieving an optimal balance between maintenance efficiency and protection reliability.
[0077] It should be noted that, in this embodiment, it is also necessary to determine the interval length between the first moment and the moment when the light brightness value corresponding to the light detection module is less than the preset light brightness value, and obtain the target interval length. If the target interval length is too long, it means that the efficiency of the foreign object removal operation on the maze in the smoke alarm device is not high. At this time, it is necessary to determine the aging degree values of the first fan, the second fan and the third fan. If the aging degree value of the fan is too large, it means that the fan is not efficient and cannot effectively remove foreign objects in the smoke alarm device. Therefore, the fan needs to be replaced in time to improve the efficiency of foreign object removal in the smoke alarm device.
[0078] Exemplarily, if the target interval duration is greater than the preset interval duration, the first aging degree value corresponding to the first fan, the second aging degree value corresponding to the second fan, and the third aging degree value corresponding to the third fan are determined. Specifically, the aging degree value of the fan can be determined by comprehensively monitoring the performance parameters and usage status of the fan, such as measuring the actual speed of the fan in real time and comparing it with the rated speed to calculate the speed attenuation rate. The working current or power changes under the same working conditions can also be monitored to analyze the current increase. The cumulative running time and the number of starts and stops of the fan can also be counted, and the loss ratio can be calculated in combination with its design life threshold. At the same time, the time consumption increase in the foreign matter removal operation and the attenuation degree of the light brightness change rate are taken into account, and then corrections are made according to factors such as ambient temperature and humidity, dust concentration, etc. Finally, a comprehensive aging degree value is obtained through weighted calculation to quantitatively evaluate the aging status of the fan.
[0079] Exemplarily, if the first aging degree value is greater than the preset aging degree value, the target user is prompted to replace the first fan. Specifically, after determining the first aging degree value corresponding to the first fan, if the first aging degree value is greater than the preset aging degree value, it indicates that the performance of the first fan has deteriorated too much, that is, the aging degree of the first fan is too large, indicating that the first fan needs to be replaced with a new fan.
[0080] Exemplarily, if the second aging degree value is greater than the preset aging degree value, the target user is prompted to replace the second fan. Specifically, after determining the second aging degree value corresponding to the second fan, if the second aging degree value is greater than the preset aging degree value, it indicates that the performance degradation of the second fan is too large, that is, the aging degree of the second fan is too large, indicating that the second fan needs to be replaced with a new fan.
[0081] Exemplarily, if the third aging degree value is greater than the preset aging degree value, the target user is prompted to replace the third fan. Specifically, after determining the third aging degree value corresponding to the third fan, if the third aging degree value is greater than the preset aging degree value, it indicates that the performance of the third fan has deteriorated too much, that is, the aging degree of the third fan is too large, indicating that the third fan needs to be replaced with a new fan at this time.
[0082] It can be seen that by calculating the interval between the start time (first moment) of the fan cleaning operation and the moment when the light brightness reaches the standard (less than the preset light brightness value), and evaluating the degree of fan aging when the time limit is exceeded, it is possible to accurately determine whether the fan's cleaning efficiency has decreased due to aging, and then promptly prompt the user to replace the aging fan. This not only avoids false alarms or malfunctions caused by incomplete cleaning of foreign objects in the maze of the smoke alarm device and abnormal light detection due to insufficient fan performance, but also reduces unnecessary maintenance costs by targeted replacement of individual aging fans. At the same time, it ensures the long-term stable operation of the equipment and improves the reliability and service life of the smoke alarm system.
[0083] See also Figure 6 , Figure 6 The flowchart of determining a first aging degree value provided by an embodiment of the present application includes but is not limited to the following steps:
[0084] S601: Acquire current change data and average rotation speed of the first fan when performing a foreign object removal operation on the maze in the smoke alarm device.
[0085] In this embodiment, the current change data when the first fan performs a foreign object removal operation on the maze in the smoke alarm device refers to the change in the current of the first fan over time during the startup, operation and cooperation in clearing foreign objects. For example, when the load of the fan increases due to aging, bearing wear or dust accumulation on the blades, the current may increase abnormally or the fluctuation amplitude may increase.
[0086] The average rotational speed of the first fan when performing a foreign object removal operation on the maze in the smoke alarm device refers to the average value of the actual rotational speed of the first fan within the preset duration of the foreign object removal operation. The number of rotations of the fan per unit time is collected in real time by a speed sensor, and the instantaneous rotational speed at different times is calculated. The arithmetic mean or weighted average value during the cleaning process is taken, which is the average rotational speed. Under normal circumstances, the average rotational speed of the fan should be close to the rated rotational speed. However, with aging (such as bearing wear, decrease in motor magnetic force, etc.), the average rotational speed will show obvious attenuation. The difference between the average rotational speed and the rated rotational speed can directly reflect the degree of degradation of the fan's mechanical components and driving performance.
[0087] It can be seen that the aging degree of the first fan is determined by the current change data and average speed during the maze foreign object removal operation of the smoke alarm device. The advantage is that it can achieve accurate quantitative evaluation of the fan aging status from the two key dimensions of electrical performance and mechanical performance, which not only avoids the possible misjudgment of a single parameter, but also improves the reliability of the evaluation through the linkage analysis of current and speed, thereby providing a scientific basis for the subsequent timely replacement of aging fans, ensuring the effect of maze foreign object removal, and ensuring the normal operation of the smoke alarm device, reducing the risk of equipment false alarm or failure caused by insufficient fan performance, and at the same time reducing unnecessary maintenance costs.
[0088] S602: Perform straight line fitting based on the current change data to obtain a current change straight line.
[0089] In this embodiment, a linear fit based on current variation data is performed to obtain a current variation line. This is achieved through mathematical modeling, where a series of discrete current values collected over time during the fan's foreign object removal operation are subjected to linear regression analysis. This ultimately yields a line that reflects the overall current variation trend. Specifically, all collected current data points are plotted in a coordinate system with time as the horizontal axis and the corresponding current value as the vertical axis. Then, using statistical methods such as the least squares method, an optimal line is calculated that minimizes the deviation between this line and all data points. The fitted current variation line not only visually indicates whether the current is generally increasing, decreasing, or generally stable, but also quantifies the rate of current change through its slope. For example, a positive slope with a large absolute value indicates a rapid increase in current during the removal operation, potentially indicating an abnormal increase in fan load. A slope close to zero indicates relatively stable current and good fan operation. This linear fit allows the core variation pattern to be extracted from scattered current fluctuations, providing a concise and clear quantitative basis for subsequently determining the degree of fan aging based on the current variation slope.
[0090] S603: Determine a current change slope corresponding to the current change straight line, and determine a reference aging degree value corresponding to the current change slope.
[0091] In this embodiment, the current change slope corresponding to the current change straight line can be calculated by arbitrarily selecting two points on the current change straight line, and then according to the preset mapping relationship between the current change slope and the aging degree value, the reference aging degree value corresponding to the current change slope can be determined.
[0092] S604: Determine a speed difference between the average speed and the rated speed of the first fan.
[0093] In this embodiment, the speed difference between the average speed and the rated speed of the first fan can intuitively reflect the current degree of mechanical performance attenuation of the fan. If the difference is small, it means that the operating state of the fan is close to the initial level and the mechanical loss is slight. If the difference gradually increases, it means that the fan may be due to aging problems such as bearing wear, blade deformation or decreased motor efficiency, resulting in the actual speed failing to meet the design standard.
[0094] S605: Determine a target optimization factor corresponding to the rotational speed difference.
[0095] In this embodiment, it may be a preset mapping relationship between the rotational speed difference and the optimization factor, and the target optimization factor corresponding to the rotational speed difference may be determined based on the mapping relationship.
[0096] S606: Optimize the first aging degree value based on the target optimization factor to obtain the first aging degree value.
[0097] In this embodiment, the first aging degree value is calculated specifically according to the following formula:
[0098] First aging degree value = first aging degree value × (1 + target optimization factor);
[0099] According to the above formula, the first aging degree value can be optimized based on the target optimization factor to obtain the first aging degree value.
[0100] It can be seen that by obtaining the current change data and average speed of the first fan during the maze foreign object removal operation of the smoke alarm device, the current change line is first obtained by linear fitting and its slope is determined, and then the corresponding reference aging degree value is obtained. At the same time, the difference between the average speed and the rated speed is calculated and the target optimization factor is determined. Finally, the reference aging degree value is optimized with this factor to obtain the first aging degree value. This not only captures the attenuation trend of the fan's electrical performance over time through the current change slope, but also reflects the wear status of mechanical components (such as the impact of bearing aging on the speed) with the help of the speed difference. The correlation between the two is taken into consideration through the target optimization factor, so that the single reference aging degree value is more in line with the actual aging status after correction of the mechanical performance dimension.
[0101] See also Figure 7 , Figure 7 The flowchart of determining the fire probability value provided by the embodiment of the present application includes but is not limited to the following steps:
[0102] S701: Perform straight-line fitting based on the temperature change data to obtain a temperature change straight line, and determine a temperature change slope corresponding to the temperature change straight line.
[0103] In this embodiment, the temperature change data includes different time points and different temperature values corresponding to the different time points. The vertical deviation of each data point to the hypothetical straight line is calculated, and the squares of these deviations are added to obtain the total. Then, a mathematical method is used to find the slope and intercept that minimize this total. After determining these two values, the straight line represented by the corresponding equation is the temperature change line, which can reflect the overall trend of temperature change over time and has the highest degree of fit with the original data.
[0104] By randomly selecting two points on the temperature change line, the temperature change slope corresponding to the temperature change line can be determined.
[0105] S702: Perform straight-line fitting based on the humidity change data to obtain a humidity change straight line, and determine a humidity change slope corresponding to the humidity change straight line.
[0106] In this embodiment, the humidity change data includes different time points and different temperature values corresponding to the different time points. The vertical deviation of each data point to the hypothetical straight line is calculated, and the squares of these deviations are added to obtain the total. Then, a mathematical method is used to find the slope and intercept that minimize this total. After determining these two values, the straight line represented by the corresponding equation is the humidity change line, which can reflect the overall trend of humidity changes over time and has the highest degree of fit with the original data.
[0107] By randomly selecting two points on the humidity variation line, the humidity variation slope corresponding to the humidity variation line can be determined.
[0108] S703: Determine a first fire occurrence possibility value corresponding to the temperature change slope and a second fire occurrence possibility value corresponding to the humidity change slope.
[0109] In this embodiment, it may be a preset mapping relationship between the temperature change slope and the fire occurrence possibility value, and the first fire occurrence possibility value corresponding to the temperature change slope may be determined based on the mapping relationship.
[0110] It may be a preset mapping relationship between the humidity change slope and the fire occurrence possibility value, and based on the mapping relationship, the second fire occurrence possibility value corresponding to the humidity change slope may be determined.
[0111] S704: Determine the fire occurrence possibility value based on the first fire occurrence possibility value and the second fire occurrence possibility value.
[0112] In this embodiment, exemplarily, the first absolute value proportion corresponding to the temperature change data and the second absolute value proportion corresponding to the humidity change data are determined based on the absolute value of the temperature change slope and the absolute value of the humidity change slope, wherein the sum of the first absolute value proportion and the second absolute value proportion is 1. Specifically, it is necessary to first obtain the absolute value of the slope of the temperature change line and the absolute value of the slope of the humidity change line, and then calculate the two proportions using these two absolute values. The specific calculation method can be: divide the absolute value of the temperature change slope by the sum of the absolute values of the two slopes, and the result obtained is the first absolute value proportion (i.e., the proportion corresponding to the temperature change data); divide the absolute value of the humidity change slope by the sum of the absolute values of the two slopes, and the result obtained is the second absolute value proportion (i.e., the proportion corresponding to the humidity change data).
[0113] Exemplarily, based on the first absolute value ratio and the second absolute value ratio, the first target weight corresponding to the first fire occurrence possibility value and the second target weight corresponding to the second fire occurrence possibility value are determined, and the sum of the first target weight and the second target weight is 1. Specifically, the first absolute value ratio and the second absolute value ratio obtained above can be directly used as weights in subsequent calculations, wherein the first absolute value ratio becomes the first target weight of the first fire occurrence possibility value, representing the importance of the temperature change factor in the final evaluation, and the second absolute value ratio becomes the second target weight of the second fire occurrence possibility value, representing the importance of the humidity change factor in the final evaluation. Since the sum of the two absolute value ratios is 1, the sum of the corresponding two target weights must also be 1.
[0114] Exemplarily, the fire occurrence possibility value is determined based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight. First, a calculation is performed based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight to obtain a reference fire occurrence possibility value. Specifically, the reference fire occurrence possibility value is calculated according to the following formula:
[0115] Reference fire occurrence probability value = first fire occurrence probability value × first target weight + second fire occurrence probability value × second target weight;
[0116] According to the above formula, a reference fire occurrence possibility value can be obtained by performing calculation based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight and the second target weight.
[0117] Exemplarily, the sensor module is used to obtain the extent of the decrease in oxygen concentration within the preset time period. Specifically, when a fire occurs, the combustion process consumes oxygen. Generally, a greater decrease in oxygen concentration means a more violent combustion reaction or more obvious fire precursors may exist, so it is necessary to obtain the extent of the decrease in oxygen concentration within the preset time period.
[0118] Exemplarily, the adjustment parameter corresponding to the oxygen concentration decrease range is determined. Specifically, it can be a mapping relationship between a preset oxygen concentration decrease range and the adjustment parameter. Based on the mapping relationship, the adjustment parameter corresponding to the oxygen concentration decrease range can be determined.
[0119] Exemplarily, the reference fire occurrence possibility value is adjusted based on the adjustment parameter to obtain the fire occurrence possibility value. Specifically, the fire occurrence possibility value is calculated according to the following formula:
[0120] Fire probability value = reference fire probability value × (1 + adjustment parameter);
[0121] According to the above formula, the reference fire occurrence possibility value can be adjusted based on the adjustment parameter to obtain the fire occurrence possibility value.
[0122] It can be seen that by performing linear fitting on the temperature and humidity change data and extracting the slope respectively, the changing trends of the two over time can be accurately captured, and then the slope is converted into the corresponding fire probability value, so that the change of environmental parameters is directly correlated with the fire risk. Then, the weight is determined based on the absolute value ratio of the temperature and humidity change slopes, so that the weight of the temperature and humidity factors in the assessment matches the severity of their changes, ensuring that the reference fire probability value can reasonably reflect the combined impact of the two. Finally, the oxygen concentration drop, an indicator directly related to the combustion process, is introduced. The reference value is corrected through the corresponding adjustment parameters, which makes up for the limitations of relying solely on temperature and humidity assessment. The final fire probability value not only includes the trend change information of environmental parameters, but also incorporates the core characteristic indicators when a fire occurs, thereby comprehensively improving the accuracy, rationality and reliability of the assessment results, and more accurately reflecting the actual risk level of fire.
[0123] In summary, the implementation of the present invention has the following beneficial effects:
[0124] It can be seen that the foreign matter removal method described in the embodiment of the present invention is applied to a smoke alarm device, which includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module. The specific operation process of the foreign matter removal method is to first detect a first light brightness value corresponding to a first moment through the light detection module. When the first light brightness value is greater than or equal to a preset light brightness value, the temperature change data and humidity change data detected by the sensor module within a preset time period are obtained. Then, based on the temperature change data and the humidity change data, a fire probability value is determined. If the fire probability value is greater than or equal to the preset fire probability value, an alarm operation is performed based on the alarm module. If the fire probability value is less than the preset fire probability value, a foreign matter removal operation is performed on the maze in the smoke alarm device through the foreign matter removal module, thereby improving the reliability of the alarm capability of the smoke alarm device.
[0125] See also Figure 8 , Figure 8 1 is a schematic structural diagram of a foreign object removal device provided in an embodiment of the present application. The foreign object removal device 800 is applied to a smoke alarm device. The smoke alarm device includes a light detection module, a sensor module, a foreign object removal module, and an alarm module. The foreign object removal device 800 includes: a detection unit 801 and a processing unit 802;
[0126] The detection unit 801 is configured to detect a first light brightness value corresponding to a first moment through the light detection module;
[0127] The processing unit 802 is configured to obtain temperature change data and humidity change data detected by the sensor module within a preset time period when the first light brightness value is greater than or equal to a preset light brightness value; the preset time period is a time period before the first moment;
[0128] determining a fire occurrence possibility value based on the temperature change data and the humidity change data;
[0129] If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module;
[0130] If the fire occurrence possibility value is less than the preset fire occurrence possibility value, a foreign object clearing operation is performed on the maze in the smoke alarm device through the foreign object clearing module.
[0131] In some possible implementations, when the foreign object removal module includes a first fan, a second fan, and a third fan, and the first fan, the second fan, and the third fan are located on the same side of the smoke alarm device, in performing a foreign object removal operation on the maze in the smoke alarm device through the foreign object removal module, the processing unit 802 is specifically configured to:
[0132] operating the first fan at a first wind speed at the first moment, and performing a foreign object removal operation on the maze in the smoke alarm device by the first fan within a preset time period;
[0133] Obtaining a second light brightness value corresponding to the light detection module at a second moment; the second moment is the end moment of the preset time period;
[0134] If the second light brightness value is less than the preset light brightness value, controlling the first fan to stop running;
[0135] If the second light brightness value is less than the first light brightness value and greater than or equal to the preset light brightness value, then at the second moment, the second fan is operated at the second wind speed, the third fan is operated at the third wind speed, and the first fan is continued to be operated at the first wind speed, so as to perform a foreign object removal operation on the maze in the smoke alarm device by using the first fan, the second fan, and the third fan;
[0136] When the light brightness value corresponding to the light detection module is less than the preset light brightness value, the first fan, the second fan and the third fan are controlled to stop running.
[0137] In some possible implementations, the processing unit 802 is further specifically configured to:
[0138] Determine the interval duration between the first moment and the moment when the light brightness value corresponding to the light detection module is less than the preset light brightness value, and obtain a target interval duration;
[0139] If the target interval duration is greater than the preset interval duration, determining a first aging degree value corresponding to the first fan, a second aging degree value corresponding to the second fan, and a third aging degree value corresponding to the third fan;
[0140] If the first aging degree value is greater than a preset aging degree value, prompting the target user to replace the first fan;
[0141] If the second aging degree value is greater than the preset aging degree value, prompting the target user to replace the second fan;
[0142] If the third aging degree value is greater than the preset aging degree value, the target user is prompted to replace the third fan.
[0143] In some possible implementations, in determining the first aging degree value corresponding to the first fan, the processing unit 802 is specifically configured to:
[0144] obtaining current change data and average rotation speed of the first fan when performing a foreign object removal operation on the maze in the smoke alarm device;
[0145] Performing straight line fitting based on the current change data to obtain a current change straight line;
[0146] Determining a current change slope corresponding to the current change straight line;
[0147] determining a reference aging degree value corresponding to the current change slope;
[0148] determining a speed difference between the average speed and a rated speed of the first fan;
[0149] determining a target optimization factor corresponding to the speed difference;
[0150] The reference aging degree value is optimized based on the target optimization factor to obtain the first aging degree value.
[0151] In some possible implementations, in determining the fire occurrence probability value based on the temperature change data and the humidity change data, the processing unit 802 is specifically configured to:
[0152] Performing straight line fitting based on the temperature change data to obtain a temperature change straight line;
[0153] Determining a temperature change slope corresponding to the temperature change straight line;
[0154] Performing linear fitting based on the humidity change data to obtain a humidity change straight line;
[0155] Determining the humidity change slope corresponding to the humidity change straight line;
[0156] Determining a first fire occurrence possibility value corresponding to the temperature change slope and a second fire occurrence possibility value corresponding to the humidity change slope;
[0157] The fire occurrence possibility value is determined based on the first fire occurrence possibility value and the second fire occurrence possibility value.
[0158] In some possible implementations, in determining the fire occurrence possibility value based on the first fire occurrence possibility value and the second fire occurrence possibility value, the processing unit 802 is specifically configured to:
[0159] Determining a first absolute value ratio corresponding to the temperature change data and a second absolute value ratio corresponding to the humidity change data based on the absolute value of the temperature change slope and the absolute value of the humidity change slope; the sum of the first absolute value ratio and the second absolute value ratio is 1;
[0160] Determining a first target weight corresponding to the first fire occurrence probability value and a second target weight corresponding to the second fire occurrence probability value based on the first absolute value proportion and the second absolute value proportion; the sum of the first target weight and the second target weight is 1;
[0161] The fire occurrence possibility value is determined based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight.
[0162] In some possible implementations, in determining the fire occurrence possibility value based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight, the processing unit 802 is specifically configured to:
[0163] Calculating based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight to obtain a reference fire occurrence possibility value;
[0164] Obtaining the oxygen concentration decrease within the preset time period through the sensor module;
[0165] determining an adjustment parameter corresponding to the decrease in oxygen concentration;
[0166] The reference fire occurrence possibility value is adjusted based on the adjustment parameter to obtain the fire occurrence possibility value.
[0167] See also Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided by the embodiment of this application. Figure 9 As shown, electronic device 900 includes a transceiver 901, a processor 902, and a memory 903. These are connected via a bus 904. Memory 903 is used to store computer programs and data, and transceiver 901 can transmit data stored in memory 903 to processor 902. Electronic device 900 is used in a smoke alarm device, which includes a light detection module, a sensor module, a foreign object removal module, and an alarm module. The program includes instructions for executing the following steps:
[0168] Detecting a first light brightness value corresponding to a first moment by the light detection module;
[0169] When the first light brightness value is greater than or equal to a preset light brightness value, acquiring temperature change data and humidity change data detected by the sensor module within a preset time period; the preset time period is a time period before the first moment;
[0170] determining a fire occurrence possibility value based on the temperature change data and the humidity change data;
[0171] If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module;
[0172] If the fire occurrence possibility value is less than the preset fire occurrence possibility value, a foreign object clearing operation is performed on the maze in the smoke alarm device through the foreign object clearing module.
[0173] In some possible implementations, when the foreign object removal module includes a first fan, a second fan, and a third fan, and the first fan, the second fan, and the third fan are located on the same side of the smoke alarm device, in terms of performing a foreign object removal operation on the maze in the smoke alarm device through the foreign object removal module, the program includes instructions for executing the following steps:
[0174] operating the first fan at a first wind speed at the first moment, and performing a foreign object removal operation on the maze in the smoke alarm device by the first fan within a preset time period;
[0175] Obtaining a second light brightness value corresponding to the light detection module at a second moment; the second moment is the end moment of the preset time period;
[0176] If the second light brightness value is less than the preset light brightness value, controlling the first fan to stop running;
[0177] If the second light brightness value is less than the first light brightness value and greater than or equal to the preset light brightness value, then at the second moment, the second fan is operated at the second wind speed, the third fan is operated at the third wind speed, and the first fan is continued to be operated at the first wind speed, so as to perform a foreign object removal operation on the maze in the smoke alarm device by using the first fan, the second fan, and the third fan;
[0178] When the light brightness value corresponding to the light detection module is less than the preset light brightness value, the first fan, the second fan and the third fan are controlled to stop running.
[0179] In some possible implementations, the above program includes instructions for performing the following steps:
[0180] Determine the interval duration between the first moment and the moment when the light brightness value corresponding to the light detection module is less than the preset light brightness value, and obtain a target interval duration;
[0181] If the target interval duration is greater than the preset interval duration, determining a first aging degree value corresponding to the first fan, a second aging degree value corresponding to the second fan, and a third aging degree value corresponding to the third fan;
[0182] If the first aging degree value is greater than a preset aging degree value, prompting the target user to replace the first fan;
[0183] If the second aging degree value is greater than the preset aging degree value, prompting the target user to replace the second fan;
[0184] If the third aging degree value is greater than the preset aging degree value, the target user is prompted to replace the third fan.
[0185] In some possible implementations, in determining the first aging degree value corresponding to the first fan, the program includes instructions for performing the following steps:
[0186] obtaining current change data and average rotation speed of the first fan when performing a foreign object removal operation on the maze in the smoke alarm device;
[0187] Performing straight line fitting based on the current change data to obtain a current change straight line;
[0188] Determining a current change slope corresponding to the current change straight line;
[0189] determining a reference aging degree value corresponding to the current change slope;
[0190] determining a speed difference between the average speed and a rated speed of the first fan;
[0191] determining a target optimization factor corresponding to the speed difference;
[0192] The reference aging degree value is optimized based on the target optimization factor to obtain the first aging degree value.
[0193] In some possible implementations, in determining the fire occurrence probability value based on the temperature change data and the humidity change data, the program includes instructions for executing the following steps:
[0194] Performing straight line fitting based on the temperature change data to obtain a temperature change straight line;
[0195] Determining a temperature change slope corresponding to the temperature change straight line;
[0196] Performing linear fitting based on the humidity change data to obtain a humidity change straight line;
[0197] Determining the humidity change slope corresponding to the humidity change straight line;
[0198] Determining a first fire occurrence possibility value corresponding to the temperature change slope and a second fire occurrence possibility value corresponding to the humidity change slope;
[0199] The fire occurrence possibility value is determined based on the first fire occurrence possibility value and the second fire occurrence possibility value.
[0200] In some possible implementations, in determining the fire occurrence possibility value based on the first fire occurrence possibility value and the second fire occurrence possibility value, the program includes instructions for executing the following steps:
[0201] Determining a first absolute value ratio corresponding to the temperature change data and a second absolute value ratio corresponding to the humidity change data based on the absolute value of the temperature change slope and the absolute value of the humidity change slope; the sum of the first absolute value ratio and the second absolute value ratio is 1;
[0202] Determining a first target weight corresponding to the first fire occurrence probability value and a second target weight corresponding to the second fire occurrence probability value based on the first absolute value proportion and the second absolute value proportion; the sum of the first target weight and the second target weight is 1;
[0203] The fire occurrence possibility value is determined based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight.
[0204] In some possible implementations, in determining the fire occurrence possibility value based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight, the program includes instructions for performing the following steps:
[0205] Calculating based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight to obtain a reference fire occurrence possibility value;
[0206] Obtaining the oxygen concentration decrease within the preset time period through the sensor module;
[0207] determining an adjustment parameter corresponding to the decrease in oxygen concentration;
[0208] The reference fire occurrence possibility value is adjusted based on the adjustment parameter to obtain the fire occurrence possibility value.
[0209] It should be understood that the electronic devices in this application may include smartphones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices (MIDs) or wearable devices, or servers, edge computing nodes, etc. The above electronic devices are only examples and are not exhaustive, and include but are not limited to the above electronic devices.
[0210] The embodiments of the present application further provide a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any one of the methods described in the above method embodiments.
[0211] The embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the methods described in the above method embodiments.
[0212] It should be noted that for the aforementioned method implementations, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by this application.
[0213] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0214] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0215] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0216] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of software program modules.
[0217] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various implementation methods of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.
[0218] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0219] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, based on the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A foreign matter removal method, characterized in that: Applied to a smoke alarm device, the smoke alarm device includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module, and the method includes: Detecting a first light brightness value corresponding to a first moment by the light detection module; When the first light brightness value is greater than or equal to a preset light brightness value, acquiring temperature change data and humidity change data detected by the sensor module within a preset time period; the preset time period is a time period before the first moment; determining a fire occurrence possibility value based on the temperature change data and the humidity change data; If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module; If the fire occurrence possibility value is less than the preset fire occurrence possibility value, performing a foreign object removal operation on the maze in the smoke alarm device through the foreign object removal module; Wherein, when the foreign object removal module includes a first fan, a second fan, and a third fan, and the first fan, the second fan, and the third fan are located on the same side of the smoke alarm device; the foreign object removal operation of the maze in the smoke alarm device by the foreign object removal module includes: operating the first fan at a first wind speed at the first moment, and performing a foreign object removal operation on the maze in the smoke alarm device by the first fan within a preset time period; Obtaining a second light brightness value corresponding to the light detection module at a second moment; the second moment is the end moment of the preset time period; If the second light brightness value is less than the preset light brightness value, controlling the first fan to stop running; If the second light brightness value is less than the first light brightness value and greater than or equal to the preset light brightness value, then at the second moment, the second fan is operated at the second wind speed, the third fan is operated at the third wind speed, and the first fan is continued to be operated at the first wind speed, so as to perform a foreign object removal operation on the maze in the smoke alarm device by using the first fan, the second fan, and the third fan; When the light brightness value corresponding to the light detection module is less than the preset light brightness value, the first fan, the second fan and the third fan are controlled to stop running.
2. The method according to claim 1, wherein The method further comprises: Determine the interval duration between the first moment and the moment when the light brightness value corresponding to the light detection module is less than the preset light brightness value, and obtain a target interval duration; If the target interval duration is greater than the preset interval duration, determining a first aging degree value corresponding to the first fan, a second aging degree value corresponding to the second fan, and a third aging degree value corresponding to the third fan; If the first aging degree value is greater than a preset aging degree value, prompting the target user to replace the first fan; If the second aging degree value is greater than the preset aging degree value, prompting the target user to replace the second fan; If the third aging degree value is greater than the preset aging degree value, the target user is prompted to replace the third fan.
3. The method according to claim 2, wherein Determining a first aging degree value corresponding to the first fan includes: obtaining current change data and average rotation speed of the first fan when performing a foreign object removal operation on the maze in the smoke alarm device; Performing straight line fitting based on the current change data to obtain a current change straight line; Determining a current change slope corresponding to the current change straight line; determining a reference aging degree value corresponding to the current change slope; determining a speed difference between the average speed and a rated speed of the first fan; determining a target optimization factor corresponding to the speed difference; The reference aging degree value is optimized based on the target optimization factor to obtain the first aging degree value.
4. The method according to any one of claims 1 to 3, wherein The determining of the fire occurrence possibility value based on the temperature change data and the humidity change data includes: Performing straight line fitting based on the temperature change data to obtain a temperature change straight line; Determining a temperature change slope corresponding to the temperature change straight line; Performing linear fitting based on the humidity change data to obtain a humidity change straight line; Determining the humidity change slope corresponding to the humidity change straight line; Determining a first fire occurrence possibility value corresponding to the temperature change slope and a second fire occurrence possibility value corresponding to the humidity change slope; The fire occurrence possibility value is determined based on the first fire occurrence possibility value and the second fire occurrence possibility value.
5. The method according to claim 4, wherein The determining the fire occurrence possibility value based on the first fire occurrence possibility value and the second fire occurrence possibility value includes: Determining a first absolute value ratio corresponding to the temperature change data and a second absolute value ratio corresponding to the humidity change data based on the absolute value of the temperature change slope and the absolute value of the humidity change slope; the sum of the first absolute value ratio and the second absolute value ratio is 1; Determining a first target weight corresponding to the first fire occurrence probability value and a second target weight corresponding to the second fire occurrence probability value based on the first absolute value proportion and the second absolute value proportion; the sum of the first target weight and the second target weight is 1; The fire occurrence possibility value is determined based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight.
6. The method according to claim 5, wherein The determining the fire occurrence possibility value based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight includes: Calculating based on the first fire occurrence possibility value, the second fire occurrence possibility value, the first target weight, and the second target weight to obtain a reference fire occurrence possibility value; Obtaining the oxygen concentration decrease within the preset time period through the sensor module; determining an adjustment parameter corresponding to the decrease in oxygen concentration; The reference fire occurrence possibility value is adjusted based on the adjustment parameter to obtain the fire occurrence possibility value.
7. A foreign matter removal device, characterized in that: Applicable to a smoke alarm device, the smoke alarm device includes a light detection module, a sensor module, a foreign matter removal module, and an alarm module, and the foreign matter removal device includes: a detection unit and a processing unit; The detection unit is configured to detect a first light brightness value corresponding to a first moment through the light detection module; The processing unit is configured to obtain temperature change data and humidity change data detected by the sensor module within a preset time period when the first light brightness value is greater than or equal to a preset light brightness value; the preset time period is a time period before the first moment; determining a fire occurrence possibility value based on the temperature change data and the humidity change data; If the fire occurrence possibility value is greater than or equal to a preset fire occurrence possibility value, performing an alarm operation based on the alarm module; If the fire occurrence possibility value is less than the preset fire occurrence possibility value, performing a foreign object removal operation on the maze in the smoke alarm device through the foreign object removal module; Wherein, when the foreign object removal module includes a first fan, a second fan, and a third fan, and the first fan, the second fan, and the third fan are located on the same side of the smoke alarm device; the foreign object removal operation of the maze in the smoke alarm device by the foreign object removal module includes: operating the first fan at a first wind speed at the first moment, and performing a foreign object removal operation on the maze in the smoke alarm device by the first fan within a preset time period; Obtaining a second light brightness value corresponding to the light detection module at a second moment; the second moment is the end moment of the preset time period; If the second light brightness value is less than the preset light brightness value, controlling the first fan to stop running; If the second light brightness value is less than the first light brightness value and greater than or equal to the preset light brightness value, then at the second moment, the second fan is operated at the second wind speed, the third fan is operated at the third wind speed, and the first fan is continued to be operated at the first wind speed, so as to perform a foreign object removal operation on the maze in the smoke alarm device by using the first fan, the second fan, and the third fan; When the light brightness value corresponding to the light detection module is less than the preset light brightness value, the first fan, the second fan and the third fan are controlled to stop running.
8. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Predictable composite wireless household alarm
CN210721762U
Solar generator having foreign substance remove
KR101589084B1