A monitoring system and method for emergency water supply
By rationally deploying fire hydrant outlets within emergency areas, the problem of unreasonable fire hydrant outlet locations was solved, enabling precise and efficient emergency water supply and improving fire rescue efficiency.
Patent Information
- Application Number
- CN202510438841.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-04-09
Smart Images

Figure CN120356153B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data management technology, specifically a monitoring system and method for emergency water supply. Background Technology
[0002] With the rapid modernization of cities, fire rescue has become a crucial part of the urban safety guarantee system. In the event of a fire emergency rescue accident, firefighters need to respond quickly and take professional actions to protect people's lives and property. Fire hydrants are a type of fixed fire-fighting facility. By installing fire hydrants outdoors, emergency water sources can be provided to the fire scene to achieve emergency water supply and support firefighters in effectively extinguishing fires.
[0003] In fire rescue operations, every minute and every second is crucial. Due to the current unreasonable distribution of outdoor fire hydrant outlets, which are not designed according to the actual conditions of the emergency area, water may not be available in a timely manner during fire rescue operations. This results in the inability to effectively allocate water resources, leading to deficiencies in the formulation and execution of water supply strategies. Consequently, precise and efficient emergency fire rescue cannot be achieved, delaying the rescue time for firefighters. Summary of the Invention
[0004] The purpose of this invention is to provide a monitoring system and method for emergency water supply, in order to solve the problems raised in the prior art.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] A monitoring method for emergency water supply includes the following steps:
[0007] Step S100: Establish a 3D model of the emergency area, which is the area that needs to be supplied with emergency water by installing fire-fighting facilities; obtain the feature areas in the emergency area, and extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; calculate the water supply bias degree corresponding to each feature area based on the number of target moving objects in each feature area.
[0008] Step S200: Take a panoramic image of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, obtain the feature degree corresponding to each coordinate in the planar coordinate system.
[0009] Step S300: Obtain the number of water outlets of the planned fire-fighting facilities, and obtain several initial areas in the emergency area based on the area occupied by the emergency area in the plane coordinate system;
[0010] Step S400: Set the number of iterations for the initial region, calculate the iteration ratio for each initial region based on the characteristic degree of each coordinate within the initial region, obtain several target regions based on the iteration ratio and the number of iterations, and obtain the target point corresponding to each target region, and then deploy the water outlet of the fire-fighting facility at the target point location.
[0011] Furthermore, step S100 includes:
[0012] Step S110: Obtain the residential areas within the emergency zone as feature areas; divide the unique entrance / exit locations of each feature area in the 3D model; extract historical surveillance videos monitoring the entrance / exit locations; capture the area corresponding to the entrance / exit location P of a certain feature area H in the surveillance video, and use it as the first area R. P Based on target detection technology, a rectangular region corresponding to a moving object M in the surveillance video is captured and used as the second region R. M ;
[0013] Step S120: Obtain the time T1 when the moving object M enters the feature region H through the entrance / exit position P. Time T1 is the time when the region R enters the feature region H. P and region R M The moment of the first intersection is defined as the moment after time T1 when the moving object M first leaves the feature region H through the entrance / exit position P. Time T2 is the moment when region R... P and region R M The moment of their first intersection;
[0014] The target time period is pre-set as F. If the entire target time period F is included between time T1 and time T2, then the moving object M is taken as the target moving object of the feature region H, and thus all target moving objects in each feature region are obtained.
[0015] Step S130: Based on the number of target moving objects in each feature area, add all the numbers together to get the total number Q, divide the total number Q by the number of each target moving object, and use the result as the water supply bias degree corresponding to each feature area.
[0016] It should be noted that during the process of entering feature region H, region R P and region R MThe objects will first intersect, then the area of intersection will first increase and then decrease, eventually reaching zero. The process of determining whether they intersect is achievable with current technology and will not be elaborated upon here. A larger number of moving targets indicates a greater population within the characteristic area, suggesting a higher probability of fire accidents compared to less populated areas. Therefore, a greater focus should be placed on fire-fighting water supply. The determination of moving targets is based on the resident population within the characteristic area. Generally, people leave early and return late, resting at night; those conforming to this normal lifestyle are considered moving targets within the characteristic area.
[0017] Furthermore, step S200 includes:
[0018] Step S210: Obtain the unique inlet / outlet coordinates corresponding to the inlet / outlet position of each feature region in the planar coordinate system, and use the degree of water supply bias as the feature degree of the corresponding inlet / outlet coordinates;
[0019] Step S220: Set the total number of entrance / exit coordinates to N, and randomly sort the coordinates of each entrance / exit; obtain a coordinate K in the planar coordinate system that is not an entrance / exit coordinate, and obtain the straight-line distance between coordinate K and each entrance / exit coordinate. Then, based on each straight-line distance, obtain the distance feature value of coordinate K: Among them, L n Let K be the straight-line distance between the coordinates of the first and second entrances / exits, where 1 ≤ n ≤ N;
[0020] Based on the distance feature value L K The weight of the nth entrance / exit coordinate corresponding to coordinate K is obtained. Among them, L n It is the straight-line distance between coordinate K and the coordinates of the nth entrance / exit; thus, the weight of each entrance / exit coordinate corresponding to coordinate K is obtained, and the feature degree of coordinate K is obtained as follows: Among them, W K n T represents the weight of the coordinates of the nth entrance / exit. n The characteristic degree of the nth entrance / exit coordinates is obtained; thus, the characteristic degree of each coordinate in the planar coordinate system is obtained.
[0021] The weights here are equivalent to the degree to which coordinate K is influenced by the entrance / exit coordinates. Entrance / exit coordinates closer to K have a greater influence on K and should therefore have a larger weight; conversely, entrance / exit coordinates farther from K have a smaller influence and should therefore have a smaller weight. Since a smaller straight-line distance corresponds to a larger reciprocal, this explains the rationality of using the reciprocal of the straight-line distance to calculate the weight of each entrance / exit coordinate in this scheme. Furthermore, the sum of the weights of all entrance / exit coordinates is 1.
[0022] Furthermore, step S300 includes:
[0023] Step S310: Obtain the area C occupied by the emergency area in the panoramic image, set the number of outlets in the current plan to be D, and obtain the target area as C / D; randomly obtain several coordinates in the plane coordinate system and calculate the average coordinate a; obtain the outermost contour of the emergency area in the panoramic image, randomly obtain a coordinate b in the outermost contour, and obtain the ray S pointing from coordinate a to coordinate b.
[0024] Step S320: With coordinate a as the center, rotate ray S clockwise until the area of the emergency zone that ray S passes through during the rotation reaches the target area. Stop the rotation and take the area that passes through the emergency zone as the initial area. Similarly, rotate ray S again based on the position after stopping the rotation to obtain another initial area. Continue in this way to obtain D initial areas with the same area in the emergency zone.
[0025] Furthermore, step S400 includes:
[0026] Step S410: Set the initial loop count to g = 1. Calculate the average value of the characteristic degree of each coordinate within a certain initial region as the target degree of that initial region. Based on the target degree of each initial region, obtain the target value: Where D is the initial number of regions, T d Let the target degree of the d-th initial region be denoted as ; then the iteration ratio of the d-th initial region is obtained as follows: And obtain the iteration ratio for each initial region;
[0027] Since the target degree is determined by the number of moving objects, a higher target degree indicates a denser population in the initial area. Since the iteration ratio is the key to re-dividing the initial area, a smaller iteration area indicates a smaller area for the next division of the initial area. The target points are determined by the initial area. Under normal circumstances, denser population areas should have more target points, which means there should be more fire hydrant outlets. Therefore, it is reasonable that a higher target degree in the initial area should correspond to a smaller iteration ratio.
[0028] Step S420: Calculate the corresponding variance based on all iteration ratios. If the variance is greater than the preset variance threshold, multiply the area of each initial region by the corresponding iteration ratio to obtain the iteration area corresponding to each initial region. Adjust the area of each initial region to the corresponding iteration area and increment the value of the loop count g by 1 to obtain the target value and the iteration ratio of each initial region again. Continue until the variance calculated based on the iteration ratio is not greater than the preset variance threshold, or the value of the loop count g is greater than the preset count threshold. Stop the loop and use each initial region obtained in the end as the target region.
[0029] Step S430: Randomly obtain several coordinates in a target area, calculate the average coordinate points corresponding to the several coordinates, and then obtain several average coordinate points. The coordinate point with the smallest sum of distances to each average coordinate point and which allows the deployment of fire-fighting facilities' water outlets is taken as the target point of the target area. Then, the target point corresponding to each target area is obtained, and the water outlets of the fire-fighting facilities are deployed at the target point locations.
[0030] A monitoring system for emergency water supply includes a water supply bias calculation module, a characteristic degree calculation module, an initial area division module, and a target point determination module.
[0031] Water supply bias calculation module: used to build a 3D model of the emergency area, which is the area that needs emergency water supply by installing fire-fighting facilities; to obtain the feature areas in the emergency area, and to extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; and to calculate the water supply bias corresponding to each feature area based on the number of target moving objects in each feature area.
[0032] Feature degree calculation module: used to capture panoramic images of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, the feature degree corresponding to each coordinate in the planar coordinate system is obtained.
[0033] Initial Zone Division Module: Used to obtain the number of water outlets of the currently planned fire protection facilities, and to obtain several initial zones in the emergency zone based on the area occupied by the emergency zone in the plane coordinate system;
[0034] Target point determination module: used to set the number of iterations for the initial area, calculate the iteration ratio of each initial area based on the characteristic degree of each coordinate in the initial area; based on the iteration ratio and the number of iterations, several target areas are obtained, and the target point corresponding to each target area is obtained, and then the water outlet of the fire-fighting facility is deployed at the target point location.
[0035] Furthermore, the water supply bias calculation module includes a feature area analysis unit, a target moving object determination unit, and a water supply bias calculation unit;
[0036] Feature Area Analysis Unit: Used to acquire residential areas in the emergency zone as feature areas; extract historical surveillance video and capture the first and second areas in the surveillance video;
[0037] Target moving object determination unit: used to obtain time T1 and time T2 based on the first region and the second region; set the target time period as F, and determine the target moving object based on whether the time period between time T1 and time T2 includes time period F;
[0038] Water supply bias calculation unit: It is used to add up all the target moving objects in each characteristic area to get the total number Q, divide the total number Q by the number of each target moving object, and use the result as the water supply bias corresponding to each characteristic area.
[0039] Furthermore, the initial region division module includes a target area determination unit and an initial region division unit;
[0040] Target area determination unit: used to obtain the area occupied by the emergency area in the panoramic image, set the number of water outlets currently planned, and obtain the target area;
[0041] Initial area division unit: used to obtain several initial areas in the emergency area based on the area occupied by the emergency area and the target area.
[0042] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention provides a monitoring system and method for emergency water supply, comprising: establishing a three-dimensional model of an emergency area, acquiring characteristic areas within the emergency area, and calculating the degree of water supply bias in each characteristic area; establishing a planar coordinate system for the emergency area, and obtaining the degree of characteristic corresponding to each coordinate in the planar coordinate system based on the location and water supply bias of each characteristic area; acquiring the number of water outlets of fire-fighting facilities to obtain several initial areas within the emergency area; setting the number of iterations for the initial areas and calculating the iteration ratio of each initial area to obtain several target points, and deploying the water outlets at the target point locations. This invention, by combining the actual situation of the emergency area, specifically based on the number of people within the emergency area, and considering that areas with more people have a higher probability of accidents than areas with fewer people, allows for the placement of more water outlets for fire hydrants in densely populated areas than in sparsely populated areas. This rationally sets the locations of the water outlets for fire-fighting facilities, effectively allocating water resources, enabling fire brigades to respond promptly and effectively in the event of an accident, and improving fire-fighting efficiency in responding to emergencies. Attached Figure Description
[0043] Figure 1This is a flowchart illustrating a monitoring method for emergency water supply according to the present invention.
[0044] Figure 2 This is a structural diagram of a monitoring system for emergency water supply according to the present invention. Detailed Implementation
[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.
[0046] Example: Figure 1 As shown, the present invention provides a technical solution for monitoring emergency water supply, comprising the following steps:
[0047] Step S100: Establish a 3D model of the emergency area, which is the area that needs to be supplied with emergency water by installing fire-fighting facilities; obtain the feature areas in the emergency area, and extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; calculate the water supply bias degree corresponding to each feature area based on the number of target moving objects in each feature area.
[0048] Step S110: Obtain the residential areas within the emergency zone as feature areas; divide the unique entrance / exit locations of each feature area in the 3D model; extract historical surveillance videos monitoring the entrance / exit locations; capture the area corresponding to the entrance / exit location P of a certain feature area H in the surveillance video, and use it as the first area R. P Based on target detection technology, a rectangular region corresponding to a moving object M in the surveillance video is captured and used as the second region R. M ;
[0049] Step S120: Obtain the time T1 when the moving object M enters the feature region H through the entrance / exit position P. Time T1 is the time when the region R enters the feature region H. P and region R M The moment of the first intersection is defined as the moment after time T1 when the moving object M first leaves the feature region H through the entrance / exit position P. Time T2 is the moment when region R... P and region R M The moment of their first intersection;
[0050] The target time period is pre-set as F. If the entire target time period F is included between time T1 and time T2, then the moving object M is taken as the target moving object of the feature region H, and thus all target moving objects in each feature region are obtained.
[0051] Step S130: Based on the number of target moving objects in each feature area, add all the numbers together to get the total number Q, divide the total number Q by the number of each target moving object, and use the result as the water supply bias degree corresponding to each feature area.
[0052] It should be noted that during the process of entering feature region H, region R P and region R M The surfaces will first intersect, then the area of intersection will first increase and then decrease, eventually reaching zero. The process of determining whether they intersect is achievable with current technology and will not be elaborated upon here. A larger number of target moving objects indicates a larger population within the characteristic area, suggesting a greater preference for water supply to that area. The determination of target moving objects is based on the resident population within the characteristic area. Generally, people leave early and return late, resting at night; those conforming to this normal lifestyle are considered target moving objects for that characteristic area.
[0053] Step S200: Take a panoramic image of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, obtain the feature degree corresponding to each coordinate in the planar coordinate system.
[0054] Step S210: Obtain the unique inlet / outlet coordinates corresponding to the inlet / outlet position of each feature region in the planar coordinate system, and use the degree of water supply bias as the feature degree of the corresponding inlet / outlet coordinates;
[0055] Step S220: Set the total number of entrance / exit coordinates to N, and randomly sort the coordinates of each entrance / exit; obtain a coordinate K in the planar coordinate system that is not an entrance / exit coordinate, and obtain the straight-line distance between coordinate K and each entrance / exit coordinate. Then, based on each straight-line distance, obtain the distance feature value of coordinate K: Among them, L n Let K be the straight-line distance between the coordinates of the first and second entrances / exits, where 1 ≤ n ≤ N;
[0056] The weights here are equivalent to the degree to which coordinate K is influenced by the entrance / exit coordinates. Entrance / exit coordinates closer to K have a greater influence on K and should therefore have a larger weight; conversely, entrance / exit coordinates farther from K have a smaller influence and should therefore have a smaller weight. Since a smaller straight-line distance corresponds to a larger reciprocal, this explains the rationality of using the reciprocal of the straight-line distance to calculate the weight of each entrance / exit coordinate in this scheme. Furthermore, the sum of the weights of all entrance / exit coordinates is 1.
[0057] Based on the distance feature value L K The weight of the nth entrance / exit coordinate corresponding to coordinate K is obtained. Among them, L n It is the straight-line distance between coordinate K and the coordinates of the nth entrance / exit; thus, the weight of each entrance / exit coordinate corresponding to coordinate K is obtained, and the feature degree of coordinate K is obtained as follows: Among them, W K n T represents the weight of the coordinates of the nth entrance / exit. n The characteristic degree of the nth entrance / exit coordinates is obtained; thus, the characteristic degree of each coordinate in the planar coordinate system is obtained.
[0058] Step S300: Obtain the number of water outlets of the planned fire-fighting facilities, and obtain several initial areas in the emergency area based on the area occupied by the emergency area in the plane coordinate system;
[0059] Step S310: Obtain the area C occupied by the emergency area in the panoramic image, set the number of outlets in the current plan to be D, and obtain the target area as C / D; randomly obtain several coordinates in the plane coordinate system and calculate the average coordinate a; obtain the outermost contour of the emergency area in the panoramic image, randomly obtain a coordinate b in the outermost contour, and obtain the ray S pointing from coordinate a to coordinate b.
[0060] Step S320: With coordinate a as the center, rotate ray S clockwise until the area of the emergency zone that ray S passes through during the rotation reaches the target area, then stop rotating and take the area that passes through the emergency zone as the initial area. Similarly, based on the position of ray S after stopping the rotation, rotate again to obtain another initial area, and so on, to obtain D initial areas with the same area in the emergency zone.
[0061] Step S400: Set the number of iterations for the initial region, calculate the iteration ratio for each initial region based on the characteristic degree of each coordinate within the initial region, obtain several target regions based on the iteration ratio and the number of iterations, and obtain the target point corresponding to each target region, and then deploy the water outlet of the fire-fighting facility at the target point location.
[0062] Step S410: Set the initial loop count to g = 1. Calculate the average value of the characteristic degree of each coordinate within a certain initial region as the target degree of that initial region. Based on the target degree of each initial region, obtain the target value: Where D is the initial number of regions, T d Let the target degree of the d-th initial region be denoted as ; then the iteration ratio of the d-th initial region is obtained as follows: And obtain the iteration ratio for each initial region;
[0063] Since the target degree is determined by the number of moving objects, a higher target degree indicates a denser population in the initial area. Since the iteration ratio is the key to re-dividing the initial area, a smaller iteration area indicates a smaller area for the next division of the initial area. The target points are determined by the initial area. Under normal circumstances, denser population areas should have more target points, which means there should be more fire hydrant outlets. Therefore, it is reasonable that a higher target degree in the initial area should correspond to a smaller iteration ratio.
[0064] For example: If the initial total number of regions is 3, and the target strengths are 0.6, 0.9, and 0.7 respectively, then the target value is first obtained as follows: The resulting weights are as follows: and
[0065] Step S420: Calculate the corresponding variance based on all iteration ratios. If the variance is greater than the preset variance threshold, multiply the area of each initial region by the corresponding iteration ratio to obtain the iteration area corresponding to each initial region. Adjust the area of each initial region to the corresponding iteration area and increment the value of the loop count g by 1 to obtain the target value and the iteration ratio of each initial region again. Continue until the variance calculated based on the iteration ratio is not greater than the preset variance threshold, or the value of the loop count g is greater than the preset count threshold. Stop the loop and use each initial region obtained in the end as the target region.
[0066] Step S430: Randomly obtain several coordinates in a target area, calculate the average coordinate points corresponding to the several coordinates, and then obtain several average coordinate points. The coordinate point with the smallest sum of distances to each average coordinate point and which allows the deployment of fire-fighting facilities' water outlets is taken as the target point of the target area. Then, the target point corresponding to each target area is obtained, and the water outlets of the fire-fighting facilities are deployed at the target point locations.
[0067] This solution also provides a monitoring system for emergency water supply, including a water supply bias calculation module, a characteristic degree calculation module, an initial area division module, and a target point determination module;
[0068] Water supply bias calculation module: used to build a 3D model of the emergency area, which is the area that needs emergency water supply by installing fire-fighting facilities; to obtain the feature areas in the emergency area, and to extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; and to calculate the water supply bias corresponding to each feature area based on the number of target moving objects in each feature area.
[0069] Feature degree calculation module: used to capture panoramic images of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, the feature degree corresponding to each coordinate in the planar coordinate system is obtained.
[0070] Initial Zone Division Module: Used to obtain the number of water outlets of the currently planned fire protection facilities, and to obtain several initial zones in the emergency zone based on the area occupied by the emergency zone in the plane coordinate system;
[0071] Target point determination module: used to set the number of iterations for the initial area, calculate the iteration ratio of each initial area based on the characteristic degree of each coordinate in the initial area; based on the iteration ratio and the number of iterations, several target areas are obtained, and the target point corresponding to each target area is obtained, and then the water outlet of the fire-fighting facility is deployed at the target point location.
[0072] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
Claims
1. A monitoring method for emergency water supply, characterized in that, The following steps are involved: Step S100: Establish a 3D model of the emergency area, which is the area that needs to be supplied with emergency water by installing fire-fighting facilities; obtain the feature areas in the emergency area, and extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; calculate the water supply bias degree corresponding to each feature area based on the number of target moving objects in each feature area. Step S200: Take a panoramic image of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, obtain the feature degree corresponding to each coordinate in the planar coordinate system. Step S300: Obtain the number of water outlets of the planned fire-fighting facilities, and obtain several initial areas in the emergency area based on the area occupied by the emergency area in the plane coordinate system; Step S400: Set the number of iterations for the initial region, calculate the iteration ratio for each initial region based on the characteristic degree of each coordinate within the initial region; obtain several target regions based on the iteration ratio and the number of iterations, and obtain the target point corresponding to each target region, and then deploy the water outlet of the fire-fighting facility at the target point location. Step S100 includes: Step S110: Obtain the residential areas within the emergency zone as feature areas; divide the unique entrance / exit locations of each feature area in the 3D model; extract historical surveillance videos monitoring the entrance / exit locations; capture the area corresponding to the entrance / exit location P of a certain feature area H in the surveillance video, and use it as the first area R. P Based on target detection technology, a rectangular region corresponding to a moving object M in the surveillance video is captured and used as the second region R. M ; Step S120: Obtain the time T1 when the moving object M enters the feature region H through the entrance / exit position P. The time T1 is the time when the region R enters the feature region H. P and region R M The moment of the first intersection is defined as the moment after time T1 when the moving object M first leaves the feature region H through the entrance / exit position P, where time T2 is the moment when region R... P and region R M The moment of their first intersection; The target time period is pre-set as F. If the entire target time period F is included between time T1 and time T2, then the moving object M is taken as the target moving object of the feature region H, and thus all target moving objects in each feature region are obtained. Step S130: Based on the number of target moving objects in each feature area, add all the numbers together to get the total number Q, divide the total number Q by the number of each target moving object, and use the result as the water supply bias degree corresponding to each feature area.
2. The monitoring method for emergency water supply according to claim 1, characterized in that, Step S200 includes: Step S210: Obtain the unique inlet / outlet coordinates corresponding to the inlet / outlet position of each feature region in the planar coordinate system, and use the degree of water supply bias as the feature degree of the corresponding inlet / outlet coordinates; Step S220: Set the total number of entrance / exit coordinates to N, and randomly sort the coordinates of each entrance / exit; obtain a coordinate K in the planar coordinate system that is not an entrance / exit coordinate, and obtain the straight-line distance between coordinate K and each entrance / exit coordinate. Then, based on each straight-line distance, obtain the distance feature value of coordinate K: , where L n Let K be the straight-line distance between the coordinates of the first and second entrances / exits, where 1 ≤ n ≤ N; Based on the distance feature value L K The weight of the nth entrance / exit coordinate corresponding to coordinate K is obtained. , where L n It is the straight-line distance between coordinate K and the coordinates of the nth entrance / exit; thus, the weight of each entrance / exit coordinate corresponding to coordinate K is obtained, and the feature degree of coordinate K is obtained as follows: Among them, W K n T represents the weight of the coordinates of the nth entrance / exit. n The characteristic degree of the nth entrance / exit coordinates is obtained; thus, the characteristic degree of each coordinate in the planar coordinate system is obtained.
3. The monitoring method for emergency water supply according to claim 1, characterized in that, Step S300 includes: Step S310: Obtain the area C occupied by the emergency area in the panoramic image, set the number of outlets in the current plan to be D, and obtain the target area as C / D; randomly obtain several coordinates in the plane coordinate system and calculate the average coordinate a; obtain the outermost contour of the emergency area in the panoramic image, randomly obtain a coordinate b in the outermost contour, and obtain the ray S pointing from coordinate a to coordinate b. Step S320: With coordinate a as the center, rotate ray S clockwise until the area of the emergency zone that ray S passes through during the rotation reaches the target area. Stop the rotation and take the area that passes through the emergency zone as the initial area. Similarly, rotate ray S again based on the position after stopping the rotation to obtain another initial area. Continue in this way to obtain D initial areas with the same area in the emergency zone.
4. The monitoring method for emergency water supply according to claim 3, characterized in that, Step S400 includes: Step S410: Set the initial loop count to g=1. Calculate the average value of the characteristic degree of each coordinate within a certain initial region as the target degree of that initial region. Based on the target degree of each initial region, obtain the target value: Where D is the initial number of regions, and T d Let the target degree of the d-th initial region be denoted as ; then the iteration ratio of the d-th initial region is obtained as follows: And obtain the iteration ratio for each initial region; Step S420: Calculate the corresponding variance based on all iteration ratios. If the variance is greater than the preset variance threshold, multiply the area of each initial region by the corresponding iteration ratio to obtain the iteration area corresponding to each initial region. Adjust the area of each initial region to the corresponding iteration area and increment the value of the loop count g by 1 to obtain the target value and the iteration ratio of each initial region again. Continue until the variance calculated based on the iteration ratio is not greater than the preset variance threshold, or the value of the loop count g is greater than the preset count threshold. Stop the loop and use each initial region obtained in the end as the target region. Step S430: Randomly obtain several coordinates in a target area, calculate the average coordinate points corresponding to the several coordinates, and then obtain several average coordinate points. The coordinate point with the smallest sum of distances to each average coordinate point and which allows the deployment of the water outlet of the fire-fighting facility is taken as the target point of the target area. Then, the target point corresponding to each target area is obtained, and the water outlet of the fire-fighting facility is deployed at the target point.
5. A monitoring system for emergency water supply, used to execute the monitoring method for emergency water supply as described in any one of claims 1-4, characterized in that, The system includes a water supply bias calculation module, a characteristic degree calculation module, an initial area division module, and a target point determination module; Water supply bias calculation module: used to build a 3D model of the emergency area, which is the area that needs emergency water supply by installing fire-fighting facilities; to obtain the feature areas in the emergency area, and to extract the target moving objects in the feature areas based on the movement of each moving object in the historical monitoring video corresponding to the feature areas; and to calculate the water supply bias corresponding to each feature area based on the number of target moving objects in each feature area. Feature degree calculation module: used to capture panoramic images of the emergency area and establish a planar coordinate system for the emergency area. Based on the location of each feature area in the emergency area and the degree of water supply bias, the feature degree corresponding to each coordinate in the planar coordinate system is obtained. Initial Zone Division Module: Used to obtain the number of water outlets of the currently planned fire protection facilities, and to obtain several initial zones in the emergency zone based on the area occupied by the emergency zone in the plane coordinate system; Target point determination module: used to set the number of iterations for the initial area, calculate the iteration ratio of each initial area based on the characteristic degree of each coordinate in the initial area; based on the iteration ratio and the number of iterations, several target areas are obtained, and the target point corresponding to each target area is obtained, and then the water outlet of the fire-fighting facility is deployed at the target point location.
6. A monitoring system for emergency water supply according to claim 5, characterized in that, The water supply bias calculation module includes a feature region analysis unit, a target moving object determination unit, and a water supply bias calculation unit. Feature Area Analysis Unit: Used to acquire residential areas within the emergency zone as feature areas; Extract historical surveillance video and capture the first and second areas from the surveillance video; Target moving object determination unit: used to obtain time T1 and time T2 based on the first region and the second region; The target time period is set as F. The target moving object is determined by whether the time period between time T1 and time T2 includes time period F. Water supply bias calculation unit: It is used to add up all the target moving objects in each characteristic area to get the total number Q, divide the total number Q by the number of each target moving object, and use the result as the water supply bias corresponding to each characteristic area.
7. A monitoring system for emergency water supply according to claim 5, characterized in that, The initial region division module includes a target area determination unit and an initial region division unit; Target area determination unit: used to obtain the area occupied by the emergency area in the panoramic image, set the number of water outlets currently planned, and obtain the target area; Initial area division unit: used to obtain several initial areas in the emergency area based on the area occupied by the emergency area and the target area.
Citation Information
Patent Citations
Watershed multi-water-source project water volume emergency scheduling method and system
CN118261403A
Water supply power map generation device and water supply power map generation method
JP2008129551A