Method and device for determining water leakage and electric leakage, electronic equipment and storage medium
By installing sensors on the water and electrical circuits of a house to collect parameters, identify potential safety hazards and their locations, and execute early warning actions, the problem of traditional water and electrical leakage detection failing to simultaneously cut off the source is solved. This achieves accurate detection and early warning of water and electrical leakage incidents, improving intelligence and reliability.
Patent Information
- Application Number
- CN202511110121.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-08
- Publication Date
- 2025-11-07
AI Technical Summary
Traditional methods for detecting water and electrical leaks can only detect accidents that have already occurred, and cannot simultaneously cut off the source, leading to potential secondary disasters. Furthermore, they have low intelligence and reliability.
By installing multiple sensors on the water and electrical circuits of a house, data is collected to identify potential safety hazards and their locations. Based on the severity of the incident, early warning actions are executed, including the detection and early warning of aging wiring, water leaks, and electrical leaks.
It enables accurate detection and early warning of water and electricity leakage incidents, avoids safety hazards caused by aging wiring, improves intelligence and reliability, cuts off the source in time, and avoids secondary disasters.
Smart Images

Figure CN120907608A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a water leakage and electric leakage determination method, a water leakage and electric leakage determination device, an electronic device and a computer readable storage medium. BACKGROUND
[0002] With the increasing demand for water and electricity in the family, the safety hazards caused by water leakage and electric leakage are increasingly prominent. In the traditional way, water leakage and electric leakage are detected by independent devices such as water immersion sensors and mechanical electric leakage protectors. However, this method can only detect the water leakage and electric leakage accidents that have occurred, and cannot cut off the source synchronously, which may cause secondary disasters. The traditional method is not intelligent enough and has low reliability. SUMMARY
[0003] In view of the above problems, the present application is proposed to provide a water leakage and electric leakage determination method, a water leakage and electric leakage determination device, an electronic device and a computer readable storage medium to overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problems, the present application discloses a water leakage and electric leakage determination method, comprising:
[0005] Obtaining the collection parameters of a plurality of sensors arranged on the water circuit and the electric circuit of a house;
[0006] According to the collection parameters, determining a safety hazard event and an event location; the safety hazard event includes at least one of a line aging event, a water leakage event and an electric leakage event;
[0007] According to the safety hazard event and the collection parameters, determining an event level;
[0008] According to the event level and the event location, performing a corresponding early warning operation.
[0009] Optionally, the collection parameters include the current of each circuit branch and the insulation resistance; the event location includes an aging circuit branch; according to the collection parameters, the safety hazard event and the event location are determined, comprising:
[0010] According to the current of each circuit branch, determining the current harmonic distortion rate and the electric leakage current growth rate of each circuit branch;
[0011] According to the insulation resistance of each circuit branch, determining the insulation resistance decay rate of each circuit branch;
[0012] determine whether the line aging event occurs and the aging circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate.
[0013] Optionally, the determining whether the line aging event occurs and the aging circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate comprises:
[0014] determining a first growth rate of the current harmonic distortion rate of each circuit branch;
[0015] determining that the line aging event occurs when the first growth rate is greater than a first growth threshold;
[0016] determining a target circuit branch corresponding to the first growth threshold greater than the first growth threshold, and determining the target circuit branch as the aging circuit branch;
[0017] determining a second growth rate of the leakage current growth rate of each circuit branch;
[0018] determining that the line aging event occurs when the second growth rate is greater than a second growth threshold;
[0019] determining a target circuit branch corresponding to the second growth threshold greater than the second growth threshold, and determining the target circuit branch as the aging circuit branch;
[0020] determining a third growth rate of the insulation resistance decay rate of each circuit branch;
[0021] determining that the line aging event occurs when the third growth rate is greater than a third growth threshold;
[0022] determining a target circuit branch corresponding to the third growth threshold greater than the third growth threshold, and determining the target circuit branch as the aging circuit branch.
[0023] Optionally, the collection parameters comprise humidity and collection time points of each water route branch; the event position comprises a water leakage point; and the determining the safety hidden danger event and the event position according to the collection parameters comprises:
[0024] determining that a water leakage event occurs when there is a target humidity greater than a preset humidity in the humidity of each water route branch, and determining a target sensor corresponding to the target humidity;
[0025] determining a time sequence difference of the target sensor according to the collection time points of the target sensor;
[0026] determining a water flow speed and a water flow direction of the water route branch according to the time sequence difference of the target sensor;
[0027] According to the water flow speed, the water flow direction and the target humidity, a water leakage point is determined.
[0028] Optionally, the determining the safety hazard event and the event location according to the collection parameter further comprises:
[0029] A water permeation parameter of a building material around the water leakage point is acquired, and the water flow speed is corrected according to the water permeation parameter to obtain a corrected water flow speed; the building material comprises a wall surface material and a floor material; the water permeation parameter represents a speed of water permeation in the building material;
[0030] According to the water permeation parameter, the water flow direction and the corrected water flow speed, a water leakage speed and a water leakage direction of the building material are determined.
[0031] Optionally, the collection parameter comprises a current and a voltage of each wire; the event location comprises a leakage point; the determining the safety hazard event and the event location according to the collection parameter comprises:
[0032] According to the current and the voltage of each wire, a phase difference parameter of each wire is determined;
[0033] According to the phase difference parameter of each wire, whether the leakage event occurs and the leakage point are determined.
[0034] Optionally, the determining whether the leakage event occurs and the leakage point according to the phase difference parameter of each wire comprises:
[0035] A historical phase difference parameter of each wire is acquired;
[0036] It is judged whether the phase difference parameter of each wire matches the historical phase difference parameter of each wire;
[0037] When the phase difference parameter of each wire does not match the historical phase difference parameter of each wire, it is determined that the leakage event occurs;
[0038] From the phase difference parameter of each wire, a target phase difference parameter which does not match the historical phase difference parameter of each wire is determined;
[0039] A wire corresponding to the target phase difference parameter is determined as the leakage point.
[0040] Optionally, the determining the corresponding event level according to the safety hazard event and the collection parameter comprises:
[0041] When the safety hazard event is the line aging event, it is determined that the event level is a low-level event;
[0042] When the security risk event is the water leakage event, the event level is determined according to the humidity of each water path branch in the collection parameter;
[0043] When the security risk event is the electric leakage event, the event level is determined according to the current and voltage of each wire in the collection parameter.
[0044] Optionally, the event level includes a low-level event, a middle-level event and a high-level event; and the corresponding early warning operation is executed according to the event level and the event position, including:
[0045] When the event level is a low-level event, a corresponding early warning prompt is outputted;
[0046] When the event level is a middle-level event, the corresponding early warning prompt is outputted, and a water valve or an electric gate corresponding to the event position is closed;
[0047] When the event level is a high-level event, the corresponding early warning prompt is outputted, and a total water valve or a total electric gate is closed.
[0048] The embodiment of the application further discloses a water leakage and electric leakage determination device, including:
[0049] An acquisition module is configured to acquire collection parameters of a plurality of sensors arranged on a water path and an electric circuit of a house;
[0050] A first determination module is configured to determine a security risk event and an event position according to the collection parameters; the security risk event includes at least one of a line aging event, a water leakage event and an electric leakage event;
[0051] A second determination module is configured to determine an event level according to the security risk event and the collection parameters;
[0052] An execution module is configured to execute a corresponding early warning operation according to the event level and the event position.
[0053] Optionally, the collection parameters include current and insulation resistance of each electric circuit branch; the event position includes an aging electric circuit branch; and the first determination module includes:
[0054] A first determination submodule is configured to determine current harmonic distortion rate and electric leakage current growth rate of each electric circuit branch according to the current of each electric circuit branch;
[0055] A second determination submodule is configured to determine insulation resistance decay rate of each electric circuit branch according to the insulation resistance of each electric circuit branch.
[0056] a third determining sub-module, configured to determine whether the line aging event occurs according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate, and determine the aging circuit branch.
[0057] Optionally, the third determining sub-module comprises:
[0058] a first determining unit, configured to determine a first growth rate of the current harmonic distortion rate of each circuit branch;
[0059] a second determining unit, configured to determine that the line aging event occurs when the first growth rate is greater than a first growth threshold;
[0060] a third determining unit, configured to determine a target circuit branch corresponding to the first growth threshold, and determine the target circuit branch as the aging circuit branch;
[0061] a fourth determining unit, configured to determine a second growth rate of the leakage current growth rate of each circuit branch;
[0062] a fifth determining unit, configured to determine that the line aging event occurs when the second growth rate is greater than a second growth threshold;
[0063] a sixth determining unit, configured to determine a target circuit branch corresponding to the second growth threshold, and determine the target circuit branch as the aging circuit branch;
[0064] a seventh determining unit, configured to determine a third growth rate of the insulation resistance decay rate of each circuit branch;
[0065] an eighth determining unit, configured to determine that the line aging event occurs when the third growth rate is greater than a third growth threshold;
[0066] a ninth determining unit, configured to determine a target circuit branch corresponding to the third growth threshold, and determine the target circuit branch as the aging circuit branch.
[0067] Optionally, the collection parameters comprise humidity of each water circuit branch and a collection time point; and the first determining module comprises:
[0068] a fourth determining sub-module, configured to determine that a water leakage event occurs when there is a target humidity greater than a preset humidity in the humidity of each water circuit branch, and determine a target sensor corresponding to the target humidity;
[0069] a fifth determining sub-module, configured to determine a time sequence difference of the target sensor according to the collection time point of the target sensor;
[0070] A sixth determining sub-module is configured to determine a water flow speed and a water flow direction of a water route branch according to the time sequence difference of the target sensor.
[0071] A seventh determining sub-module is configured to determine a water leakage point according to the water flow speed, the water flow direction, and the target humidity.
[0072] Optionally, the first determining module further includes:
[0073] An obtaining sub-module is configured to obtain a water seepage parameter of a building material around the water leakage point, and correct the water flow speed according to the water seepage parameter to obtain a corrected water flow speed; the building material includes a wall surface material and a floor material; the water seepage parameter represents a speed of water seepage in the building material.
[0074] An eighth determining sub-module is configured to determine a water leakage speed and a water leakage direction of the building material according to the water seepage parameter, the water flow direction, and the corrected water flow speed.
[0075] Optionally, the collection parameter includes a current and a voltage of each wire; the event position includes a leakage point; and the first determining module includes:
[0076] A ninth determining sub-module is configured to determine a phase difference parameter of each wire according to the current and the voltage of each wire.
[0077] A tenth determining sub-module is configured to determine whether the leakage event occurs and the leakage point according to the phase difference parameter of each wire.
[0078] Optionally, the tenth determining sub-module includes:
[0079] An obtaining unit is configured to obtain a historical phase difference parameter of each wire.
[0080] A judging unit is configured to judge whether the phase difference parameter of each wire matches the historical phase difference parameter of each wire.
[0081] A tenth determining unit is configured to determine that the leakage event occurs when the phase difference parameter of each wire does not match the historical phase difference parameter of each wire.
[0082] An eleventh determining unit is configured to determine, from the phase difference parameter of each wire, a target phase difference parameter that does not match the historical phase difference parameter of each wire.
[0083] A twelfth determining unit is configured to determine a wire corresponding to the target phase difference parameter as the leakage point.
[0084] Optionally, the second determining module includes:
[0085] The eleventh determining sub-module is configured to determine that the event level is a low-level event when the security hidden danger event is the line aging event.
[0086] The twelfth determining sub-module is configured to determine the event level according to the humidity of each water branch in the collection parameters when the security hidden danger event is the water leakage event.
[0087] The thirteenth determining sub-module is configured to determine the event level according to the current and voltage of each wire in the collection parameters when the security hidden danger event is the electric leakage event.
[0088] Optionally, the event level includes a low-level event, a middle-level event and a high-level event.
[0089] The output sub-module is configured to output a corresponding early warning prompt when the event level is a low-level event.
[0090] The first closing sub-module is configured to output the corresponding early warning prompt and close a water valve or an electric gate corresponding to the event position when the event level is a middle-level event.
[0091] The second closing sub-module is configured to output the corresponding early warning prompt and close a total water valve or a total electric gate when the event level is a high-level event.
[0092] The application further discloses an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to realize the steps of the water leakage and electric leakage determination method.
[0093] The application further discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the water leakage and electric leakage determination method.
[0094] The application embodiment has the following advantages:
[0095] In the embodiment of the present application, a plurality of sensors arranged on water and electricity circuits in a house are used to acquire acquisition parameters of the plurality of sensors, and then a safety hazard event and an event position are determined according to the acquisition parameters, wherein the safety hazard event includes a line aging event, a water leakage event and an electric leakage event, and then an event level is determined according to the safety hazard event and the acquisition parameters, and finally corresponding warning operations are performed according to the event level and the event position. Thus, not only the water leakage event and the electric leakage event can be determined according to the acquisition parameters, but also the line aging event can be determined to avoid the safety hazard caused by the line aging, and the event position corresponding to the safety hazard event can be determined, which is beneficial to the accurate maintenance of the maintenance personnel according to the event position. Furthermore, corresponding warning operations are performed according to the event level and the event position to avoid secondary disasters caused by the safety hazard event, which is more intelligent and further increases the reliability of the determination of the safety hazard event. BRIEF DESCRIPTION OF DRAWINGS
[0096] Figure 1 is a step flow chart of a water leakage and electric leakage determination method provided by the embodiment of the present application;
[0097] Figure 2 is a structure block diagram of a water leakage and electric leakage determination device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0098] In order to make the above-mentioned objects, features and advantages of the present application more apparent and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0099] In the related art, only the occurred water leakage and electric leakage accidents can be detected, the source cannot be cut off synchronously, and secondary disasters can be caused. The traditional method is not intelligent enough and has low reliability. In order to solve the above technical problems, the present application discloses a water leakage and electric leakage determination method, and the core idea is that a plurality of sensors arranged on water and electricity circuits in a house are used to acquire acquisition parameters of the plurality of sensors, and then a safety hazard event and an event position are determined according to the acquisition parameters, wherein the safety hazard event includes a line aging event, a water leakage event and an electric leakage event, and then an event level is determined according to the safety hazard event and the acquisition parameters, and finally corresponding warning operations are performed according to the event level and the event position. Thus, not only the water leakage event and the electric leakage event can be determined according to the acquisition parameters, but also the line aging event can be determined to avoid the safety hazard caused by the line aging, and the event position corresponding to the safety hazard event can be determined, which is beneficial to the accurate maintenance of the maintenance personnel according to the event position. Furthermore, corresponding warning operations are performed according to the event level and the event position to avoid secondary disasters caused by the safety hazard event, which is more intelligent and further increases the reliability of the determination of the safety hazard event.
[0100] With reference to Figure 1 , a step flow chart of a water leakage and electric leakage determination method provided by an embodiment of the present application is shown, and the method can specifically include the following steps:
[0101] In step 101, collection parameters of a plurality of sensors arranged on water lines and electric lines of a house are acquired.
[0102] In the embodiment of the present application, when the house is decorated, a plurality of sensors can be installed on branches of each water line and branch conductors of each electric line in the house, so that the parameters of the water lines and the electric lines of the house can be collected by the plurality of sensors to obtain the collection parameters.
[0103] In the present application, a server can also be installed in the house, and the water leakage and electric leakage determination method of the present application can be applied to the server.
[0104] In step 102, a safety hazard event and an event position are determined according to the collection parameters; the safety hazard event includes at least one of a line aging event, a water leakage event and an electric leakage event.
[0105] In the present application, after the collection parameters of the plurality of sensors are acquired, whether a safety hazard event occurs and a time position corresponding to the occurrence of the safety hazard event can be determined according to the collection parameters, wherein the safety hazard event can include at least one of a line aging event, a water leakage event and an electric leakage event.
[0106] In an embodiment, the collection parameters can include currents of each electric line branch, insulation resistances; the event position includes an aging electric line branch; according to the collection parameters, the safety hazard event and the event position can be determined, which can include: according to the currents of each electric line branch, current harmonic distortion rates and electric leakage current growth rates of each electric line branch are determined; according to the insulation resistances of each electric line branch, insulation resistance decay rates of each electric line branch are determined; according to the current harmonic distortion rates, the electric leakage current growth rates and the insulation resistance decay rates, whether the line aging event occurs and the aging electric line branch are determined.
[0107] In the present application, the current harmonic distortion rate and the leakage current growth rate of each circuit branch can be determined according to the current of each circuit branch in the acquisition parameter, the insulation resistance decay rate of each circuit branch can be determined according to the insulation resistance of each circuit branch in the acquisition parameter, and finally, whether a line aging event occurs and the aging circuit branch can be determined according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate of each circuit branch. Thus, based on the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate of each circuit branch, whether a line aging event occurs and the aging circuit branch corresponding to the line aging event can be accurately determined, so that the maintenance personnel can timely and accurately maintain the aging circuit branch.
[0108] In an embodiment, determining whether a line aging event occurs and the aging circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate can include: determining a first growth rate of the current harmonic distortion rate of each circuit branch; determining that a line aging event occurs when the first growth rate is greater than a first growth threshold; determining a target circuit branch corresponding to the first growth rate greater than the first growth threshold, and determining the target circuit branch as the aging circuit branch; determining a second growth rate of the leakage current growth rate of each circuit branch; determining that a line aging event occurs when the second growth rate is greater than a second growth threshold; determining a target circuit branch corresponding to the second growth rate greater than the second growth threshold, and determining the target circuit branch as the aging circuit branch; determining a third growth rate of the insulation resistance decay rate of each circuit branch; determining that a line aging event occurs when the third growth rate is greater than a third growth threshold; determining a target circuit branch corresponding to the third growth rate greater than the third growth threshold, and determining the target circuit branch as the aging circuit branch.
[0109] In the present application, when determining whether a line aging event occurs and an aging circuit branch, a first growth rate of the current harmonic distortion rate of each circuit branch in a first preset time period can be determined, when the first growth rate is greater than a first growth threshold, it can be determined that a line aging event occurs, for example, if the current harmonic distortion rate of the circuit branch A is greater than 3% for 30 consecutive days, it indicates that the circuit branch A has a line aging event. The second growth rate of the leakage current growth rate of each circuit branch in a second preset time period can also be determined, when the second growth rate is greater than a second growth threshold, it indicates that a line aging event occurs, for example, if the second growth rate of the circuit branch B is greater than the second growth threshold for 20 days, it indicates that the circuit branch B has a line aging event. The third growth rate of the insulation resistance decay rate of each circuit branch in a third preset time period can also be determined, when the third growth rate is greater than a third growth threshold, it can be determined that a line aging event occurs, for example, if the third growth rate of the circuit branch C is greater than the third growth threshold for 25 days, it indicates that the circuit branch C has a line aging event. In the present application, the first preset time period, the second preset time period and the third preset time period can be set according to specific needs, which are not limited in the present application. In the present application, the first growth threshold, the second growth threshold and the third growth threshold can be set according to actual needs, which are not limited in the present application.
[0110] The present application can more accurately determine whether a line aging event occurs and the event position corresponding to the line aging event through the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate, so that the maintenance personnel can timely and accurately repair the aging circuit branch.
[0111] In an embodiment, the collection parameters include the humidity of each water route branch and the collection time point; the event position includes a water leakage point; and determining the safety hazard event and the event position according to the collection parameters includes: when there is a target humidity greater than a preset humidity in the humidity of each water route branch, it is determined that a water leakage event occurs, and a target sensor corresponding to the target humidity is determined; a time sequence difference of the target sensor is determined according to the collection time point of the target sensor; a water flow speed and a water flow direction of the water route branch are determined according to the time sequence difference of the target sensor; and the water leakage point is determined according to the water flow speed, the water flow direction and the target humidity.
[0112] In the present application, the humidity of each water route branch can be judged to determine whether there is a target humidity greater than the preset humidity, and when there is a target humidity greater than the preset humidity, it indicates that a water leakage event occurs, because the humidity around the water route branch will increase when a water leakage occurs in the house. Then the target sensor corresponding to the target humidity is determined, and according to the collection time points of the target sensor and the surrounding sensors, the time sequence difference of the target sensor is determined, which also indicates the triggering sequence of the sensor. Then, according to the time sequence difference of the target sensor and the target humidity, the water flow speed and the water flow direction of the water route branch can be determined, for example: according to the time sequence difference, it can be determined that sensor A is triggered first and then sensor B is triggered, which indicates that the water flow direction is the direction from sensor A to sensor B, and then the water flow speed is determined according to the time sequence difference and the distance between the sensors. Finally, the water leakage point can be determined according to the water flow speed, the water flow direction and the target humidity. For example, the humidity of sensor A is 10%, which is the highest, so the position corresponding to sensor A is determined as the water leakage point. For another example, the humidity of sensor A and sensor B is 10%, which is the highest, so the position in the middle of sensor A and sensor B is determined as the water leakage point. Thus, the present application can accurately determine whether a water leakage event occurs and the water leakage point corresponding to the water leakage event according to the humidity of the water route branch, so that the maintenance personnel can timely and accurately repair the water leakage point.
[0113] In an embodiment, according to the collection parameters, the safety hazard event and the event position can also include: obtaining the water seepage parameters of the building materials around the water leakage point, and correcting the water flow speed according to the water seepage parameters to obtain the corrected water flow speed; the building materials include: wall materials and floor materials; the water seepage parameters represent the speed of water seepage in the building materials; and the water leakage speed and the water leakage direction of the building materials are determined according to the water seepage parameters, the water flow direction and the corrected water flow speed.
[0114] In the present application, the water seepage parameters of the building materials around the water leakage point can also be obtained, for example, when the water leakage point is under the floor, the water seepage parameters of the corresponding floor materials can be obtained, and when the water leakage point is on the wall, the water seepage parameters of the wall materials corresponding to the water leakage point can be obtained. The building materials in the present application can include wall materials, floor materials, ceiling materials, etc. The water seepage parameters are pre-set. Then the water flow speed is corrected according to the water seepage parameters to eliminate the influence of interference factors, and finally the water leakage speed and the water leakage direction of the building materials are determined according to the water seepage parameters, the water flow direction and the corrected water flow speed. Thus, the water leakage speed and the water leakage direction of the building materials can be accurately determined, so that the maintenance personnel can timely and accurately repair the building materials.
[0115] In an embodiment, the acquisition parameters include currents and voltages of the respective conductors; the event location includes a leakage point; and determining the safety hazard event and the event location according to the acquisition parameters can include determining phase difference parameters of the respective conductors according to the currents and the voltages of the respective conductors; and determining whether a leakage event occurs and the leakage point according to the phase difference parameters of the respective conductors.
[0116] In the embodiment of the present application, the currents and the voltages of the respective conductors in the circuit can be acquired, and the phase difference parameters of the respective conductors can be determined according to the currents and the voltages of the respective conductors, which can include current phase difference, voltage phase difference, phase difference between zero currents of the respective conductors, and instantaneous phase change rate. Then, whether a leakage event occurs and the leakage point corresponding to the leakage event can be determined according to the phase difference parameters of the respective conductors. Thus, the leakage event and the corresponding leakage point can be accurately determined according to the phase difference parameters of the respective conductors, so that the maintenance personnel can timely and accurately maintain the leakage point.
[0117] In an embodiment, determining whether a leakage event occurs and the leakage point according to the phase difference parameters of the respective conductors can include acquiring historical phase difference parameters of the respective conductors; determining whether the phase difference parameters of the respective conductors match the historical phase difference parameters of the respective conductors; determining that a leakage event occurs when the phase difference parameters of the respective conductors do not match the historical phase difference parameters of the respective conductors; determining a target phase difference parameter that does not match the historical phase difference parameters of the respective conductors from the phase difference parameters of the respective conductors; and determining a conductor corresponding to the target phase difference parameter as the leakage point.
[0118] In the present application, the historical phase difference parameters of the respective conductors can be acquired, and then it is determined whether the phase difference parameters of the respective conductors match the historical phase difference parameters of the respective conductors. When the phase difference parameters of a conductor do not match the corresponding historical phase difference parameters, it is determined that a leakage event occurs in the corresponding conductor. For example, when the phase difference parameters of the socket A do not match the historical phase difference parameters of the socket A, it is indicated that a leakage event occurs in the socket A. Thus, the leakage point can be accurately determined according to the phase difference parameters and the historical phase difference parameters of the respective conductors, so that the maintenance personnel can timely and accurately maintain the leakage point.
[0119] In an embodiment, determining the corresponding event level according to the safety hazard event and the acquisition parameters includes: when the safety hazard event is a line aging event, determining that the event level is a low-level event; when the safety hazard event is a water leakage event, determining the event level according to the humidity of each water path branch in the acquisition parameters; and when the safety hazard event is a leakage event, determining the event level according to the currents and the voltages of the respective conductors in the acquisition parameters.
[0120] In the present application, when the security risk event is a line aging event, the event level can be determined as a low-level event, when the security risk event is a water leakage event, the speed of the water leakage can be determined according to the collected parameters, when the water leakage is slow, the event level can be determined as a low-level event, when the water leakage is medium, the event level can be determined as a middle-level event, when the water leakage is fast, the event level can be determined as a high-level event, when the security risk event is an electric leakage event, the electric leakage point can be determined according to the collected parameters, if the electric leakage point is a position that is not often visited or used by the user, the event level can be determined as a middle-level event, if the electric leakage point is not a position that is not often visited or used by the user, the event level can be determined as a high-level event. Thus, the present application can finely divide the security risk event and determine the refined event level, and further, the corresponding warning operation can be performed according to the event level.
[0121] In an embodiment, the event level can include a low-level event, a middle-level event and a high-level event, and the corresponding warning operation can be performed according to the event level and the event position, which can include outputting the corresponding warning prompt when the event level is a low-level event, outputting the corresponding warning prompt and closing the water valve or the electric switch corresponding to the event position when the event level is a middle-level event, and outputting the corresponding warning prompt and closing the total water valve or the total electric switch when the event level is a high-level event.
[0122] In the present application, when the event level is a low-level event, the corresponding warning information can be outputted, for example, line A has a line aging event. When the event level is a middle-level event, the corresponding warning information can be outputted and the water valve or the electric switch corresponding to the event position can be changed. In the present application, each water path branch is provided with an electronic water valve, and each electric circuit branch is provided with an electronic electric switch, the electronic water valve and the electronic electric switch can be connected with the server, when the event level is a middle-level event and the security risk event is a water leakage event, the corresponding warning information can be outputted and the electronic water valve corresponding to the water leakage point can be closed, when the event level is a middle-level event and the security risk event is an electric leakage event, the corresponding warning information can be outputted and the electronic electric switch corresponding to the electric leakage point can be closed, when the event level is a high-level event and the security risk event is a water leakage event, the corresponding warning information can be outputted and the total water valve can be closed, when the event level is a high-level event and the security risk event is an electric leakage event, the corresponding warning information can be outputted and the total electric switch can be closed. Thus, not only the warning prompt can be outputted in time, but also the source of the security risk event can be cut off in time to avoid the second disaster.
[0123] In the present application, a pre-trained prediction model can be deployed in the server, and the safety hazard event and the event location, and the event level can be determined through the prediction model. The prediction model can be trained by simulating the acquisition parameters in the laboratory before deployment. It is tried to avoid the user to carry out the training by water injection discharge in the house. Moreover, the preset value or threshold in the present application can also be dynamically set according to the actual demand. The server can also interact with the APP in the terminal device, output the corresponding early warning prompt through the APP in the terminal device, and the user can also view the event location on the APP.
[0124] In the embodiment of the present application, the acquisition parameters of a plurality of sensors arranged on the water circuit and the circuit of the house are acquired; the safety hazard event and the event location are determined according to the acquisition parameters; the safety hazard event includes at least one of the line aging event, the water leakage event and the electric leakage event; the event level is determined according to the safety hazard event and the acquisition parameters; and the corresponding warning operation is performed according to the event level and the event location. Thus, not only the water leakage event and the electric leakage event can be determined according to the acquisition parameters, but also the line aging event can be determined, the safety hazard caused by the line aging is avoided, and the event location corresponding to the safety hazard event can be determined, which is beneficial to the accurate maintenance of the maintenance personnel according to the event location. Further, the corresponding warning operation is performed according to the event level and the event location, the secondary disaster caused by the safety hazard event is avoided, it is more intelligent, and the reliability of the determination of the safety hazard event is further increased.
[0125] It should be noted that, for the method embodiment, in order to simply describe, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present application is not limited by the described action sequence, because according to the embodiment of the present application, certain steps can be adopted in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the involved actions are not necessarily the necessary of the embodiment of the present application.
[0126] Reference Figure 2 , a structure block diagram of a water leakage and electric leakage determination device provided by the embodiment of the present application is shown, which can specifically include the following modules:
[0127] The acquisition module 201 is used for acquiring the acquisition parameters of a plurality of sensors arranged on the water circuit and the circuit of the house;
[0128] The first determination module 202 is used for determining the safety hazard event and the event location according to the acquisition parameters; the safety hazard event includes at least one of the line aging event, the water leakage event and the electric leakage event;
[0129] The second determining module 203 is configured to determine an event level according to the safety hidden danger event and the collection parameter.
[0130] The executing module 204 is configured to perform a corresponding early warning operation according to the event level and the event location.
[0131] In an embodiment, the collection parameter includes a current of each circuit branch and an insulation resistance; the event location includes an aged circuit branch; and the first determining module 202 includes:
[0132] A first determining sub-module is configured to determine a current harmonic distortion rate and a leakage current growth rate of the each circuit branch according to the current of the each circuit branch;
[0133] A second determining sub-module is configured to determine an insulation resistance decay rate of the each circuit branch according to the insulation resistance of the each circuit branch;
[0134] A third determining sub-module is configured to determine whether the line aging event occurs and the aged circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate.
[0135] In an embodiment, the third determining sub-module includes:
[0136] A first determining unit is configured to determine a first growth rate of the current harmonic distortion rate of the each circuit branch;
[0137] A second determining unit is configured to determine that the line aging event occurs when the first growth rate is greater than a first growth threshold value;
[0138] A third determining unit is configured to determine a target circuit branch greater than the first growth threshold value and determine the target circuit branch as the aged circuit branch;
[0139] A fourth determining unit is configured to determine a second growth rate of the leakage current growth rate of the each circuit branch;
[0140] A fifth determining unit is configured to determine that the line aging event occurs when the second growth rate is greater than a second growth threshold value;
[0141] A sixth determining unit is configured to determine a target circuit branch greater than the second growth threshold value and determine the target circuit branch as the aged circuit branch;
[0142] A seventh determining unit is configured to determine a third growth rate of the insulation resistance decay rate of the each circuit branch;
[0143] an eighth determining unit, configured to determine that the line aging event occurs when the third growth rate is greater than a third growth threshold value;
[0144] a ninth determining unit, configured to determine a target circuit branch corresponding to the third growth threshold value, and determine the target circuit branch as the aging circuit branch.
[0145] In an embodiment, the collection parameters comprise humidity of each water circuit branch and a collection time point; the first determining module 202 comprises:
[0146] a fourth determining sub-module, configured to determine that a water leakage event occurs when there is a target humidity greater than a preset humidity in the humidity of each water circuit branch, and determine a target sensor corresponding to the target humidity;
[0147] a fifth determining sub-module, configured to determine a time sequence difference of the target sensor according to a collection time point of the target sensor;
[0148] a sixth determining sub-module, configured to determine a water flow speed and a water flow direction of the water circuit branch according to the time sequence difference of the target sensor;
[0149] a seventh determining sub-module, configured to determine a water leakage point according to the water flow speed, the water flow direction and the target humidity.
[0150] In an embodiment, the first determining module 202 further comprises:
[0151] an obtaining sub-module, configured to obtain a water seepage parameter of a building material around the water leakage point, and correct the water flow speed according to the water seepage parameter to obtain a corrected water flow speed; the building material comprises wall surface material and floor material; the water seepage parameter represents a speed of water seepage in the building material;
[0152] an eighth determining sub-module, configured to determine a water leakage speed and a water leakage direction of the building material according to the water seepage parameter, the water flow direction and the corrected water flow speed.
[0153] In an embodiment, the collection parameters comprise current and voltage of each wire; the event position comprises a leakage point; the first determining module 202 comprises:
[0154] a ninth determining sub-module, configured to determine a phase difference parameter of each wire according to the current and voltage of each wire;
[0155] a tenth determining sub-module, configured to determine whether the leakage event occurs and the leakage point according to the phase difference parameter of each wire.
[0156] In an embodiment, the tenth determining sub-module comprises:
[0157] an acquisition unit configured to acquire historical phase difference parameters of the respective conductors;
[0158] a judging unit configured to judge whether the phase difference parameters of the respective conductors match the historical phase difference parameters of the respective conductors;
[0159] a tenth determining unit configured to determine that the electric leakage event occurs when the phase difference parameters of the respective conductors do not match the historical phase difference parameters of the respective conductors;
[0160] an eleventh determining unit configured to determine, from the phase difference parameters of the respective conductors, a target phase difference parameter that does not match the historical phase difference parameters of the respective conductors;
[0161] a twelfth determining unit configured to determine a conductor corresponding to the target phase difference parameter as the electric leakage point.
[0162] In an embodiment, the second determining module 203 comprises:
[0163] an eleventh determining sub-module configured to determine that the event level is a low-level event when the safety hazard event is the line aging event;
[0164] a twelfth determining sub-module configured to determine the event level according to humidity of each water path branch in the acquisition parameters when the safety hazard event is the water leakage event;
[0165] a thirteenth determining sub-module configured to determine the event level according to current and voltage of each conductor in the acquisition parameters when the safety hazard event is the electric leakage event.
[0166] In an embodiment, the event level comprises a low-level event, a middle-level event and a high-level event; and the executing module 204 comprises:
[0167] an output sub-module configured to output a corresponding early warning prompt when the event level is a low-level event;
[0168] a first closing sub-module configured to output the corresponding early warning prompt and close a water valve or an electric gate corresponding to the event position when the event level is a middle-level event;
[0169] a second closing sub-module configured to output the corresponding early warning prompt and close a total water valve or a total electric gate when the event level is a high-level event.
[0170] In the embodiment of the present application, the acquisition module is configured to acquire collection parameters of a plurality of sensors arranged on a water circuit and an electric circuit of a house; the first determination module is configured to determine a safety hazard event and an event location according to the collection parameters; the safety hazard event includes at least one of a line aging event, a water leakage event and an electric leakage event; the second determination module is configured to determine an event level according to the safety hazard event and the collection parameters; and the execution module is configured to perform a corresponding early warning operation according to the event level and the event location. Thus, not only the water leakage event and the electric leakage event can be determined according to the collection parameters, but also the line aging event can be determined to avoid the safety hazard caused by the line aging, and the event location corresponding to the safety hazard event can be determined, which is beneficial to the accurate maintenance of the maintenance personnel according to the event location. Furthermore, the corresponding early warning operation is performed according to the event level and the event location to avoid the secondary disaster caused by the safety hazard event, which is more intelligent, and the reliability of the determination of the safety hazard event is increased.
[0171] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts refer to the part of the method embodiment.
[0172] The embodiment of the present application further provides an electronic device, which comprises:
[0173] The computer program is stored in the memory and can be run on the processor, and when the computer program is executed by the processor, each process of the safety hazard determination method embodiment is realized, and the same technical effect is achieved. To avoid repetition, no further description is given here.
[0174] The embodiment of the present application further provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium. When the computer program is executed by the processor, each process of the safety hazard determination method embodiment is realized, and the same technical effect is achieved. To avoid repetition, no further description is given here.
[0175] Each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same and similar parts of each embodiment can be referred to each other.
[0176] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device or a computer program product. Therefore, the embodiments of the present application can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0177] The embodiments of the present application are described with reference to the flowchart and / or block diagram of the method, terminal device (system) and computer program product according to the embodiments of the present application. It is understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 Figure 1 The embodiments of the present application are described with reference to the flowchart and / or block diagram of the method, terminal device (system) and computer program product according to the embodiments of the present application. It is understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart and / or block diagram block or blocks.
[0178] These computer program instructions can also be loaded into a computer or other programmable data processing terminal devices to cause a series of operational steps to be performed on the computer or other programmable terminal devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 Figure 1 The embodiments of the present application are described with reference to the flowchart and / or block diagram of the method, terminal device (system) and computer program product according to the embodiments of the present application. It is understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart and / or block diagram block or blocks.
[0179] These computer program instructions can also be loaded into a computer or other programmable data processing terminal devices to cause a series of operational steps to be performed on the computer or other programmable terminal devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 Figure 1 The embodiments of the present application are described with reference to the flowchart and / or block diagram of the method, terminal device (system) and computer program product according to the embodiments of the present application. It is understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart and / or block diagram block or blocks.
[0180] Although preferred embodiments of the method and the system according to the embodiments of the present application have been described, those skilled in the art will be able to make additional modifications and variations to these embodiments once they have the benefit of the present disclosure. Accordingly, it is intended to include within the scope of the present application all such modifications and variations as fall within the scope of the embodiments of the present application.
[0181] Finally, it is to be understood that the phraseology or terminology such as "first" and "second" etc. used herein is merely intended to differentiate one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between such entities or operations. Moreover, the terms "comprising", "including", or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the statement "comprising a" does not exclude the existence of additional identical elements in the process, method, article, or apparatus including the element.
[0182] The above describes in detail the water and electricity leakage determination method, the water and electricity leakage determination device, the electronic device and the computer readable storage medium provided by the present application. The principles and implementation manners of the present application are described by using specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A method for determining a water leakage or an electric leakage, characterized in that, The method comprises: acquiring collection parameters of a plurality of sensors arranged on water and electricity lines of a house; determining a safety hazard event and an event location according to the collection parameters; the safety hazard event comprises at least one of a line aging event, a water leakage event and an electric leakage event; determining an event level according to the safety hazard event and the collection parameters; performing a corresponding early warning operation according to the event level and the event location.
2. The method of claim 1, wherein, The collection parameters comprise current and insulation resistance of each circuit branch; the event location comprises an aging circuit branch; and the determining of the safety hazard event and the event location according to the collection parameters comprises: determining current harmonic distortion rate and leakage current growth rate of the circuit branch according to the current of the circuit branch; determining insulation resistance decay rate of the circuit branch according to the insulation resistance of the circuit branch; determining whether the line aging event occurs and the aging circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate.
3. The method of claim 2, wherein, The determining of whether the line aging event occurs and the aging circuit branch according to the current harmonic distortion rate, the leakage current growth rate and the insulation resistance decay rate comprises: determining a first growth rate of the current harmonic distortion rate of the circuit branch; determining that the line aging event occurs when the first growth rate is greater than a first growth threshold; determining a target circuit branch corresponding to the first growth threshold greater than the first growth threshold and determining the target circuit branch as the aging circuit branch; determining a second growth rate of the leakage current growth rate of the circuit branch; determining that the line aging event occurs when the second growth rate is greater than a second growth threshold; determining a target circuit branch corresponding to the second growth threshold greater than the second growth threshold and determining the target circuit branch as the aging circuit branch; determining a third growth rate of the insulation resistance decay rate of the circuit branch; determining that the line aging event occurs when the third growth rate is greater than a third growth threshold; determining a target circuit branch corresponding to the third growth threshold greater than the third growth threshold and determining the target circuit branch as the aging circuit branch.
4. The method of claim 1, wherein, The collection parameters comprise humidity and collection time points of each water line branch; the event location comprises a water leakage point; and the determining of the safety hazard event and the event location according to the collection parameters comprises: determining that a water leakage event occurs when there is a target humidity greater than a preset humidity in the humidity of each water line branch and determining a target sensor corresponding to the target humidity; determining a time sequence difference of the target sensor according to the collection time points of the target sensor; determining water flow speed and water flow direction of the water line branch according to the time sequence difference of the target sensor; determining the water leakage point according to the water flow speed, the water flow direction and the target humidity.
5. The method of claim 4, wherein, The determining of the safety hazard event and the event location according to the collection parameters further comprises: Obtain a water seepage parameter of a building material around the water leakage point, and correct the water flow speed according to the water seepage parameter to obtain a corrected water flow speed; the building material comprises a wall surface material and a floor material; the water seepage parameter represents a speed of water seepage in the building material; According to the water seepage parameter, the water flow direction and the corrected water flow speed, determine a water leakage speed and a water leakage direction of the building material.
6. The method of claim 1, wherein, The collection parameters include currents and voltages of the respective conductors; the event position includes a leakage point; the determination of the safety hazard event and the event position according to the collection parameters comprises: According to the currents and voltages of the respective conductors, determine phase difference parameters of the respective conductors; According to the phase difference parameters of the respective conductors, determine whether the leakage event occurs and the leakage point.
7. The method of claim 6, wherein, The determination of whether the leakage event occurs and the leakage point according to the phase difference parameters of the respective conductors comprises: Obtain historical phase difference parameters of the respective conductors; Determine whether the phase difference parameters of the respective conductors match the historical phase difference parameters of the respective conductors; When the phase difference parameters of the respective conductors do not match the historical phase difference parameters of the respective conductors, determine that the leakage event occurs; From the phase difference parameters of the respective conductors, determine target phase difference parameters that do not match the historical phase difference parameters of the respective conductors; Determine a conductor corresponding to the target phase difference parameters as the leakage point.
8. The method of claim 1, wherein, The determination of the event level according to the safety hazard event and the collection parameters comprises: When the safety hazard event is the line aging event, determine that the event level is a low-level event; When the safety hazard event is the water leakage event, determine the event level according to humidities of respective water path branches in the collection parameters; When the safety hazard event is the leakage event, determine the event level according to currents and voltages of the respective conductors in the collection parameters.
9. The method of claim 1, wherein, The event level comprises a low-level event, a middle-level event and a high-level event; the execution of the corresponding warning operation according to the event level and the event position comprises: When the event level is a low-level event, output a corresponding warning prompt; When the event level is a middle-level event, output the corresponding warning prompt and close a water valve or an electric gate corresponding to the event position; When the event level is a high-level event, output the corresponding warning prompt and close a total water valve or a total electric gate.
10. A water leakage and electric leakage determination device characterized by comprising: Comprise: An acquisition module is configured to acquire collection parameters of a plurality of sensors arranged on a water circuit and an electric circuit of a house; A first determination module is configured to determine a safety hazard event and an event position according to the collection parameters; The safety hazard event comprises at least one of a line aging event, a water leakage event and a leakage event; A second determination module is configured to determine an event level according to the safety hazard event and the collection parameters; An execution module is configured to execute a corresponding warning operation according to the event level and the event position.
11. An electronic device, comprising: Comprise: A processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the water and electricity leakage determination method according to any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer readable storage medium, and the computer program, when executed by the processor, implements the steps of the water and electricity leakage determination method according to any one of claims 1-9.
Citation Information
Patent Citations
Home network management system and method for home safety monitoring
CN104950845A
ELECTRONIC label, WATERPROOF roll material, ROOF LEAK DETECTION SYSTEM AND METHOD THEREOF
CN109214491A
Online sectional insulation state monitoring and fault positioning method and system
CN114236312A
Machine room water leakage detection method and equipment
CN115993210A
Intelligent safety protection and fault prevention methods for low-voltage electrical appliances
CN119787259A