Intelligent electricity utilization safety supervision method and system based on Internet of Things

By collecting real-time electricity consumption data and infrared data through the Internet of Things system and combining it with user location information, the system automatically disconnects appliances that have been on for too long or have abnormal on/off frequency, solving the problems of users forgetting to turn off the power to appliances and accidentally touching appliances, thus improving electricity safety.

CN120955890APending Publication Date: 2025-11-14YIKONG ZHICHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511069111.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to effectively identify and prevent electrical safety hazards and the risk of accidental contact with electrical appliances caused by users forgetting to turn off the power.

Method used

By collecting real-time electricity consumption data and infrared data through the Internet of Things system, and combining it with user location information, the system can identify and automatically disconnect the power supply when the appliance is used for too long or the frequency of operation is abnormal, thus promptly identifying and preventing bad electricity habits and accidental contact with appliances.

Benefits of technology

It enables timely identification and prevention of users' poor electricity usage habits and accidental contact with electrical appliances, improving electrical safety and reducing the risk of appliance damage and electric shock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120955890A_ABST
    Figure CN120955890A_ABST
Patent Text Reader

Abstract

The invention relates to an intelligent electricity utilization safety supervision method and system based on the Internet of Things, and relates to the field of the Internet of Things, and the method comprises the steps: 100, collecting the electricity utilization data of a user family; 101, determining a power consumption difference value in response to the power consumption data and preset historical data; 102, when the electricity utilization difference value is larger than a preset starting threshold value, infrared data of a user are collected; step 103, determining the position of the user based on the infrared data; 104, determining to start an electric appliance according to the user position and the electricity utilization difference value; step 105, determining a starting time length in response to the power utilization difference value, and determining a starting threshold value based on the starting electric appliance; 106, when the starting duration is greater than a starting threshold value, determining a power-on interface number in response to the starting electric appliance; and step 107, disconnecting the power supply of the interface with the interface number. The method and the device have the effects of improving the safety of power utilization and identifying bad power utilization habits of the user in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of the Internet of Things (IoT), and in particular to a smart electricity safety monitoring method and system based on the IoT. Background Technology

[0002] Smart electricity safety supervision is a comprehensive safety management system based on modern information technologies such as the Internet of Things, which enables real-time monitoring, intelligent analysis, risk warning, and proactive intervention of the electricity environment, equipment status, and electricity consumption behavior.

[0003] In existing technologies, various sensors such as temperature and humidity are generally used to detect various parameters of the environment, thereby timely detecting potential electrical safety hazards. Based on historical data, the development trend of the hazards can be predicted, and then electrical safety can be improved through digital means to prevent risks such as electrical fires, equipment failures, and electric shocks. At the same time, electricity efficiency can be optimized and refined management can be achieved.

[0004] When users do not turn off the power to electrical appliances in time after use, the appliances may run dry, which can lead to electrical safety hazards. Summary of the Invention

[0005] To improve electricity safety and promptly identify users' poor electricity usage habits, this invention provides a smart electricity safety monitoring method and system based on the Internet of Things.

[0006] In a first aspect, the present invention provides a smart electricity safety monitoring method and system based on the Internet of Things, which adopts the following technical solution: A smart electricity safety monitoring method based on the Internet of Things includes: Step 100: Collect electricity consumption data for user households; Step 101: Determine the electricity consumption difference in response to the electricity consumption data and preset historical data; Step 102: When the power consumption difference is greater than the preset activation threshold, collect the user's infrared data; Step 103: Determine the user's location based on the infrared data; Step 104: Determine the appliances to be activated based on the user's location and the power consumption difference; Step 105: Determine the activation duration in response to the power consumption difference, and determine the activation threshold based on the activated appliance; Step 106: When the activation duration is greater than the activation threshold, determine the interface number to be powered on in response to the activated device; Step 107: Disconnect the power supply to the interface with the specified interface number.

[0007] By adopting the above technical solution, the user's electricity consumption can be detected in real time, and the user's location information can be combined to determine the appliances used by the user. This allows for the calculation of the appliance's startup time. If the appliance's startup time is too long, it can be determined that the user has forgotten to turn off the appliance's power, and the power supply to the appliance can be automatically disconnected. This timely identification of the user's bad electricity usage habits can improve electricity safety.

[0008] Optional, also includes: Step 108: When the activation duration is greater than the activation threshold, determine the operating voltage based on the interface number; Step 109: Determine the electric shock threshold in response to the operating voltage, and determine the dwell time based on the user's location; Step 110: When the dwell time exceeds the electric shock threshold, generate and issue a confirmation message based on the dwell time; Step 111: Determine the moving speed in response to the confirmation information and infrared data; Step 112: If the moving speed is lower than the preset danger threshold, generate and issue an electric shock warning based on the dwell time.

[0009] By adopting the above technical solution, when the start-up time of an appliance is too long, it is determined whether there is a risk of electric shock from the appliance's operating voltage. If there is a risk of electric shock, the user's situation is promptly confirmed, thereby timely detecting situations where the appliance has a leakage or other fault that could cause the user to be electrocuted while using the appliance.

[0010] Optionally, it also includes child supervision methods, said child supervision methods including: Step 200: Determine which appliances to turn off based on the activated appliances and activation duration, and collect the usage time; Step 201: Determine the number of times the appliance is turned on and off based on the number of times the appliance is turned off and the usage time; Step 202: Calculate the opening and closing frequency based on the number of opening and closing times and the usage time, and determine the working threshold based on the activated electrical appliance; Step 203: If the opening and closing frequency is greater than the working threshold, determine the erroneous touch number in response to the activated electrical appliance; Step 204: Disconnect the power supply to the interface with the erroneous contact number.

[0011] By adopting the above technical solution, the on- and off times of electrical appliances are statistically analyzed based on the user's electricity consumption and location information. This allows for the identification of potential accidental activation when an appliance experiences high-frequency on- and off-peak operation, and the disconnection of the appliance's power supply. This timely identification of users' poor electricity usage habits improves electricity safety.

[0012] Optionally, the child supervision method further includes: Step 205: If the opening and closing frequency is greater than the working threshold, determine the warning frequency in response to the opening and closing frequency; Step 206: Generate and issue a warning notification based on the warning frequency and the activated electrical appliances, and update the on / off frequency; Step 207: If the opening and closing frequency is not greater than the working threshold, determine the response duration based on the usage time; Step 208: When the response duration exceeds the preset response threshold, disconnect the power supply to the interface with the erroneous touch number.

[0013] By adopting the above technical solution, when an appliance is switched on or off at high frequency, the user is promptly notified of the risk of accidental contact. The system also detects the duration after which the user stops switching appliances on or off at high frequency. This allows the system to identify users who lack knowledge of safe electricity use, such as children, if they do not correct their electricity usage habits in time, and to disconnect the power supply to the appliance in a timely manner, thereby improving the safety of electricity use.

[0014] Optionally, the child supervision method further includes: Step 209: When the response duration exceeds a preset response threshold, determine the activation height based on the activated electrical appliance; Step 210: In response to the activation of highly determined risk electrical appliances; Step 211: Determine the risk area in response to the user's location; Step 212: Determine the risk number by combining the risky electrical appliances and risky areas; Step 213: Disconnect the power supply to the interface of the risk number.

[0015] By adopting the above technical solution, when the user is a child or other person with a lack of knowledge about safe electricity use, the height of the appliance that the user accidentally touches can be identified, thereby determining the height range of appliances that the user can reach, and disconnecting the power supply to all appliances that the user can reach within the user's range, thereby reducing the chances of the user accidentally touching appliances.

[0016] Optionally, the child supervision method further includes: Step 214: When the response duration exceeds a preset response threshold, determine the accidental touch path by combining the usage time and the accidental touch number; Step 215: Determine the direction of travel based on the accidental touch path and retrieve the house layout; Step 216: Determine the control area based on the user's location, direction of travel, and building layout; Step 217: Determine the control number in response to the control area and the risk electrical appliance; Step 218: Disconnect the power supply to the interface of the control number.

[0017] By adopting the above technical solution, when the user is a child or other person with a lack of knowledge about safe electricity use, the sequence in which the user accidentally touches electrical appliances can be counted to determine the user's movement route. In this way, the power supply to electrical appliances in the area in the user's movement direction can be cut off, thereby further reducing the occurrence of users accidentally touching electrical appliances.

[0018] Optionally, the child supervision method further includes: Step 219: When the response duration exceeds the preset response threshold, extract prevention and control data from the electricity consumption data according to the prevention and control number, and determine the prevention and control electrical appliances according to the prevention and control area and the risk electrical appliances; Step 220: Determine the working electrical appliances based on the aforementioned prevention and control data and electrical appliances; Step 221: Determine the delay number based on the working appliance, and determine the prevention and control path based on the user location, house layout, and working appliance; Step 222: Determine the prevention and control time in response to the prevention and control path and the accidental contact path; Step 223: Disconnect the power supply to the interface with the delay number after the control time.

[0019] By adopting the above technical solution, when it is necessary to disconnect the power supply of electrical appliances, the working status of each appliance can be judged based on its power consumption. This allows the system to predict the time when the user will arrive at the appliance while it is working and disconnect the power supply to the appliance based on the time delay, thereby reducing the possibility of damage to the appliance due to a sudden power outage while it is working.

[0020] Optionally, it also includes a power supply control method, the power supply control method comprising: Step 300: When the power supply to the interface is disconnected, determine the number of personnel based on the infrared data; Step 301: If the number of people is greater than 1, determine a safe location in response to the accidental touch path and the user's location; Step 302: Determine the safety electrical appliance based on the safety location; Step 303: Determine the safety number based on the safety electrical appliance; Step 304: Extract the safety data of the safety number from the electricity consumption data; Step 305: Determine the security duration and security frequency based on the security data; Step 306: When the safe duration is not greater than the activation threshold and the safe frequency is not greater than the working threshold, restore the power supply to the interface.

[0021] By adopting the above technical solution, when there are multiple users, it can be determined whether there are users with good electricity usage habits. In this way, when there are both users with poor electricity usage habits and users with good electricity usage habits, the power supply to the appliances can be maintained, and the guiding role of users with good electricity usage habits can be utilized to reduce the situation where appliances are damaged due to sudden power outages.

[0022] Optionally, the power supply control method further includes: Step 307: When the security data changes, update the security duration and security frequency in response to the security data; Step 308: When the security duration is not greater than the activation threshold and the security frequency is not greater than the working threshold, determine the operation count based on the security data; Step 309: If the operation count is greater than the preset test threshold, restore the power supply to the interface.

[0023] By adopting the above technical solution, when there are multiple users, users who have engaged in bad electricity use behavior are first excluded, and then the good electricity use behavior of the remaining users is counted. Thus, when a user has a large number of good behaviors, it can be judged that the user has good electricity use habits.

[0024] Secondly, this application provides a smart electricity safety monitoring system based on the Internet of Things, which adopts the following technical solution: A smart electricity safety monitoring system based on the Internet of Things includes: The data acquisition module is used to collect power consumption data, infrared data, and usage time. A memory for storing programs for any of the above-mentioned IoT-based smart electricity safety monitoring methods; The processor is the unit of memory that allows programs to be loaded and executed by the processor.

[0025] By adopting the above technical solution, the user's electricity consumption can be detected in real time, and the user's location information can be combined to determine the appliances used by the user. This allows for the calculation of the appliance's startup time. If the appliance's startup time is too long, it can be determined that the user has forgotten to turn off the appliance's power, and the power supply to the appliance can be automatically disconnected. This timely identification of the user's bad electricity usage habits can improve electricity safety.

[0026] In summary, this application includes at least one of the following beneficial technical effects: It can detect users' electricity consumption in real time and combine it with users' location information to determine the appliances users are using. It can then count the duration of appliance operation and determine if the appliance has been running for too long. If the appliance has been running for too long, it can determine that the user has forgotten to turn off the power and automatically disconnect the power supply to the appliance. This allows for timely identification of users' bad electricity habits and improves electricity safety. By analyzing users' electricity usage and location information, the system can determine the on / off times of electrical appliances. This allows for the identification of potential accidental activation when appliances are frequently turned on or off, and the power supply to those appliances can be disconnected. This enables the timely identification of users' poor electricity usage habits and improves electricity safety. When users are children or other individuals who lack knowledge about safe electricity use, the system identifies the height of the appliance the user accidentally touches, thereby determining the range of accessible appliances and disconnecting the power supply to all accessible appliances within the user's reach, thus reducing the likelihood of accidental appliance contact. Attached Figure Description

[0027] Figure 1 This is a flowchart of a smart electricity safety monitoring method based on the Internet of Things; Figure 2 This is a flowchart of child supervision methods; Figure 3 This is a flowchart of the power supply control method. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0029] Reference Figure 1 A smart electricity safety monitoring method based on the Internet of Things includes: Step 100: Collect electricity consumption data from the user's household.

[0030] Electricity consumption data refers to data such as the power supply voltage, current, power, power factor, and leakage current of the user's line. The current reading of the electricity meter can be used as electricity consumption data. The method of collecting electricity consumption data is selected by the staff according to the actual situation, and will not be elaborated here.

[0031] Step 101: Determine the electricity consumption difference in response to the electricity consumption data and preset historical data.

[0032] Historical data refers to electricity consumption data collected in the past. After electricity consumption data is collected, it is recorded in a special data table in chronological order to form historical data. The method of generating historical data is selected by the staff according to the actual situation, and will not be elaborated here.

[0033] Electricity consumption difference refers to the difference between electricity consumption data and historical data, that is, the change in the meter reading. The calculation method of electricity consumption difference is common knowledge among those in the field and will not be elaborated here.

[0034] Step 102: When the power consumption difference is greater than the preset activation threshold, collect the user's infrared data.

[0035] The activation threshold refers to the minimum change in current after an appliance is started. By activating the threshold, the error caused by changes in the appliance's power can be reduced. The activation threshold is selected by the staff based on the actual situation, and will not be elaborated here.

[0036] A power consumption difference greater than the activation threshold indicates that the user has activated a new appliance. Infrared data refers to data obtained through infrared sensors. Infrared sensors are evenly distributed indoors to improve detection accuracy. The method of collecting infrared data is selected by the staff according to the actual situation, and will not be elaborated here.

[0037] Step 103: Determine the user's location based on the infrared data.

[0038] The user's location is the point where the user is located. The user's location can be determined by infrared data. The method for determining the user's location is common knowledge to those in the field and will not be elaborated here.

[0039] Step 104: Determine the appliances to be activated based on the user's location and the power consumption difference.

[0040] "Activated appliances" refers to appliances started by the user. Different appliances have different power ratings, which leads to different changes in the current reading of the circuit when the appliance is started. Appliances located near the user's location can be selected from the appliance relationship table. Then, the activated appliances with the starting current that matches the power consumption difference can be found from the appliance relationship table. The appliance relationship table is a data table that records the location of appliances, starting current, and corresponding activated appliances. Starting current refers to the change in current in the circuit when the appliance is started. "Near the user's location" means that the distance between the appliance location and the user's location is less than 2 meters.

[0041] Step 105: Determine the activation duration in response to the power consumption difference, and determine the activation threshold based on the activated appliance.

[0042] The activation time refers to the time from when an appliance is turned on to when it is turned off. The activation time is accumulated when the appliance is not turned off. When the appliance is turned off, the current reading in the circuit may decrease. The starting current of the appliance when it is turned on can be identified from the appliance relationship table. When the sum of the power consumption difference and the starting current is 0, it is determined that the appliance is turned off. The method for determining the activation time is common knowledge to those in the field and will not be elaborated here.

[0043] The activation threshold refers to the maximum operating time of an appliance when it is in normal working order. The activation threshold corresponding to the activated appliance can be found in the activation relationship table, which is a data table that records different activated appliances and their corresponding activation thresholds.

[0044] Step 106: When the activation duration is greater than the activation threshold, determine the interface number to be powered on in response to the activated device.

[0045] An activation duration exceeding the activation threshold indicates that the appliance has been running for too long, posing a risk of forgetting to turn it off. The interface number refers to the number of the power socket or other power outlet that supplies power to the activated appliance. The interface number corresponding to the activated appliance can be found in the interface relationship table, which is a data table that records different activated appliances and their corresponding interface numbers and operating voltages.

[0046] Step 107: Disconnect the power supply to the interface with the specified interface number.

[0047] The system monitors users' electricity consumption in real time and combines this with their location information to determine the appliances they are using. It then calculates the duration of each appliance's operation and automatically disconnects the appliance's power supply if the appliance has been running for an extended period. This timely detection of poor electricity usage habits improves electricity safety.

[0048] A smart electricity safety monitoring method based on the Internet of Things also includes: Step 108: When the activation duration is greater than the activation threshold, determine the operating voltage based on the interface number.

[0049] The operating voltage refers to the voltage value provided by the power supply interface corresponding to the interface number. The operating voltage corresponding to the interface number can be found in the interface relationship table.

[0050] Step 109: Determine the electric shock threshold in response to the operating voltage, and determine the dwell time based on the user's location.

[0051] The electric shock threshold refers to the minimum length of time that the human body can safely withstand working voltage. The higher the working voltage, the lower the electric shock threshold. The electric shock threshold is selected by the staff according to the actual situation, which will not be elaborated here.

[0052] Dwell time refers to the duration during which a user remains stationary, that is, the duration during which the user's position remains unchanged. The method for determining dwell time is common knowledge among those in the field and will not be elaborated here.

[0053] Step 110: When the dwell time exceeds the electric shock threshold, generate and issue a confirmation message based on the dwell time.

[0054] If the duration of stillness exceeds the electric shock threshold, it means that the user has been stationary for too long and there is a risk of electric shock. The confirmation information is used to confirm the user's status. It can be in the form of voice and / or pop-up prompts to remind the user that the power has not been turned off in time and to suggest that the user move. The method of generating the confirmation information is common knowledge to those in the field and will not be described in detail here.

[0055] Step 111: Determine the movement speed in response to the confirmation information and infrared data.

[0056] Movement speed refers to the speed at which a user moves after receiving confirmation information, i.e., the speed at which the user's position changes. The method for confirming movement speed is common knowledge to those in the field and will not be elaborated here.

[0057] Step 112: If the moving speed is lower than the preset danger threshold, generate and issue an electric shock warning based on the dwell time.

[0058] The danger threshold refers to the maximum speed at which a person can move when they are electrocuted. Generally, 0 is used as the danger threshold. The danger threshold is selected by the staff according to the actual situation, which will not be elaborated here.

[0059] Moving speed below the danger threshold indicates that the user is at risk of electric shock. An electric shock warning is a message to emergency contacts and other relevant personnel that the user is at risk of electric shock. The relevant personnel can be set by the user in advance. The method of generating an electric shock warning is common knowledge in the field and will not be elaborated here.

[0060] When an appliance takes too long to start, it is determined whether there is a risk of electric shock due to the appliance's operating voltage. If there is a risk of electric shock, the user's situation is promptly confirmed, thereby timely detecting situations where the appliance is leaking current or causing electric shock to the user while using the appliance.

[0061] Reference Figure 2 Child supervision methods include: Step 200: Determine which appliances to turn off based on the activated appliances and activation duration, and collect the usage time.

[0062] Turning off appliances refers to appliances that the user turns off, specifically the appliances whose starting current is the same as the sum of the above-mentioned power consumption difference and starting current is 0. The method for determining which appliances to turn off is the same as step 105 above.

[0063] Usage time refers to the time when an appliance is turned on and off. The method for collecting usage time is common knowledge to those in the field and will not be elaborated here.

[0064] Step 201: Determine the number of times the appliance is turned on and off based on the number of times the appliance is turned off and the usage time.

[0065] The number of start-up and shut-down cycles refers to the total number of times an appliance is started and shut down. First, select appliances whose usage time falls within the detection range. Then, count the total number of times an appliance appears in the list of started and shut-down appliances as the number of start-up and shut-down cycles. The detection range refers to the time interval used to determine whether the appliance's start-up and shut-down frequency is normal. Generally, the most recent 5 minutes are used as the detection range. The detection range is selected by the staff based on the actual situation. The method for determining the number of start-up and shut-down cycles is common knowledge in this field and will not be elaborated here.

[0066] Step 202: Calculate the opening and closing frequency based on the number of opening and closing times and the usage time, and determine the working threshold based on the activated electrical appliance.

[0067] The frequency of opening and closing refers to the frequency at which electrical appliances are opened and closed within the detection range. It is calculated by dividing the number of opening and closing operations by the length of the detection range. The method for calculating the frequency of opening and closing is common knowledge to those skilled in the art and will not be elaborated here.

[0068] The operating threshold refers to the highest frequency of opening and closing of an appliance during normal use. It is calculated by multiplying the quotient of the length of the detection interval and the fastest usage time of the appliance by 2. For example, if the detection interval is the most recent 5 minutes and the appliance is an electric kettle, which takes at least 3 minutes to heat a pot of water, then the operating threshold is 1.2.

[0069] Step 203: If the opening and closing frequency is greater than the working threshold, determine the erroneous touch number in response to the activated electrical appliance.

[0070] A start-up and shut-down frequency greater than the working threshold indicates that the appliance is starting too frequently. At this time, the appliance is unable to perform its function and there may be accidental touches. The accidental touch number is the interface number corresponding to the appliance whose start-up and shut-down frequency is greater than the working threshold. The method for determining the accidental touch number is the same as step 106 above.

[0071] Step 204: Disconnect the power supply to the interface with the erroneous contact number.

[0072] By analyzing users' electricity usage and location information, the system can determine the on / off times of electrical appliances. This allows for the identification of potential accidental activation when appliances are frequently switched on or off, and the system can disconnect the power supply to those appliances. This enables the timely identification of users' poor electricity usage habits and improves electricity safety.

[0073] Child supervision methods also include: Step 205: If the opening and closing frequency is greater than the working threshold, determine the warning frequency in response to the opening and closing frequency.

[0074] The warning frequency refers to the frequency at which users are alerted to accidental touches. The higher the frequency of activation and deactivation, the higher the warning frequency needs to be. The activation and deactivation frequency can be used as the warning frequency.

[0075] Step 206: Generate and issue a warning notification based on the warning frequency and the activated electrical appliances, and update the on / off frequency.

[0076] Warning notifications are information sent to users at a set frequency to inform them that there has been an accidental activation of electrical appliances. The method for generating warning notifications is common knowledge to those in the field and will not be elaborated here.

[0077] Step 207: If the opening and closing frequency is not greater than the working threshold, determine the response duration based on the usage time.

[0078] If the frequency of opening and closing is not greater than the working threshold, it means that the accidental touch phenomenon has disappeared, that is, the warning notification takes effect. The response time is the time elapsed from the issuance of the warning notification to the warning notification taking effect. The method for determining the response time is common knowledge to those in the field and will not be elaborated here.

[0079] Step 208: When the response duration exceeds the preset response threshold, disconnect the power supply to the interface with the erroneous touch number.

[0080] The response threshold refers to the maximum time it takes for a user to promptly correct their unhealthy electricity usage habits. A response time of 2 minutes is generally used. The response threshold is selected by staff based on the actual situation. The method for determining the number of on / off cycles is common knowledge in this field and will not be elaborated upon here. A response time exceeding the response threshold indicates that the user has not promptly corrected their unhealthy electricity usage habits, meaning the user lacks sufficient knowledge of safe electricity use.

[0081] When electrical appliances start and stop frequently, users are promptly notified of the risk of accidental activation. The system also monitors the duration after which users cease frequently starting and stopping electrical appliances. If users do not correct their electricity usage habits in time, it can identify individuals with limited knowledge of safe electricity use, such as children, and promptly disconnect the power supply to the appliances, thereby improving electricity safety.

[0082] Child supervision methods also include: Step 209: When the response duration exceeds the preset response threshold, determine the activation height based on the activated electrical appliance.

[0083] The activation height refers to the highest height value among the activated electrical appliances. The corresponding switch height of the activated electrical appliance can be found from the height relationship table. Then, the largest switch height is selected as the activation height. Here, the switch height refers to the height value of the power switch of the electrical appliance, and the height relationship table is a data table that records different activated electrical appliances and their corresponding activation heights.

[0084] Step 210: In response to the activation of highly certain risk appliances.

