[go: up one dir, main page]

CN111987691B - Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment - Google Patents

Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment Download PDF

Info

Publication number
CN111987691B
CN111987691B CN202010784871.2A CN202010784871A CN111987691B CN 111987691 B CN111987691 B CN 111987691B CN 202010784871 A CN202010784871 A CN 202010784871A CN 111987691 B CN111987691 B CN 111987691B
Authority
CN
China
Prior art keywords
thunderstorm
power
equipment
electrical equipment
early warning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010784871.2A
Other languages
Chinese (zh)
Other versions
CN111987691A (en
Inventor
周碧洋
袁荣
汪龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010784871.2A priority Critical patent/CN111987691B/en
Publication of CN111987691A publication Critical patent/CN111987691A/en
Application granted granted Critical
Publication of CN111987691B publication Critical patent/CN111987691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/20Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess voltage
    • H02H3/22Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess voltage of short duration, e.g. lightning
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/02Details
    • H02H3/06Details with automatic reconnection
    • H02H3/066Reconnection being a consequence of eliminating the fault which caused disconnection

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of intelligent home control, in particular to a power-off protection method, a storage medium and electronic equipment based on thunderstorm early warning, which are used for power-off protection control of electrical equipment in thunderstorm weather and solve the problems that the protection method in the prior art is too absolute, cannot be set in a personalized manner and brings inconvenience to users; the method comprises the following steps: acquiring thunderstorm early warning information, generating a power-off control instruction according to the thunderstorm early warning information, sending the power-off control instruction to target equipment, and controlling the target equipment to be powered off, wherein the target equipment is electrical equipment needing power-off determined according to the thunderstorm grade in the thunderstorm early warning information; the intelligent household system adopts power-off protection on the electrical equipment in time, prevents the electrical equipment from being damaged by thunderstorm weather, protects the safety of life and property of people, reduces the occurrence of potential safety hazards, and improves the safety of the intelligent household system.

Description

Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of intelligent home control, in particular to a power-off protection method of equipment based on thunderstorm early warning, a storage medium and electronic equipment.
Background
Thunderstorms are localized convective weather with lightning strikes and lightning, usually accompanied by ponto heavy rain or hail, which in winter may even come with snowstorms, and thus belong to a strong convective weather system. The principle of thunderstorm generation is that strong convection is easily generated when layer junctions in the atmosphere are unstable, discharge is generated when the potential difference between clouds reaches a certain degree, the discharge between the clouds refers to the fact that one part of cloud layers with ions is in contact with the other part of cloud layers with heterogeneous charges, and the discharge between the clouds refers to the fact that the cloud layers with the ions discharge to the ground. The electricity discharge between the cloud and the ground can cause great harm to buildings, human bodies, electronic equipment and the like, has extremely strong destructiveness and lethality, and directly threatens the safety of lives and properties of people. Therefore, how to avoid the harm caused by the thunderstorm discharge is a main object of the research on the thunderstorm for a long time.
With the development of social economy, the increase of electrical equipment and the more and more damage caused by lightning strike to the electrical equipment, when strong lightning current invades an external circuit connected with the electrical equipment, the electrical equipment which is running can be seriously damaged, and therefore, the power failure of the electrical equipment is a main lightning protection measure for protecting the electrical equipment.
At present, there are also some prior arts related to protecting electrical equipment from thunderstorm discharge hazards, for example, in patent application CN2018800006377, "intelligent control device, method and system for storage medium and home equipment", the invention analyzes future weather data by receiving current environmental weather data, generates a corresponding control instruction and sends the control instruction to associated home equipment, wherein it is described that when the future weather data is thunderstorm, a control instruction for controlling the power off of a main gate is generated, so as to prevent indoor household appliances from being damaged by thunder and lightning, thereby ensuring the safety of indoor electrical equipment. However, the invention still has some problems, for example, the direct power-off of the main gate may cause that some running electrical equipment cannot save data in time, which causes inconvenience to the work and life of users; for another example, for some electrical devices which have dual power supplies or self-contained power supplies, or are not actually connected with external circuits, or have lightning protection measures and are usually not struck by lightning, direct and uniform power failure is not necessary, and may cause troubles to life and daily life of users; for example, sometimes, discharge does not start when a thunderstorm occurs, but an electric field changes in an actual cloud layer, correspondingly received weather data also changes, and if the power of the main brake is cut off in response to the weather data, a user may not use electric equipment for a long time in the whole thunderstorm process, and inconvenience is also caused.
Therefore, there is a need for providing a power-off protection method, a storage medium, and an electronic device, which can control power-off of different electrical devices corresponding to different thunderstorm intensities based on thunderstorm warning.
Disclosure of Invention
The invention aims to: in order to solve the problems, the invention provides a power-off protection method of equipment based on thunderstorm early warning, a storage medium and electronic equipment.
The technical scheme adopted by the invention is as follows:
in order to achieve the above object, in a first aspect, the present invention provides a method for protecting equipment against power outage based on thunderstorm warning, including:
acquiring thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information;
and sending the power-off control instruction to target equipment needing power-off, and controlling the target equipment to be powered off, wherein the target equipment is the electrical equipment needing power-off determined according to the thunderstorm grade in the thunderstorm early warning information.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment from power failure based on thunderstorm warning, before sending the power failure control instruction to the target equipment that needs to be powered off, the method further includes:
and determining the execution time for sending the power-off control instruction to the target equipment needing power-off according to the predicted arrival time of the thunderstorm in the thunderstorm early warning information so as to control the target equipment to power off according to preset time.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment from power failure based on thunderstorm warning, before sending the power failure control instruction to the target equipment that needs to be powered off, the method further includes:
acquiring information of running electrical equipment;
matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
and judging whether the running electrical equipment is controlled equipment in the preset power-off scheme, if so, judging that the electrical equipment is target equipment needing power-off, and if not, judging that the electrical equipment does not need power-off.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment against power failure based on thunderstorm warning, a preset power failure scheme corresponding to a thunderstorm level is established through the following steps:
and adding different electrical equipment into a power-off equipment list corresponding to the thunderstorm grade according to different thunderstorm grades.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment against power outage based on thunderstorm warning, before sending the power outage control instruction to the target equipment that needs to be powered off, the method further includes:
acquiring running electrical equipment information;
matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
judging whether the running electrical equipment is controlled equipment in the preset power-off scheme;
when the running electrical equipment is the controlled equipment in the preset power-off scheme, further judging whether the electrical equipment is allowed to be powered off in the preset time, if so, judging that the electrical equipment is the target equipment needing power-off, otherwise, judging that the electrical equipment does not need power-off;
and when the running electrical equipment is not the controlled equipment in the preset power-off scheme, judging that the electrical equipment does not need to be powered off.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment against power outage based on thunderstorm warning, before sending the power outage control instruction to the target equipment that needs to be powered off, the method further includes:
acquiring information of running electrical equipment;
and selecting the electrical equipment corresponding to the thunderstorm grade in the thunderstorm early warning information from the running electrical equipment as target equipment needing power failure.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment against power failure based on thunderstorm warning, the method further includes:
sequentially displaying the running electrical equipment according to the power of the electrical equipment; and/or
And respectively displaying the running electrical equipment according to the use scenes of the electrical equipment.
According to an embodiment of the present invention, optionally, in the above method for protecting equipment against power failure based on thunderstorm warning, the method further includes:
acquiring thunderstorm early warning removal information, and generating a power-on control instruction according to the thunderstorm early warning removal information;
and sending the power-on control instruction to target equipment powered off due to thunderstorm, and controlling the target equipment to recover power utilization.
In a second aspect, the present invention provides a storage medium having a computer program stored thereon, the computer program being executable by one or more processors to implement the method for protecting a device against power outage based on thunderstorm warnings as described above.
In a third aspect, the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, executes the method for protecting power-off of a device based on thunderstorm warning.
Compared with the prior art, one or more embodiments in the scheme can have the following advantages or beneficial effects:
1. according to the equipment power-off protection method based on the thunderstorm early warning, the storage medium and the electronic equipment, the electrical equipment needing power-off is determined according to the thunderstorm grade in the obtained thunderstorm early warning information, the power-off control instruction is correspondingly generated and sent to the target equipment, the power-off of the target equipment is automatically controlled, the power-off protection is timely adopted for the electrical equipment, the electrical equipment is prevented from being damaged by the thunderstorm weather, the life and property safety of people is protected, the potential safety hazard is reduced, the safety of an intelligent home system is improved, and the interaction experience of users is optimized.
2. According to the method and the device, the execution time for sending the power-off control command to the target device is determined according to the predicted arrival time of the thunderstorm in the thunderstorm early warning information, and when the thunderstorm comes, the target device is controlled to be powered off according to the preset time without being powered off too early, so that the influence on the normal use of the electric equipment by a user is avoided.
3. According to the method and the device, the preset power-off scheme corresponding to the thunderstorm grade is established, the corresponding target device is controlled to be powered off after the corresponding preset power-off scheme is matched according to the thunderstorm grade, the power-off of the electrical equipment can be controlled correspondingly aiming at different thunderstorm grades temporarily, the more intelligent, more humanized and more targeted preset power-off scheme is provided, and the damage of the thunderstorm is prevented and controlled in advance.
4. When the running electrical equipment is the controlled equipment in the preset power-off scheme, whether the electrical equipment is allowed to be powered off in the preset time is further judged, the electrical equipment can be independently arranged when a thunderstorm comes without the need of setting the power-off electrical equipment, certain special electrical equipment which cannot be powered off randomly is subjected to white list protection, and loss of the electrical equipment or a user who is using the electrical equipment due to sudden power-off is prevented.
5. According to the method and the device, the electrical equipment corresponding to the thunderstorm grade in the thunderstorm early warning information can be directly selected from the running electrical equipment to serve as the target equipment needing power failure, the electrical equipment set by a user can be selectively powered off when the thunderstorm comes, and the controllability and the expansibility are better.
6. The method also comprises the step of sending a power-on control instruction to the target equipment powered off due to the thunderstorm according to the acquired thunderstorm early warning removing information, controlling the target equipment to recover power utilization, and solving the problems of food deterioration and the like caused by long-time power failure by timely recovering power utilization of electric appliances such as refrigerators.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of an apparatus power-off protection method based on thunderstorm warning according to an embodiment of the present invention.
Fig. 2 is another schematic flow chart of a method for protecting a device from power failure based on a thunderstorm warning according to a second embodiment of the present invention.
Fig. 3 is another schematic flow chart of a method for protecting a device from power failure based on a thunderstorm warning according to a third embodiment of the present invention.
Fig. 4 is a schematic diagram of a human-computer interaction interface in step 101.1 of an apparatus power-off protection method based on thunderstorm warning according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a preset power outage scheme setting interface corresponding to a strong thunderstorm in step 101.2 of an equipment power outage protection method based on thunderstorm early warning according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of a pop-up window prompt interface in step 102 of the method for protecting power-off of a device based on thunderstorm warning according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of an electrical equipment acquisition interface in step 302.1 of the method for protecting the equipment from power outage based on the thunderstorm warning according to the third embodiment of the present invention.
Fig. 8 is a schematic interface diagram of selecting an electrical device in step 302.2 of the equipment power-off protection method based on thunderstorm warning according to the third embodiment of the present invention.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments of the present invention and the features of the embodiments can be combined with each other without conflict, and the formed technical solutions are within the scope of the present invention.
Example one
Referring to fig. 1, 4 to 6, the present embodiment provides a method for protecting a power failure of an electronic device based on a thunderstorm warning, where the method is applied to the electronic device and performs the following steps:
step 101: establishing a preset power-off scheme corresponding to the thunderstorm grade on a human-computer interaction interface of the electronic equipment;
in this embodiment, the thunderstorm level is a level set by combining the lightning early warning signal standard of the weather bureau, and the lightning early warning signal standard of the weather bureau comprises yellow early warning, orange early warning and red early warning, which are gradually enhanced, wherein lightning activities may occur within 6 hours, lightning disaster accidents may be caused by the yellow early warning signal, the probability of the lightning activities occurring within 2 hours is very high, or the lightning activities are influenced by the lightning activities to become orange early warning signals, the probability of the lightning activities occurring within 2 hours is very high, or strong lightning activities have occurred and may continue, the probability of the occurrence of the lightning disaster accidents is very high, and according to the lightning early warning signal of the weather bureau, the thunderstorm level of this embodiment is correspondingly set to be mild thunderstorm, strong thunderstorm and ultra-strong thunderstorm;
step 101.1: acquiring and displaying the electric equipment which is successfully distributed in the network on a human-computer interaction interface of the electronic equipment;
specifically, the electronic device comprises a smart phone, a tablet personal computer, a PAD, a service robot, a smart watch, a smart home control terminal and the like, the smart home apps are all installed on the electronic device, the human-computer interaction interface is a smart home app interaction interface displayed by a touch screen of the electronic device, and the interaction process is represented by operations of clicking, sliding, rotating and the like of a human hand on the touch screen;
in this embodiment, firstly, a home appliance that needs to start power-off protection is selected and added to the smart home app as shown in the schematic diagram of the human-computer interaction interface shown in fig. 4, "? The symbol is a brief description icon of the function, the operation method and the thunderstorm level of the power-off protection method, wherein the household appliances comprise household appliances such as a disinfection cabinet, an air purifier, a kettle, a water heater, an air conditioner, a refrigerator, an electric cooker, a microwave oven, a dish washer, a water purifier, a television, a water dispenser and a fan, the household appliances in the family are connected to the intelligent home app in a network distribution mode such as Bluetooth or WiFi, namely the household appliances which are successfully distributed, the household appliances which are successfully distributed are displayed, and then the household appliances are displayed in sequence according to the power of the household appliances or are displayed in a classified mode according to the use scenes or the use states of the household appliances, wherein the use scenes comprise bedrooms, living rooms, kitchens, toilets and the like, and the use states comprise running, standby states, shutdown states and the like;
step 101.2: according to different thunderstorm grades, different electrical equipment is added into a power-off equipment list corresponding to the thunderstorm grades, and a preset power-off scheme corresponding to the thunderstorm grades is established;
specifically, according to the thunderstorm grades of mild thunderstorm, strong thunderstorm and superstrong thunderstorm, select in proper order the electrical apparatus to add in the outage device list that different thunderstorm grades correspond from the electrical apparatus that joins in marriage the net success, for example, the electrical apparatus that shows in the interface shown in fig. 5 is the electrical apparatus that this embodiment joins in marriage the net success, and sterilizer, air purifier, kettle, water heater, air conditioner and refrigerator join in marriage the net under same network and succeed promptly, correspondingly, the preset outage scheme that this embodiment established is: corresponding to mild thunderstorm, zero selection is carried out, namely, any household appliance is not disconnected during mild thunderstorm; selecting a disinfection cabinet, an air purifier and a kettle corresponding to the strong thunderstorm, wherein the interface is set according to a preset power-off scheme of the strong thunderstorm as shown in figure 5, namely, the disinfection cabinet, the air purifier and the kettle are powered off when the strong thunderstorm occurs; corresponding to the super-strong thunderstorm, all the household appliances are selected, namely, all the household appliances which are successfully distributed with the network are automatically disconnected when the super-strong thunderstorm occurs;
step 102: acquiring thunderstorm early warning information, correspondingly performing thunderstorm early warning prompt according to the thunderstorm grade in the thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information, wherein the thunderstorm early warning information comprises the thunderstorm grade and the predicted arrival time of the thunderstorm;
specifically, thunderstorm early warning information can be obtained from an existing thunderstorm early warning system, the thunderstorm early warning system accurately forecasts when and where a short-time small-area thunderstorm occurs, the thunderstorm early warning information is generally sent out 5-120 minutes before a lightning stroke occurs, the system supports an offline map based on a ground 2000 coordinate system, is an integrated system integrating atmospheric electric field monitoring and lightning approach early warning, and has the working principle that when electric charges in thundercloud reach a certain amount, a strong electric field can be formed between the cloud and the cloud or between the cloud and the ground to generate a discharge phenomenon, the most fundamental reason of the thunderstorm occurrence is lightning charge, and the thunderstorm occurrence can be predicted as long as the change of a spatial thunderstorm field can be accurately monitored and identified;
specifically, the thunderstorm warning prompt is correspondingly performed according to the thunderstorm grade in the thunderstorm warning information, and the prompting mode includes at least one of message prompting, pop-up window prompting, short message prompting and voice prompting, for example, when a mild thunderstorm occurs, a message prompting is performed to indicate that the mild thunderstorm is expected to reach the area within 1-2 hours in the future, when a strong thunderstorm occurs, a pop-up window prompting is performed to indicate that the strong thunderstorm is expected to reach the area within 1-2 hours in the future, and when an ultra-strong thunderstorm occurs, a pop-up window and voice prompting is performed to indicate that the ultra-strong thunderstorm is expected to reach the area within 1-2 hours in the future, as shown in fig. 6, the pop-up window prompting interface of the embodiment is shown in the embodiment, the pop-up window prompting is specifically to inquire whether to disconnect the power supply of the equipment while the thunderstorm warning is performed, if the user selects to disconnect, the next step is performed, and if the user selects not to disconnect, the target equipment needing to be disconnected is selected by the user from the running electric equipment;
step 103: determining the execution time for sending the power-off control instruction to the target equipment needing power-off according to the expected arrival time of the thunderstorm in the thunderstorm early warning information so as to control the target equipment to be powered off according to preset time, and only powering off when the thunderstorm comes, without powering off too early, so as to avoid influencing the normal use of electric equipment by a user, wherein the target equipment is the electric equipment needing power-off determined according to the grade of the thunderstorm in the thunderstorm early warning information;
in this embodiment, the super-strong thunderstorm is prompted to be expected to arrive at the area in 1 to 2 hours in the future, so that the execution time of sending the power-off control instruction to the target device needing power-off is 1 hour later, that is, the target device is scheduled to be powered off after 1 hour;
step 104: automatically sending the power-off control instruction to target equipment needing power-off according to a preset power-off scheme, and controlling the target equipment to be powered off;
step 104.1: acquiring the information of the running electric equipment based on the electric equipment successfully distributed in the same network;
for example, in this embodiment, the running electrical equipment among the electrical equipment that has successfully acquired the distribution network includes a disinfection cabinet, an air purifier, a kettle, and a water heater;
step 104.2: matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
in this embodiment, the preset power-off schemes corresponding to the thunderstorm levels include a preset power-off scheme corresponding to an ultra-strong thunderstorm and/or a preset power-off scheme corresponding to a strong thunderstorm, because in case of a mild thunderstorm, power is not cut off, only a thunderstorm early warning prompt is performed, and in case of a strong thunderstorm and an ultra-strong thunderstorm, not only a prompt is required, but also a power-off of a corresponding control target device is required, according to the prompted ultra-strong thunderstorm, the preset power-off schemes corresponding to the ultra-strong thunderstorm are matched, that is, in case of the ultra-strong thunderstorm, all household appliances successfully distributed in a network are automatically disconnected;
step 104.3: judging whether the running electrical equipment is controlled equipment in the preset power-off scheme, if so, judging that the electrical equipment is target equipment needing power-off, and if not, judging that the electrical equipment does not need power-off;
in this embodiment, all the household electrical appliances successfully distributed in the network are automatically disconnected during a super-strong thunderstorm, wherein the operating disinfection cabinet, the air purifier, the kettle and the water heater all belong to controlled devices in a preset power-off scheme corresponding to the super-strong thunderstorm, and therefore the disinfection cabinet, the air purifier, the kettle and the water heater all need to be powered off;
step 104.4: when the electrical equipment is judged to be the target equipment needing power off, the power off control instruction is sent to the target equipment needing power off through Bluetooth or WiFi to control the target equipment to be powered off;
in the embodiment, the preset target equipment is powered off after 1 hour, so that power-off control instructions are respectively sent to the disinfection cabinet, the air purifier, the kettle and the water heater after 1 hour to be powered off;
step 105: acquiring thunderstorm early warning release information to control the target equipment powered off due to the thunderstorm to recover power utilization;
step 105.1: acquiring thunderstorm early warning removal information, prompting and generating a power-on control instruction according to the thunderstorm early warning removal information, wherein the prompting mode comprises at least one of message prompting, pop-up window prompting, short message prompting and voice prompting;
step 105.2: the power-on control instruction is sent to the target equipment powered off due to thunderstorm through Bluetooth or WiFi to control the target equipment to recover power utilization, so that the problems that food is easy to deteriorate due to long-time power failure of electric appliances such as a refrigerator can be solved.
The method for protecting power-off of equipment based on thunderstorm early warning provided by the embodiment is used for protecting the power-off of the equipment in an automatic mode, and the household appliances which are powered off correspondingly to which level is preset in a unified manner, and the thunderstorm only needs to automatically power off the corresponding electric appliances according to the setting when the thunderstorm comes; according to the thunderstorm early warning system in the prior art, information of the approaching of the thunderstorm is known in advance, the thunderstorm early warning system sends the thunderstorm early warning information to electronic equipment used by a user, the running state of the equipment in a user family is combined, and according to different preset power-off schemes corresponding to different thunderstorm grades established in advance, more intelligent, more humanized and more targeted emergency response instructions are provided.
Example two
Referring to fig. 2 and fig. 4, the present embodiment further provides a method for protecting a power failure of an electronic device based on a thunderstorm warning based on a first embodiment, where the method, when applied to the electronic device, performs the following steps:
step 201: establishing a preset power-off scheme corresponding to the thunderstorm grade on a human-computer interaction interface of the electronic equipment;
step 201.1: acquiring and displaying electric equipment which is successfully distributed in a network on a human-computer interaction interface of the electronic equipment;
in this embodiment, as shown in the schematic diagram of the human-computer interaction interface shown in fig. 4, "\8230"; "the symbol is more operation icons of the smart home app in this embodiment, including a white list of home devices that are set in a thunderstorm to temporarily disallow automatic power off control, for example, an air purifier is added to the white list;
step 201.2: according to different thunderstorm grades, different electrical equipment is added into a power-off equipment list corresponding to the thunderstorm grades, and a preset power-off scheme corresponding to the thunderstorm grades is established;
step 202: acquiring thunderstorm early warning information, correspondingly performing thunderstorm early warning prompt according to the thunderstorm grade in the thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information, wherein the thunderstorm early warning information comprises the thunderstorm grade and the predicted arrival time of the thunderstorm;
step 203: determining the execution time for sending the power-off control instruction to the target equipment needing power-off according to the predicted thunderstorm arrival time in the thunderstorm early warning information so as to control the target equipment to power off according to preset time, wherein the target equipment is the electric equipment needing power-off determined according to the thunderstorm grade in the thunderstorm early warning information;
step 204: automatically sending the power-off control instruction to target equipment needing power-off according to a preset power-off scheme, and controlling the target equipment to be powered off;
step 204.1: acquiring the information of the running electric equipment based on the electric equipment successfully distributed in the same network;
step 204.2: matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
step 204.3: judging whether the running electrical equipment is controlled equipment in the preset power-off scheme or not;
when the running electrical equipment is the controlled equipment in the preset power-off scheme, further judging whether the electrical equipment is allowed to be powered off in the preset time, if so, judging that the electrical equipment is the target equipment needing power-off, otherwise, judging that the electrical equipment does not need power-off;
when the running electrical equipment is not the controlled equipment in the preset power-off scheme, judging that the electrical equipment does not need to be powered off;
in this embodiment, adding the air purifier to the white list indicates that the air purifier is an electrical device that is temporarily not allowed to be powered off in the predetermined time due to a thunderstorm, and therefore, when the thunderstorm is ultra-strong, although the preset power-off scheme is to automatically turn off all the electrical devices that are successfully distributed in the network, that is, the disinfection cabinet, the air purifier, the kettle and the water heater which are in operation all belong to controlled devices in the preset power-off scheme corresponding to the ultra-strong thunderstorm, because the air purifier is not allowed to be powered off in the predetermined time, only the disinfection cabinet, the kettle and the water heater need to be powered off;
step 204.4: when the electrical equipment is judged to be the target equipment needing power failure, sending the power failure control instruction to the target equipment needing power failure, and controlling the target equipment to be powered off;
in the embodiment, a power-off control instruction is sent to the disinfection cabinet, the kettle and the water heater after 1 hour to power off;
step 205: acquiring thunderstorm early warning relieving information to control target equipment powered off due to the thunderstorm to recover power utilization;
step 205.1: acquiring thunderstorm early warning removal information, prompting and generating a power-on control instruction according to the thunderstorm early warning removal information;
step 205.2: and sending the power-on control instruction to target equipment powered off by thunderstorm, and controlling the target equipment to recover power utilization, so that the problems that food is easy to deteriorate due to long-time power failure and the like can be avoided aiming at timely recovering power utilization of electric appliances such as refrigerators.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the detailed description of this embodiment is not repeated herein.
The equipment power-off protection method based on thunderstorm early warning provided by the embodiment is equipment power-off protection in an automatic mode, and the household appliances corresponding to power-off of which grade are preset in a unified mode.
EXAMPLE III
Referring to fig. 3, fig. 7 and fig. 8, the present embodiment further provides a method for protecting a power-off device based on a thunderstorm warning, which is applicable to an electronic device, based on the first embodiment, and when the method is applied to the electronic device, the method performs the following steps:
step 301: acquiring thunderstorm early warning information, correspondingly performing thunderstorm early warning prompt according to the thunderstorm grade in the thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information, wherein the thunderstorm early warning information comprises the thunderstorm grade and the predicted arrival time of the thunderstorm;
specifically, the thunderstorm warning information can be acquired from the existing thunderstorm warning system, the thunderstorm warning prompt is correspondingly performed according to the thunderstorm grade in the thunderstorm warning information, whether the power supply of the equipment is disconnected or not is inquired while the thunderstorm warning prompt is performed in a pop-up window prompt interface shown in fig. 6, if the user selects to disconnect, the next step is performed corresponding to the step of the first embodiment, and if the user selects not to disconnect, the next step is performed according to the first embodiment;
step 302: sending the power-off control instruction to target equipment needing power-off to control the target equipment to be powered off;
step 302.1: acquiring information of running electrical equipment in the network based on the electrical equipment successfully distributed in the same network, wherein the running electrical equipment is sequentially displayed according to the power of the electrical equipment and/or the running electrical equipment is respectively displayed according to the use scene of the electrical equipment;
in this embodiment, in an electrical device acquisition interface schematic diagram shown in fig. 7 on the smart home app, electrical devices that are successfully distributed in the same network are searched for, and running electrical devices are obtained and displayed, and are sequentially displayed according to the power of the electrical devices or are respectively displayed according to the use scenes of the electrical devices, so that the electrical devices in a living room or a bedroom scene can be clearly seen by a user;
step 302.2: selecting the electrical equipment corresponding to the thunderstorm grade in the thunderstorm early warning information from the running electrical equipment as target equipment needing power failure;
in this embodiment, when the displayed home appliances are sequentially displayed according to the power levels, selecting the appliance corresponding to the thunderstorm level in the thunderstorm warning information specifically includes: selecting electrical equipment with power-off power more than or equal to 1200W when the thunderstorm grade is mild thunderstorm, selecting electrical equipment with power-off power more than or equal to 800W when the thunderstorm grade is strong thunderstorm, and selecting electrical equipment with power-off power more than or equal to 500W when the thunderstorm grade is super-strong thunderstorm; when the displayed household appliances are respectively displayed according to the use scene, the household appliances in the whole living room scene can be directly selected and powered off; the specific target equipment needing power-off is manually selected by a user, and only the power-off disinfection cabinet is selected as an electrical equipment selection interface shown in fig. 8;
step 302.3: sending the power-off control instruction to target equipment needing power-off to control the target equipment to be powered off;
step 303: acquiring thunderstorm early warning relieving information to control target equipment powered off due to the thunderstorm to recover power utilization;
step 303.1: acquiring thunderstorm early warning release information, prompting and generating a power-on control instruction according to the thunderstorm early warning release information;
step 303.2: and sending the power-on control instruction to target equipment powered off by thunderstorm, and controlling the target equipment to recover power utilization, so that the problems that food is easy to deteriorate and the like due to long-time power failure of electric appliances such as refrigerators can be solved.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the detailed description of this embodiment is not repeated herein.
The equipment power-off protection method based on thunderstorm early warning that this embodiment provided is the equipment power-off protection who goes on under manual mode, and the thunderstorm comes the electrical equipment outage of interim to user's self-selection, and the alternative carries out manual outage to tame electric installation, makes the method more have controllability and expansibility.
Example four
The present embodiments provide a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., having stored thereon a computer program which, when executed by a processor, may implement the following method steps:
step 401: establishing a preset power-off scheme corresponding to the thunderstorm grade on a human-computer interaction interface of the electronic equipment;
step 401.1: acquiring and displaying electric equipment which is successfully distributed in a network on a human-computer interaction interface of the electronic equipment;
step 401.2: according to different thunderstorm grades, different electrical equipment is added into a power-off equipment list corresponding to the thunderstorm grades, and a preset power-off scheme corresponding to the thunderstorm grades is established;
step 402: acquiring thunderstorm early warning information, correspondingly performing thunderstorm early warning prompt according to the thunderstorm grade in the thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information, wherein the thunderstorm early warning information comprises the thunderstorm grade and the predicted arrival time of the thunderstorm;
step 403: determining the execution time for sending the power-off control instruction to the target equipment needing power-off according to the predicted thunderstorm arrival time in the thunderstorm early warning information so as to control the target equipment to power off according to preset time, wherein the target equipment is the electric equipment needing power-off determined according to the thunderstorm grade in the thunderstorm early warning information;
step 404: automatically sending the power-off control instruction to target equipment needing power-off according to a preset power-off scheme, and controlling the target equipment to be powered off;
step 404.1: acquiring the information of the running electric equipment based on the electric equipment successfully distributed in the same network;
step 404.2: matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
step 404.3: judging whether the running electrical equipment is controlled equipment in the preset power-off scheme, if so, judging that the electrical equipment is target equipment needing power-off, and if not, judging that the electrical equipment does not need power-off;
step 404.4: when the electrical equipment is judged to be target equipment needing power failure, sending the power failure control instruction to the target equipment needing power failure, and controlling the target equipment to power off;
step 405: acquiring thunderstorm early warning release information to control the target equipment powered off due to the thunderstorm to recover power utilization;
step 405.1: acquiring thunderstorm early warning removal information, prompting and generating a power-on control instruction according to the thunderstorm early warning removal information;
step 405.2: and sending the power-on control instruction to target equipment powered off by thunderstorm, and controlling the target equipment to recover power utilization, so that the problems that food is easy to deteriorate and the like due to long-time power failure of electric appliances such as refrigerators can be solved.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the detailed description of this embodiment is not repeated herein.
EXAMPLE five
The embodiment provides an electronic device, which may be a mobile phone, a computer, a tablet computer, or the like, and includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, implements the method for protecting the power failure of the device based on the thunderstorm warning according to the first embodiment. It is understood that the electronic device may also include multimedia components, input/output (I/O) interfaces, and communication components.
The processor is used for executing all or part of the steps of the method for protecting the power-off of the equipment based on the thunderstorm warning in the embodiment one. The memory is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
The Processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to execute the method for protecting a Device from power outage based on thunderstorm warning in the first embodiment.
The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically Erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
The multimedia component may include a screen, which may be a touch screen, and an audio component for outputting and/or inputting an audio signal. For example, the audio component may include a microphone for receiving an external audio signal. The received audio signal may further be stored in a memory or transmitted through a communication component. The audio assembly also includes at least one speaker for outputting audio signals.
The I/O interface provides an interface between the processor and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
The communication component is used for carrying out wired or wireless communication between the electronic equipment and other equipment. Wireless Communication, such as Wi-Fi, bluetooth, near Field Communication (NFC for short), 2G, 3G or 4G, or a combination of one or more of them, and thus the corresponding Communication component 405 may include: wi-Fi module, bluetooth module, NFC module.
In summary, according to the power-off protection method for the equipment based on the thunderstorm early warning, the storage medium and the electronic equipment provided by the invention, the electrical equipment needing power-off is determined according to the thunderstorm grade in the obtained thunderstorm early warning information, the power-off control instruction is correspondingly generated and sent to the target equipment, the power-off of the target equipment is automatically controlled, the power-off protection is timely adopted for the electrical equipment, the electrical equipment is prevented from being damaged by the thunderstorm weather, the life and property safety of people is protected, the occurrence of potential safety hazards is reduced, the safety of an intelligent home system is improved, and the interaction experience of users is optimized; by establishing the preset power-off scheme corresponding to the thunderstorm grade and controlling the corresponding target equipment to power off after matching the corresponding preset power-off scheme according to the thunderstorm grade, the power off of the electrical equipment can be controlled correspondingly aiming at different thunderstorm grades temporarily, the more intelligent, more humanized and more targeted preset power-off scheme is provided, and the damage of the thunderstorm is prevented and controlled in advance.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The system and method embodiments described above are exemplary only.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention have been described above, the above description is only for the purpose of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A power-off protection method for equipment based on thunderstorm early warning is characterized by comprising the following steps:
acquiring thunderstorm early warning information, and generating a power-off control instruction according to the thunderstorm early warning information;
acquiring running electrical equipment information;
matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
judging whether the running electrical equipment is controlled equipment in the preset power-off scheme;
when the running electrical equipment is the controlled equipment in the preset power-off scheme, further judging whether the electrical equipment is allowed to be powered off in preset time, if so, judging that the electrical equipment is the target equipment needing power-off, otherwise, judging that the electrical equipment does not need power-off; determining the execution time for sending the power-off control instruction to the target equipment needing power-off according to the expected arrival time of the thunderstorm in the thunderstorm early warning information so as to control the target equipment to power off according to preset time;
when the running electrical equipment is not the controlled equipment in the preset power-off scheme, judging that the electrical equipment does not need to be powered off;
and sending the power-off control instruction to target equipment needing power-off, and controlling the target equipment to be powered off, wherein the target equipment is the electrical equipment needing power-off determined according to the thunderstorm grade in the thunderstorm early warning information.
2. The method for protecting equipment against power failure based on thunderstorm warning according to claim 1, wherein before sending the power failure control command to the target equipment needing power failure, the method further comprises:
acquiring information of running electrical equipment;
matching a corresponding preset power-off scheme according to the thunderstorm grade in the thunderstorm early warning information;
and judging whether the running electrical equipment is controlled equipment in the preset power-off scheme, if so, judging that the electrical equipment is target equipment needing power-off, and if not, judging that the electrical equipment does not need power-off.
3. The method for protecting equipment against power outage based on thunderstorm warning according to claim 2, wherein the preset power outage scheme corresponding to the thunderstorm level is established by the following steps:
and adding different electrical equipment into a power-off equipment list corresponding to the thunderstorm grade according to different thunderstorm grades.
4. The method for protecting equipment against power failure based on thunderstorm warning according to claim 1, wherein before sending the power failure control command to the target equipment needing power failure, the method further comprises:
acquiring running electrical equipment information;
and selecting the electrical equipment corresponding to the thunderstorm grade in the thunderstorm early warning information from the running electrical equipment as target equipment needing power failure.
5. The method for protecting equipment against power outage based on the thunderstorm warning according to claim 4, wherein the method further comprises:
sequentially displaying the running electrical equipment according to the power of the electrical equipment; and/or respectively displaying the running electrical equipment according to the use scenes of the electrical equipment.
6. The method of claim 1, further comprising:
acquiring thunderstorm early warning removal information, and generating a power-on control instruction according to the thunderstorm early warning removal information;
and sending the power-on control instruction to target equipment powered off due to thunderstorm, and controlling the target equipment to recover power utilization.
7. A storage medium having stored thereon a computer program executable by one or more processors to implement the method for power-off protection of a device based on thunderstorm warning as claimed in any one of claims 1 to 6.
8. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the method for protecting power of a device based on thunderstorm warning according to any one of claims 1 to 6.
CN202010784871.2A 2020-08-06 2020-08-06 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment Active CN111987691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010784871.2A CN111987691B (en) 2020-08-06 2020-08-06 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010784871.2A CN111987691B (en) 2020-08-06 2020-08-06 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111987691A CN111987691A (en) 2020-11-24
CN111987691B true CN111987691B (en) 2022-11-22

Family

ID=73445303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010784871.2A Active CN111987691B (en) 2020-08-06 2020-08-06 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111987691B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113192242B (en) * 2021-03-31 2022-03-04 北京三快在线科技有限公司 Charging cabinet control method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426301A (en) * 2011-09-14 2012-04-25 国网电力科学研究院武汉南瑞有限责任公司 Early warning method of overhead transmission line lightning strike flashover
US8593289B1 (en) * 2011-05-09 2013-11-26 Richard Alan Carlisle System and method for the detection of severe weather conditions
CN104124993A (en) * 2014-07-29 2014-10-29 武汉钢铁(集团)公司 Thunder and lightning warning device and communication base station
CN106707371A (en) * 2016-11-21 2017-05-24 深圳市气象服务中心 Lightning monitoring early-warning and alert service system and early warning method thereof
CN107544417A (en) * 2017-09-28 2018-01-05 北京小米移动软件有限公司 Smart jack control method and device
CN108832593A (en) * 2018-07-09 2018-11-16 安徽诚意电气科技有限公司 A kind of security appliance means of defence based on Lightning Warning
CN109738970A (en) * 2018-12-07 2019-05-10 国网江苏省电力有限公司电力科学研究院 Method, device and storage medium for realizing lightning early warning based on lightning data mining
CN110618474A (en) * 2019-10-24 2019-12-27 广东省气象公共安全技术支持中心 Lightning monitoring and early warning method and system based on multi-source data
CN111427101A (en) * 2020-04-07 2020-07-17 江苏省气象科学研究所 Thunderstorm strong wind grading early warning method, system, storage medium and computer program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8593289B1 (en) * 2011-05-09 2013-11-26 Richard Alan Carlisle System and method for the detection of severe weather conditions
CN102426301A (en) * 2011-09-14 2012-04-25 国网电力科学研究院武汉南瑞有限责任公司 Early warning method of overhead transmission line lightning strike flashover
CN104124993A (en) * 2014-07-29 2014-10-29 武汉钢铁(集团)公司 Thunder and lightning warning device and communication base station
CN106707371A (en) * 2016-11-21 2017-05-24 深圳市气象服务中心 Lightning monitoring early-warning and alert service system and early warning method thereof
CN107544417A (en) * 2017-09-28 2018-01-05 北京小米移动软件有限公司 Smart jack control method and device
CN108832593A (en) * 2018-07-09 2018-11-16 安徽诚意电气科技有限公司 A kind of security appliance means of defence based on Lightning Warning
CN109738970A (en) * 2018-12-07 2019-05-10 国网江苏省电力有限公司电力科学研究院 Method, device and storage medium for realizing lightning early warning based on lightning data mining
CN110618474A (en) * 2019-10-24 2019-12-27 广东省气象公共安全技术支持中心 Lightning monitoring and early warning method and system based on multi-source data
CN111427101A (en) * 2020-04-07 2020-07-17 江苏省气象科学研究所 Thunderstorm strong wind grading early warning method, system, storage medium and computer program

Also Published As

Publication number Publication date
CN111987691A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
KR102572697B1 (en) Apparatus and method for power management of a system comprising a plurality of device
US10514400B2 (en) Method for monitoring power and power monitoring apparatus
JP5850240B2 (en) Power management equipment
CN109489159B (en) Electric control method and control system for photovoltaic air conditioner
CN109428315B (en) Self-adaptive protection method, device and system
CN105467846A (en) Intelligent household appliance control method and system
KR101456318B1 (en) Load control method for load contol apparatus
CN111987691B (en) Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment
CN105242558A (en) Control method and equipment for household electric appliance, household electric appliance and client equipment
CN105137779A (en) Information processing method and smart home environment control equipment
US11271768B2 (en) Disaster-prevention-information-associated control device, disaster-prevention-information-associated control system, and disaster-prevention-information-associated control method
KR20200051515A (en) Multi-tap control method and device
JP2017103985A (en) Measuring system
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
KR101692533B1 (en) System and method of predicting power usage
CN104808497A (en) Information processing method and first electronic device
CN210951735U (en) Air conditioning equipment
JP2019004564A (en) Control apparatus
CN104461311A (en) Information processing method and electronic equipment
US20130307335A1 (en) Device and method for changing a power consumption profile of at least one person in a house or a residential unit having a distribution network
CN113993191A (en) NB-IOT signal transmission control method, NB-IOT signal transmission control device, storage medium and electronic equipment
KR101317853B1 (en) System and method to shut off power supply based on electric reserve rate and frequency
US10168671B2 (en) Energy management system, energy management apparatus, terminal, and energy management method
JP6631870B2 (en) Power management system, power management device, power management method, and program
CN111868642A (en) Control of household appliances arranged in external areas

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant