Safety monitoring system and method based on electric power acquisition terminal
By setting the maximum load-bearing power and maximum instantaneous power on the power acquisition terminal, monitoring and analyzing the power consumption situation in real time, and dynamically adjusting the response, the problem that traditional power monitoring methods cannot be monitored and analyzed in real time. The level of power safety management in dormitories has been improved and the occurrence of power safety accidents has been reduced.
Patent Information
- Application Number
- CN202411689688.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2024-12-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional power monitoring methods cannot achieve real-time monitoring and intelligent analysis, which makes it difficult to take timely measures during peak electricity consumption or when improper power consumption occurs, increasing the risk of power safety accidents, and lacking an effective user interaction interface, making it difficult for dormitory managers to take Real-time understanding of power consumption status.
Design a safety monitoring system based on power acquisition terminals. By setting the maximum load-bearing power and maximum instantaneous power, it can monitor the electricity consumption in the dormitory in real time, divide the active and inactive time periods, and implement safe electricity monitoring strategies, including automatic power outage. Measures, and use infrared sensors to monitor the situation of dormitory personnel and dynamically adjust the response.
It realizes all-round monitoring of the dormitory power system, improves the intelligence level of power safety management, reduces the occurrence of power safety accidents, and creates a safe living environment for students.
Smart Images

Figure CN119180508A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power safety monitoring, and in particular to a safety monitoring system and method based on an electric power acquisition terminal. Background Art
[0002] With the advancement of science and technology and the development of society, power safety has become an important part of campus management. Dormitories are important places for students to live, and their power safety is directly related to students' personal safety and property safety. However, traditional power monitoring methods often rely on manual inspections and simple circuit protection devices, which cannot achieve real-time monitoring and intelligent analysis of power usage. As a result, it is difficult to take timely measures during peak hours or when improper power usage occurs, increasing the risk of power safety accidents.
[0003] The existing power monitoring systems have deficiencies in data collection, power consumption behavior analysis, and security policy execution. These systems usually lack more refined management of power equipment and cannot flexibly adjust security policies according to actual power consumption conditions. In addition, due to the lack of an effective user interaction interface, dormitory managers find it difficult to understand the power consumption status of the dormitory in real time, and cannot respond quickly to power safety incidents.
[0004] Therefore, developing a safety monitoring method based on power collection terminal is of great significance for improving the level of dormitory power safety management, preventing power safety accidents, and ensuring the safety of students. This new method needs to be able to monitor the power consumption in the dormitory in real time, intelligently analyze power consumption behavior, and promptly implement safety strategies. It also provides dormitory managers with a convenient user interaction interface. Through this method, all-round monitoring of the dormitory power system can be achieved, the level of intelligence of power safety management can be improved, the occurrence of power safety accidents can be reduced, and a safe living environment can be created for students. Summary of the invention
[0005] The present invention provides a safety monitoring system and method based on a power collection terminal, which are used to promote solving the problems mentioned in the above background technology.
[0006] The present invention provides the following technical solutions: a safety monitoring system and method based on a power collection terminal, Optionally, set the maximum carrying power; The maximum carrying power is the maximum power consumption of a dormitory; Set the maximum instantaneous power; The maximum instantaneous power is the maximum power allowed for an electrical device when it is connected to a power source; Set the maximum instantaneous power to be less than the maximum carrying power; If the maximum load power is set to 1000W, then in a dormitory, if all the electrical devices connected to the power supply exceed 1000W, the dormitory will be powered off; If the maximum instantaneous power is set to 400W, then in a dormitory, if a certain electrical device connected to the power supply exceeds 400W, the dormitory will be powered off; Set monitoring period; The monitoring cycle is used to obtain the electricity usage of students living in the dormitory; In the monitoring cycle, the monitoring time period is divided, and each monitoring time period is 2 hours; During the monitoring cycle, the dormitory electricity consumption records in each monitoring period are collected and an electricity consumption record set is generated; According to the electricity consumption record set, the monitoring time period is marked as active time period and inactive time period; Implement safe electricity monitoring strategies; The safety electricity use monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy; Optionally, during the monitoring cycle, dormitory electricity consumption records in each monitoring time period are collected and an electricity consumption record set is generated, including: The dormitory electricity consumption record is the record of when the electrical equipment is connected to or disconnected from the power supply; The dormitory electricity consumption records collected in each monitoring period are combined into an electricity consumption record set; When the power-consuming device is connected to or disconnected from the power supply, an access record ID and a disconnection record ID are generated, and the power, access time, and disconnection time of the power-consuming device are recorded; Each time the same electrical device is connected to or disconnected from the power supply, the connection record ID generated is the same as the disconnection record ID; When the same electrical device is connected to or disconnected from the power supply for the next time, the generated connection record ID and disconnection record ID will be updated and will be inconsistent with the previous connection record ID and disconnection record ID; Optionally, the step of marking the monitoring time periods according to the power consumption record set, and marking them as active time periods and inactive time periods, respectively, includes: Obtain the access record ID and disconnection record ID in the power consumption record set, as well as the power-on time corresponding to the access record ID and the power-off time corresponding to the disconnection record ID; If there is an access record ID in the monitoring time period, the monitoring time period is marked as an active time period.
[0007] Optionally, the step of marking the monitoring time periods according to the power consumption record set, marking them as active time periods and inactive time periods, respectively, further includes: If there is a disconnection record ID in the monitoring time period, the monitoring time period is marked as an active time period; If the monitoring time period does not contain the access record ID and the disconnection record ID, the monitoring time period is marked as an inactive time period; Furthermore, the safety electricity use monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy, including: Set the power threshold interval, the interval is (q, e); Where e is equal to the maximum instantaneous power, and q is set to 250W; The initial setting q is the lowest power consumption of relatively dangerous electrical equipment in historical data, for example, the lowest value in the power consumption range of relatively dangerous electrical equipment around 2000. As time goes by, the school's power grid management and safety standards improve, and the minimum limit q for dangerous electrical equipment will gradually increase. q will be adjusted regularly according to the latest safety standards and dormitory power grid carrying capacity; Filter the active time period in which the access record ID exists, obtain the access record ID within the active time period, and obtain the power of the electric device corresponding to the access record ID; if the power of the electric device is within the power threshold range, mark the corresponding access record ID as a dangerous event; if the power of the electric device is not within the power threshold range, mark the corresponding access record ID as an event to be detected; For each hazardous event, the first monitoring strategy is implemented; For each event to be detected, executing a second monitoring strategy; Optionally, executing the first monitoring strategy for each dangerous event includes: Obtain all dangerous events within the historical monitoring period and form a historical dangerous event set; The historical monitoring time period is all time periods from the start time of the monitoring period to before the current monitoring time period; The monitoring cycle start time is the time when the first electrical device in the dormitory is connected to the power supply; For the historical dangerous event set, a marking strategy is executed for each element in the set; The marking strategy is: If the disconnection record ID of the dangerous event is formed by human operation, it is marked as the first event; If the disconnection record ID of the dangerous event is formed by the automatic power failure of the system, it is marked as the second event; Obtain all first events in the historical dangerous event set and form a set, which is recorded as the first event set; Furthermore, the executing the first monitoring strategy for each dangerous event also includes: According to the first event set, obtain the access time and disconnection time corresponding to each element in the set, and calculate the interval between the access time and the disconnection time, marking it as the first duration; Get the first duration corresponding to each first event, and get the total first duration; The total first duration is the cumulative sum of the first durations corresponding to each first event in the first event set; According to the total first duration and the number of elements in the first event set, the first average duration is calculated. The calculation formula is: First average duration = ; Set the first multiple and danger duration threshold; The first multiple is used to determine the danger duration threshold, and is initially set to 1.5 times; Calculate the danger duration threshold, the calculation formula is: danger duration threshold = first average duration First rate; Monitor the current monitoring time period, and if a dangerous event occurs, obtain the access time of the dangerous event; Recorded as the start time of the dangerous event; From the access time of the dangerous event, obtain the dormitory personnel situation; Acquiring dormitory personnel status through infrared sensors, wherein the dormitory personnel status is specifically represented by whether there are people in the room or no one in the room; If the dormitory personnel situation is that there is no one in the room, the access event of the dangerous event is marked as the start time of the dangerous event; From the start time of the dangerous event, continue to obtain dormitory personnel information. If the time when no one is in the room is longer than the dangerous time threshold, the dormitory will be powered off, and the dangerous event will be marked as the second event, and a corresponding disconnection record ID will be generated; If the dormitory personnel status is that there is someone in the room, continue to obtain the dormitory personnel status.
[0008] Optionally, executing the second monitoring strategy for each event to be detected includes: Whenever an event to be detected is generated, the access record ID generated by the power-consuming device when it is connected to the power source is obtained and marked as a temporary access record ID; When a temporary access record ID is added, the power of the power-applying device corresponding to the newly added temporary access record ID is obtained and compared with the maximum instantaneous power; If it is greater than or equal to the maximum instantaneous power, the dormitory will be powered off; If it is less than the maximum instantaneous power, then obtain all the currently existing temporary access record IDs, and obtain the power of the power-applying device corresponding to each temporary access record ID; Furthermore, executing the second monitoring strategy for each event to be detected also includes: Calculate the total power of electrical equipment in the dormitory based on the power of electrical equipment corresponding to each temporary access record ID; If the total power of electrical equipment is greater than or equal to the maximum load power, the dormitory will be powered off; If the total power of electrical equipment is less than the maximum load power, no processing will be performed; Get the disconnection record ID. If the disconnection record ID is the same as the temporary access record ID, change the temporary access record ID to the access record ID. The temporary access record ID is used to indicate the power-consuming device that has not been powered off after being connected to the power supply, and obtain the power of the power-consuming device, and then obtain the total power of all the power-consuming devices that have been connected to the power supply but have not been powered off; The temporary access record ID switches back to the access record ID, indicating that the corresponding power-consuming device has been disconnected from the power supply, and a power-off record ID is generated. The access record ID, power-off record ID and temporary access record ID are consistent in number; For example, a student plugs in desk lamp A to study at 8 p.m. The system generates a temporary access record ID, which is temporary access-001. The system records the power of the desk lamp as 20W and the power-on time as 8 p.m. Two hours later, the student finishes studying and disconnects the desk lamp from the power supply at 10 pm. The system generates a power outage record ID: Power Outage-001, which corresponds to the previous Temporary Access-001. The system records the power outage time as 10 pm and changes Temporary Access-001 to Access-001. Then the student connected lamp A to the power source to prepare for the transaction, and the system generated an access record ID: temporary access-002. Five minutes later, the student disconnected lamp A, and the system generated a disconnection record ID: disconnection-002. Further, a system for a safety monitoring method based on a power collection terminal includes a power monitoring unit for obtaining the power of electrical equipment in a dormitory in real time through the power collection terminal and determining whether the maximum carrying power or the maximum instantaneous power is exceeded; The instantaneous power monitoring unit is used to monitor the power of a single power-consuming device when it is connected to the power supply, and monitor whether the power of the power-consuming device exceeds the set instantaneous power limit; The dormitory electricity consumption analysis unit is used to analyze dormitory students' electricity consumption records within a set monitoring period and divide a day into 12 monitoring time periods; A power consumption record storage management unit, used to generate and store the access and disconnection records of the power-consuming equipment, including temporary access record ID, access record ID, disconnection record ID, power of the power-consuming equipment, power-on and power-off time; A time period classification unit, used for marking a monitoring time period as an active time period or an inactive time period according to a set of power consumption records; A safety policy execution unit, used to control the power supply of the dormitory according to the safety power monitoring strategy, including executing a power-off operation; Infrared sensing unit, used to monitor the situation of people in the dormitory in real time, determine whether there are people in the dormitory or no one, and assist in determining whether to cut off the power; A threshold setting unit, used to set the maximum carrying power, the maximum instantaneous power and the power threshold area; The user interaction interface provides dormitory managers with an interactive interface for real-time data display, system control and alarm information reception.
[0009] The present invention has the following beneficial effects: 1. The safety monitoring system and method based on the power collection terminal prevent and control the power consumption in the student dormitory by setting the maximum load-bearing power, for example, setting the maximum load-bearing power to 1500W and the maximum instantaneous power. For example, when multiple electrical appliances in the dormitory are used at the same time and the power exceeds 1500W, the system will automatically cut off the power to prevent the circuit from overloading. In the student dormitory, improper use of high-power electrical appliances may cause electrical fires. The real-time monitoring and power-off mechanism are used to prevent such accidents from happening. The monitoring time period is divided into 2-hour periods, and the power consumption of each time period is recorded. The active time period is distinguished from the inactive time period, and the safe power consumption monitoring strategy is implemented. For example, when abnormal power consumption behavior is detected, an early warning is issued and power-off measures are taken, thereby improving the power safety of the dormitory.
[0010] 2. The safety monitoring system and method based on the power collection terminal provide data support for dormitory electricity management by recording detailed information when each electrical device is connected to and disconnected from the power supply, including power, time, etc. By real-time monitoring and recording the power of electrical equipment, it can timely discover and prevent possible power safety hazards. For example, if multiple devices in a dormitory are used at the same time and the total power exceeds the maximum carrying power, the system will immediately take measures, such as power off, to prevent circuit overload. By analyzing the collection of power consumption records, dormitory residents can understand their own power consumption habits and make reasonable power consumption decisions. Students can understand the current power consumption of the dormitory by viewing the collection of power consumption records and adjust their own power consumption behavior.
[0011] 3. The safety monitoring system and method based on the power collection terminal divides the active time period and the inactive time period by analyzing the access record ID and disconnection record ID in the power consumption record set. For example, if there is one or more device access and disconnection records in the dormitory between 8 pm and 10 pm, this time period will be marked as an active time period. By identifying the active time period, students in the dormitory can adjust the use of electrical equipment during these time periods. During the active time period, there may be safety risks due to frequent power consumption activities. Real-time monitoring is carried out during these time periods to promptly discover and prevent potential safety hazards.
[0012] 4. The safety monitoring system and method based on the power collection terminal can control and manage the power consumption in the dormitory by setting the power threshold interval (q, e). For example, if a certain device is used in a dormitory and the power of the device is 300W, according to the set threshold interval, the system will mark it as an event to be detected and adopt the corresponding second monitoring strategy. As time goes by and the safety standards are improved, the minimum limit value q of dangerous electrical equipment can be adjusted, so that the monitoring method can adapt to the changing safety requirements. With the advancement of technology, equipment that was considered safe in the past may need to be re-evaluated due to new research results. The system can adjust the q value according to the latest research, mark the access record ID as a dangerous event or an event to be detected, and execute the corresponding monitoring strategy for different events, which helps to improve the effect of power safety management. For example, if a certain device is used in a dormitory and the power of the device is 1200W, which exceeds the maximum instantaneous power of 400W, the system will immediately perform a power-off operation and mark it as a dangerous event.
[0013] 5. The safety monitoring system and method based on the power collection terminal obtains all dangerous events in the historical monitoring time period and forms a historical dangerous event set, analyzes past power safety events, executes a marking strategy for each element in the historical dangerous event set, and classifies the events into first events formed by human operation and second events formed by automatic power-off of the system, which helps to further analyze the reasons for the power-off of each electrical equipment in the power threshold area. For example, if an electrical equipment in the power threshold area is used in a dormitory and the power is manually cut off, this event will be marked as the first event, and the use of electrical equipment in the power threshold area and the absence of anyone in the dormitory for a long time will be marked as the second event. All first events are obtained and form a first event set.
[0014] 6. The safety monitoring system and method based on the power collection terminal analyzes the duration of each dangerous event by calculating the interval between the access time and the disconnection time of each element in the first event set. For example, if a dormitory is connected to an electrical device in the power threshold range at 10 pm and manually disconnected at 11 pm, the system will record the duration of this event as 1 hour. By calculating the first average duration, the average duration of dangerous events in the dormitory is obtained, and the first multiple and dangerous duration threshold are set, so that the system can dynamically adjust the response to dangerous events according to actual conditions. For example, if the first average duration is 2 hours and the first ratio is set to 1.5 times, the dangerous duration threshold will be 3 hours. The dormitory personnel situation is monitored in real time through infrared sensors to ensure automatic power off when no one is there to prevent potential electrical fires. For example, if the system detects that there is no one in the dormitory at 11 pm, and an electrical device in the power threshold range is connected to the dormitory starting at 10 pm, the system will continue to obtain dormitory personnel information after 11 pm. If the time when no one is in the room is longer than the dangerous duration threshold, the dormitory will be powered off, and the dangerous event will be marked as the second event, and a corresponding disconnection record ID will be generated.
[0015] 7. The safety monitoring system and method based on the power collection terminal generates a temporary access record ID for each event to be detected, and compares it with the maximum instantaneous power to promptly respond to excessive power consumption. For example, if a student in a dormitory accesses an electrical device with a power of 500W, and the maximum instantaneous power is set to 400W, the system will immediately implement power-off measures to prevent overload. For electrical devices that do not exceed the standard, the system will continuously monitor and record their power to achieve dynamic power management. For example, in a dormitory, multiple devices such as desk lamps and chargers are used at the same time, and the power of each device does not exceed the instantaneous power limit. The system will continuously monitor the total power of these devices and prevent potential electrical safety risks by continuously monitoring the power of the electrical devices corresponding to the temporary access record ID. For example, if a student in a dormitory uses multiple low-power devices at the same time, although the power of a single device does not exceed the standard, the total power may be close to or exceed the maximum carrying power, and the system will take timely measures.
[0016] 8. The safety monitoring system and method based on the power collection terminal generates a temporary access record ID for each power-consuming device connected to the power supply, and obtains the entire process from connection to disconnection of each power-consuming device. For example, when a student connects a desk lamp to the power supply at 8 o'clock in the evening, the system will generate a temporary access record ID, represented as temporary access-001, and record the power and access time of the desk lamp. The system monitors and calculates the total power of all devices with temporary access record IDs in real time. If the total power exceeds the maximum carrying power, the system will perform power-off measures to prevent overload. When the power-consuming device is disconnected from the power supply, the system will change the corresponding temporary access record ID to the access record ID. This automated update process ensures the accuracy and continuity of the power consumption record. For example, when a student disconnects the desk lamp at 10 o'clock in the evening, the system will update temporary access-001 to access-001 and generate a corresponding power outage record ID, represented by disconnection-001. By monitoring the disconnection status of electrical equipment and updating the record ID, it helps to promptly discover and respond to existing electrical safety hazards. If the total power of electrical equipment is less than the maximum carrying power, the system will not perform a power-off operation and allow normal power use.
[0017] 9. The system of the safety monitoring method based on the power collection terminal specifically includes the following beneficial effects: the power monitoring unit can monitor the power of the electrical equipment in the dormitory in real time to ensure that the maximum load power and the maximum instantaneous power are not exceeded, thereby preventing electrical fires and circuit overloads; the dormitory power analysis unit divides a day into 12 monitoring time periods, and conducts a detailed analysis of the power consumption in each time period to provide accurate power consumption data for dormitory managers; the power consumption record storage management unit generates and stores the access and disconnection records of the electrical equipment, including temporary access record ID, access record ID, disconnection record ID, etc., to provide detailed power consumption records for dormitory managers; the time period classification unit classifies the monitoring time according to the power consumption record set The segments are marked as active time periods or inactive time periods. The system targets active time periods and strengthens monitoring in these time periods. The safety policy execution unit controls the power supply to the dormitory according to the safe electricity use monitoring strategy, including executing power-off operations to ensure the safety of dormitory electricity use. The infrared sensing unit monitors the personnel situation in the dormitory in real time, determines whether there are people in the dormitory or not, and assists in determining whether to execute power off. The threshold setting unit allows managers to set the maximum carrying power, maximum instantaneous power and power threshold area according to actual conditions, thereby improving the adaptability of the system. The user interaction interface provides an intuitive interface for students in the dormitory for real-time data display, system control and alarm information reception, thereby improving the ease of use and management efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of the steps of the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Embodiment 1, optionally, setting a maximum carrying power; The maximum carrying power is the maximum power consumption of a dormitory; Set the maximum instantaneous power; The maximum instantaneous power is the maximum power allowed for an electrical device when it is connected to a power source; Set the maximum instantaneous power to be less than the maximum carrying power; If the maximum load power is set to 1000W, then in a dormitory, if all the electrical devices connected to the power supply exceed 1000W, the dormitory will be powered off; If the maximum instantaneous power is set to 400W, then in a dormitory, if a certain electrical device connected to the power supply exceeds 400W, the dormitory will be powered off; By setting the maximum load power, for example, setting the maximum load power to 1500W, and setting the maximum instantaneous power, the power consumption in the student dormitory can be prevented and controlled. For example, when multiple electrical appliances in the dormitory are used at the same time and the power exceeds 1500W, the system will automatically cut off the power to prevent the circuit from overloading. Set monitoring period; The monitoring cycle is used to obtain the electricity usage of students living in the dormitory; In the monitoring cycle, the monitoring time period is divided, and each monitoring time period is 2 hours; During the monitoring cycle, the dormitory electricity consumption records in each monitoring period are collected and an electricity consumption record set is generated; By recording detailed information about each electrical device when it is connected to and disconnected from the power supply, including power, time, etc., data support is provided for dormitory power management. By real-time monitoring and recording the power of electrical devices, possible power safety hazards can be discovered and prevented in a timely manner. For example, if multiple devices in a dormitory are used at the same time and the total power exceeds the maximum load power, the system will immediately take measures, such as power off, to prevent circuit overload. By analyzing the collection of power consumption records, dormitory residents can understand their own power consumption habits and make reasonable power consumption decisions. Students can understand the current power consumption of the dormitory by viewing the collection of power consumption records and adjust their own power consumption behavior. According to the electricity consumption record set, the monitoring time period is marked as active time period and inactive time period; Implement safe electricity monitoring strategies; The safety electricity use monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy; Optionally, during the monitoring cycle, dormitory electricity consumption records in each monitoring time period are collected and an electricity consumption record set is generated, including: The dormitory electricity consumption record is the record of when the electrical equipment is connected to or disconnected from the power supply; The dormitory electricity consumption records collected in each monitoring period are combined into an electricity consumption record set; When the power-consuming device is connected to or disconnected from the power supply, an access record ID and a disconnection record ID are generated, and the power, access time, and disconnection time of the power-consuming device are recorded; Each time the same electrical device is connected to or disconnected from the power supply, the connection record ID generated is the same as the disconnection record ID; When the same electrical device is connected to or disconnected from the power supply for the next time, the generated connection record ID and disconnection record ID will be updated and will be inconsistent with the previous connection record ID and disconnection record ID; Optionally, the step of marking the monitoring time periods according to the power consumption record set, and marking them as active time periods and inactive time periods, respectively, includes: Obtain the access record ID and disconnection record ID in the power consumption record set, as well as the power-on time corresponding to the access record ID and the power-off time corresponding to the disconnection record ID; If there is an access record ID in the monitoring time period, the monitoring time period is marked as an active time period.
[0021] Optionally, the step of marking the monitoring time periods according to the power consumption record set, marking them as active time periods and inactive time periods, respectively, further includes: If there is a disconnection record ID in the monitoring time period, the monitoring time period is marked as an active time period; If the monitoring time period does not contain the access record ID and the disconnection record ID, the monitoring time period is marked as an inactive time period; Furthermore, the safety electricity use monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy, including: Set the power threshold interval, the interval is (q, e); Where e is equal to the maximum instantaneous power, and q is set to 250W; The initial setting q is the lowest power consumption of relatively dangerous electrical equipment in historical data, for example, the lowest value in the power consumption range of relatively dangerous electrical equipment around 2000. As time goes by, the school's power grid management and safety standards improve, and the minimum limit q for dangerous electrical equipment will gradually increase. q will be adjusted regularly according to the latest safety standards and dormitory power grid carrying capacity; Filter the active time period in which the access record ID exists, obtain the access record ID within the active time period, and obtain the power of the electric device corresponding to the access record ID; if the power of the electric device is within the power threshold range, mark the corresponding access record ID as a dangerous event; if the power of the electric device is not within the power threshold range, mark the corresponding access record ID as an event to be detected; For each hazardous event, the first monitoring strategy is implemented; For each event to be detected, executing a second monitoring strategy; Optionally, executing the first monitoring strategy for each dangerous event includes: Obtain all dangerous events within the historical monitoring period and form a historical dangerous event set; The historical monitoring time period is all time periods from the start time of the monitoring period to before the current monitoring time period; By acquiring all dangerous events in the historical monitoring period and forming a historical dangerous event set, analyzing past power safety events, executing a marking strategy for each element in the historical dangerous event set, and classifying the events into first events formed by human operation and second events formed by automatic power failure of the system, it is helpful to further analyze the reasons for the power failure of each power-consuming device in the power threshold area. For example, if a power-consuming device in the power threshold area is used in a dormitory and the power is manually cut off, this event will be marked as the first event, and the use of the power-consuming device in the power threshold area and the absence of anyone in the dormitory for a long time will be marked as the second event. All first events are acquired and formed into a first event set; The monitoring cycle start time is the time when the first electrical device in the dormitory is connected to the power supply; For the historical dangerous event set, a marking strategy is executed for each element in the set; The marking strategy is: If the disconnection record ID of the dangerous event is formed by human operation, it is marked as the first event; If the disconnection record ID of the dangerous event is formed by the automatic power failure of the system, it is marked as the second event; Obtain all first events in the historical dangerous event set and form a set, which is recorded as the first event set; Furthermore, the executing the first monitoring strategy for each dangerous event also includes: According to the first event set, obtain the access time and disconnection time corresponding to each element in the set, and calculate the interval between the access time and the disconnection time, marking it as the first duration; Get the first duration corresponding to each first event, and get the total first duration; The total first duration is the cumulative sum of the first durations corresponding to each first event in the first event set; According to the total first duration and the number of elements in the first event set, the first average duration is calculated. The calculation formula is: First average duration = ; Set the first multiple and danger duration threshold; The first multiple is used to determine the danger duration threshold, and is initially set to 1.5 times; Calculate the danger duration threshold, the calculation formula is: danger duration threshold = first average duration First rate; Monitor the current monitoring time period, and if a dangerous event occurs, obtain the access time of the dangerous event; Recorded as the start time of the dangerous event; From the access time of the dangerous event, obtain the dormitory personnel situation; By calculating the interval between the connection time and the disconnection time of each element in the first event set, the duration of each dangerous event is analyzed. For example, if a dormitory is connected to an electrical device in the power threshold range at 10 pm and is manually disconnected at 11 pm, the system will record the duration of this event as 1 hour. By calculating the first average duration, the average duration of dangerous events in the dormitory is obtained, and the first multiple and the dangerous duration threshold are set, so that the system can dynamically adjust the response to dangerous events according to actual conditions. For example, if the first average duration is 2 hours, and the first multiple is set to 1.5 times, the dangerous duration threshold will be 3 hours; Acquiring dormitory personnel status through infrared sensors, wherein the dormitory personnel status is specifically represented by whether there are people in the room or no one in the room; If the dormitory personnel situation is that there is no one in the room, the access event of the dangerous event is marked as the start time of the dangerous event; From the start time of the dangerous event, continue to obtain dormitory personnel information. If the time when no one is in the room is longer than the dangerous time threshold, the dormitory will be powered off, and the dangerous event will be marked as the second event, and a corresponding disconnection record ID will be generated; If the dormitory personnel status is that there is someone in the room, continue to obtain the dormitory personnel status.
[0022] Optionally, executing the second monitoring strategy for each event to be detected includes: Whenever an event to be detected is generated, the access record ID generated by the power-consuming device when it is connected to the power source is obtained and marked as a temporary access record ID; When a temporary access record ID is added, the power of the power-applying device corresponding to the newly added temporary access record ID is obtained and compared with the maximum instantaneous power; If it is greater than or equal to the maximum instantaneous power, the dormitory will be powered off; If it is less than the maximum instantaneous power, then obtain all the currently existing temporary access record IDs, and obtain the power of the power-applying device corresponding to each temporary access record ID; Furthermore, executing the second monitoring strategy for each event to be detected also includes: Calculate the total power of electrical equipment in the dormitory based on the power of electrical equipment corresponding to each temporary access record ID; If the total power of electrical equipment is greater than or equal to the maximum load power, the dormitory will be powered off; If the total power of electrical equipment is less than the maximum load power, no processing will be performed; Get the disconnection record ID. If the disconnection record ID is the same as the temporary access record ID, change the temporary access record ID to the access record ID. The temporary access record ID is used to indicate the power-consuming device that has not been powered off after being connected to the power supply, and obtain the power of the power-consuming device, and then obtain the total power of all the power-consuming devices that have been connected to the power supply but have not been powered off; The temporary access record ID switches back to the access record ID, indicating that the corresponding power-consuming device has been disconnected from the power supply, and a power-off record ID is generated. The access record ID, power-off record ID and temporary access record ID are consistent in number; For example, a student plugs in desk lamp A to study at 8 p.m. The system generates a temporary access record ID, which is temporary access-001. The system records the power of the desk lamp as 20W and the power-on time as 8 p.m. Two hours later, the student finishes studying and disconnects the desk lamp from the power supply at 10 pm. The system generates a power outage record ID: Power Outage-001, which corresponds to the previous Temporary Access-001. The system records the power outage time as 10 pm and changes Temporary Access-001 to Access-001. Then the student connected lamp A to the power source to prepare for the transaction, and the system generated an access record ID: temporary access-002. Five minutes later, the student disconnected lamp A, and the system generated a disconnection record ID: disconnection-002. Further, a system for a safety monitoring method based on a power collection terminal includes a power monitoring unit for obtaining the power of electrical equipment in a dormitory in real time through the power collection terminal and determining whether the maximum carrying power or the maximum instantaneous power is exceeded; The instantaneous power monitoring unit is used to monitor the power of a single power-consuming device when it is connected to the power supply, and monitor whether the power of the power-consuming device exceeds the set instantaneous power limit; The dormitory electricity consumption analysis unit is used to analyze dormitory students' electricity consumption records within a set monitoring period and divide a day into 12 monitoring time periods; A power consumption record storage management unit, used to generate and store the access and disconnection records of the power-consuming equipment, including temporary access record ID, access record ID, disconnection record ID, power of the power-consuming equipment, power-on and power-off time; A time period classification unit, used for marking a monitoring time period as an active time period or an inactive time period according to a set of power consumption records; A safety policy execution unit, used to control the power supply of the dormitory according to the safety power monitoring strategy, including executing a power-off operation; Infrared sensing unit, used to monitor the situation of people in the dormitory in real time, determine whether there are people in the dormitory or no one, and assist in determining whether to cut off the power; A threshold setting unit, used to set the maximum carrying power, the maximum instantaneous power and the power threshold area; The user interaction interface provides dormitory managers with an interactive interface for real-time data display, system control and alarm information reception.
[0023] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0024] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A safety monitoring method based on a power collection terminal, characterized in that: include, Set the maximum load power; The maximum carrying power is the maximum power consumption of a dormitory; Set the maximum instantaneous power; The maximum instantaneous power is the maximum power allowed for an electrical device when it is connected to a power source; Set the maximum instantaneous power to be less than the maximum carrying power; Set monitoring period; The monitoring cycle is used to obtain the electricity usage of students living in the dormitory; In the monitoring cycle, the monitoring time period is divided, and each monitoring time period is 2 hours; During the monitoring cycle, the dormitory electricity consumption records in each monitoring period are collected and an electricity consumption record set is generated; According to the electricity consumption record set, the monitoring time period is marked as active time period and inactive time period; Implement safe electricity monitoring strategies; The safety electricity use monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy.
2. The safety monitoring method based on the power collection terminal according to claim 1 is characterized in that: In the monitoring cycle, the dormitory electricity consumption records in each monitoring time period are collected and an electricity consumption record set is generated, including: The dormitory electricity consumption record is the record of when the electrical equipment is connected to or disconnected from the power supply; The dormitory electricity consumption records collected in each monitoring period are combined into an electricity consumption record set; When the power-consuming device is connected to or disconnected from the power supply, an access record ID and a disconnection record ID are generated, and the power, access time, and disconnection time of the power-consuming device are recorded; Each time the same electrical device is connected to or disconnected from the power supply, the connection record ID generated is the same as the disconnection record ID; When the same electrical device is connected to or disconnected from power for the next time, the generated connection record ID and disconnection record ID will be updated and will be inconsistent with the previous connection record ID and disconnection record ID.
3. The safety monitoring method based on the power collection terminal according to claim 1 is characterized in that: The step of marking the monitoring time periods according to the electricity consumption record set into active time periods and inactive time periods respectively includes: Obtain the access record ID and disconnection record ID in the power consumption record set, as well as the power-on time corresponding to the access record ID and the power-off time corresponding to the disconnection record ID; If there is an access record ID in the monitoring time period, the monitoring time period is marked as an active time period.
4. The safety monitoring method based on the power collection terminal according to claim 1 is characterized in that: The step of marking the monitoring time periods according to the power consumption record set into active time periods and inactive time periods respectively further includes: If there is a disconnection record ID in the monitoring time period, the monitoring time period is marked as an active time period; If the monitoring time period does not contain the access record ID and the disconnection record ID, the monitoring time period is marked as an inactive time period.
5. The safety monitoring method based on the power collection terminal according to claim 1 is characterized in that: The safety electricity monitoring strategy is divided into a first monitoring strategy and a second monitoring strategy, including: Set the power threshold interval, the interval is (q, e); Where e is equal to the maximum instantaneous power, and q is set to 250W; Filter the active time period in which the access record ID exists, obtain the access record ID within the active time period, and obtain the power of the electric device corresponding to the access record ID; if the power of the electric device is within the power threshold range, mark the corresponding access record ID as a dangerous event; if the power of the electric device is not within the power threshold range, mark the corresponding access record ID as an event to be detected; For each hazardous event, the first monitoring strategy is implemented; For each event to be detected, a second monitoring strategy is executed.
6. The safety monitoring method based on the power collection terminal according to claim 5 is characterized in that: The first monitoring strategy is executed for each dangerous event, including: Obtain all dangerous events within the historical monitoring period and form a historical dangerous event set; The historical monitoring time period is all time periods from the start time of the monitoring period to before the current monitoring time period; The monitoring cycle start time is the time when the first electrical device in the dormitory is connected to the power supply; For the historical dangerous event set, a marking strategy is executed for each element in the set; The marking strategy is: If the disconnection record ID of the dangerous event is formed by human operation, it is marked as the first event; If the disconnection record ID of the dangerous event is formed by the automatic power failure of the system, it is marked as the second event; All first events in the historical dangerous event set are obtained and formed into a set, which is recorded as the first event set.
7. The safety monitoring method based on the power collection terminal according to claim 5 is characterized in that: The executing of the first monitoring strategy for each dangerous event also includes: According to the first event set, obtain the access time and disconnection time corresponding to each element in the set, and calculate the interval between the access time and the disconnection time, marking it as the first duration; Get the first duration corresponding to each first event, and get the total first duration; The total first duration is the cumulative sum of the first durations corresponding to each first event in the first event set; According to the total first duration and the number of elements in the first event set, the first average duration is calculated. The calculation formula is: First average duration = ; Set the first multiple and danger duration threshold; The first multiple is used to determine the danger duration threshold, and is initially set to 1.5 times; Calculate the danger duration threshold, the calculation formula is: danger duration threshold = first average duration First rate; Monitor the current monitoring time period, and if a dangerous event occurs, obtain the access time of the dangerous event; Recorded as the start time of the dangerous event; From the access time of the dangerous event, obtain the dormitory personnel situation; Acquiring dormitory personnel status through infrared sensors, wherein the dormitory personnel status is specifically represented by whether there are people in the room or no one in the room; If the dormitory personnel situation is that there is no one in the room, the access event of the dangerous event is marked as the start time of the dangerous event; From the start time of the dangerous event, continue to obtain dormitory personnel information. If the time when no one is in the room is longer than the dangerous time threshold, the dormitory will be powered off, and the dangerous event will be marked as the second event, and a corresponding disconnection record ID will be generated; If the dormitory personnel status is that there is someone in the room, continue to obtain the dormitory personnel status.
8. The safety monitoring method based on the power collection terminal according to claim 5 is characterized in that: The second monitoring strategy is executed for each event to be detected, including: Whenever an event to be detected is generated, the access record ID generated by the power-consuming device when it is connected to the power source is obtained and marked as a temporary access record ID; When a temporary access record ID is added, the power of the power-applying device corresponding to the newly added temporary access record ID is obtained and compared with the maximum instantaneous power; If it is greater than or equal to the maximum instantaneous power, the dormitory will be powered off; If it is less than the maximum instantaneous power, all currently existing temporary access record IDs are obtained, and the power of the power-applying device corresponding to each temporary access record ID is obtained.
9. The safety monitoring method based on the power collection terminal according to claim 5 is characterized in that: The executing the second monitoring strategy for each event to be detected also includes: Calculate the total power of electrical equipment in the dormitory based on the power of electrical equipment corresponding to each temporary access record ID; If the total power of electrical equipment is greater than or equal to the maximum load power, the dormitory will be powered off; If the total power of electrical equipment is less than the maximum load power, no processing will be performed; Get the disconnection record ID. If there is a disconnection record ID that is the same as the temporary access record ID, change the temporary access record ID to the access record ID.
10. A system for executing the safety monitoring method based on a power collection terminal according to claim 1, characterized in that: The power monitoring unit is used to obtain the power of the electrical equipment in the dormitory in real time through the power collection terminal, and determine whether it exceeds the maximum load power or the maximum instantaneous power; The instantaneous power monitoring unit is used to monitor the power of a single power-consuming device when it is connected to the power supply, and monitor whether the power of the power-consuming device exceeds the set instantaneous power limit; The dormitory electricity consumption analysis unit is used to analyze dormitory students' electricity consumption records within a set monitoring period and divide a day into 12 monitoring time periods; A power consumption record storage management unit, used to generate and store the access and disconnection records of the power-consuming equipment, including temporary access record ID, access record ID, disconnection record ID, power of the power-consuming equipment, power-on and power-off time; A time period classification unit, used for marking a monitoring time period as an active time period or an inactive time period according to a set of power consumption records; A safety policy execution unit, used to control the power supply of the dormitory according to the safety power monitoring strategy, including executing a power-off operation; Infrared sensing unit, used to monitor the situation of people in the dormitory in real time, determine whether there are people in the dormitory or no one, and assist in determining whether to cut off the power; A threshold setting unit, used to set the maximum carrying power, the maximum instantaneous power and the power threshold area; The user interaction interface provides dormitory managers with an interactive interface for real-time data display, system control and alarm information reception.
Citation Information
Patent Citations
Power utilization load identification system and method and dormitory power utilization management system
CN110348354A
Dormitory safety electricity utilization management and control method and system
CN114301171A
Non-intrusive dormitory electricity utilization safety monitoring method and system and storage medium
CN117477771A
Dormitory electricity utilization safety monitoring alarm system
CN118135749A
Dormitory management support system
JP2000155885A
Cited By
Student apartment electricity utilization safety detection method
CN120235459A