[0085] Risky electrical appliances are those whose switch height is lower than the activation height. You can find the risky electrical appliances corresponding to the activation height by looking up the height relationship table.

[0086] Step 211: Determine the risk area in response to the user's location.

[0087] The risk area refers to the area where an appliance may be accidentally touched by a user. Generally, a circular area with the user's location as the center and the risk radius as the radius is used as the risk area. A risk radius of 3 meters is generally used. The risk radius is selected by the staff according to the actual situation. The method of determining the risk area is common knowledge in the field and will not be elaborated here.

[0088] Step 212: Determine the risk number by combining the risky electrical appliances and risky areas.

[0089] The risk number is the interface number of the risky electrical appliance located in the risk area. The method for determining the risk number is the same as step 106 above.

[0090] Step 213: Disconnect the power supply to the interface of the risk number.

[0091] When users are children or other individuals who lack knowledge about safe electricity use, the system identifies the height of the appliance the user accidentally touches, thereby determining the range of accessible appliances and disconnecting the power supply to all accessible appliances within the user's reach, thus reducing the likelihood of accidental appliance contact.

[0092] Child supervision methods also include: Step 214: When the response duration exceeds the preset response threshold, determine the accidental touch path by combining the usage time and the accidental touch number.

[0093] The accidental touch path refers to the route taken by the user. First, the corresponding activated appliance can be found from the interface relationship table according to the accidental touch number. Then, the location of the appliance corresponding to the activated appliance can be found from the appliance relationship table. Finally, the route of the user's accidental touch of the activated appliances and the accidental touch speed along the route can be formed according to the usage time. The method for determining the accidental touch path is common knowledge to those in the field and will not be elaborated here.

[0094] Step 215: Determine the direction of travel based on the accidental touch path and retrieve the house layout.

[0095] The direction of travel refers to the direction the user is walking. The method for determining the direction of travel is common knowledge among those in the field and will not be elaborated here.

[0096] House layout refers to the spatial layout of the user's house. The house floor plan can be used as the house layout. The house layout can be pre-entered by the staff, which will not be elaborated here.

[0097] Step 216: Determine the control area based on the user's location, direction of travel, and building layout.

[0098] The prevention and control area refers to the space that can be reached in the direction of the user's movement. The house layout can be divided into multiple small spaces according to the rooms, and then the small spaces in the direction of the user's movement can be used as the prevention and control area. The method for determining the prevention and control area is common knowledge in the field and will not be elaborated here.

[0099] Step 217: Determine the control number in response to the control area and the risk electrical appliance.

[0100] The prevention and control number refers to the interface number of the risky electrical appliance located within the prevention and control area. The method for determining the prevention and control number is the same as step 106 above.

[0101] Step 218: Disconnect the power supply to the interface of the control number.

[0102] When users are children or other individuals who lack knowledge about safe electricity use, the sequence in which users accidentally touch electrical appliances can be analyzed to determine their movement routes. This allows for the disconnection of power to appliances in the area along the user's movement direction, thereby further reducing the likelihood of accidental appliance contact.

[0103] Child supervision methods also include: Step 219: When the response duration exceeds the preset response threshold, extract prevention and control data from the electricity consumption data according to the prevention and control number, and determine the prevention and control electrical appliances according to the prevention and control area and the risk electrical appliances.

[0104] Prevention and control data refers to the current output data of the power supply terminal of the prevention and control number. The method for determining prevention and control data is common knowledge to those in the field and will not be elaborated here.

[0105] The control electrical appliances are those corresponding to the control numbers mentioned above. The control electrical appliances corresponding to the control numbers can be found in the interface relationship table.

[0106] Step 220: Determine the working electrical appliances by combining the aforementioned prevention and control data and prevention and control electrical appliances.

[0107] Working electrical appliances refer to electrical appliances in the control and prevention electrical appliances that are in working condition. First, the starting current of the control and prevention electrical appliance can be found from the interface relationship table. Then, the control and prevention data and the starting current are compared. Thus, it can be determined that the control and prevention electrical appliance is in working condition when the control and prevention data is greater than the starting current.

[0108] Step 221: Determine the delay number based on the working appliance, and determine the prevention and control path based on the user location, house layout, and working appliance.

[0109] The delay number is the interface number corresponding to the working electrical appliance. The method for determining the delay number is the same as step 106 above.

[0110] The prevention and control path refers to the route taken by a user from their location to the working electrical appliance. The method for determining the prevention and control path is common knowledge to those in the field and will not be elaborated here.

[0111] Step 222: Determine the prevention and control time in response to the prevention and control path and the accidental contact path.

[0112] Prevention time refers to the time required for a user to reach the working electrical appliance at the average speed along the accidental contact path. The method for determining prevention time is common knowledge in the field and will not be elaborated here.

[0113] Step 223: Disconnect the power supply to the interface with the delay number after the control time.

[0114] When it is necessary to disconnect the power supply to electrical appliances, the operating status of each appliance is determined based on its power consumption. This allows the system to predict when the user will arrive at the appliance while it is in operation and to disconnect the power supply to the appliance based on the time delay, thereby reducing the possibility of damage to the appliance due to a sudden power outage while it is in operation.

[0115] Reference Figure 3 The power supply control methods include: Step 300: When the power supply to the interface is disconnected, determine the number of personnel based on the infrared data.

[0116] Disconnecting the power supply to the interface refers to disconnecting the power supply to the interfaces with the aforementioned disconnection interface number, accidental contact number, risk number, prevention and control number, and delay number. The number of personnel refers to the number of users. The method for determining the number of personnel is common knowledge in this field and will not be elaborated here.

[0117] Step 301: If the number of people is greater than 1, determine a safe location in response to the accidental touch path and the user's location.

[0118] A number of people greater than 1 indicates the presence of multiple users. A safe location refers to a user location that does not overlap with the accidental contact path, meaning that the user at that location has not engaged in any improper electricity usage behavior. The method for determining a safe location is common knowledge in the field and will not be elaborated upon here.

[0119] Step 302: Determine the safety electrical appliance based on the safety location.

[0120] Safety electrical appliances are those located within a circular area centered on a safe location and with a risk radius as the radius. The method for determining safety electrical appliances is the same as step 211 above, and will not be repeated here.

[0121] Step 303: Determine the safety number based on the safety electrical appliance.

[0122] The safety number is the interface number corresponding to the safety electrical appliance. The method for determining the safety number is the same as step 106 above. Step 304: Extract the safety data of the safety number from the electricity consumption data.

[0123] Safety data refers to the current output data of the power supply terminal with the safety number. The method for determining safety data is common knowledge to those in the field and will not be elaborated here.

[0124] Step 305: Determine the security duration and security frequency based on the security data.

[0125] The safe duration refers to the activation duration calculated based on the safe data, and the safe frequency refers to the activation frequency calculated based on the safe data. The calculation methods for safe duration and safe frequency are the same as those described above, and will not be repeated here.

[0126] Step 306: When the safe duration is not greater than the activation threshold and the safe frequency is not greater than the working threshold, restore the power supply to the interface.

[0127] When there are multiple users, it is determined whether there are users with good electricity usage habits. In this way, when there are both users with poor electricity usage habits and users with good electricity usage habits, the power supply to the appliances can be maintained. The guidance role of users with good electricity usage habits can be utilized to reduce the possibility of appliances being damaged due to sudden power outages.

[0128] Power supply control methods also include: Step 307: When the security data changes, update the security duration and security frequency in response to the security data.

[0129] Changes in safety data indicate that a user in a safe location has operated the appliance. At this point, the safety duration and safety frequency are updated to determine the appropriateness of the user's actions.

[0130] Step 308: When the security duration is not greater than the activation threshold and the security frequency is not greater than the working threshold, determine the operation count based on the security data.

[0131] A safe duration not exceeding the activation threshold and a safe frequency not exceeding the working threshold indicate that the user's operation behavior is good. The operation count is a value used to count the user's good operation behavior. Whenever the safe duration is not exceeding the activation threshold and the safe frequency is not exceeding the working threshold, the operation count is incremented by one. When the safe duration is greater than the activation threshold and / or the safe frequency is greater than the working threshold, the operation count is reset to zero. The method for determining the operation count is common knowledge to those in the field and will not be elaborated here.

[0132] Step 309: If the operation count is greater than the preset test threshold, restore the power supply to the interface.

[0133] The inspection threshold is a numerical value used to judge the quality of a user's electricity usage behavior. The inspection threshold is selected by staff based on actual circumstances and will not be elaborated upon here. An operation count greater than the inspection threshold indicates that the user's electricity usage habits are good.

[0134] When there are multiple users, first exclude users who have engaged in bad electricity use behavior, and then count the good electricity use behavior of the remaining users. In this way, if a user has a lot of good behavior, it can be judged that the user has good electricity use habits.

[0135] Based on the same inventive concept, embodiments of the present invention provide an Internet of Things-based smart electricity safety monitoring system, comprising: The data acquisition module is used to collect power consumption data, infrared data, and usage time. A memory for storing programs for any of the above-mentioned IoT-based smart electricity safety monitoring methods; The processor is the unit of memory that allows programs to be loaded and executed by the processor.

[0136] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0137] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A smart electricity safety monitoring method based on the Internet of Things, characterized in that, include: Step 100: Collect electricity consumption data from users' households; Step 101: Determine the electricity consumption difference in response to the electricity consumption data and preset historical data; Step 102: When the power consumption difference is greater than the preset activation threshold, collect the user's infrared data; Step 103: Determine the user's location based on the infrared data; Step 104: Determine the appliances to be activated based on the user's location and the power consumption difference; Step 105: Determine the activation duration in response to the power consumption difference, and determine the activation threshold based on the activated appliance; Step 106: When the activation duration is greater than the activation threshold, determine the interface number to be powered on in response to the activated device; Step 107: Disconnect the power supply to the interface with the specified interface number.

