A thunderstorm warning-based device anti-power-off protection method
By comprehensively considering housing and thunderstorm warning information to generate a danger index, the problem of the inability to personalize the power outage control of household appliances in existing technologies has been solved, and precise protection of appliances has been achieved during thunderstorms.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ANHUI HAOYUAN CHEM IND GRP
- Filing Date
- 2023-12-06
- Publication Date
- 2026-06-26
AI Technical Summary
Existing thunderstorm warning methods cannot provide personalized power-off control for household appliances based on actual environmental conditions, causing inconvenience to users.
By acquiring information about the building, thunderstorm warnings, and electrical appliances, and taking into account factors such as whether the target building has a lightning protection system, the building height, the height and distance of surrounding buildings, and the thunderstorm level, a danger index is generated. Based on the danger index, a power outage command is generated to determine whether to cut off the power to household appliances.
It enables personalized power-off control of home appliances based on actual environmental conditions, reducing unnecessary appliance shutdowns, improving user convenience, and protecting electrical equipment.
Smart Images

Figure CN117791484B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of natural disaster prevention and relates to natural disaster prevention technology, specifically a method for protecting equipment from power outages based on thunderstorm early warning. Background Technology
[0002] A thunderstorm warning is a forecast and announcement issued by meteorological departments based on observed and analyzed weather data, predicting and explaining the conditions and potential impacts of thunderstorms. Thunderstorm warnings typically include information such as the intensity, duration, direction of movement, and potential area of impact of the thunderstorm, to remind the public to take appropriate measures to prevent and respond to thunderstorm weather.
[0003] Existing technology (invention patent publication number CN111987691B) discloses a device power-off protection method, storage medium, and electronic device based on thunderstorm warning. This method is used for power-off protection control of electrical equipment during thunderstorms, solving the problems of existing protection methods being too absolute and lacking personalized settings, causing inconvenience to users. The method includes: acquiring thunderstorm warning information, generating a power-off control command based on the thunderstorm warning information, and sending the power-off control command to a target device to control the target device to lose power. The target device is an electrical device that needs to be powered off based on the thunderstorm level determined in the thunderstorm warning information. This invention provides timely power-off protection for electrical equipment, preventing damage from thunderstorms, protecting people's lives and property, reducing safety hazards, and improving the security of smart home systems.
[0004] The aforementioned thunderstorm warning and protection methods control the power outage of household appliances based on thunderstorm warnings, the type of household appliances, and user commands. While personalized settings are possible during thunderstorm warnings, the environment of a user's home is a significant factor influencing whether it will be struck by lightning. Factors such as the altitude of the residence, the height of the building, the presence or absence of lightning protection systems, and the varying risk of lightning strikes to different household appliances (some are only indoors, while others have parts indoors and parts outdoors) all contribute to the risk of lightning strikes. Current thunderstorm warning methods only control power outages based on the warning and appliance type, failing to consider actual environmental conditions and causing inconvenience to users. Summary of the Invention
[0005] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a device power outage protection method based on thunderstorm warning, which solves the technical problem that existing thunderstorm warning methods can only control whether household appliances are powered off based on thunderstorm warnings and the types of household appliances, and cannot cut off household appliances according to actual environmental conditions, causing inconvenience to users. This invention solves the above problem by comprehensively considering the target house and the surrounding environmental conditions to determine whether to cut off the power to household appliances and which household appliances to cut off the power to.
[0006] To achieve the above objectives, a first aspect of the present invention provides a method for protecting equipment from power outages based on thunderstorm early warning, comprising the following steps:
[0007] S1: Obtain housing information and generate risk factor one and risk factor two based on the housing information; wherein, housing information includes whether the housing has a lightning protection system installed and the height of the housing, as well as the height and distance of other buildings within a fixed range of the target housing from the target housing; the target housing is all the housings tested in this application;
[0008] S2: Obtain thunderstorm warning information and generate a hazard factor of 3 based on the thunderstorm warning information; the thunderstorm warning includes thunderstorm level, thunderstorm area and thunderstorm time; the thunderstorm level includes three levels: Level 1 thunderstorm is a yellow warning signal, Level 2 thunderstorm is an orange warning signal and Level 3 thunderstorm is a red warning signal;
[0009] S3: Generate a hazard index based on hazard factor one, hazard factor two, and hazard factor three;
[0010] S4: Obtain appliance information and classify household appliances according to the appliance information; the appliance information includes the installation components and power supply method of the household appliances; the installation components include indoor components and outdoor components; the power supply method includes independent power supply and non-independent power supply; independent power supply refers to household appliances with internal power supply batteries that do not need to be connected to the indoor power supply line, and non-independent power supply refers to household appliances that need to be connected to the indoor power supply line;
[0011] S5: Generate a power-off command based on the hazard index and electrical appliance information; the power-off command includes a first-level power-off command and a second-level power-off command;
[0012] S6: Obtain the warning cancellation signal and restore power to household appliances based on the warning cancellation signal.
[0013] During thunderstorms, the surrounding environment is a crucial factor in determining whether a house is susceptible to lightning strikes. This invention comprehensively considers factors such as whether the target house has a lightning protection system, its height, the height and distance of other surrounding houses, and the thunderstorm level and area in the thunderstorm warning information to assess the risk of the target house being struck by lightning during a thunderstorm. Furthermore, based on the electrical information of household appliances, it determines whether to disconnect power to the corresponding appliances under specific risk conditions and restore power to them upon receiving a warning signal. This allows for power disconnection of household appliances according to actual environmental conditions, bringing convenience to users.
[0014] Preferably, generating risk factor one and risk factor two based on the building information includes:
[0015] S11: Extract housing information;
[0016] S12: Determine whether the target house in the house information has a lightning protection system installed, and set the risk factor to one based on the determination result;
[0017] S13: Calculate the risk factor two based on the height of other buildings within a fixed range of the target building and their distance from the target building.
[0018] Preferably, setting the risk factor one based on the judgment result includes:
[0019] Mark the risk level as WX1; determine whether the target building has a lightning protection system installed.
[0020] Yes, then set the risk factor to WX1 = 0;
[0021] No, then set the risk factor to WX1 = 1.
[0022] This invention takes into account whether the target house is equipped with a lightning protection device in the risk index. When the house is equipped with a lightning protection device, the impact of thunderstorms on the household appliances in the target house is relatively small, and the corresponding household appliances do not need to be turned off. This invention can control the household appliances in the target house according to the situation of the target house, so that the household appliances do not need to be turned off unless necessary.
[0023] Preferably, the calculation to obtain the risk factor two includes:
[0024] Get the height of the target house and mark it as MG; get the heights of other houses within a fixed range of the target house and mark them as QHi; get the distance between the target house and the corresponding other houses and mark it as JLi; set the unit distance for the distance between houses and mark it as JD;
[0025] The risk factor WX2 is calculated using the formula WX2=∑[α1×JD / JLi+α2×EXP(-γ×QHi / MG)] / n; where γ is the proportional coefficient; α1 and α2 are weighting coefficients, and α1>α2; i=1,2,…,n; i is the label of other houses, and n is the number of other houses in the fixed area overlapping with the target house in the thunderstorm area.
[0026] This invention incorporates the height of surrounding buildings and their distance from the target building into the risk index. Specifically, if the surrounding buildings are taller and closer to the target building, the risk of the target building being struck by lightning is lower, and vice versa. By taking these factors into account, the risk index becomes more accurate.
[0027] It is worth noting that, in another embodiment, when the distance between houses is less than a set distance threshold or when there is a metal device in the air connecting the two houses, it is necessary to calculate the danger index of the two houses and assign the danger index of the house with the higher danger index to the house with the lower danger index; wherein the distance between houses is the shortest horizontal distance between adjacent walls of the two houses.
[0028] Preferably, the step of generating a hazard factor three based on thunderstorm warning information includes:
[0029] S21: Extract thunderstorm warning information and mark the thunderstorm level as DJ;
[0030] S22: The risk factor WX3 is calculated using the formula WX3 = DJ / 3.
[0031] This invention incorporates thunderstorm warning information into the hazard index, allowing for the determination of whether to cut off power to corresponding household appliances based on the thunderstorm level, thus further increasing the reliability of the hazard index.
[0032] Preferably, the step of generating a hazard index based on hazard factor one (WX1), hazard factor two (WX2), and hazard factor three (WX3) includes:
[0033] Obtain risk factor 1 (WX1), risk factor 2 (WX2), and risk factor 3 (WX3);
[0034] The risk index WZ is calculated using the formula WZ = β1 × WX1 + β2 × WX2 + β3 × WX3; where β1, β2, and β3 are weighting coefficients, and β1 > β2 > β3.
[0035] This invention comprehensively considers whether the target house has a lightning protection system, the height of the house, the height and distance of other houses around the target house, as well as the thunderstorm level and thunderstorm area in the thunderstorm warning information, in order to make the risk index of the target house being struck by lightning during thunderstorms highly reliable.
[0036] Preferably, the classification of household appliances based on appliance information includes:
[0037] Determine if the installation components of the household appliance include outdoor components;
[0038] If so, then the household appliance shall be classified as a hazardous device;
[0039] If not, determine whether the household appliance is independently powered; if the household appliance is independently powered, then set the household appliance as a secondary dangerous device; otherwise, set it as a safe device.
[0040] This invention classifies household appliances into hazardous equipment, secondary hazardous equipment, and safe equipment based on whether they have outdoor components and whether they can be powered independently, enabling accurate power cut-off for household appliances.
[0041] Preferably, the step of generating a power-off command based on the hazard index and electrical appliance information includes:
[0042] Set a hazard threshold WY; determine whether the hazard index WX is less than the risk threshold WY;
[0043] If yes, then a level one power-off command will be generated;
[0044] No, then a level 2 power-off command will be generated;
[0045] The first-level power-off command is used to disconnect the power to hazardous equipment; the second-level power-off command is used to disconnect the power to both hazardous and sub-hazardous equipment.
[0046] By determining whether to cut off power based on the corresponding hazard index and the classification of household appliances, and which household appliances to cut off power to, the aim is to protect the safety of homeowners while minimizing the number of appliances that need to be turned off, thus reducing the inconvenience caused to homeowners due to power outages.
[0047] Preferably, before executing the first-level or second-level power-off command, it is necessary to check whether the corresponding household appliances are in operation; if yes, the homeowner is reminded to turn off the corresponding household appliances; if no, the power-off operation is executed.
[0048] Before performing a power-off operation on household appliances, this invention detects whether the appliances are running and reminds the homeowner to turn them off, thus preventing damage to the appliances caused by sudden shutdown and protecting them.
[0049] Compared with the prior art, the beneficial effects of the present invention are:
[0050] 1. This invention comprehensively considers the risk index of a target house being struck by lightning during a thunderstorm, taking into account whether the target house has a lightning protection system, the height of the house, the height and distance of other houses around the target house, and the thunderstorm level and thunderstorm area in the thunderstorm warning information. Then, based on the electrical information of household appliances, it determines whether to cut off the power to the corresponding household appliances under specific risk index conditions, and restores the power supply to the corresponding household appliances after receiving a contact warning signal. It can cut off the power to household appliances according to the actual environmental conditions, so as to protect the safety of the homeowner while minimizing the number of household appliances that need to be turned off, thus reducing the inconvenience caused to the homeowner due to power outages.
[0051] 2. Before performing a power-off operation on a household appliance, this invention detects whether the appliance is running and reminds the homeowner to turn it off, thus preventing damage to the appliance caused by sudden shutdown and protecting it. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a diagram illustrating the steps of the method of the present invention;
[0054] Figure 2 This is a flowchart of the steps for generating the hazard index in this invention;
[0055] Figure 3 Flowchart for generating the power outage index. Detailed Implementation
[0056] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0057] Example 1
[0058] Please see Figures 1-3The first aspect of this invention provides a method for protecting equipment from power outages based on thunderstorm early warning, comprising the following steps:
[0059] S1: Obtain building information and generate risk factor one and risk factor two based on the building information; the building information includes whether the building has a lightning protection system installed and the building height, as well as the height and distance of other buildings within a fixed range of the target building; the target building is all the buildings tested in this application;
[0060] S2: Obtain thunderstorm warning information and generate a hazard factor of 3 based on the thunderstorm warning information; the thunderstorm warning includes thunderstorm level, thunderstorm area and thunderstorm time; the thunderstorm level includes three levels: Level 1 thunderstorm is a yellow warning signal, Level 2 thunderstorm is an orange warning signal and Level 3 thunderstorm is a red warning signal;
[0061] S3: Generate a hazard index based on hazard factor one, hazard factor two, and hazard factor three;
[0062] S4: Obtain appliance information and classify household appliances according to the appliance information; appliance information includes the installation components and power supply method of household appliances; installation components include indoor components and outdoor components, such as the outdoor unit of an air conditioner; power supply method includes independent power supply and non-independent power supply; independent power supply refers to household appliances with internal power supply batteries that do not need to be connected to the indoor power supply line, such as mobile phones and robot vacuum cleaners, while non-independent power supply refers to household appliances that need to be connected to the indoor power supply line, such as televisions and refrigerators;
[0063] S5: Generates a power-off command based on the hazard index and electrical appliance information; the power-off command includes a first-level power-off command and a second-level power-off command.
[0064] S6: Obtain the warning cancellation signal and restore power to household appliances based on the warning cancellation signal.
[0065] During thunderstorms, the surrounding environment is a crucial factor in determining whether a house is susceptible to lightning strikes. This invention comprehensively considers factors such as whether the target house has a lightning protection system, its height, the height and distance of other surrounding houses, and the thunderstorm level and area in the thunderstorm warning information to assess the risk of the target house being struck by lightning during a thunderstorm. Furthermore, based on the electrical information of household appliances, it determines whether to disconnect power to the corresponding appliances under specific risk conditions and restore power to them upon receiving a warning signal. This allows for power disconnection of household appliances according to actual environmental conditions, bringing convenience to users.
[0066] Based on the building information, risk factor one and risk factor two are generated, including:
[0067] S11: Extract housing information;
[0068] S12: Determine whether the target house in the house information has a lightning protection system installed, and set the risk factor to one based on the determination result;
[0069] S13: Calculate the risk factor two based on the height of other buildings within a fixed range of the target building and their distance from the target building.
[0070] Installing a lightning protection system on a building means that when a building is struck by lightning, the lightning current is guided to the ground, which can protect the building and people from lightning damage to a certain extent. Taking the installation of a lightning protection system into account in the calculation of the risk index can make life easier for homeowners who have installed such systems.
[0071] The height of other buildings within a fixed range around the target house and the distance between other buildings and the target house will affect the likelihood of the target house being struck by lightning. The taller the building, the greater the likelihood of being struck by lightning. Taking the height of the surrounding buildings and the distance between them and the target house into account in the danger index makes the danger index more accurate.
[0072] Based on the assessment results, a risk level of 1 is set, including:
[0073] Mark the risk level as WX1; determine whether the target building has a lightning protection system installed.
[0074] Yes, then set the risk factor to WX1 = 0;
[0075] No, then set the risk factor to WX1 = 1.
[0076] This invention takes into account whether the target house is equipped with a lightning protection device in the risk index. When the house is equipped with a lightning protection device, the impact of thunderstorms on the household appliances in the target house is relatively small, and the corresponding household appliances do not need to be turned off. This invention can control the household appliances in the target house according to the situation of the target house, so that the household appliances do not need to be turned off unless necessary.
[0077] The calculated risk factor two includes:
[0078] Get the height of the target house and mark it as MG; get the height of other houses within a fixed range of the target house and mark them as QHi; get the distance between the target house and the corresponding other houses and mark it as JLi; set the unit distance between the houses and mark it as JD; where the distance is the horizontal distance between the highest points of the two houses.
[0079] The risk factor WX2 is calculated using the formula WX2=∑[α1×JD / JLi+α2×EXP(-γ×QHi / MG)] / n; where γ is the proportional coefficient; α1 and α2 are weighting coefficients, and α1>α2; i=1,2,…,n; i is the label of other houses, and n is the number of other houses in the fixed area overlapping with the target house in the thunderstorm area.
[0080] This invention incorporates the height of surrounding buildings and their distance from the target building into the risk index. Specifically, if the surrounding buildings are taller and closer to the target building, the risk of the target building being struck by lightning is lower, and vice versa. By taking these factors into account, the risk index becomes more accurate.
[0081] Based on thunderstorm warning information, the risk level three includes:
[0082] S21: Obtain thunderstorm warning information and mark the thunderstorm level as DJ;
[0083] S22: The risk factor WX3 is calculated using the formula WX3 = DJ / 3.
[0084] This invention incorporates thunderstorm warning information into the hazard index, allowing for the determination of whether to cut off power to corresponding household appliances based on the thunderstorm level, thus further increasing the reliability of the hazard index.
[0085] A hazard index is generated based on hazard factor one (WX1), hazard factor two (WX2), and hazard factor three (WX3), including:
[0086] Obtain risk factor 1 (WX1), risk factor 2 (WX2), and risk factor 3 (WX3);
[0087] The risk index WZ is calculated using the formula WZ = β1 × WX1 + β2 × WX2 + β3 × WX3; where β1, β2, and β3 are weighting coefficients, and β1 > β2 > β3.
[0088] This invention comprehensively considers whether the target house has a lightning protection system, the height of the house, the height and distance of other houses around the target house, as well as the thunderstorm level and thunderstorm area in the thunderstorm warning information, in order to make the risk index of the target house being struck by lightning during thunderstorms highly reliable.
[0089] Household appliances are categorized based on their electrical information, including:
[0090] Determine if the installation components of the household appliance include outdoor components;
[0091] If so, then the household appliance shall be classified as a hazardous device;
[0092] If not, determine whether the household appliance is independently powered; if the household appliance is independently powered, then set the household appliance as a secondary dangerous device; otherwise, set it as a safe device.
[0093] This invention classifies household appliances into hazardous equipment, secondary hazardous equipment, and safety equipment based on whether they have outdoor components and whether they can be powered independently, enabling accurate power cut-off for household appliances.
[0094] Power outage commands are generated based on hazard levels and appliance information, including:
[0095] Set a hazard threshold WY; determine whether the hazard index WX is less than the risk threshold WY;
[0096] If yes, then a level one power-off command will be generated;
[0097] No, then a level 2 power-off command will be generated;
[0098] The first-level power-off command is used to disconnect the power to hazardous equipment; the second-level power-off command is used to disconnect the power to both hazardous and sub-hazardous equipment.
[0099] By determining whether to cut off power based on the corresponding hazard index and the classification of household appliances, and which household appliances to cut off power to, the aim is to protect the safety of homeowners while minimizing the number of appliances that need to be turned off, thus reducing the inconvenience caused to homeowners due to power outages.
[0100] Before executing the first-level or second-level power-off command, it is necessary to check whether the corresponding household appliances are running; if yes, remind the homeowner to turn off the corresponding household appliances; otherwise, execute the power-off operation.
[0101] Before performing a power-off operation on household appliances, this invention detects whether the appliances are running and reminds the homeowner to turn them off, thus preventing damage to the appliances caused by sudden shutdown and protecting them.
[0102] To illustrate the technical solution of this embodiment in detail, the following examples are provided:
[0103] The target house in this embodiment is equipped with a lightning protection system, i.e., WX1 = 0;
[0104] The target house has a height of MG = 20m. Within a fixed range of the target house, there are 5 other houses, i.e., n = 5. The heights of the other houses are as follows: House 1: QH1 = 14m, distance from the target house: JL1 = 6m; House 2: QH2 = 20m, distance from the target house: JL2 = 16m; House 3: QH3 = 33m, distance from the target house: JL3 = 40m; House 4: QH4 = 33m, distance from the target house: JL4 = 40m; House 5: QH5 = 20m, distance from the target house: JL5 = 6m.
[0105] Set the unit spacing distance JD = 6m; γ = 1; α1 = 0.6; α2 = 0.4;
[0106] The risk factor WX2 is approximately 0.456, calculated using the formula WX2 = ∑[α1×JD / JLi + α2×EXP(-γ×QHi / MG)] / n.
[0107] At this time, the thunderstorm warning information is a level 2 thunderstorm, i.e., DJ; the danger factor is calculated using the formula WX3 = DJ / 3, which gives WX3 ≈ 0.667.
[0108] Set β1 = 0.5, β2 = 0.2, β3 = 0.3; set the danger threshold WY = 0.4; the value of the danger threshold WY should be slightly less than the proportion of risk coefficient one, that is, when the target house does not have a lightning protection system installed, a level two power outage command will be generated; when the target house has a lightning protection system installed and other factors are not serious, a level one power outage command will be generated; when other factors are serious, a level two power outage command will be generated.
[0109] The formula WZ = β1 × WX1 + β2 × WX2 + β3 × WX3 is used to calculate WZ = 0.2913.
[0110] If the danger index WZ is less than the danger threshold WY, a level one power outage command is generated.
[0111] Example 2
[0112] Unlike the above embodiments, when the distance between houses is less than a set distance threshold or when there are metal devices in the air connecting the two houses, it is necessary to calculate the danger index of the two houses and assign the danger index of the house with the higher danger index to the house with the lower danger index; where the distance between houses is the shortest horizontal distance between adjacent walls of the two houses.
[0113] Some of the data in the above formula are calculated by removing dimensions and taking their numerical values. The formula is the closest to the real situation obtained by software simulation of a large amount of collected data. The preset parameters and preset thresholds in the formula are set by those skilled in the art according to the actual situation or obtained through simulation of a large amount of data.
[0114] Working principle of the invention:
[0115] This invention acquires information about houses, thunderstorm warnings, and electrical appliances. It sets a hazard factor one based on whether the target house has a lightning protection system; obtains a hazard factor two based on the height of other houses within a fixed range of the target house and their distance; generates a hazard factor three based on the thunderstorm warning information; categorizes household appliances based on the electrical appliance information; and then combines hazard factors one, two, and three to generate a hazard index. It generates a first-level or second-level power outage command based on the hazard index and cuts off power to the corresponding household appliances according to the command. Finally, it obtains a warning cancellation signal and restores power to the target house.
[0116] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.
Claims
1. A method for protecting equipment from power outages based on thunderstorm early warning, characterized in that, Includes the following steps: S1: Obtain building information and generate risk factor one and risk factor two based on the building information; wherein, the building information includes whether the building has a lightning protection system installed and the building height, as well as the height and distance of other buildings within a fixed range of the target building; the target building is all the buildings being detected; S2: Obtain thunderstorm warning information and generate a hazard factor of three based on the thunderstorm warning information; the thunderstorm warning includes thunderstorm level, thunderstorm area and thunderstorm time; the thunderstorm level includes three levels: Level 1 thunderstorm is a yellow warning signal, Level 2 thunderstorm is an orange warning signal and Level 3 thunderstorm is a red warning signal; S3: Generate a hazard index based on hazard factor one, hazard factor two, and hazard factor three; S4: Obtain appliance information and classify household appliances according to the appliance information; the appliance information includes the installation components and power supply method of the household appliances; the installation components include indoor components and outdoor components; the power supply method includes independent power supply and non-independent power supply; independent power supply refers to household appliances with internal power supply batteries that do not need to be connected to the indoor power supply line, and non-independent power supply refers to household appliances that need to be connected to the indoor power supply line; S5: Generate a power-off command based on the hazard index and electrical appliance information; the power-off command includes a first-level power-off command and a second-level power-off command; S6: Obtain the warning cancellation signal and restore power to household appliances based on the warning cancellation signal.
2. The method for protecting equipment from power outage based on thunderstorm early warning according to claim 1, characterized in that, The generation of risk factor one and risk factor two based on the housing information includes: S11: Extract housing information; S12: Determine whether the target house in the house information has a lightning protection system installed, and set the risk factor to one based on the determination result; S13: Calculate the risk factor two based on the height of other buildings within a fixed range of the target building and their distance from the target building.
3. The method for protecting equipment from power outage based on thunderstorm early warning according to claim 2, characterized in that, The step of setting a risk factor of 1 based on the judgment result includes: Mark the risk level as WX1; determine whether the target building has a lightning protection system installed. Yes, then set the risk factor to WX1 = 0; No, then set the risk factor to WX1=1.
4. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 3, characterized in that, The calculation to obtain the risk factor two includes: Get the height of the target house and mark it as MG; get the heights of other houses within a fixed range of the target house and mark them as QHi; get the distance between the target house and the corresponding other houses and mark it as JLi; set the unit distance for the distance between houses and mark it as JD; The risk factor WX2 is calculated using the formula WX2=∑[α1×JD / JLi+α2×EXP(-γ×QHi / MG)] / n; where γ is the proportional coefficient; α1 and α2 are weighting coefficients, and α1>α2; i=1,2,…,n; i is the label of other houses, and n is the number of other houses in the fixed area overlapping with the target house in the thunderstorm area.
5. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 4, characterized in that, The generation of hazard factor three based on thunderstorm warning information includes: S21: Extract thunderstorm warning information and mark the thunderstorm level as DJ; S22: The risk factor WX3 is calculated using the formula WX3=DJ / 3.
6. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 5, characterized in that, A hazard index is generated based on hazard factor one (WX1), hazard factor two (WX2), and hazard factor three (WX3), including: Obtain risk factor 1 (WX1), risk factor 2 (WX2), and risk factor 3 (WX3); The risk index WZ is calculated using the formula WZ=β1×WX1+β2×WX2+β3×WX3; where β1, β2 and β3 are weighting coefficients, and β1>β2>β3.
7. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 6, characterized in that, The classification of household appliances based on electrical information includes: Determine whether the installation components of household appliances include outdoor components; If so, then the household appliance shall be classified as a hazardous device; If not, determine whether the household appliance is independently powered; if the household appliance is independently powered, then set the household appliance as a secondary dangerous device; otherwise, set it as a safe device.
8. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 7, characterized in that, The process of generating a power-off command based on the hazard index and electrical appliance information includes: Set a danger threshold WY; determine whether the danger index WZ is less than the danger threshold WY; If yes, then a level one power-off command will be generated; No, then a level 2 power-off command will be generated; The first-level power-off command is used to disconnect the power to hazardous equipment; the second-level power-off command is used to disconnect the power to both hazardous and sub-hazardous equipment.
9. A method for protecting equipment from power outage based on thunderstorm early warning according to claim 8, characterized in that, Before executing the first-level or second-level power-off command, it is necessary to check whether the corresponding household appliances are running; if yes, remind the homeowner to turn off the corresponding household appliances; otherwise, execute the power-off operation.