Method, device and equipment for controlling electrical equipment and storage medium
By monitoring the change values of environmental parameters of electrical equipment, the automatic power outage of electrical equipment in the early stage of fire is solved, and the problem of electrical equipment being unable to be powered off in time is improved, and the safety of electrical equipment and users is improved.
Patent Information
- Application Number
- CN202410014067.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2025-07-04
AI Technical Summary
Existing electrical equipment cannot automatically cut off power in the early stages of fire, causing the flame to spread rapidly and threaten the safety of users.
By monitoring the environmental parameter values of the set positions in the electrical equipment, such as temperature and light intensity, determine the current environmental parameter change value. When the change value reaches the early warning condition, the electrical equipment is controlled to be powered off, and the heat source and ventilation devices are stopped when necessary to perform an acoustic and light alarm.
Disconnect the power supply in time to reduce the chance of rapid flame spreading, improve the safety of electrical equipment use, and reduce the loss of life and property.
Smart Images

Figure CN120255378A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent devices, for example, to methods, devices, equipment, and storage media for controlling electrical appliances. Background Art
[0002] With the increasing popularity of household electrical appliances, the safety of using electrical appliances has also attracted more and more attention. Electrical appliance fires are the primary factor affecting safety. In the initial stage of a fire, without burning through the power cord, many electrical appliances, such as refrigerators and freezers, will not automatically cut off power. At this time, not only can the fire source not be cut off, but the air circulation effect of the fans of many electrical appliances will also cause the fire to spread rapidly, thus posing a greater threat to the life and property safety of users.
[0003] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of this application. Therefore, it may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0004] To provide a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a comprehensive review, nor is it intended to identify key / important elements or delineate the scope of protection of these embodiments. Instead, it serves as a prelude to the detailed description that follows.
[0005] Embodiments of the present disclosure provide a method, device, equipment, and storage medium for controlling electrical appliances to solve the technical problem that the safety of using electrical appliances needs to be improved.
[0006] In some embodiments, the method includes:
[0007] Determine the current environmental parameter change value according to the environmental parameter value at a set position in the monitored electrical appliance;
[0008] When it is determined that the current environmental parameter change value meets the fire warning condition, control the electrical appliance to cut off power.
[0009] In some embodiments, the determining the current environmental parameter change value includes:
[0010] Obtain the current temperature difference between the current temperature value and the previous temperature value according to the temperature value at a set position in the monitored electrical appliance, and determine the current temperature difference as the current temperature change value;
[0011] Obtain the current light intensity difference between the current light intensity value and the previous light intensity value according to the light intensity value at a set position in the monitored electrical appliance, and determine the current light intensity difference as the current light intensity change value.
[0012] In some embodiments, determining that the current environmental parameter change value meets the fire warning condition includes:
[0013] When the current temperature change value is greater than or equal to a first set value, if the current light intensity change value is greater than or equal to a second set value, it is determined that the current environmental parameter change value meets the fire warning condition.
[0014] In some embodiments, before controlling the electrical equipment to power off, it further includes:
[0015] Controlling the heat source device and the ventilation device in the electrical equipment to stop working.
[0016] In some embodiments, controlling the electrical equipment to power off includes:
[0017] When it is determined that the current environmental parameter change value meets the fire warning condition, start a timer;
[0018] When the current timing time reaches the set time, control the electrical equipment to power off.
[0019] In some embodiments, controlling the electrical equipment to power off further includes:
[0020] Perform fire warning processing by setting a warning method, where the warning method includes one or more of sound, light, text and graphics, etc.
[0021] In some embodiments, the device includes:
[0022] A monitoring and determination module, configured to determine the current environmental parameter change value according to the environmental parameter values at a set position in the monitored electrical equipment;
[0023] An early warning control module, configured to control the electrical equipment to power off when it is determined that the current environmental parameter change value meets the fire warning condition.
[0024] In some embodiments, the device for controlling an electrical equipment includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling an electrical equipment when executing the program instructions.
[0025] In some embodiments, the electrical equipment includes an equipment body; the above-mentioned device for controlling an electrical equipment is installed on the equipment body.
[0026] In some embodiments, the storage medium stores program instructions, and the program instructions execute the above-mentioned method for controlling an electrical equipment when running.
[0027] The method, device and equipment for controlling an electrical equipment provided by the embodiments of the present disclosure can achieve the following technical effects:
[0028] Monitor the environmental parameter values at the set positions in the electrical equipment, and determine the current environmental parameter change values based on the monitored environmental parameter values. In this way, when it is determined that the current environmental parameter change values meet the fire warning conditions, control the electrical equipment to cut off the power, thereby timely disconnecting the power supply and reducing the probability of rapid spread of the flame. This not only improves the safety of using the electrical equipment, but also further improves the safety of life and property.
[0029] The above general description and the following description are only exemplary and explanatory, and are not used to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] One or more embodiments are exemplarily illustrated by the corresponding drawings. These exemplary illustrations and the drawings do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation, and among them:
[0031] Figure 1 is a schematic structural diagram of an electrical equipment provided by an embodiment of the present disclosure;
[0032] Figure 2 is a schematic flowchart of a method for controlling an electrical equipment provided by an embodiment of the present disclosure;
[0033] Figure 3 is a schematic structural diagram of a freezer provided by an embodiment of the present disclosure;
[0034] Figure 4 is a schematic flowchart of a method for controlling a freezer provided by an embodiment of the present disclosure;
[0035] Figure 5 is a schematic structural diagram of a control device for an electrical equipment provided by an embodiment of the present disclosure;
[0036] Figure 6 is a schematic structural diagram of a control device for an electrical equipment provided by an embodiment of the present disclosure;
[0037] Figure 7 is a schematic structural diagram of a control device for an electrical equipment provided by an embodiment of the present disclosure;
[0038] Figure 8 is a schematic diagram of an electrical equipment provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] In order to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration purposes only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of explanation, numerous details are provided to give a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be shown in a simplified manner to simplify the drawings.
[0040] In the description of the embodiments of the present disclosure, the terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so as to implement the embodiments of the present disclosure described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion.
[0041] Unless otherwise specified, the term "plurality" means two or more.
[0042] In the embodiments of the present disclosure, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B.
[0043] The term "and / or" is an associative relationship describing an object and indicates that three relationships can exist. For example, A and / or B means: A or B, or, A and B these three relationships.
[0044] Monitor the environmental parameter values at the set position in the electrical equipment. Under normal circumstances, the monitored environmental parameter values are stable or gradually changing. Only in the event of a fire, the monitored environmental parameter values will change suddenly. Therefore, in the embodiments of the present disclosure, the current environmental parameter change value can be determined according to the monitored environmental parameter values at the set position in the electrical equipment, and when it is determined that the current environmental parameter change value meets the fire warning condition, the electrical equipment is controlled to power off. In this way, the power supply can be disconnected in time, reducing the probability of the rapid spread of the flame, not only improving the safety of the use of the electrical equipment, but also further improving the safety of life and property.
[0045] Figure 1 It is a schematic structural diagram of an electrical equipment provided by an embodiment of the present disclosure. As Figure 1 shown, the electrical equipment includes: a main control board 100, one or more devices 200.
[0046] The main control board 100 is electrically connected to each device 200 and can control the operation of each device 200. For example, when the electrical device is an air conditioner, the devices 200 can be a compressor, a condenser, an outdoor fan, an indoor fan, etc. Or, when the electrical device is a freezer, the devices 200 can be a compressor, a condenser, a condensing fan, etc. In some embodiments, the electrical device may further include a display device 300, so that human-computer interaction can be performed, further improving the intelligence of the electrical device.
[0047] In the embodiments of the present disclosure, the electrical device further includes an environmental monitoring device 400, which may include a temperature sensor, a humidity sensor, a pressure sensor, a light intensity sensor, etc. Of course, the main control board 100 can be connected to the environmental monitoring device 400, so that the main control board 100 can obtain the corresponding environmental parameter values through the environmental monitoring device 400.
[0048] To give a timely fire warning, in some embodiments, the environmental monitoring device 400 can be configured near the devices 200 in the electrical device that are prone to catching fire, so that the accuracy of the fire warning can be further improved.
[0049] Since the light intensity and temperature inside the electrical device change gradually under normal circumstances, the light intensity mainly changes with the natural light of the external environment, and only when the light intensity suddenly changes when it is irradiated by strong light or catches fire by human factors; while the temperature changes continuously with the heat dissipation inside the electrical device, and only when it catches fire does the temperature suddenly change. Therefore, in some embodiments, the environmental monitoring device 400 includes a temperature sensor and a light intensity sensor. Thus, the main control board 100 can monitor the temperature value and light intensity value at a set position in the electrical device, and can perform corresponding fire warning control according to the sudden change of the temperature value and light intensity value.
[0050] It can be seen that the main control board or control device in the electrical device can perform fire warning control. Figure 2 It is a schematic flowchart of a method for controlling an electrical device in the embodiments of the present disclosure. As Figure 2 shown, the process of controlling the electrical device includes:
[0051] Step 201: Determine the current environmental parameter change value according to the monitored environmental parameter values at a set position in the electrical device.
[0052] As Figure 1As shown, an environmental monitoring device is configured at a set position in the electrical equipment. Thus, the corresponding environmental parameter values can be monitored through the environmental monitoring device. In some embodiments, monitoring the environmental parameter values at the set position in the electrical equipment includes: regularly obtaining the environmental parameter values at the set position in the electrical equipment through the environmental monitoring device. For example: every 1s, 2s, 3s, or 5s, etc., collect the corresponding environmental parameter values through the environmental monitoring device. And when the current environmental parameter values are collected, the current difference between the current environmental parameter values and the previous environmental parameter values collected previously can be obtained, and the current difference is determined as the current environmental parameter change value. Among them, the cycle of the collection interval can be determined according to the performance of the electrical equipment, the area where it is located, the usage season, etc.
[0053] In some embodiments, the environmental parameter values include: temperature values and light intensity values. That is, the environmental monitoring device includes: a temperature sensor and a light intensity sensor. In this way, determining the current environmental parameter change value includes: obtaining the current temperature difference between the current temperature value and the previous temperature value according to the monitored temperature value at the set position in the electrical equipment, and determining the current temperature difference as the current temperature change value; obtaining the current light intensity difference between the current light intensity value and the previous light intensity value according to the monitored light intensity value at the set position in the electrical equipment, and determining the current light intensity difference as the current light intensity change value.
[0054] In some embodiments, the electrical equipment includes a compressor. A temperature sensor can be configured near the compressor, and a pressure sensor can be configured at the set pipeline of the compressor. In this way, the environmental parameter values include: temperature values and pressure values. In this way, determining the current environmental parameter change value includes: obtaining the current temperature difference between the current temperature value and the previous temperature value according to the monitored temperature value at the set position in the electrical equipment, and determining the current temperature difference as the current temperature change value; obtaining the current pressure difference between the current pressure value and the previous pressure value according to the monitored pressure value at the set position in the electrical equipment, and determining the current pressure difference as the current pressure change value.
[0055] Of course, the environmental parameter values corresponding to different electrical equipment can be different, and will not be listed one by one.
[0056] Step 202: When it is determined that the current environmental parameter change value meets the fire warning condition, control the electrical equipment to cut off the power.
[0057] When the environmental parameter values include temperature values and light intensity values, since under normal circumstances, the light intensity and temperature inside the electrical equipment change gradually. The light intensity mainly changes with the natural light in the external environment, and only when there is artificial strong light irradiation or a fire will the light intensity change suddenly; while the temperature will change continuously due to the heat dissipation inside the electrical equipment, and only when there is a fire will the temperature change suddenly. Therefore, in some embodiments, when the current temperature change value is greater than or equal to the first set value, if the current light intensity change value is greater than or equal to the second set value, it is determined that the current environmental parameter change value meets the fire warning condition. Among them, the first set value can be 5°C, 8°C, 10°C, 12°C, etc., and the second set value can be 10 Lx, 12 Lx, 15 Lx, 20 Lx, etc. The first set value and the second set value can be determined according to the performance of the electrical equipment, the usage area, the season, etc.
[0058] For example: when the current temperature change value ΔT≥10°C and the current light intensity change value ΔL≥15 Lx, it can be determined that the current environmental parameter change value meets the fire warning condition.
[0059] In some embodiments, when the current temperature change value is greater than or equal to the third set value, if the current pressure change value is greater than or equal to the fourth set value, it can also be determined that the current environmental parameter change value meets the fire warning condition. Among them, the first set value can be equal to or different from the third set value. Similarly, the third set value and the fourth set value can also be determined according to the performance of the electrical equipment, the usage area, the season, etc.
[0060] Of course, for different environmental parameter values, the corresponding fire warning conditions are also different, which are determined according to the functions, components, etc. of the electrical equipment.
[0061] When it is determined that the current environmental parameter change value meets the fire warning condition, the power supply of the electrical equipment can be immediately controlled to cut off. In this way, each component in the electrical equipment also stops working, there will be no air circulation or heat generation, reducing the probability of rapid spread of the flame, improving the safety of using the electrical equipment, and further providing the safety of life and property.
[0062] Of course, in some embodiments, when it is determined that the current environmental parameter change value meets the fire warning condition, the heat source components and ventilation components in the electrical equipment can be controlled to stop working first, and then the power supply of the electrical equipment can be controlled to cut off. That is, before controlling the power supply of the electrical equipment to cut off, it also includes: controlling the heat source components and ventilation components in the electrical equipment to stop working.
[0063] For example, an electrical appliance includes a compressor, a fan, etc. When it is determined that the change value of the current environmental parameter meets the fire warning condition, the relay switches of the compressor, the fan and other loads can be disconnected to stop the heat source compressor and the ventilation source fan from working, so as to minimize the temperature and oxygen content in the electrical appliance. Then, the electrical appliance is controlled to cut off the power supply.
[0064] In some embodiments, controlling the electrical appliance to cut off the power supply includes: starting a timer when it is determined that the change value of the current environmental parameter meets the fire warning condition; and controlling the electrical appliance to cut off the power supply when the current timing time reaches the set time.
[0065] The set time can be 3s, 5s, 6s, etc. For example, when it is determined that the change value of the current environmental parameter meets the fire warning condition, the relay switches of the compressor, the fan and other loads are disconnected, and the timer is started; when the current timing time reaches 5s, the electrical appliance is controlled to cut off the power supply.
[0066] Of course, to reduce the loss of life and property, fire warning processing can also be performed. That is, in some embodiments, controlling the electrical appliance to cut off the power supply further includes: performing fire warning processing by setting a warning method, where the warning method includes one or more of sound, light, text and graphics, etc. For example, a buzzer and an indicator light are integrated in the display device of the electrical appliance. When it is determined that the change value of the current environmental parameter meets the fire warning condition, the indicator light flashes red, and at the same time the buzzer emits a beeping sound.
[0067] It can be seen that in the embodiments of the present disclosure, the environmental parameter value at a set position in the electrical appliance is monitored, and the change value of the current environmental parameter is determined according to the monitored environmental parameter value. In this way, when it is determined that the change value of the current environmental parameter meets the fire warning condition, the electrical appliance is controlled to cut off the power supply, thereby timely disconnecting the power supply and improving the safety of using the electrical appliance. In addition, the heat source device and the ventilation device in the electrical appliance can be timely controlled to stop working, further reducing the probability of rapid spread of the flame, and the fire warning processing can be timely performed, further reducing the loss of life and property.
[0068] Next, the operation process will be incorporated into specific embodiments to illustrate the electrical appliance control process provided by the embodiments of the present invention.
[0069] In an embodiment of the present disclosure, the electrical appliance can be a freezer, such as Figure 3 As shown, the freezer includes a main control board, a compressor, a condenser, a condensing fan, a display board, and sensors located in the compressor compartment, where the sensors include: a temperature sensor and a light intensity sensor. And a buzzer and an indicator light are integrated on the display board. The first set value can be 10°C, the second set value can be 20Lx, and the set time can be 5s.
[0070] Figure 4 is a schematic flowchart of a method for controlling a refrigerator provided by an embodiment of the present disclosure. As Figure 4 shown, the refrigerator control process includes:
[0071] Step 401: When the refrigerator is powered on and running, determine whether the sampling time corresponding to a period of 2S is reached? If yes, execute Step 402, otherwise, return to Step 401.
[0072] Step 402: Through the temperature sensor and the light intensity sensor, the refrigerator obtains the current temperature value and the current light intensity value in the compressor compartment of the refrigerator.
[0073] Step 403: The refrigerator determines the current temperature change value ΔT between the current temperature value and the previous temperature value, and determines the current light intensity change value ΔL between the current light intensity value and the previous light intensity value.
[0074] Step 404: Determine whether ΔT≥10°C holds? If yes, execute Step 405, otherwise, execute Step 409.
[0075] Step 405: Determine whether ΔL≥20Lx holds? If yes, execute Step 406, otherwise, execute Step 409.
[0076] Step 406: The refrigerator starts a timer and disconnects the relay switches of the compressor, the fan, and other loads, so that the heat source compressor and the ventilation source fan stop working. At the same time, it controls the buzzer to emit a beeping sound and controls the indicator light to flash.
[0077] Step 407: Determine whether the current timing time reaches 5s? If yes, execute Step 408, otherwise, return to Step 407.
[0078] Step 408: The refrigerator controls the refrigerator to power off.
[0079] Step 409: The refrigerator updates the current temperature value to the previous temperature value, updates the current light intensity value to the previous temperature value, and returns to Step 401.
[0080] It can be seen that in this embodiment, after the refrigerator is powered on and running, it monitors the temperature value and the light intensity value in the compressor compartment. When the temperature change value and the light intensity change value both reach the corresponding set values, it controls the heat source compressor and the ventilation source fan to stop working, and gives an audible and visual alarm. And after 5S, the refrigerator is completely powered off. In this way, the probability of rapid spread of the flame is reduced, the safety of using the refrigerator is improved, and an audible and visual alarm can also be given to give a fire warning in time, and further reduce the loss of life and property.
[0081] According to the above process for controlling electrical equipment, a device for controlling electrical equipment can be constructed.
[0082] Figure 5 FIG. 4 is a schematic structural diagram of a device for controlling electrical equipment provided by an embodiment of the present disclosure. A water-washing fresh air module is configured in the device. As Figure 5 shown, the device 500 for controlling electrical equipment includes: a monitoring and determination module 510 and a warning and control module 520.
[0083] The monitoring and determination module 510 is configured to determine a current environmental parameter change value according to an environmental parameter value at a set position in the monitored electrical equipment.
[0084] The warning and control module 520 is configured to control the electrical equipment to cut off power when it is determined that the current environmental parameter change value meets the fire warning condition.
[0085] In some embodiments, the monitoring and determination module 510 includes:
[0086] A first determination unit is configured to obtain a current temperature difference between the current temperature value and the previous temperature value according to the monitored temperature value at a set position in the electrical equipment, and determine the current temperature difference as the current temperature change value.
[0087] A second determination unit is configured to obtain a current light intensity difference between the current light intensity value and the previous light intensity value according to the monitored light intensity value at a set position in the electrical equipment, and determine the current light intensity difference as the current light intensity change value.
[0088] In some embodiments, the warning and control module 520 includes:
[0089] A fire determination unit is configured to determine that the current environmental parameter change value meets the fire warning condition when the current temperature change value is greater than or equal to a first set value and the current light intensity change value is greater than or equal to a second set value.
[0090] In some embodiments, it further includes: a device control module configured to control the heat source device and the ventilation device in the electrical equipment to stop working.
[0091] In some embodiments, the warning and control module 520 is specifically configured to start a timer when it is determined that the current environmental parameter change value meets the fire warning condition; and control the electrical equipment to cut off power when the current timing time reaches the set time.
[0092] In some embodiments, the warning and control module 520 is further configured to perform a fire warning process by setting a warning method, where the warning method includes one or more of sound, light, text, graphics, etc.
[0093] The electrical equipment control process for the electrical equipment control device will be further described below in conjunction with embodiments.
[0094] In this embodiment, the first set value can be 8 °C, the second set value can be 15 Lx, and the set time can be 5 s.
[0095] Figure 6 It is a schematic structural diagram of a device for an electrical equipment control device provided by an embodiment of the present disclosure. As Figure 6 shown, the device 500 for the electrical equipment control device includes: a monitoring and determination module 510, a warning control module 520, and a device control module 530. Among them, the monitoring and determination module 510 includes: a first determination unit 511 and a first determination unit 512, and the warning control module 520 includes: a fire ignition determination unit 521.
[0096] In this embodiment, after the electrical equipment is powered on and running, at the sampling time corresponding to a cycle of 1 s, the monitoring and determination module 510 respectively obtains the current temperature value and the current light intensity value at the set position of the electrical equipment through the temperature sensor and the light intensity sensor. Thus, the first determination module 511 determines the current temperature difference between the current temperature value and the previous temperature value as the current temperature change value ΔT; and the second determination module 512 determines the current light intensity difference between the current light intensity value and the previous light intensity value as the current light intensity change value ΔL.
[0097] When ΔT≥8 °C and ΔL≥15 Lx, the fire ignition determination unit 521 in the warning control module 520 can determine that the current environmental parameter change value meets the fire warning condition. Therefore, the device control module 530 can control the heat source device and the ventilation device in the electrical equipment to stop working, and the warning control module 520 controls the buzzer to emit a beeping sound and controls the indicator light to flash. At the same time, a timer is started, and when the current timing time reaches 5 s, the electrical equipment is controlled to power off.
[0098] It can be seen that in this embodiment, the device for controlling the electrical equipment monitors the temperature value and the light intensity value at the set position in the electrical equipment. When it is monitored that both the temperature change value and the light intensity change value reach the corresponding set values, the electrical equipment is controlled to power off. Thus, the power supply is timely disconnected, improving the safety of using the electrical equipment. And it can also timely control the heat source device and the ventilation device in the electrical equipment to stop working, further reducing the probability of the rapid spread of the flame, and can also timely perform the fire warning process, further reducing the loss of life and property.
[0099] Combined with Figure 7 An embodiment of the present disclosure provides a device 700 for controlling an electrical equipment, including:
[0100] A processor 1000 and a memory 1001, and may further include a communication interface 1002 and a bus 1003. Among them, the processor 1000, the communication interface 1002, and the memory 1001 can communicate with each other through the bus 1003. The communication interface 1002 can be used for information transmission. The processor 1000 can call the logical instructions in the memory 1001 to execute the method for controlling electrical equipment in the above embodiments.
[0101] In addition, when the logical instructions in the above-mentioned memory 1001 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
[0102] The memory 1001, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 executes functional applications and data processing by running the program instructions / modules stored in the memory 1001, that is, implements the method for controlling electrical equipment in the above method embodiments.
[0103] The memory 1001 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory and may also include a non-volatile memory.
[0104] The embodiments of the present disclosure provide a device for controlling electrical equipment, including: a processor and a memory storing program instructions, and the processor is configured to execute a method for controlling electrical equipment when executing the program instructions.
[0105] Combined with Figure 8 , the embodiments of the present disclosure provide an electrical equipment 800, including: a device body, and the above-mentioned device 500(700) for controlling electrical equipment. The device 500(700) for controlling electrical equipment is installed on the device body. The installation relationship described here is not limited to being placed inside the product, but also includes the installation connection with other components of the product, including but not limited to physical connection, electrical connection, or signal transmission connection, etc. Those skilled in the art can understand that the device 500(700) for controlling electrical equipment can be adapted to a feasible device body, and further implement other feasible embodiments.
[0106] An embodiment of the present disclosure provides a storage medium storing program instructions, which, when running, execute the method for controlling an electrical device as described above.
[0107] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to execute the method for controlling an electrical device as described above.
[0108] The above storage medium may be a transient computer-readable storage medium or a non-transient computer-readable storage medium.
[0109] The technical solution of an embodiment of the present disclosure may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The foregoing storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc, etc., which are various media that can store program codes, or may also be a transient storage medium.
[0110] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure, enabling those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments merely represent possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims and all available equivalents of the claims. When used in this application, although terms such as "first", "second", etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, the first element may be called the second element, and similarly, the second element may be called the first element, as long as all occurrences of "the first element" are consistently renamed and all occurrences of "the second element" are consistently renamed. The first element and the second element are both elements, but they may not be the same element. Moreover, the terms used in this application are only for describing the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations including one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups of these. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. Herein, each embodiment may focus on the differences from other embodiments, and the same or similar parts among the embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, the relevant parts may refer to the description of the method part.
[0111] Those skilled in the art will realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software can depend on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure. The skilled person can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0112] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be electrical, mechanical, or other forms. The units described 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 can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present disclosure, the functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. In the description corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an electrical device, characterized in that, Including: Determine the current environmental parameter change value according to the environmental parameter value at the set position in the monitored electrical equipment; When it is determined that the current environmental parameter change value meets the fire warning condition, control the electrical equipment to cut off the power.
2. The method according to claim 1, characterized in that The determination of the current environmental parameter change value includes: Obtain the current temperature difference between the current temperature value and the previous temperature value according to the temperature value at the set position in the monitored electrical equipment, and determine the current temperature difference as the current temperature change value; Obtain the current light intensity difference between the current light intensity value and the previous light intensity value according to the light intensity value at the set position in the monitored electrical equipment, and determine the current light intensity difference as the current light intensity change value.
3. The method according to claim 2, wherein The determination that the current environmental parameter change value meets the fire warning condition includes: When the current temperature change value is greater than or equal to the first set value, if the current light intensity change value is greater than or equal to the second set value, determine that the current environmental parameter change value meets the fire warning condition.
4. The method according to claim 1, wherein Before controlling the electrical equipment to cut off the power, it further includes: Control the heat source device and the ventilation device in the electrical equipment to stop working.
5. The method according to claim 1, characterized in that, The control of the electrical equipment to cut off the power includes: When it is determined that the current environmental parameter change value meets the fire warning condition, start a timer; When the current timing time reaches the set time, control the electrical equipment to cut off the power.
6. The method according to any one of claims 1-5, characterized in that, The control of the electrical equipment to cut off the power further includes: Perform fire warning processing by setting a warning method, where the warning method includes one or more of sound, light, text and graphics, etc.
7. A device for controlling an electrical appliance, characterized in that, It further includes: A monitoring and determination module, configured to determine the current environmental parameter change value according to the environmental parameter value at the set position in the monitored electrical equipment; An early warning control module, configured to control the electrical equipment to cut off the power when it is determined that the current environmental parameter change value meets the fire warning condition.
8. A device for controlling an electrical appliance, the device comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the method for controlling an electrical equipment according to any one of claims 1 to 6 when executing the program instructions.
9. An electrical device, characterized in that, Including: The equipment body; The device for controlling an electrical equipment according to claim 7 or 8 is installed on the equipment body.
10. A storage medium stores program instructions, characterized in that, When the program instructions are running, execute the method for controlling an electrical equipment according to any one of claims 1 to 6.