2. The smart electricity safety monitoring method based on the Internet of Things according to claim 1, characterized in that, Also includes: Step 108: When the activation duration is greater than the activation threshold, determine the operating voltage based on the interface number; Step 109: Determine the electric shock threshold in response to the operating voltage, and determine the dwell time based on the user's location; Step 110: When the dwell time exceeds the electric shock threshold, generate and issue a confirmation message based on the dwell time; Step 111: Determine the moving speed in response to the confirmation information and infrared data; Step 112: If the moving speed is lower than the preset danger threshold, generate and issue an electric shock warning based on the dwell time.

3. The smart electricity safety monitoring method based on the Internet of Things according to claim 2, characterized in that, It also includes child supervision methods, which include: Step 200: Determine which appliances to turn off based on the activated appliances and activation duration, and collect the usage time; Step 201: Determine the number of times the appliance is turned on and off based on the number of times the appliance is turned off and the usage time; Step 202: Calculate the opening and closing frequency based on the number of opening and closing times and the usage time, and determine the working threshold based on the activated electrical appliance; Step 203: If the opening and closing frequency is greater than the working threshold, determine the erroneous touch number in response to the activated electrical appliance; Step 204: Disconnect the power supply to the interface with the erroneous contact number.

4. The smart electricity safety monitoring method based on the Internet of Things according to claim 3, characterized in that, The child supervision methods also include: Step 205: If the opening and closing frequency is greater than the working threshold, determine the warning frequency in response to the opening and closing frequency; Step 206: Generate and issue a warning notification based on the warning frequency and the activated electrical appliances, and update the on / off frequency; Step 207: If the opening and closing frequency is not greater than the working threshold, determine the response duration based on the usage time; Step 208: When the response duration exceeds the preset response threshold, disconnect the power supply to the interface with the erroneous touch number.

5. The smart electricity safety monitoring method based on the Internet of Things according to claim 4, characterized in that, The child supervision methods also include: Step 209: When the response duration exceeds a preset response threshold, determine the activation height based on the activated electrical appliance; Step 210: In response to the activation of highly determined risk electrical appliances; Step 211: Determine the risk area in response to the user's location; Step 212: Determine the risk number by combining the risky electrical appliances and risky areas; Step 213: Disconnect the power supply to the interface of the risk number.

6. The smart electricity safety monitoring method based on the Internet of Things according to claim 5, characterized in that, The child supervision methods also include: Step 214: When the response duration exceeds a preset response threshold, determine the accidental touch path by combining the usage time and the accidental touch number; Step 215: Determine the direction of travel based on the accidental touch path and retrieve the house layout; Step 216: Determine the control area based on the user's location, direction of travel, and building layout; Step 217: Determine the control number in response to the control area and the risk electrical appliance; Step 218: Disconnect the power supply to the interface of the control number.

7. The smart electricity safety monitoring method based on the Internet of Things according to claim 6, characterized in that, The child supervision methods also include: Step 219: When the response duration exceeds the preset response threshold, extract prevention and control data from the electricity consumption data according to the prevention and control number, and determine the prevention and control electrical appliances according to the prevention and control area and the risk electrical appliances; Step 220: Determine the working electrical appliances based on the aforementioned prevention and control data and electrical appliances; Step 221: Determine the delay number based on the working appliance, and determine the prevention and control path based on the user location, house layout, and working appliance; Step 222: Determine the prevention and control time in response to the prevention and control path and the accidental contact path; Step 223: Disconnect the power supply to the interface with the delay number after the control time.

8. The smart electricity safety monitoring method based on the Internet of Things according to claim 7, characterized in that, It also includes a power supply control method, which includes: Step 300: When the power supply to the interface is disconnected, determine the number of personnel based on the infrared data; Step 301: If the number of people is greater than 1, determine a safe location in response to the accidental touch path and the user's location; Step 302: Determine the safety electrical appliance based on the safety location; Step 303: Determine the safety number based on the safety electrical appliance; Step 304: Extract the safety data of the safety number from the electricity consumption data; Step 305: Determine the security duration and security frequency based on the security data; Step 306: When the safe duration is not greater than the activation threshold and the safe frequency is not greater than the working threshold, restore the power supply to the interface.

9. The smart electricity safety monitoring method based on the Internet of Things according to claim 8, characterized in that, The power supply control method further includes: Step 307: When the security data changes, update the security duration and security frequency in response to the security data; Step 308: When the security duration is not greater than the activation threshold and the security frequency is not greater than the working threshold, determine the operation count based on the security data; Step 309: If the operation count is greater than the preset test threshold, restore the power supply to the interface.

10. A smart electricity safety monitoring method and system based on the Internet of Things, characterized in that, include: The data acquisition module is used to collect power consumption data, infrared data, and usage time. A memory for storing the program of the IoT-based smart electricity safety monitoring method and system as described in any one of claims 1 to 9; The processor is the unit of memory that allows programs to be loaded and executed by the processor.