Smoke alarm method and device, electronic equipment and storage medium
By detecting the dust particles concentration in the smoke alarm and detecting the oily particle concentration when it is lower than the threshold, the alarm information is output, which solves the problem of the smoke alarm in the oily material place, and improves the accuracy of the smoke alarm.
Patent Information
- Application Number
- CN202411435669.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-28
AI Technical Summary
Smoke alarms are prone to false alarms when temperature, humidity and air particles change in places with oily substances, resulting in a low accuracy of smoke alarms.
By calling the preset dust particles in the smoke alarm, the dust particles concentration of the target venue is detected, and when the dust particles concentration is less than the preset first threshold, the oily particle detector detects the concentration of oily particles. When the concentration of oily particles is greater than the preset second threshold, the output alarm information is output to process the target venue.
By detecting the concentration of dust particles to eliminate interference, improve the accuracy of oily particle detection, thereby reducing the false alarm and increasing the accuracy of smoke alarm.
Smart Images

Figure CN119380476A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of smoke alarms, and in particular to a method and device for smoke alarms, an electronic device, and a storage medium. Background Art
[0002] Once a fire occurs in a place containing oily substances (petroleum processing sites, chemical plants, machinery manufacturing and maintenance sites, transformer substations, etc.), the consequences will be very serious. Therefore, it is necessary to implement smoke alarm treatment in places containing oily substances to prevent the occurrence of fire.
[0003] In the related technologies of smoke alarm, aspirating detectors are usually used for smoke alarm. Air is sucked from the monitoring area through a small fan or pump, and the smoke particles therein are detected through a filtering system. Aspirating smoke alarms usually have high sensitivity and can detect very fine smoke.
[0004] Since aspirating smoke detectors have extremely high sensitivity, when the temperature, humidity, or particles in the air change in places containing oily substances, false alarms may occur, resulting in a low accuracy rate for smoke alarms. Summary of the invention
[0005] The present invention provides a smoke alarm method and device, electronic equipment and storage medium, the main purpose of which is to solve the problem of low accuracy of smoke alarm.
[0006] According to a first aspect of the present disclosure, a smoke alarm method is provided, comprising:
[0007] Calling a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target location;
[0008] In the case where it is determined that the dust particle concentration is less than a preset first threshold, calling a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target location;
[0009] When it is determined that the oily particle concentration is greater than a preset second threshold, an alarm message is output so that the target location can be processed based on the alarm message.
[0010] Optionally, the output alarm information includes:
[0011] Obtaining coordinate information of the smoke alarm;
[0012] Invoke the buzzer in the smoke alarm to sound, and invoke the preset voice player in the smoke alarm to output the coordinate information and prompt information requesting an alarm;
[0013] The preset alarm status indicator light in the smoke alarm is called to display a preset first color, and the preset working status indicator light in the smoke alarm is called to turn off a preset second color.
[0014] Optionally, calling a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target location includes:
[0015] Acquiring a first scattered light intensity of oily particles in the target location;
[0016] The oily particle concentration corresponding to the first scattered light intensity is found according to a pre-established mapping relationship between scattered light intensity and particle concentration.
[0017] Optionally, obtaining the first scattered light intensity of the oily particles in the target location includes:
[0018] Obtaining the scattering angles of all scattered light signals in the target location;
[0019] Calculate the similarity between the scattering angle and the scattering angle of the oily particles in the preset scattering angle library to obtain the similarity between the scattering angle and the scattering angle of the oily particles;
[0020] Determine the scattering angle corresponding to the similarity less than a preset third threshold value among the similarities as the target scattering angle;
[0021] A target scattered light intensity of the scattered light signal at the target scattering angle is acquired, and the target scattered light intensity is determined as the first scattered light intensity.
[0022] Optionally, after calling a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target location, the method further includes:
[0023] When it is determined that the dust particle concentration is greater than or equal to the preset first threshold, a prompt message that the smoke alarm needs to be cleared is output, so that the smoke alarm is cleaned based on the prompt message.
[0024] Optionally, the target location is a location containing oily substances.
[0025] According to a second aspect of the present disclosure, there is provided a smoke alarm device, comprising:
[0026] The first detection unit is used to call a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place;
[0027] A second detection unit is used to call a preset oily particle detector in the smoke alarm to detect the oily particle concentration of the target place when it is determined that the dust particle concentration is less than a preset first threshold value;
[0028] The first output unit is used to output alarm information when it is determined that the oily particle concentration is greater than a preset second threshold value, so as to process the target place based on the alarm information.
[0029] Optionally, the output unit includes:
[0030] A first acquisition module, used to acquire coordinate information of the smoke alarm;
[0031] An output module, used to call the buzzer in the smoke alarm to sound, and call the preset voice player in the smoke alarm to output the coordinate information and prompt information requesting an alarm;
[0032] The display module is used to call the preset alarm status indicator light in the smoke alarm to display a preset first color, and call the preset working status indicator light in the smoke alarm to turn off a preset second color.
[0033] Optionally, the second detection unit includes:
[0034] A second acquisition module, used to acquire a first scattered light intensity of oily particles in the target location;
[0035] A search module is used to search for the oily particle concentration corresponding to the first scattered light intensity according to a pre-established mapping relationship between scattered light intensity and particle concentration.
[0036] Optionally, the second acquisition module is further used to:
[0037] Obtaining the scattering angles of all scattered light signals in the target location;
[0038] Calculate the similarity between the scattering angle and the scattering angle of the oily particles in the preset scattering angle library to obtain the similarity between the scattering angle and the scattering angle of the oily particles;
[0039] Determine the scattering angle corresponding to the similarity less than a preset third threshold value among the similarities as the target scattering angle;
[0040] A target scattered light intensity of the scattered light signal at the target scattering angle is acquired, and the target scattered light intensity is determined as the first scattered light intensity.
[0041] Optionally, the device further comprises:
[0042] The second output unit is used to, after calling the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place, output a prompt message that the smoke alarm needs to be cleared when it is determined that the dust particle concentration is greater than or equal to the preset first threshold value, so as to clean the smoke alarm based on the prompt message.
[0043] Optionally, the target location is a location containing oily substances.
[0044] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0045] at least one processor; and
[0046] a memory communicatively connected to the at least one processor; wherein,
[0047] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.
[0048] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.
[0049] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.
[0050] The smoke alarm method and device, electronic device and storage medium provided by the present disclosure call the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place; when it is determined that the dust particle concentration is less than the preset first threshold, call the preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place; when it is determined that the oily particle concentration is greater than the preset second threshold, output alarm information so as to process the target place based on the alarm information. Compared with the related art, the embodiment of the present disclosure calls the preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place when the dust particle concentration in the target place is less than the preset first threshold, and outputs alarm information when it is determined that the oily particle concentration is greater than the preset second threshold. Since the oily particle concentration is highly correlated with smoke, smoke alarm is performed through the oily particle concentration, thereby improving the accuracy of smoke alarm.
[0051] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0053] Figure 1 A flowchart of a smoke alarm method provided by an embodiment of the present disclosure;
[0054] Figure 2 A flowchart of an output method of alarm information provided by an embodiment of the present disclosure;
[0055] Figure 3 A schematic diagram of the structure of a smoke alarm device provided in an embodiment of the present disclosure;
[0056] Figure 4 A schematic diagram of the structure of another smoke alarm device provided in an embodiment of the present disclosure;
[0057] Figure 5 A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0058] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0059] The smoke alarm method and device, electronic device, and storage medium according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0060] Figure 1 A flowchart of a smoke alarm method provided by an embodiment of the present disclosure is provided.
[0061] like Figure 1 As shown, the method is applied to a control chip of a smoke alarm, and the method comprises the following steps:
[0062] Step 101, calling a preset dust particle detector in a smoke alarm to detect the dust particle concentration in a target location.
[0063] The preset dust particle detector is a sensor or detection module installed in the smoke alarm. The preset dust particle detector is specifically used to detect the dust particle concentration in the air. The target location refers to the place that needs to be monitored by the smoke alarm, such as oil processing sites, chemical plants, machinery manufacturing and maintenance sites, transformer substations and other areas containing oily substances. The dust particle concentration refers to the density of dust particles in the air.
[0064] For example, when light is irradiated onto particles suspended in the air, a light scattering signal is generated. Different types of particles generate different light scattering signals. A mapping relationship is established in advance between different types of particles and corresponding light scattering signals. By matching the light scattering signals in the mapping relationship, the dust particles in the target location can be identified. The light scattering intensities generated by particles of different concentrations are different. The higher the particle concentration, the greater the light scattering intensity. A mapping relationship is established in advance between different particle concentrations and corresponding light scattering intensities. By matching the light scattering intensities of dust particles in the target location in the mapping relationship, the dust particle concentration in the target location can be obtained. However, it should be clear that this statement is not intended to limit the method of obtaining the dust particle concentration to only the above method, but can also be obtained by other methods.
[0065] When a low dust concentration is detected, it means that the environment is relatively safe. This can reduce the false alarm rate caused by environmental factors and thus improve the accuracy of the alarm.
[0066] Step 102: When it is determined that the dust particle concentration is less than a preset first threshold, a preset oily particle detector in the smoke alarm is called to detect the oily particle concentration in the target location.
[0067] The preset oily particle detector is another sensor or detection module installed in the smoke alarm. The preset oily particle detector is specially used to detect the concentration of oily particles in the air. The oily particle concentration refers to the density of oily particles in the air. Dust particles are solid particles, and oily particles are also particles.
[0068] Exemplarily, by pre-establishing a mapping relationship between different types of particles and corresponding light scattering signals, and by matching the light scattering signals of oily particles in the mapping relationship, the oily particles in the target location can be identified. The light scattering intensities generated by particles of different concentrations are different. The higher the particle concentration, the greater the light scattering intensity. A mapping relationship is pre-established between different particle concentrations and corresponding light scattering intensities, and by matching the light scattering intensities of oily particles in the target location in the mapping relationship, the oily particle concentration in the target location can be obtained. However, it should be clear that this statement is not intended to limit the method for obtaining the oily particle concentration to only the above method, and it can also be obtained by other methods. The preset first threshold value can be any value, and the embodiments of the present disclosure are not limited to this.
[0069] By first testing the dust particle concentration, you can ensure that there are not too many interfering substances in the environment, thereby improving the accuracy of oil particle detection. Low dust particle concentration generally means a cleaner environment, which can more effectively identify potential fire hazards when detecting oil particles.
[0070] Step 103: When it is determined that the oily particle concentration is greater than a preset second threshold, an alarm message is outputted so as to process the target location based on the alarm message.
[0071] The alarm information includes but is not limited to the alarm status, oily particle concentration value, coordinate information of the smoke alarm, and recommended treatment measures for the alarm situation, such as ventilation, evacuation, etc. The embodiment of the present disclosure does not limit the specific value of the preset second threshold.
[0072] By outputting alarm information, relevant personnel can be notified in time that the concentration of oily particles is too high and there may be a risk of fire or explosion, so that necessary safety measures can be taken.
[0073] The method for smoke alarm provided by the present disclosure calls a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place; when it is determined that the dust particle concentration is less than a preset first threshold, calls a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place; when it is determined that the oily particle concentration is greater than a preset second threshold, outputs an alarm message so as to process the target place based on the alarm message. Compared with the related art, the embodiment of the present disclosure calls a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place when the dust particle concentration in the target place is less than a preset first threshold, and outputs an alarm message when it is determined that the oily particle concentration is greater than a preset second threshold. Since the oily particle concentration is highly correlated with smoke, smoke alarm is performed through the oily particle concentration, thereby improving the accuracy of smoke alarm.
[0074] As a refinement of step 103, when outputting the alarm information, the following methods may be used but are not limited to: Figure 2 As shown, Figure 2 A flowchart of an output method of alarm information provided by an embodiment of the present disclosure includes:
[0075] Step 201, obtaining coordinate information of the smoke alarm.
[0076] The coordinate information includes but is not limited to the room number, floor, and specific location; the coordinate information of the smoke alarm can be obtained by storing the coordinate information of the smoke alarm when it is installed in the control chip of the smoke alarm, and directly obtaining it when needed; or a global positioning system (GPS) module can be built into the smoke alarm so that the smoke alarm automatically obtains its own coordinate information. However, it should be clear that this statement is not intended to limit the method of obtaining the coordinate information of the smoke alarm to the above method, and the coordinate information of the smoke alarm can also be obtained by other methods.
[0077] By providing specific coordinate information of the smoke alarm, emergency personnel can quickly find the source of the alarm, reduce search time and improve response efficiency.
[0078] Step 202, calling the buzzer in the smoke alarm to sound, and calling the preset voice player in the smoke alarm to output the coordinate information and prompt information requesting an alarm.
[0079] Prompt information includes but is not limited to please evacuate immediately and please report to the security department.
[0080] The combined use of sound and voice information can enhance user awareness, enabling them to respond to alarms more quickly and reduce potential losses.
[0081] Step 203, calling the preset alarm status indicator light in the smoke alarm to display a preset first color, and calling the preset working status indicator light in the smoke alarm to turn off a preset second color.
[0082] The preset alarm status indicator refers to the light device on the smoke alarm that is used to indicate the alarm status. When the smoke alarm is triggered, the preset alarm status indicator will light up to visually alert relevant personnel. The preset alarm status indicator usually has a striking color and flashing pattern to attract attention in an emergency. The preset first color refers to the color displayed by the preset alarm status indicator in the alarm state, for example, red, which is used to indicate an emergency state, but it should be clear that this statement is not intended to limit the preset first color to only red, and it can also be other colors.
[0083] The preset working status indicator light refers to the light device on the smoke alarm that is used to indicate its working status. The preset working status indicator light usually lights up or flashes when the smoke alarm is working normally, on standby or in self-test to provide visual feedback about the working status of the smoke alarm. The preset second color refers to the color displayed by the preset working status indicator light when the smoke alarm is working normally or on standby. For example, green is used to indicate that the smoke alarm is in normal state, but it should be clear that this statement is not intended to limit the preset second color to green, it can also be other colors. When the smoke alarm triggers an alarm, the preset working status indicator light will go out or change color to indicate that the device has entered the alarm state.
[0084] The purpose of calling the preset alarm status indicator and preset working status indicator in the smoke alarm and providing visual signals by displaying different colors or status changes is to achieve clear alarm status indication, working status change prompts, multiple confirmation mechanisms, auxiliary evacuation and rescue, and compliance with safety standards. It helps to improve the effectiveness and reliability of smoke alarms and protect the safety of people and property.
[0085] As a refinement of step 102, when executing the calling of the preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place, it can be implemented in the following manner but not limited to: obtaining the first scattered light intensity of the oily particles in the target place; searching for the oily particle concentration corresponding to the first scattered light intensity according to the pre-established mapping relationship between the scattered light intensity and the particle concentration. The first scattered light intensity refers to the intensity value generated by the degree of scattering of light by the oily particles when the light is irradiated to the oily particles in the target place. The preset oily particle detector illuminates the oily particles by emitting a light beam, and the oily particles scatter the light beam to generate a first scattered light signal, and then the preset oily particle detector measures the first scattered light intensity of the first scattered light signal, and the first scattered light intensity reflects the concentration of the oily particles in the air. An abnormal increase in the concentration of oily particles may indicate a potential safety hazard. Real-time monitoring and providing early warning information help to take timely measures to prevent accidents.
[0086] As a refinement of the above embodiment, when executing the method of obtaining the first scattered light intensity of the oily particles in the target place, it can be implemented in the following manner but not limited to: obtaining the scattering angles of all scattered light signals in the target place; calculating the similarity between the scattering angles and the scattering angles of the oily particles in the preset scattering angle library, and obtaining the similarity between the scattering angles and the scattering angles of the oily particles; determining the scattering angle corresponding to the similarity less than a preset third threshold value as the target scattering angle; obtaining the target scattered light intensity of the scattered light signal at the target scattering angle, and determining the target scattered light intensity as the first scattered light intensity. Among them, the embodiment of the present disclosure does not limit the specific value of the preset third threshold value, and the preset third threshold value can be an arbitrary value. The scattered light signals of the oily particles can be more accurately identified and extracted, and their scattered light intensities can be determined, thereby improving the accuracy and reliability of the scattered light signal analysis.
[0087] In actual applications, after calling the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place, excessive dust particle concentration will affect the alarm accuracy of the smoke alarm. In order to avoid false alarms of the smoke alarm, it can be implemented in but not limited to the following ways: when it is determined that the dust particle concentration is greater than or equal to the preset first threshold, the smoke alarm needs to be clearly prompted to output so that the smoke alarm can be cleaned based on the prompt information. Smoke alarms usually rely on optical or ionization sensors to detect smoke or particulate matter. When dust particles accumulate on the sensor, it may interfere with its normal operation, resulting in false alarms, missed alarms or decreased sensitivity. Through timely cleaning, the performance of the sensor can be restored to ensure that the smoke alarm can work accurately and reliably.
[0088] Exemplarily, the target location is a location containing oily substances. Oily substances can be liquid, gaseous or solid (such as oil stains, grease, oil mist, etc.), and may exist in different forms, such as suspended in the air, attached to the surface of an object, etc. The target location includes but is not limited to oil processing sites, chemical plants, machinery manufacturing and maintenance sites, and transformer substations.
[0089] In summary, the embodiments of the present disclosure can achieve the following effects:
[0090] The disclosed embodiment calls a preset oily particle detector in a smoke alarm to detect the oily particle concentration in a target location when the dust particle concentration in the target location is less than a preset first threshold value, and outputs an alarm message when it is determined that the oily particle concentration is greater than a preset second threshold value. Since the oily particle concentration is highly correlated with smoke, a smoke alarm is issued based on the oily particle concentration, thereby improving the accuracy of the smoke alarm.
[0091] Corresponding to the above-mentioned smoke alarm method, the present invention also provides a smoke alarm device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0092] Figure 3 A schematic diagram of the structure of a smoke alarm device provided in an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the device is applied to a control chip of a smoke alarm, and includes:
[0093] The first detection unit 31 is used to call a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place;
[0094] The second detection unit 32 is used to call a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place when it is determined that the dust particle concentration is less than a preset first threshold value;
[0095] The first output unit 33 is used to output alarm information when it is determined that the oily particle concentration is greater than a preset second threshold value, so as to process the target place based on the alarm information.
[0096] The smoke alarm device provided by the present disclosure calls the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place; when it is determined that the dust particle concentration is less than the preset first threshold, the preset oily particle detector in the smoke alarm is called to detect the oily particle concentration in the target place; when it is determined that the oily particle concentration is greater than the preset second threshold, an alarm message is output so as to process the target place based on the alarm message. Compared with the related art, the embodiment of the present disclosure calls the preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target place when the dust particle concentration in the target place is less than the preset first threshold, and outputs an alarm message when it is determined that the oily particle concentration is greater than the preset second threshold. Since the oily particle concentration is highly correlated with smoke, smoke alarm is performed through the oily particle concentration, thereby improving the accuracy of smoke alarm.
[0097] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the output unit 33 includes:
[0098] A first acquisition module 331 is used to acquire coordinate information of the smoke alarm;
[0099] The output module 332 is used to call the buzzer in the smoke alarm to sound, and call the preset voice player in the smoke alarm to output the coordinate information and the prompt information of requesting an alarm;
[0100] The display module 333 is used to call the preset alarm status indicator light in the smoke alarm to display a preset first color, and call the preset working status indicator light in the smoke alarm to turn off a preset second color.
[0101] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the second detection unit 32 includes:
[0102] The second acquisition module 321 is used to acquire the first scattered light intensity of the oily particles in the target place;
[0103] The search module 322 is used to search the oily particle concentration corresponding to the first scattered light intensity according to a pre-established mapping relationship between scattered light intensity and particle concentration.
[0104] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the second acquisition module 321 is also used for:
[0105] Obtaining the scattering angles of all scattered light signals in the target location;
[0106] Calculate the similarity between the scattering angle and the scattering angle of the oily particles in the preset scattering angle library to obtain the similarity between the scattering angle and the scattering angle of the oily particles;
[0107] Determine the scattering angle corresponding to the similarity less than a preset third threshold value among the similarities as the target scattering angle;
[0108] A target scattered light intensity of the scattered light signal at the target scattering angle is acquired, and the target scattered light intensity is determined as the first scattered light intensity.
[0109] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the device also includes:
[0110] The second output unit 34 is used to, after calling the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place, output a prompt message that the smoke alarm needs to be cleared when it is determined that the dust particle concentration is greater than or equal to the preset first threshold value, so as to clean the smoke alarm based on the prompt message.
[0111] Furthermore, in a possible implementation of this embodiment, the target place is a place containing oily substances.
[0112] It should be noted that the above explanation of the method embodiment is also applicable to the device of the embodiment of the present disclosure, and the principle is the same, which is no longer limited in the embodiment of the present disclosure.
[0113] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0114] Figure 5 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0115] like Figure 5 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 to a RAM (Random Access Memory) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O (Input / Output) interface 405 is also connected to the bus 404.
[0116] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0117] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as the method of smoke alarm. For example, in some embodiments, the method of smoke alarm may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the aforementioned smoke alarm method in any other appropriate manner (for example, by means of firmware).
[0118] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a special purpose or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0120] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0123] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0124] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0125] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0126] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A smoke alarm method, characterized in that: include: Calling a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target location; In the case where it is determined that the dust particle concentration is less than a preset first threshold, calling a preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target location; When it is determined that the oily particle concentration is greater than a preset second threshold, an alarm message is output so that the target location can be processed based on the alarm message.
2. The method according to claim 1, characterized in that The output alarm information includes: Obtaining coordinate information of the smoke alarm; Invoke the buzzer in the smoke alarm to sound, and invoke the preset voice player in the smoke alarm to output the coordinate information and prompt information requesting an alarm; The preset alarm status indicator light in the smoke alarm is called to display a preset first color, and the preset working status indicator light in the smoke alarm is called to turn off a preset second color.
3. The method according to claim 1, characterized in that The step of calling the preset oily particle detector in the smoke alarm to detect the oily particle concentration in the target location includes: Acquiring a first scattered light intensity of oily particles in the target location; The oily particle concentration corresponding to the first scattered light intensity is found according to a pre-established mapping relationship between scattered light intensity and particle concentration.
4. The method according to claim 3, characterized in that The step of obtaining the first scattered light intensity of the oily particles in the target location comprises: Obtaining the scattering angles of all scattered light signals in the target location; Calculate the similarity between the scattering angle and the scattering angle of the oily particles in the preset scattering angle library to obtain the similarity between the scattering angle and the scattering angle of the oily particles; Determine the scattering angle corresponding to the similarity less than a preset third threshold value among the similarities as the target scattering angle; A target scattered light intensity of the scattered light signal at the target scattering angle is acquired, and the target scattered light intensity is determined as the first scattered light intensity.
5. The method according to claim 1, characterized in that After calling the preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place, the method further includes: When it is determined that the dust particle concentration is greater than or equal to the preset first threshold, a prompt message that the smoke alarm needs to be cleared is output, so that the smoke alarm is cleaned based on the prompt message.
6. The method according to claim 1, characterized in that The target site is a site containing an oily substance.
7. A smoke alarm device, characterized in that: include: The first detection unit is used to call a preset dust particle detector in the smoke alarm to detect the dust particle concentration in the target place; A second detection unit is used to call a preset oily particle detector in the smoke alarm to detect the oily particle concentration of the target place when it is determined that the dust particle concentration is less than a preset first threshold value; The first output unit is used to output alarm information when it is determined that the oily particle concentration is greater than a preset second threshold value, so as to process the target place based on the alarm information.
8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.
Citation Information
Cited By
Smoke alarm method and device and electronic equipment
CN122416672A
Smoke alarm method, apparatus, and electronic device
CN122416672B