Smoke identification method and device
By detecting the incremental ratio of the electrical signal of the two sending end in the smoke alarm system, identify different smoke types and set the alarm threshold, solve the problem that the existing system cannot effectively identify the type of smoke and interfere with smoke, and improve the accuracy of identification and the accuracy of the alarm alarm. sex.
Patent Information
- Application Number
- CN202411637658.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-01-24
AI Technical Summary
The existing smoke alarm system cannot effectively identify the smoke type and interfere with smoke, resulting in low judgment accuracy and frequent misjudgment.
By detecting the increment and ratio of electrical signals sent by the two sending ends, different smoke types are determined and the accuracy of smoke identification is improved. The specific method includes turning on the first sending end, detecting the increment of its electrical signal, and if it exceeds the preset threshold, turning on the second sending end, detecting the increment of its electrical signal and the increment of the electrical signal of the first sending end, and determining the smoke type based on the ratio. And set the alarm threshold.
It improves the accuracy of smoke identification and smoke alarm, and enhances the anti-interference of the smoke alarm system.
Smart Images

Figure CN119360534A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of safety technology, and in particular to a smoke identification method and device. Background Art
[0002] As human living environment changes, various synthetic materials and chemical products are used in furniture and building products, which complicates the fire situation.
[0003] At present, ionization alarms or photoelectric alarms are mainly used. They simply judge the interference caused by smoke particles through changes in current or voltage, and then sound an alarm. They cannot make effective judgments on the type of smoke or interfering smoke, have low judgment accuracy, and are prone to misjudgment. Summary of the invention
[0004] The present application proposes a smoke identification method and device, which determines different smoke types by detecting and obtaining the electrical signal increments and their ratio relationship sent by two sending ends, thereby improving the accuracy of smoke identification and the accuracy of smoke alarm.
[0005] In a first aspect, an embodiment of the present application provides a smoke identification method, which is applied to a controller of a smoke alarm system, wherein the smoke alarm system further includes a first transmitting end and a second transmitting end, wherein the first transmitting end and the second transmitting end are respectively connected to the controller, and the method includes: Turning on the first transmitting end, and detecting and obtaining a first electrical signal increment corresponding to a first electrical signal sent by the first transmitting end; If the increment of the first electrical signal is greater than a preset threshold, the second transmitting end is turned on, and a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end are detected; wherein the first electrical signal and the second electrical signal are different signals; determining the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment, and determining an alarm threshold according to the type of smoke; Alarm information is created based on the first electrical signal increment and the alarm threshold, and the alarm information is output.
[0006] In a second aspect, an embodiment of the present application proposes a smoke identification device, which is applied to a controller of a smoke alarm system. The smoke alarm system includes the controller, a first transmitting end, and a second transmitting end. The first transmitting end is connected to the controller, and the second transmitting end is connected to the controller. The device includes: A first processing unit, configured to start the first transmitting end and detect and obtain a first electrical signal increment corresponding to a first electrical signal sent by the first transmitting end; a second processing unit, configured to, if the first electrical signal increment is greater than a preset threshold, turn on the second transmitting end, and detect and obtain a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end; wherein the first electrical signal and the second electrical signal are different signals; a determining unit, configured to determine the type of smoke based on a ratio of the second electrical signal increment to the third electrical signal increment, and determine an alarm threshold value according to the type of smoke; A creating unit is used to create alarm information based on the first electrical signal increment and the alarm threshold, and output the alarm information.
[0007] In a third aspect, an embodiment of the present application provides a controller comprising a processor, a memory, 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 program comprises instructions for executing the steps in the method described above.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, and the computer program / instruction, when executed by a processor, implements the steps of the method described above.
[0009] It can be seen that in this example, the controller first turns on the first transmitting end, and detects and obtains the first electrical signal increment corresponding to the first electrical signal sent by the first transmitting end; then, if the first electrical signal increment is greater than the preset threshold, the controller turns on the second transmitting end, and detects and obtains the second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and the third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end; wherein the first electrical signal and the second electrical signal are different signals; then, the type of smoke is determined based on the ratio of the second electrical signal increment to the third electrical signal increment, and the alarm threshold is determined according to the type of smoke; finally, the alarm information is created based on the first electrical signal increment and the alarm threshold, and the alarm information is output. In this way, the opening of another transmitting end is controlled according to the electrical signal increment corresponding to one of the transmitting ends, and the smoke type is determined according to the ratio of the electrical signal increments corresponding to the two transmitting ends, and the alarm threshold is determined according to the smoke type, and the alarm information is further created, thereby improving the accuracy of smoke recognition, improving the accuracy of smoke alarm, and improving the anti-interference ability of the smoke alarm system. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0011] Figure 1 is a structural schematic diagram of a smoke alarm system provided in an embodiment of the present application; Figure 2 It is a structural schematic diagram of a smoke alarm provided in an embodiment of the present application; Figure 3 It is a flow chart of a smoke identification method provided in an embodiment of the present application; Figure 4a is a schematic diagram of a temperature database provided in an embodiment of the present application; Figure 4b is a schematic diagram of a humidity database provided in an embodiment of the present application; Figure 5a-5d is a schematic diagram of an electrical signal increment experimental data provided in an embodiment of the present application; Figure 6 is a flow chart of another smoke identification method provided in an embodiment of the present application; Figure 7 is a structural schematic diagram of another smoke alarm system provided in an embodiment of the present application; Figure 8 is a schematic diagram of an interface of a user terminal provided in an embodiment of the present application; Fig. 9 is a schematic diagram of an interface of another user terminal provided in an embodiment of the present application; Fig.10 This is a block diagram of the functional units of a smoke identification device provided in an embodiment of the present application; Fig.11 This is a block diagram of the functional units of another smoke identification device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0012] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0013] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0014] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0015] In the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent the following three situations: A exists alone; A and B exist at the same time; B exists alone. Among them, A and B can be singular or plural.
[0016] In the embodiment of the present application, the symbol " / " can indicate that the objects associated with each other are in an "or" relationship. In addition, the symbol " / " can also indicate a division sign, that is, performing a division operation. For example, A / B can indicate A divided by B.
[0017] In the embodiments of the present application, "equal to" can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. When equal to is used in conjunction with greater than, it is not used in conjunction with less than; when equal to is used in conjunction with less than, it is not used in conjunction with greater than.
[0018] To facilitate the subsequent description, some nouns need to be explained.
[0019] Polyurethane: Polyurethane materials are organic high molecular polymers. The fire source can easily spread to a large area. At the same time, the smoke produced during combustion is highly toxic and extremely harmful to human life. Therefore, the smoke recognition system needs to have a high sensitivity to this type of smoke particles.
[0020] As human living environment changes, various synthetic materials and chemical products are used in furniture and building products, which complicates the fire situation.
[0021] At present, ionization alarms or photoelectric alarms are mainly used. They simply judge the interference caused by smoke particles through changes in current or voltage, and then sound an alarm. They cannot make effective judgments on the type of smoke or interfering smoke, have low judgment accuracy, and are prone to misjudgment.
[0022] In response to the above problems, the present application proposes a method and device for processing wing suit flight path information. The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0023] See also Figure 1 , Figure 1 Schematic diagram of a smoke alarm system provided in an embodiment of the present application. Figure 1 As shown, the smoke alarm system 10 may include a controller 101, a first transmitting end 102, and a second transmitting end 103. The controller 101 may be connected to the first transmitting end 102 and the second transmitting end 103, respectively, to control the first transmitting end 102 and / or the second transmitting end 103 to be turned on or off. In particular, the smoke alarm system 10 may specifically include a smoke alarm, and the smoke alarm may be equipped with a receiving end and a transmitting end, and the receiving end is used to receive the electrical signal sent by the first transmitting end 102 and / or the second transmitting end 103. Figure 2 , Figure 2 Schematic diagram of a smoke alarm provided by an embodiment of the present application. Figure 2 As shown, the smoke alarm 20 may include a receiving end 201, a transmitting end A 202, and a transmitting end B 203. The transmitting end A 202 and the transmitting end B 203 may be transmitting tubes of different wavelength ranges, specifically infrared transmitting tubes or blue light transmitting tubes. The receiving end 201 may be composed of receiving tubes, specifically broad-spectrum photodiodes (PDs). The receiving end 201 may perform forward scattering sampling on the light sources emitted by the transmitting ends A 202 and B 203. The working principle is as follows: in a normal state without smoke particles, only a small amount of electrical signal is generated by the receiving end 201, and the electrical signal is basically constant and can be used as a reference signal. Usually, the reference signal can be used to compare with the newly obtained sampling signal to determine whether it is necessary to start smoke identification detection; when particles enter the smoke alarm 20, due to the principle of light dispersion, more light sources are captured by the receiving end 201, so that the receiving end generates a larger electrical signal, and can make judgments on different smoke particles based on the electrical signal output characteristics of the two spectra.
[0024] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a smoke identification method provided in an embodiment of the present application. Figure 3 As shown, the smoke identification method specifically includes the following steps: S301, turning on the first transmitting end, and detecting and obtaining a first electrical signal increment corresponding to a first electrical signal sent by the first transmitting end.
[0025] S302: If the first electrical signal increment is greater than a preset threshold, turn on the second transmitting end, and detect and obtain a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end.
[0026] Furthermore, the first transmitting end is an infrared light emitting tube, and the second transmitting end is a blue light emitting tube; or the first transmitting end is a blue light emitting tube, and the second transmitting end is an infrared light emitting tube.
[0027] The first transmitting end and the second transmitting end may respectively emit light sources of different wavelengths. For example, the light source emitted by the first transmitting end may be infrared light, and the light source emitted by the second transmitting end may be blue light; or the light source emitted by the first transmitting end may be blue light, and the light source emitted by the second transmitting end may be infrared light. It should be noted that, for the convenience of subsequent explanation, this application assumes that the light source emitted by the first transmitting end is infrared light, and the light source emitted by the second transmitting end is blue light.
[0028] Wherein, the first electrical signal and the second electrical signal are different signals.
[0029] Among them, the first electric signal increment, the second electric signal increment, and the third electric signal increment can be determined by the controller based on the electric signal reference value and the electric signal sampling value. For example, the controller's electric signal reference value for the infrared light emitted by the first transmitting end is 583. When the controller samples that the electric signal of the infrared light emitted by the first transmitting end is 916, the first electric signal increment can be obtained as 281.
[0030] The preset threshold Can be set by the user or based on experience. Preset threshold It can be changed according to the light source emitted by the first transmitting end. For example, when the light source emitted by the first transmitting end is infrared light, the preset threshold value may be 0.2; when the light source emitted by the first transmitting end is blue light, the preset threshold value may be 1.0.
[0031] It should be noted that in order to increase the response speed, the preset threshold It cannot be set too high or too low, otherwise it is easy to be triggered by external environmental interference, and the maze sampling value is easily affected by the drift caused by external environmental factors such as changes in ambient temperature and humidity, resulting in the first electrical signal increment being greater than the preset threshold This condition is unstable, therefore, the first electrical signal increment can be compensated. Specifically, collect the ambient temperature and ambient humidity; determine the temperature compensation coefficient in the preset temperature database based on the ambient temperature, and the temperature compensation coefficient corresponds to the ambient temperature; determine the humidity compensation coefficient in the preset humidity database based on the ambient humidity, and the humidity compensation coefficient corresponds to the ambient humidity; compensate the first electrical signal increment based on the temperature compensation coefficient and the humidity compensation coefficient, specifically as follows: the compensated first electrical signal increment = (first electrical signal increment * temperature compensation coefficient + first electrical signal increment * humidity compensation coefficient) / 1000. Please refer to Figure 4a , Figure 4a is a schematic diagram of a temperature database provided in an embodiment of the present application. Figure 4a It can be seen that 401 can indicate that the name of the temperature database is SmokeTempRate and there are 100 temperature compensation coefficients in the temperature database. For specific integer values of the ambient temperature in the range [-20℃, 70℃] (as can be seen from 402), the temperature database SmokeTempRate has corresponding temperature compensation coefficients, that is, in 403, each temperature compensation coefficient corresponds to each integer from -20℃ to 70℃ in turn. For example, when the ambient temperature is -20℃, the temperature compensation coefficient is 720; please refer to Figure 4b , Figure 4b is a schematic diagram of a humidity database provided in an embodiment of the present application, comprising Figure 4b It can be seen that 404 can indicate that the name of the humidity database is SmokeHumidityRate and there are 100 humidity compensation coefficients in the humidity database. For specific integer values of ambient humidity in the range [1%, 100%] (as can be seen from 405), the humidity database SmokeHumidityRate has corresponding temperature compensation coefficients, that is, in 405, each humidity compensation coefficient corresponds to each integer from 1% to 100% in turn. For example, when the ambient humidity is 100%, the humidity compensation coefficient is 862. The controller can match the corresponding temperature compensation coefficient and humidity compensation coefficient in the temperature database and the humidity database respectively according to the current ambient temperature and ambient humidity, and then compensate the first electrical signal increment. For example, when the ambient temperature is -20°C and the ambient humidity is 1%, the first electrical signal increment after compensation is △A=(△A*720+△A*1076) / 1000. In order to facilitate integer calculation, the compensation coefficient can be magnified 1000 times. It can be seen that the compensation processing is performed on the first electrical signal increment, so that the first electrical signal increment is stabilized, thereby improving the judgment accuracy of the first electrical signal increment, reducing the misjudgment of smoke recognition, and improving the accuracy of smoke recognition.
[0032] S303: Determine the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment, and determine an alarm threshold according to the type of smoke.
[0033] The type of smoke can be determined based on the ratio of the electrical signal increments of the light sources sent by two different transmitting ends. The principle is as follows: According to the Mie scattering physics principle, two different light wave particles can generate different electrical signals for the same smoke particles. Experimental data show that for the same smoke type, the electrical signal increment tends to a fixed value. Please refer to Figure 5a-5d , Figure 5a-5d It is a schematic diagram of an electrical signal increment experimental data provided by an embodiment of the present application. As can be seen from the above figure, the A reference value can represent the reference electrical signal of infrared light as 583, the B reference value can represent the reference electrical signal of blue light as 655, the A sampling can represent the initial electrical signal of infrared light, the A filtering can represent the filtered electrical signal after the infrared light is filtered, the B sampling can represent the initial electrical signal of blue light, the B filtering can represent the filtered electrical signal after the blue light is filtered, △A can represent the increase between the filtered electrical signal of infrared light and the reference electrical signal, △B can represent the increase between the filtered electrical signal of blue light and the reference electrical signal, △A / △B can represent the ratio of the electrical signal increment of infrared light to the electrical signal increment of blue light; Figure 5a It can be seen from Figure 501 that in the interference test of cooking fume, the ratio of the increase amount of infrared light electrical signal △A to the increase amount of blue light electrical signal △B is always fixed in the range of 0.90~1.00; Figure 5b It can be seen from Figure 502 that in the water vapor interference test, the ratio of the infrared light electrical signal increase △A to the blue light electrical signal increase △B is always fixed in the range of 2.67~2.74; Figure 5c It can be seen from Figure 503 that in the polyurethane combustion test, the ratio of the infrared light electrical signal increase △A to the blue light electrical signal increase △B is always fixed in the range of 1.50~1.62; Figure 5d It can be seen from Figure 504 that in the UL smoke box test, the ratio of the infrared light electrical signal increase △A to the blue light electrical signal increase △B is always fixed in the range of 2.4~2.52.
[0034] The controller may filter the ratio of the second electrical signal increment to the third electrical signal increment to enhance the quality and accuracy of the ratio. Specifically, to reduce the amount of calculation, the filtering algorithm may use a first-order inertial filter, i.e. , is the final value after filtering. is the filter coefficient, and its size is , is the ratio obtained from this sampling, is the value after the last filtering.
[0035] S304: Create alarm information based on the first electrical signal increment and the alarm threshold, and output the alarm information.
[0036] The alarm threshold may represent the maximum safe value of the first electrical signal increment. When the first electrical signal increment is greater than or equal to the alarm threshold, the controller may perform operations such as alarms; when the first electrical signal increment is less than the alarm threshold, the controller may collect the current status so that the user can know it synchronously.
[0037] The alarm information can be used to inform the user of the current smoke type, current smoke concentration or to sound an alarm, etc. The alarm information can be sounded by the smoke alarm to notify the user, and the alarm information can also be notified to the user in text form through an external device such as a mobile phone.
[0038] It can be seen that in this example, the controller can first turn on the first transmitting end, and when the first electric signal increment corresponding to the electric signal sent by the first transmitting end is greater than the preset threshold, the second transmitting end is turned on, and then the type of smoke is determined according to the ratio of the first electric signal increment to the second electric signal increment corresponding to the electric signal sent by the second transmitting end, and then the alarm threshold is determined according to the type of smoke, and finally the corresponding alarm information is created according to the comparison of the first electric signal increment and the alarm threshold. In this way, the opening of another transmitting end is controlled according to the electric signal increment corresponding to one of the transmitting ends, and the smoke type is determined according to the ratio of the electric signal increments corresponding to the two transmitting ends, and the alarm threshold is determined according to the smoke type, and the alarm information is further created, thereby improving the accuracy of smoke recognition, improving the accuracy of smoke alarm, and improving the anti-interference ability of the smoke alarm system.
[0039] In a possible embodiment, the method of determining the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment and determining the alarm threshold includes: if the ratio is within a first range, determining that the type of smoke is a conventional type, and determining the alarm threshold to be a default alarm threshold; if the ratio is within a second range, determining that the type of smoke is polyurethane combustion, determining the alarm threshold to be a second alarm threshold, the second alarm threshold is lower than the default alarm threshold, and the maximum value of the second range is less than the minimum value of the first range; if the ratio is within a third range, the type of smoke is cooking oil smoke, increasing the alarm threshold, and the maximum value of the third range is less than the minimum value of the second range.
[0040] Among them, the conventional type can be UL smoke box test, which is used for sensitivity test of certification bodies. When judging the UL smoke box test environment of cotton rope burning particles, the alarm threshold can be determined as the default alarm threshold to meet the conditions of the certification body's sensitivity test of the smoke recognition system. Figure 5dIt can be seen that the first range can be specifically 1.8~2.5. When the ratio is within the first range, it can be explained that the smoke in the current smoke recognition system can be mainly generated by the burning of cotton ropes. At this time, the corresponding smoke type is UL smoke box test, and the alarm threshold can be determined to be the default alarm threshold; according to Figure 5c It can be seen that the second range can be specifically 1.4~1.7. When the ratio is within the second range, it can be explained that the particles in the current smoke recognition system are mainly polyurethane combustion components. At this time, the corresponding smoke type is polyurethane combustion, and the alarm threshold needs to be determined as a second alarm threshold that is lower than the default threshold. Figure 5a It can be seen that the third range can be specifically 0.8~1.1. When the ratio is within the third range, it can be explained that the particles in the current smoke recognition system are mainly cooking fume components. At this time, the corresponding smoke type is cooking fume, and the alarm threshold needs to be determined as the third alarm threshold that is higher than the default threshold. Figure 5b It can be seen that when the ratio is in the fourth range of 2.6~2.9, and when the ratio is in the first range, it can be explained that the particle component in the current smoke recognition system is mainly water vapor. At this time, the corresponding smoke type is the water vapor interference type, and the alarm may not be triggered directly.
[0041] In addition, the first range may be any range other than the second range, the third range, and the fourth range. No specific limitation is made here, and it is only used as an example.
[0042] The second alarm threshold and the third alarm threshold Can be based on default alarm thresholds Adjust the second alarm threshold The default alarm threshold can be reduced to obtain, for example, a second alarm threshold ; The third alarm threshold The default alarm threshold can be increased to, for example, the third alarm threshold , " " can mean "much greater than", in the above formula, it can mean the third alarm threshold At the default alarm threshold On the basis of adding a Compared to very large quantities.
[0043] It can be seen that in this example, the smoke type can be determined by the range of the ratio, thereby determining the alarm threshold, so that the smoke recognition system can accurately identify the smoke type, thereby dynamically determining the alarm threshold, improving the accuracy of smoke recognition and the accuracy of smoke alarm.
[0044] In summary, please refer to Figure 6 , Figure 6FIG. 1 is a flow chart of another smoke identification method provided in an embodiment of the present application. Figure 6 As shown, turn on the infrared light sampling, obtain the increment △A, and then determine whether △A≥ ( is the preset threshold), if not satisfied, then end; if satisfied, then start blue light sampling, obtain increment △B, then calculate △A / △B, and perform filtering to obtain p, then determine whether 2.6<p<2.9 is satisfied, if 2.6<p<2.9 is satisfied, it means that the smoke type is water vapor interference, then a water vapor interference reminder is issued; if 2.6<p<2.9 is not satisfied, then determine whether 1.4<p<1.7 is satisfied, if 1.4<p<1.7 is not satisfied, then determine whether 0.8<p<1.1 is satisfied, if 0.8<p<1.1 is not satisfied, then determine whether △A≥ 1( 1 is the default alarm threshold), if △A≥ 1, the alarm is triggered; if 0.8<p<1.1 is satisfied, it means the smoke type is cooking fume, then the default alarm threshold is increased to 3. Then determine whether △A≥ 3. If △A≥ 3, then trigger an alarm; if △A≥ 3, then return to determine whether △A≥ ; If 1.4<p<1.7 is satisfied, it means that the smoke type is polyurethane combustion, and the default alarm threshold is lowered to 2. Then determine whether △A≥ 2. If △A≥ 2, then trigger an alarm; if △A≥ 2, then return to determine whether △A≥ .
[0045] In a possible embodiment, the detection to obtain a first electrical signal increment corresponding to the first electrical signal sent by the first transmitting end includes: detecting according to a first period to obtain a first electrical signal increment corresponding to the first electrical signal sent by the first transmitting end; the method also includes: if the first electrical signal increment is greater than a preset threshold, adjusting the first period to a second period; detecting to obtain a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end, includes: detecting according to the second period to obtain a plurality of second electrical signal increments corresponding to the second electrical signals sent by the first transmitting end, and a plurality of third electrical signal increments corresponding to the first electrical signals sent by the first transmitting end.
[0046] Among them, the time interval of the second cycle is smaller than the time interval of the first cycle. In the first cycle, the controller can detect only the light source emitted by the first transmitting end, and in the second cycle, the controller can detect the light sources of the first transmitting end and the second transmitting end. For example, in order to reduce standby power consumption, in the default state, only infrared sampling is turned on, and the controller sampling cycle is once every 10s (seconds), that is, infrared sampling is performed once every 10s. When the increment of the first electrical signal is greater than the preset threshold, blue light sampling and infrared sampling will be turned on at the same time, and time-sharing sampling can be performed, that is, one of them is sampled every 5s in turn, and the increment values of the two sampling circuits can be obtained at this time.
[0047] Among them, the first electrical signal increment can be obtained by detecting the electrical signal transmitted by the first transmitting end in the first cycle, the second electrical signal increment can be obtained by detecting the electrical signal transmitted by the second transmitting end in the second cycle, and the third electrical signal increment can be obtained by detecting the electrical signal transmitted by the first transmitting end in the second cycle.
[0048] Specifically, the method of obtaining a plurality of second electrical signal increments corresponding to the second electrical signals sent by the second transmitting end and a plurality of third electrical signal increments corresponding to the first electrical signals sent by the first transmitting end according to the second period detection includes: determining a plurality of increment ratios based on the second period, each increment ratio representing the ratio of the second electrical signal increment to the third electrical signal increment in the corresponding second period; and determining the ratio of the first electrical signal increment to the second electrical signal increment based on the difference between the plurality of increment ratios and the preset ratio and at least one preset parameter.
[0049] The ratio can be subjected to feedback control processing, and the increment of the control amount can be calculated according to the error value of continuous sampling. Specifically, the difference between the ratio and the preset value is recorded as the error △P k , the error between the last ratio and the preset value is recorded as △P k-1 , the error between the previous ratio and the preset value is recorded as △P k-2 , then there is the formula: △U=K P *(△P k -△P k-1 )+K I (△P k )+K D *(△P k -2*△P k-1 +△P k-2 ) Among them, △U is the increment of the control amount, which can be used to adjust the drive current, K P , K I , and K D It is a preset parameter, and its specific value can be obtained from empirical values in experiments.P It can be a proportional parameter that determines the degree of influence of the error on the output. K I It can be an integral parameter, which can determine the influence of the past accumulated error on the output. D It can be a differential parameter that determines the degree to which the error change rate affects the output.
[0050] It should be noted that in order to reduce the amount of calculation, the increment of the control amount can be calculated based on the error value of two consecutive samplings. Correspondingly, the preset parameter can be K P and K I .
[0051] In addition, in order to further obtain a more accurate ratio relationship between the second electrical signal increment and the third electrical signal increment, the following steps may be performed: obtaining the first signal increment of the first transmitting end and the second transmitting end in a preset time period; and the second signal ; Modulate the first signal based on the first formula , get the first modulation frequency , the first formula is as follows: ,in, is the amplitude of the first signal, is the carrier frequency of the first signal, is the initial phase of the first signal; modulates the second signal based on the second formula , and obtain the second modulation frequency , the second formula is as follows: ,in, is the amplitude of the second signal, is the carrier frequency of the second signal, is the initial phase of the second signal; determining the corresponding first signal change rate based on the first modulation frequency and the second modulation frequency and the second signal change rate , where the first signal change rate , the second signal change rate ; Determine the ratio of the second electrical signal increment to the third electrical signal increment based on the ratio of the first signal change rate to the second signal change rate and a preset time period, as follows: ,in, is the ratio of the second electrical signal increment to the third electrical signal increment, and The start and end time of the preset time period. is the ratio of the first signal change rate to the second signal change rate. In this way, the original signal is modulated to different frequencies to form a modulated signal to achieve frequency movement, and the modulated signal is differentiated to obtain its corresponding change rate, which reflects the dynamic change characteristics of the signal over time. Then, the ratio between the signal change rates corresponding to the two signals is integrated, which helps to reduce the influence of noise and instantaneous fluctuations, improves the stability and reliability of signal processing, and further accurately reflects the relationship between the electrical signals sent by the two transmitting ends, so as to more accurately judge the type of smoke, improve the accuracy of smoke identification, and improve the accuracy of smoke alarm.
[0052] It can be seen that in this example, when the first electrical signal increment is greater than the preset threshold, the sampling speed can be accelerated, and the driving current can be adjusted for the error between the ratio of the second electrical signal increment to the third electrical signal increment and the preset value to achieve a stable output of the ratio, which can be further used for judging the type of smoke, thereby improving the accuracy of smoke recognition and the accuracy of smoke alarm.
[0053] In a possible embodiment, the smoke alarm system includes a user terminal and a smoke alarm, and the user terminal and the smoke alarm are respectively connected to the controller for communication, and the output of the alarm information includes: detecting the network status of the smoke alarm and the user terminal; if the network status of the smoke alarm and the user terminal are both online, receiving the work and rest information from the user terminal; obtaining the current time, and sending the alarm information to the user terminal based on the current time, the work and rest information, and the smoke type.
[0054] Among them, see Figure 7 , Figure 7 FIG. 1 is a schematic diagram of another smoke alarm system provided in an embodiment of the present application. Figure 7 As shown, the smoke alarm system 10 may include a user terminal 110, a smoke alarm 20, and a controller 101. The smoke alarm 20 may include an audio device 204 for playing and other operations. The user terminal 110 may include a mobile phone, a computer, or an alarm device with a wireless connection function. The user terminal 110 and the smoke alarm 20 may be respectively communicated with the controller 101. The user terminal 110 may send a control instruction or transmit data to the controller 101, so that the controller 101 can control the smoke alarm 20 to act according to the control instruction. The smoke alarm 20 may transmit collected data to the controller 101, so that the controller 101 can transmit the collected data to the user terminal 110, so that the user can intuitively view the data collected by the smoke alarm 20 through the user terminal 110.
[0055] The network status includes an online status and an offline status. The network status can be used to indicate whether the user terminal or the smoke alarm is successfully connected to the network. When the network status is online, it can be said that the user terminal or the smoke alarm is successfully connected to the network. When the network status is offline, it can be said that the user terminal or the smoke alarm fails to connect to the network. When the network status of the user terminal and the smoke alarm are both online, the user terminal and the smoke alarm can perform operations such as real-time communication.
[0056] In addition, when the network status of the smoke alarm is offline and the network status of the user terminal is offline, the smoke alarm can use its own controller to judge the alarm, and can automatically collect information such as smoke concentration and store it; when the network status of the smoke alarm is switched to online, the above information is uploaded to the controller, and the smoke alarm is controlled to play the audio information of the alarm information; when the network status of the user terminal is switched to online, the controller transmits the above information to the user terminal, so that the user can view the historical smoke information.
[0057] The work and rest information includes an out-of-home time period, a sleep time period, and a home time period. The out-of-home time period may indicate that the user is doing activities outside the home, the sleep time period may indicate that the user is sleeping at home, and the home time period may indicate that the user is doing activities at home.
[0058] Specifically, the sending of the alarm information to the user terminal based on the current time, the work and rest information, and the smoke type includes: determining the emergency level of the alarm information based on the smoke type; if the emergency level of the alarm information is the first emergency, determining the user's status based on the current time and the work and rest information; if the user's status is at home, controlling the smoke alarm to play the audio information of the alarm information, and controlling the user terminal to display the alarm information; if the current time is within the going out time period, sending an alarm request for help to the user terminal, and controlling the user terminal to alarm after receiving a confirmation operation for the alarm request from the user terminal; if the user's status is in a sleeping state, controlling the smoke alarm to play the audio information of the alarm information, and sending an alarm instruction for help to the user terminal to control the user terminal to alarm.
[0059] The first emergency characterization indicates that the smoke type is polyurethane combustion, indicating that the smoke type needs to be taken seriously, and different alarm schemes can be executed in combination with the user's status. The user's status includes an out-of-town status corresponding to the out-of-town time period, a sleeping status corresponding to the sleeping time, and a home status corresponding to the home time.
[0060] Among them, when the user's status is home, it means that the user is at home and conscious. At this time, the smoke alarm can be controlled to play first. For example, the smoke alarm can play "Polyurethane burning, danger! Danger!" to quickly remind the user of the current smoke type and safety level, so that the user can react quickly. Furthermore, the controller can also send alarm information to the user terminal. Please refer to Figure 8 , Figure 8 is a schematic diagram of an interface of a user terminal provided in an embodiment of the present application. Figure 8 As shown, in the interface 80, the user can intuitively understand that the smoke type is polyurethane combustion, the smoke concentration is 5%, and the safety level is relatively dangerous, etc. The user can click the alarm button 801 in the interface to realize a quick alarm.
[0061] When the user is out of the house, it means the user is not at home. At this time, the controller can send an alarm request to the user. Fig. 9 , Fig. 9 is a schematic diagram of another user terminal interface provided by an embodiment of the present application. Fig. 9 As shown, the interface 80 displays relevant alarm information at the top, for example, the smoke type is polyurethane burning, the smoke concentration is 20%, and the safety level is very dangerous, etc. The interface 80 can display an alarm pop-up window 901 at the bottom, and the alarm pop-up window 901 displays "Do you want to make a quick alarm?" The alarm pop-up window 901 can include a confirmation button 902 and a cancel button 903. When the controller determines that the current smoke type is polyurethane burning, the user terminal can display the alarm pop-up window. When the user clicks the confirmation button 902, the controller immediately controls the user terminal to alarm to achieve a quick alarm. It should be noted that if the user does not make any operation for more than a certain period of time, the controller can also control the user terminal to make a quick alarm.
[0062] Among them, when the user is in a sleeping state, it means that the user is at home but unconscious. At this time, the controller can control the smoke alarm to play to wake up the user, and the controller can also directly send an alarm call for help command to the user terminal to achieve rapid alarm.
[0063] In addition, if the emergency level of the alarm information is the second emergency, the second emergency characterizes that the smoke type is the conventional type or the cooking fume, and the alarm information is displayed through the user terminal. When the smoke type is the conventional type or cooking fume, the controller can control the smoke alarm to collect the smoke concentration in real time to determine the safety level, and display the information on the user terminal in real time, so that the user can understand the smoke situation in time. When the first electrical signal increment is greater than the alarm threshold, different alarm schemes can be executed according to the user's status, and the alarm scheme can be consistent with the above-mentioned polyurethane combustion. It should be noted that when the controller determines that the current smoke type is water vapor interference or oil fume interference, the smoke alarm can broadcast a voice: "Water vapor (oil fume) interference is detected, please eliminate the cause!" Or the user terminal can display the corresponding text content.
[0064] It should be noted that the smoke alarm system may also include public equipment, which may be a smart home central control gateway, a local server or a network attached storage device, etc. When the network status of the smoke alarm and the user terminal are both online, the network connection status of the smoke alarm and the user terminal may be divided into a strong network status and a weak network status. The strong network status may indicate that the network connection signal of the user terminal or the smoke alarm is good, and the weak network status may indicate that the network connection signal of the user terminal or the smoke alarm is poor. The good or poor network connection signal may be determined by comparing the current signal strength with the preset signal strength or the current data transmission speed with the preset data transmission speed. When the network connection status of the smoke alarm and the user terminal are both strong network status, the above-mentioned solution when the network status of the smoke alarm device and the user terminal are both online may be executed; when the network connection status of the smoke alarm or / user terminal is weak network status, the smoke alarm may upload the collected smoke information to the public equipment, and the public equipment may store and process the smoke information. When the network connection status of the user terminal is switched to a strong network status, the public equipment may transmit the stored smoke information to the user terminal, so that the user terminal can view the historical smoke information.
[0065] It can be seen that in this example, through indirect communication between the user terminal and the smoke alarm, the user can timely understand the alarm information and perform operations such as alarm through the user terminal, thereby improving the accuracy of smoke recognition, improving the accuracy of smoke alarm, and improving the anti-interference ability of the smoke alarm system.
[0066] For the above embodiments, please refer to Fig.10 , Fig.10 1 is a block diagram of the functional units of a smoke identification device provided in an embodiment of the present application. Fig.10As shown, the smoke identification device 100 includes: a first processing unit 1001, used to turn on the first transmitting end, and detect and obtain a first electric signal increment corresponding to the first electric signal sent by the first transmitting end; a second processing unit 1002, used to turn on the second transmitting end if the first electric signal increment is greater than a preset threshold, and detect and obtain a second electric signal increment corresponding to the second electric signal sent by the second transmitting end, and a third electric signal increment corresponding to the first electric signal sent by the first transmitting end; wherein the first electric signal and the second electric signal are different signals; a determination unit 1003, used to determine the type of smoke based on the ratio of the second electric signal increment to the third electric signal increment, and determine the alarm threshold according to the type of smoke; a creation unit 1004, used to create alarm information based on the first electric signal increment and the alarm threshold, and output the alarm information.
[0067] In a possible embodiment, in terms of determining the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment, and determining the alarm threshold, the determination unit 1003 is specifically used to: if the ratio is within a first range, the type of smoke is determined to be a conventional type, and the alarm threshold is determined to be a default alarm threshold; if the ratio is within a second range, the type of smoke is determined to be polyurethane combustion, the alarm threshold is determined to be a second alarm threshold, the second alarm threshold is lower than the default alarm threshold, and the maximum value of the second range is less than the minimum value of the first range; if the ratio is within a third range, the type of smoke is cooking oil smoke, the alarm threshold is determined to be a third alarm threshold, the third alarm threshold is higher than the default alarm threshold, and the maximum value of the third range is less than the minimum value of the second range.
[0068] In a possible embodiment, the smoke alarm system includes a user terminal and a smoke alarm, and the user terminal and the smoke alarm are respectively connected to the controller for communication. In terms of outputting the alarm information, the creation unit 1004 is specifically used to: detect the network status of the smoke alarm and the user terminal, and the network status includes an online status and an offline status; if the network status of the smoke alarm and the user terminal are both online, receive work and rest information from the user terminal, and the work and rest information includes an out-of-home time period, a sleep time period, and a home time period; obtain the current time, and send the alarm information to the user terminal based on the current time, the work and rest information, and the smoke type.
[0069] In the case of integrated units, see Fig.11 , Fig.11 1 is a block diagram of the functional units of another smoke identification device provided in an embodiment of the present application. Fig.11As shown, the smoke identification device 100 includes: a processing module 1012 and a communication module 1011. The processing module 1012 is used to control and manage the actions of the smoke identification device, for example, to execute the first processing unit, the second processing unit, the determination unit and the creation unit steps, and / or to execute other processes of the technology described herein. The communication module 1011 is used for the interaction between the smoke identification device and other devices. Fig.11 As shown, the smoke identification device 100 may further include a storage module 1013, and the storage module 1013 is used to store program codes and data of the smoke identification device.
[0070] Among them, the processing module 1012 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1011 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 1013 can be a memory.
[0071] All relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Figure 3 The smoke identification method shown.
[0072] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and a software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0073] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0074] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an electronic device.
[0075] It should be noted that, for the aforementioned method embodiments, 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 the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0076] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0077] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that 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.
[0078] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] If the above-mentioned integrated unit is implemented in the form of a software functional unit 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, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the above-mentioned methods in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0081] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may 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, etc.
[0082] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0083] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present application, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present application.
Claims
1. A smoke identification method, characterized in that: A controller applied to a smoke alarm system, the smoke alarm system further comprising a first transmitting end and a second transmitting end, the first transmitting end and the second transmitting end being connected to the controller respectively, the method comprising: Turning on the first transmitting end, and detecting and obtaining a first electrical signal increment corresponding to a first electrical signal sent by the first transmitting end; If the increment of the first electrical signal is greater than a preset threshold, the second transmitting end is turned on, and a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end are detected; wherein the first electrical signal and the second electrical signal are different signals; determining the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment, and determining an alarm threshold according to the type of smoke; Alarm information is created based on the first electrical signal increment and the alarm threshold, and the alarm information is output.
2. The method according to claim 1, characterized in that The first transmitting end is an infrared light emitting tube, and the second transmitting end is a blue light emitting tube; or the first transmitting end is a blue light emitting tube, and the second transmitting end is an infrared light emitting tube.
3. The method according to claim 2, characterized in that The method of determining the type of smoke based on the ratio of the second electrical signal increment to the third electrical signal increment and determining an alarm threshold value comprises: If the ratio is within the first range, determining the type of the smoke to be a conventional type, and determining the alarm threshold to be a default alarm threshold; If the ratio is within the second range, the type of the smoke is determined to be polyurethane combustion, and the alarm threshold is determined to be the second alarm threshold, the second alarm threshold is lower than the default alarm threshold, and the maximum value of the second range is less than the minimum value of the first range; If the ratio is within the third range, the type of the smoke is cooking oil smoke, the alarm threshold is determined to be the third alarm threshold, the third alarm threshold is higher than the default alarm threshold, and the maximum value of the third range is less than the minimum value of the second range.
4. The method according to claim 3, characterized in that The detecting and obtaining a first electrical signal increment corresponding to the first electrical signal sent by the first transmitting end includes: detecting and obtaining a first electrical signal increment corresponding to the first electrical signal sent by the first transmitting end according to a first period; the method also includes: If the first electrical signal increment is greater than a preset threshold, adjusting the first cycle to a second cycle; Detecting and obtaining a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end, includes: According to the second cycle detection, second electrical signal increments corresponding to multiple second electrical signals sent by the second transmitting end and third electrical signal increments corresponding to multiple first electrical signals sent by the first transmitting end are obtained, wherein the time interval of the second cycle is smaller than the time interval of the first cycle.
5. The method according to claim 4, characterized in that The step of obtaining, according to the second period, a plurality of second electrical signal increments corresponding to the second electrical signals sent by the second transmitting end, and a plurality of third electrical signal increments corresponding to the first electrical signals sent by the first transmitting end, comprises: Determine a plurality of increment ratios based on the second period, each increment ratio representing a ratio of an increment of the second electrical signal to an increment of the third electrical signal in a corresponding second period; The ratio of the first electrical signal increment to the second electrical signal increment is determined based on the difference between the plurality of incremental ratios and a preset ratio and at least one preset parameter.
6. The method according to claim 3, characterized in that The smoke alarm system includes a user terminal and a smoke alarm, wherein the user terminal and the smoke alarm are respectively connected to the controller for communication, and the output of the alarm information includes: Detecting the network status of the smoke alarm and the user terminal, wherein the network status includes an online status and an offline status; If the network status of the smoke alarm and the user terminal are both online, receiving work and rest information from the user terminal, the work and rest information including an out-of-home time period, a sleep time period, and a home time period; The current time is obtained, and the alarm information is sent to the user terminal based on the current time, the work and rest information, and the smoke type.
7. The method according to claim 6, characterized in that The sending the alarm information to the user terminal based on the current time, the work and rest information, and the smoke type includes: Determining an emergency level of the alarm information based on the smoke type; If the emergency level of the alarm information is the first emergency, the user's state is determined based on the current time and the work and rest information, the first emergency indicates that the smoke type is polyurethane combustion, and the user's state includes an out-of-town state corresponding to the out-of-town time period, a sleeping state corresponding to the sleeping time, and a home state corresponding to the home time; If the user is at home, the smoke alarm is controlled to play the audio information of the alarm information, and the user terminal is controlled to display the alarm information; If the current time is within the out-of-town time period, sending an alarm request to the user terminal, and controlling the user terminal to sound an alarm after receiving a confirmation operation for the alarm request from the user terminal; If the user is in a sleeping state, the smoke alarm is controlled to play the audio information of the alarm information, and an alarm call instruction is sent to the user terminal to control the user terminal to alarm.
8. A smoke identification device, characterized in that: A controller applied to a smoke alarm system, the smoke alarm system comprising the controller, a first transmitting end, and a second transmitting end, the first transmitting end being connected to the controller, the second transmitting end being connected to the controller, the device comprising: A first processing unit, configured to start the first transmitting end and detect and obtain a first electrical signal increment corresponding to a first electrical signal sent by the first transmitting end; a second processing unit, configured to, if the first electrical signal increment is greater than a preset threshold, turn on the second transmitting end, and detect and obtain a second electrical signal increment corresponding to the second electrical signal sent by the second transmitting end, and a third electrical signal increment corresponding to the first electrical signal sent by the first transmitting end; wherein the first electrical signal and the second electrical signal are different signals; a determining unit, configured to determine the type of smoke based on a ratio of the second electrical signal increment to the third electrical signal increment, and determine an alarm threshold value according to the type of smoke; A creating unit is used to create alarm information based on the first electrical signal increment and the alarm threshold, and output the alarm information.
9. A controller, characterized in that: The method comprises a processor, a memory 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 programs include instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.