A fire control method, device, system, equipment and medium
Through the real-time inspection of the fire scene by image acquisition equipment and the automatic dispatch of fire water cannons, the problem of low utilization rate of fire water cannons is solved, and the fire extinguishing efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411125535.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-16
AI Technical Summary
The utilization rate of fire water cannons at fire scenes is low, resulting in low fire extinguishing efficiency, and it is difficult for the existing technology to accurately and timely dispatch and control fire water cannons.
Through the inspection of the target scene by the image acquisition equipment, the current ignition point and its level are determined, and the angle and number of fire water cannons are adjusted to accurately extinguish the fire according to the preset correspondence and the coordinates of the fire water cannons.
The utilization rate and fire extinguishing efficiency of fire water cannons have been improved, and accurate response and resource optimization are achieved to the fire scene.
Smart Images

Figure CN118662831B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fire protection technology, and in particular to a fire protection control method, device, system, equipment and medium. Background Art
[0002] Fire water monitor is a kind of fire extinguishing equipment that uses water as the medium to extinguish fires at a long distance. Fire water monitor is used in petrochemical enterprises, storage tank areas, hangars, warehouses, ports, garages and other places. It is also an ideal vehicle-mounted fire monitor for fire trucks. Summary of the invention
[0003] The embodiments of the present application provide a fire control method, device, system, equipment and medium to improve the utilization rate of fire water monitors and thereby improve fire extinguishing efficiency.
[0004] A fire control method provided in an embodiment of the present application includes:
[0005] Determine the current fire point and the fire level of the current fire point by inspecting the target scene with an image acquisition device;
[0006] Determine the fire monitor demand information corresponding to the fire level of the current fire point by using the correspondence between the preset fire level and the fire monitor demand information; and determine at least one target fire monitor according to the fire monitor demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire monitor pre-set for the target scene;
[0007] For each of the target fire water monitors, the adjustment angle of the target fire water monitor relative to the current fire point is determined according to the coordinates of the target fire water monitor, and the target fire water monitor is controlled to extinguish the current fire point using the adjustment angle.
[0008] The embodiment of the present application determines the current fire point and the fire level of the current fire point through the inspection of the target scene by the image acquisition device, so that the demand information of the fire water cannon corresponding to the fire level of the current fire point can be determined through the correspondence between the pre-set fire level and the demand information of the fire water cannon, and at least one target fire water cannon is determined according to the demand information of the fire water cannon corresponding to the fire level of the current fire point and the coordinates of at least one fire water cannon pre-set for the target scene; and then, for each of the target fire water cannons, the adjustment angle of the target fire water cannon relative to the current fire point is determined according to the coordinates of the target fire water cannon, and the target fire water cannon is controlled to extinguish the current fire point using the adjustment angle. It can be seen that the embodiment of the present application achieves effective management of fire water cannons by pre-setting the correspondence between the fire level and the demand for fire water cannons, and pre-calibrating the positions of each water cannon. When a fire is discovered, the required target water cannons can be dispatched more accurately, reasonably and timely, and the target water cannons can be controlled to adjust their angles to carry out more precise fire extinguishing treatment on the fire point. Therefore, the utilization rate of fire water cannons is improved, thereby improving the fire extinguishing efficiency.
[0009] In some embodiments, determining at least one target fire water monitor according to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene includes:
[0010] Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information;
[0011] According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, the number of target fire water monitors closest to the current fire point and in an idle state are determined.
[0012] In some embodiments, for each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor includes:
[0013] For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
[0014] In some embodiments, the step of determining the adjustment angle of the target fire monitor relative to the current fire point according to the coordinates of the target fire monitor includes:
[0015] Determine the azimuth of the target fire monitor relative to the current fire point based on the coordinates of the target fire monitor on the horizontal plane and the coordinates of the current fire point on the horizontal plane; and
[0016] The pitch angle of the target fire water monitor relative to the current fire point is determined based on the horizontal distance between the target fire water monitor and the current fire point, and the height difference between the target fire water monitor and the current fire point in the vertical direction.
[0017] In some embodiments, the method further comprises:
[0018] Monitor the fire extinguishing situation of the current fire point in real time through the image acquisition device;
[0019] According to the fire extinguishing situation, when it is determined that the fire level of the current fire point is reduced, the target fire water cannon used to extinguish the fire at the current fire point is controlled to reduce the number; when it is determined that the fire level of the current fire point is increased, the target fire water cannon used to extinguish the fire at the current fire point is controlled to increase the number; when it is determined that the current fire point has been extinguished, the target fire water cannon used to extinguish the fire at the current fire point is controlled to stop extinguishing the fire.
[0020] In some embodiments, the coordinates of at least one fire monitor are pre-set for the target scene in the following manner:
[0021] Configure the address of each fire monitor;
[0022] For each fire monitor separately:
[0023] Send a rotation control instruction to the fire monitor address;
[0024] When it is determined that the fire monitor has responded to the rotation control instruction, calculating the horizontal distance between the fire monitor and the image acquisition device;
[0025] Calculating the azimuth and elevation of the image acquisition device relative to the fire monitor;
[0026] Calculate the coordinates of the fire monitor;
[0027] Send the coordinates of the fire monitor to the fire monitor at the address;
[0028] When the fire monitor replies with confirmation, the coordinates and address of the fire monitor are bound.
[0029] In some embodiments, the calculating the horizontal distance between the fire water monitor and the image acquisition device includes:
[0030] When the overhead angle of the image acquisition device relative to the fire monitor is less than a preset value, determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture; and based on the distance, the focal length of the image acquisition device, and the height of the image acquisition device from the ground, calculate the horizontal distance between the fire monitor and the image acquisition device;
[0031] When the overhead viewing angle of the image acquisition device relative to the fire water monitor is greater than a preset value, the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture is determined; and based on the distance, the focal length of the image acquisition device, the height of the image acquisition device from the ground, and the pitch angle of the image acquisition device, the horizontal distance between the fire water monitor and the image acquisition device is calculated.
[0032] In some embodiments, the calculating the coordinates of the fire monitor includes:
[0033] Determine the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device;
[0034] The x and y coordinates of the fire water monitor are determined respectively according to the azimuth angle of the image acquisition device relative to the fire water monitor and the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane.
[0035] In some embodiments, determining the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device includes:
[0036] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0037] The z coordinate of the fire water monitor is determined by using the horizontal distance between the fire water monitor and the image acquisition device, and the first angle.
[0038] In some embodiments, the projection distance is determined in the following manner:
[0039] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0040] The projection distance of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane is determined by using the horizontal distance between the fire-fighting water monitor and the image acquisition device and the first angle.
[0041] In some embodiments, the x and y coordinates of the fire monitor are determined according to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, respectively, including:
[0042] Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane;
[0043] The x and y coordinates of the fire water monitor are determined respectively by using the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane and the second angle.
[0044] In some embodiments, the method further comprises:
[0045] Record the fire extinguishing information of the current fire point and generate a fire extinguishing event record corresponding to the current fire point; the fire extinguishing event record includes: the coordinates of the current fire point, the fire level, the adjustment angle, specifications, working start time and end time of the fire water monitor for extinguishing the current fire point;
[0046] By providing a query interface, the fire extinguishing event record is output to the user.
[0047] In some embodiments, the method further includes: setting inspection weights for different areas in the target scene;
[0048] The inspection of the target scene by the image acquisition device includes:
[0049] The target scene is inspected according to the inspection weights set for different areas in the target scene, wherein for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
[0050] In some embodiments, the method further comprises:
[0051] Recording firefighting information during the operation of the image acquisition device and generating a firefighting event record;
[0052] The fire event record is output through a user interface for users to query fire information.
[0053] A fire control device provided in an embodiment of the present application includes:
[0054] The first unit is used to determine the current fire point and the fire level of the current fire point by inspecting the target scene through an image acquisition device;
[0055] The second unit is used to determine the fire water cannon demand information corresponding to the fire level of the current fire point through the correspondence between the preset fire level and the fire water cannon demand information; and determine at least one target fire water cannon according to the fire water cannon demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire water cannon pre-set for the target scene;
[0056] The third unit is used to determine, for each of the target fire water cannons, an adjustment angle of the target fire water cannon relative to the current fire point according to the coordinates of the target fire water cannon, and control the target fire water cannon to extinguish the current fire point using the adjustment angle.
[0057] A fire fighting system provided in an embodiment of the present application includes at least one fire fighting water monitor and the fire fighting control device for controlling the fire fighting water monitor to extinguish the fire at the fire point.
[0058] Another embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory and execute any of the above methods according to the obtained program.
[0059] Another embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute any of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0061] Figure 1 A schematic diagram of the overall flow of a fire control method provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of the installation scenario of the fire monitor and the image acquisition device provided in the embodiment of the present application;
[0063] Figure 3 A schematic diagram of a principle for determining the horizontal distance between a fire monitor and an image acquisition device provided in an embodiment of the present application;
[0064] Figure 4A schematic diagram of another principle for determining the horizontal distance between a fire monitor and an image acquisition device provided in an embodiment of the present application;
[0065] Figure 5 A schematic diagram of the principle of determining the coordinates of a fire monitor in a spatial coordinate system with an image acquisition device as the center point provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of the principle of determining the z coordinate of a fire monitor provided in an embodiment of the present application;
[0067] Figure 7 A schematic diagram of the principle of determining the x and y coordinates of a fire monitor provided in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of a specific process for calibrating the position of a fire monitor provided in an embodiment of the present application;
[0069] Fig. 9 A schematic diagram of a specific process for dispatching a fire monitor provided in an embodiment of the present application;
[0070] Fig.10 A schematic diagram of a user interface provided in an embodiment of the present application;
[0071] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0072] Fig.12 A schematic diagram of the structure of a fire control device provided in an embodiment of the present application;
[0073] Fig.13 A schematic diagram of the structure of a fire protection system provided in an embodiment of the present application;
[0074] Fig.14 A schematic diagram of the structure of another fire protection system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0076] The embodiments of the present application provide a fire control method, device, system, equipment and medium to improve the utilization rate of fire water monitors and thereby improve fire extinguishing efficiency.
[0077] Among them, the method and the device, equipment, and medium are based on the same application concept. Since the principles of solving problems by the method and the device, system, equipment, and medium are similar, the implementation of the device, equipment, system, medium, and method can refer to each other, and the repeated parts will not be repeated.
[0078] The terms "first", "second", etc. (if any) in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in a sequence other than the content illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0079] The following examples and embodiments are to be understood as illustrative examples only. Although this specification may refer to "one", "an" or "some" examples or embodiments in several places, this does not mean that each such reference relates to the same example or embodiment, nor does it mean that the feature applies only to a single example or embodiment. Individual features of different embodiments may also be combined to provide other embodiments. In addition, terms such as "including" and "comprising" should be understood as not limiting the described embodiments to consist only of those features that have been mentioned; such examples and embodiments may also include features, structures, units, modules, etc. that are not specifically mentioned.
[0080] The following is a detailed description of each embodiment of the present application in conjunction with the accompanying drawings. It should be noted that the display order of the embodiments of the present application only represents the order of the embodiments, and does not represent the advantages and disadvantages of the technical solutions provided by the embodiments.
[0081] See also Figure 1 , a fire control method provided in an embodiment of the present application includes:
[0082] S101, determining a current fire point and a fire level of the current fire point by inspecting a target scene with an image acquisition device;
[0083] In the embodiment of the present application, at least one image acquisition device and at least one fire water monitor may be provided for the target scene, wherein the image acquisition device may include, for example, a camera, a pan / tilt head, etc., for inspecting the target scene and acquiring the captured image.
[0084] The fire level is pre-set to be a light danger level, a medium danger level, a high danger level, etc., and each level can be further refined according to the size of the fire. The specific division can be determined according to actual needs.
[0085] S102, determining the fire monitor demand information corresponding to the fire level of the current fire point through the correspondence between the preset fire level and the fire monitor demand information; and determining at least one target fire monitor according to the fire monitor demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire monitor pre-set for the target scene;
[0086] In some embodiments, the demand information of the fire monitor includes, for example, the quantity and specification information of the fire monitor, such as flow rate information of 5 L / s, 10 L / s, etc.
[0087] The correspondence between the fire level and the demand information of the fire monitor can be preset according to actual needs. The higher the fire level, the greater the fire, and the more fire monitors are needed to extinguish the fire. Of course, this is also related to the specification flow of the fire monitor. For the same fire level, if the specification flow of the fire monitor is larger, the number of fire monitors required is smaller, and vice versa, if the specification flow of the fire monitor is smaller, the number of fire monitors required is larger.
[0088] S103. For each of the target fire water monitors, determine an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor, and control the target fire water monitor to extinguish the current fire point using the adjustment angle.
[0089] In some embodiments, the adjustment angle of the target fire water monitor relative to the current fire point includes the azimuth and / or elevation angle of the target fire water monitor relative to the current fire point. The azimuth reflects the adjustment angle of the target fire water monitor on the horizontal plane, and the elevation reflects the adjustment angle of the target fire water monitor on the vertical plane.
[0090] It can be seen that the embodiments of the present application calibrate the positions of water cannons, manage fire water cannons, and improve the utilization rate of fire water cannons. For example, the number of fire water cannons can be coordinated according to the size of the fire. When inspecting a larger fire point, water cannon resources that are close are allocated first, thereby achieving the shortest fire extinguishing time and improving fire extinguishing efficiency.
[0091] In some embodiments, determining at least one target fire water monitor according to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene includes:
[0092] Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information;
[0093] According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, the number of target fire water monitors closest to the current fire point and in an idle state are determined.
[0094] In some embodiments, for each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor includes:
[0095] For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
[0096] In some embodiments, the step of determining the adjustment angle of the target fire monitor relative to the current fire point according to the coordinates of the target fire monitor includes:
[0097] Determine the azimuth of the target fire monitor relative to the current fire point based on the coordinates of the target fire monitor on the horizontal plane and the coordinates of the current fire point on the horizontal plane; and
[0098] The pitch angle of the target fire water monitor relative to the current fire point is determined based on the horizontal distance between the target fire water monitor and the current fire point, and the height difference between the target fire water monitor and the current fire point in the vertical direction.
[0099] In some embodiments, the method further comprises:
[0100] Monitor the fire extinguishing situation of the current fire point in real time through the image acquisition device;
[0101] According to the fire extinguishing situation, when it is determined that the fire level of the current fire point is reduced, the target fire water cannon used to extinguish the fire at the current fire point is controlled to reduce the number; when it is determined that the fire level of the current fire point is increased, the target fire water cannon used to extinguish the fire at the current fire point is controlled to increase the number; when it is determined that the current fire point has been extinguished, the target fire water cannon used to extinguish the fire at the current fire point is controlled to stop extinguishing the fire.
[0102] In some embodiments, the coordinates of at least one fire monitor are pre-set for the target scene in the following manner:
[0103] Configure the address of each fire monitor;
[0104] For each fire monitor separately:
[0105] Send a rotation control instruction to the fire monitor address;
[0106] When it is determined that the fire monitor has responded to the rotation control instruction, calculating the horizontal distance between the fire monitor and the image acquisition device;
[0107] Calculating the azimuth and elevation of the image acquisition device relative to the fire monitor;
[0108] Calculate the coordinates of the fire monitor;
[0109] Send the coordinates of the fire monitor to the fire monitor at the address;
[0110] When the fire monitor replies with confirmation, the coordinates and address of the fire monitor are bound.
[0111] In some embodiments, the calculating the horizontal distance between the fire water monitor and the image acquisition device includes:
[0112] When the vertical angle of the image acquisition device relative to the fire water monitor is less than a preset value (the pitch angle of the image acquisition device can be ignored at this time), determine the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture; and based on the distance, the focal length of the image acquisition device, and the installation height of the image acquisition device from the ground, calculate the horizontal distance between the fire water monitor and the image acquisition device;
[0113] When the overhead viewing angle of the image acquisition device relative to the fire water monitor is greater than a preset value (the pitch angle of the image acquisition device needs to be considered at this time), determine the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture; and based on the distance, the focal length of the image acquisition device, the installation height of the image acquisition device from the ground, and the pitch angle of the image acquisition device, calculate the horizontal distance between the fire water monitor and the image acquisition device.
[0114] In some embodiments, the calculating the coordinates of the fire monitor includes:
[0115] Determine the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device;
[0116] The x and y coordinates of the fire water monitor are determined respectively according to the azimuth angle of the image acquisition device relative to the fire water monitor and the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane.
[0117] In some embodiments, determining the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device includes:
[0118] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0119] The z coordinate of the fire water monitor is determined by using the horizontal distance between the fire water monitor and the image acquisition device, and the first angle.
[0120] In some embodiments, the projection distance is determined in the following manner:
[0121] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0122] The projection distance of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane is determined by using the horizontal distance between the fire-fighting water monitor and the image acquisition device and the first angle.
[0123] In some embodiments, the x and y coordinates of the fire monitor are determined according to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, respectively, including:
[0124] Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane;
[0125] The x and y coordinates of the fire water monitor are determined respectively by using the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane and the second angle.
[0126] In some embodiments, the method further comprises:
[0127] Record the fire extinguishing information of the current fire point and generate a fire extinguishing event record corresponding to the current fire point; the fire extinguishing event record includes: the coordinates of the current fire point, the fire level, the adjustment angle, specifications, working start time and end time of the fire water monitor for extinguishing the current fire point;
[0128] By providing a query interface, the fire extinguishing event record is output to the user.
[0129] It can be seen that the embodiments of the present application can also provide data support for the staff to trace back problems and summarize fire-fighting experience by notifying the staff to conduct real-time monitoring and record fire points and fire-fighting events.
[0130] In some embodiments, the method further includes: setting inspection weights for different areas in the target scene;
[0131] The inspection of the target scene by the image acquisition device includes:
[0132] The target scene is inspected according to the inspection weights set for different areas in the target scene, wherein for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
[0133] It can be seen that the embodiments of the present application can also optimize inspections and perform strategic optimization on the scene range of camera patrols. All patrolled ranges can be divided into areas, and objects in the divided areas of the scene can be intelligently detected and analyzed one by one. Areas with similar flammable and explosive objects can be weighted and focused on. By increasing patrol time, patrol frequency, etc., it is easier to discover dangerous situations, avoid risks in advance, and reduce the damage caused by fire.
[0134] In some embodiments, the method further comprises:
[0135] Recording firefighting information during the operation of the image acquisition device and generating a firefighting event record;
[0136] The fire event record is output through a user interface for users to query fire information.
[0137] A more specific example is given below in conjunction with the accompanying drawings.
[0138] In the embodiment of the present application, the installation scenario of the fire monitor and the image acquisition device (also referred to as a camera or video camera, camera) is as follows, for example Figure 2 As shown, it mainly includes a plurality of fire water monitors, such as fire water monitors N1 to N5, and at least one image acquisition device P1. Figure 2 As shown, fire monitors N1 to N5 are distributed on the ceiling and the ground of the house; and the image acquisition device inspects in the middle of the ceiling of the house.
[0139] That is to say, a group of fire monitors are located in various corners of the house, each controlling a certain area, and the position coordinates of the flames are detected by a group of image acquisition devices. In actual situations, there may be multiple fire points, and the fires at different points have different sizes. For large fires, fire monitors that are close and idle are given priority for extinguishing. If the fires at other points are larger, multiple fire monitors need to be notified to extinguish the fires. When the fire is less than the preset value, the fire monitor resources can be released, leaving the fire monitors idle. The image acquisition device needs to calibrate the spatial position information of each fire monitor to facilitate management and control, and obtain the location information of the fire point and the size of the fire. The fire monitor closest to the fire point is calculated, and it is notified to rotate to the corresponding angle for fire extinguishing.
[0140] In some embodiments, the fire control method provided in the embodiments of the present application can be divided into performing the following main tasks:
[0141] Task 1: Calibrate the spatial position information of each fire monitor relative to the image acquisition device.
[0142] Task 2: Coordinate the work of various fire water cannons during a fire.
[0143] Task three: Record events and notify staff of on-site status in real time.
[0144] Task 4: Optimize inspection tasks.
[0145] The following is an example to illustrate the specific execution process of each of the above tasks.
[0146] Task 1: Calibrate the spatial coordinates of each fire monitor relative to the image acquisition device. Specifically include:
[0147] Step 1: Calculate the distance between each fire monitor and the image acquisition device set on the pan / tilt.
[0148] First, from the perspective of the image acquisition device inspecting the fire monitor, the fire monitor is placed at the center of the image acquisition device to calculate the horizontal distance between each fire monitor and the image acquisition device, such as Figure 3 shown.
[0149] Figure 3 The physical meanings of the parameters shown in are as follows:
[0150] Fc: focal length of the image acquisition device;
[0151] Hc: The installation height of the image acquisition device from the ground;
[0152] Yh: The highest point of the fire monitor in the picture;
[0153] Yb: The lowest point of the fire monitor in the picture;
[0154] C: indicates image acquisition device.
[0155] When the top-down angle of the image acquisition device relative to the fire monitor is 0 or very small (less than the preset value), determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture (i.e., Yb-Yh); and based on this distance, as well as the focal length of the image acquisition device and the height of the image acquisition device from the ground, calculate the horizontal distance between the fire monitor and the image acquisition device. For example, the horizontal distance d between the fire monitor and the image acquisition device can be calculated by the following formula:
[0156] Formula 1
[0157] There is a certain height difference between the image acquisition device and the fire monitor, so the image acquisition device needs to have a certain pitch angle so that the fire monitor can be displayed in the acquired picture. Figure 4 As shown, Figure 4 The θ in the figure is the pitch angle of the image acquisition device C, Hctanθ is Hc multiplied by tanθ, and Hc / cosθ is Hc divided by cosθ.
[0158] When the pitch angle of the image acquisition device relative to the fire monitor is large, determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture (i.e., Yb-Yh); and calculate the horizontal distance between the fire monitor and the image acquisition device based on the distance, the focal length of the image acquisition device, the height of the image acquisition device from the ground, and the pitch angle of the image acquisition device. In other words, the calculation of the horizontal distance d between the fire monitor and the image acquisition device at this time needs to take into account the pitch angle θ. For example, the calculation formula of d is as follows:
[0159] Formula 2
[0160] Step 2: Calibrate the spatial position information of each fire water monitor relative to the image acquisition device.
[0161] For each fire monitor, if the azimuth and elevation of the image acquisition device relative to the fire monitor, and the horizontal distance d between the image acquisition device and the fire monitor are known, the spatial coordinates of the fire monitor can be calculated. The azimuth and elevation are commonly used terms in spatial coordinates. Among them:
[0162] The azimuth angle is the horizontal angle between the north direction line of a certain point and the target direction line rotated clockwise. It is called the direction angle, and the angle range is [0,2π]. In layman's terms, the direction angle is the horizontal angle between the true north direction and the target. For example: the true north is 0 degrees, and 30 degrees north east is 30 degrees.
[0163] Pitch angle: Sometimes also called altitude. After the azimuth is measured, the pitch angle is needed to describe the height of the observed object relative to the observer. If the observer is on the ground, the pitch angle range is between 0 degrees and 90 degrees. Sometimes the pitch angle range is between -90 degrees and 90 degrees, because the observed object is below the observer.
[0164] For example, see Figure 5 The spatial coordinate system shown takes the image acquisition device as the center point. The pitch angle and azimuth angle of the image acquisition device relative to the current fire water monitor, as well as the horizontal distance d between the image acquisition device and the fire water monitor are known. The coordinates (x, y, z) of the fire water monitor in the spatial coordinate system are calculated.
[0165] The z coordinate of the fire monitor can be determined according to the pitch angle of the image acquisition device relative to the fire monitor and the horizontal distance between the fire monitor and the image acquisition device, see Figure 6 , specifically including:
[0166] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0167] The z coordinate of the fire water monitor is determined by using the horizontal distance d between the fire water monitor and the image acquisition device, and the first angle.
[0168] For example, assuming that the azimuth and elevation of the image acquisition device relative to the current fire monitor are known, the z coordinate of the fire monitor is calculated using the following formula 3:
[0169] Coordinate z = sin(altitude×pi / 180)×d Formula 3
[0170] Among them, pi is π; altitude×pi / 180 is the first angle between the line between the waterproof cannon and the image acquisition device and the horizontal plane.
[0171] For further information, see Figure 6 , the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane can be determined as follows:
[0172] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0173] The horizontal distance d between the fire-fighting water monitor and the image acquisition device and the first angle are used to determine the projection distance d' of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane.
[0174] Furthermore, the x and y coordinates of the fire monitor can be determined according to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, see Figure 7 , including:
[0175] Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane;
[0176] The x and y coordinates of the fire-fighting water monitor are determined respectively by using the projection distance d' of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane and the second angle.
[0177] For example, the projection distance d' of the horizontal distance d between the image acquisition device and the fire monitor on the XY coordinate system (ie, the horizontal plane) is calculated by the following formula 4:
[0178] d' = cos(altitude×pi / 180)×d Formula 4
[0179] Then, the x-coordinate of the fire monitor is calculated by the following formula 5:
[0180] Coordinate x = sin(azimuth×pi / 180)×d' Formula 5
[0181] The y coordinate of the fire monitor is calculated by the following formula:
[0182] Coordinate y = cos(azimuth×pi / 180)×d' Formula 6
[0183] Among them, azimuth×pi / 180, that is, the second angle between the projection of the line between the fire water monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane.
[0184] In summary, the embodiments of the present application can determine the pitch angle and azimuth of the image acquisition device relative to the fire water cannon through the inspection of the image acquisition device. For example, when a fire water cannon appears in the center of the image acquisition device's acquisition screen, the pitch angle and azimuth of the image acquisition device relative to the fire water cannon at this time can be determined. For example, the pitch angle and azimuth of the image acquisition device relative to the fire water cannon at this time can be calculated through the inspection points, and the x, y, and z coordinate values of the fire water cannon relative to the image acquisition device (0,0,0) can be further calculated through distance measurement (d and d' are obtained respectively) and the above formula.
[0185] Therefore, the rotation control of the fire water cannon can be achieved by sending messages to the fire water cannon in sequence. If the fire water cannon is detected to have performed the corresponding action through the picture captured by the image acquisition device, it is confirmed that the fire water cannon is successfully bound to the image acquisition device; further, a message confirming the completion of the binding and the coordinate information of the fire water cannon can be sent to the fire water cannon at the address (i.e., the communication address, such as the IP address). If the fire water cannon confirms the message, the position calibration process for the fire water cannon is completed, and the image acquisition device records the address of the fire water cannon and the corresponding coordinate information. The specific process is as follows: Figure 8 As shown, for example, including:
[0186] S601, configure the fire monitor address;
[0187] The address, that is, the communication address, is, for example, an IP address.
[0188] S602, image acquisition equipment inspects each point;
[0189] The points may be pre-set locations, that is, the image acquisition device may perform targeted inspections on preset locations; or, the image acquisition device may perform random inspections, not targeting specific areas or locations, but only within its observable range.
[0190] S603, determining that the fire monitor is located at the center of the acquired image;
[0191] It should be noted that in the embodiment of the present application, the fire water monitor can be located at a preset position of the captured image obtained by the image acquisition device, and is not limited to the central position.
[0192] S604, sending a rotation control instruction to each fire monitor address;
[0193] S605, determine whether the fire monitor responds, if yes, execute step S606; otherwise, execute step S604, and continue to send the rotation control instruction for the next fire monitor address.
[0194] If, for the current fire water monitor address, a rotation control instruction is sent to the fire water monitor at the address, and the fire water monitor performs a corresponding action (it is possible to determine whether the fire water monitor performs a corresponding action through image detection), it means that the fire water monitor has responded, otherwise, it means that there is no response.
[0195] S606, calculating the horizontal distance between the fire monitor and the image acquisition device;
[0196] For example, the horizontal distance between the current fire water monitor and the image acquisition device is determined by the above formula 2.
[0197] S607, calculating the azimuth and elevation angles of the image acquisition device relative to the fire monitor;
[0198] S608, calculating the coordinates of the fire monitor;
[0199] For example, the coordinates (x, y, z) of the current fire monitor are determined by using the above formulas 3 to 6.
[0200] S609, sending the coordinates of the fire monitor to the fire monitor at the address;
[0201] S610, determine whether the fire monitor replies to confirm, if yes, execute step S611; otherwise, execute step S602, that is, the image acquisition device continues to inspect.
[0202] After receiving its coordinates, the fire monitor can reply with a confirmation message.
[0203] S611. Bind the coordinates and address of the fire monitor.
[0204] That is, establish the correspondence between the coordinates and address of the fire water monitor.
[0205] It should be noted that the various tasks described in the embodiments of the present application can be performed by an image acquisition device or by a separate control device, and are not specifically limited in the embodiments of the present application.
[0206] Task 2: Coordinate the use of fire water cannons when a fire occurs.
[0207] After or at the same time as calibrating the fire water monitor, the corresponding relationship between the number of fire water monitors (referred to as the number of routes) and the fire hazard level can also be determined. The fire hazard level can include multiple levels. For each level, the number of fire water monitors can be set according to different specifications and flow rates.
[0208] For example, the correspondence between the fire hazard level (indicating flame intensity) and the number of routes is shown in Table 1 below. For example, if the fire hazard level is a light hazard level, the number N of fire water monitors with a flow rate of 5 L / s that can be opened is greater than or equal to 4.
[0209]
[0210] Table 1
[0211] Among them, regarding the determination of flame intensity: as shown in Table 1, it can be divided into a light hazard level and a medium hazard level (level I and level II), and the critical images of each level can be input into the image acquisition device for calibration. Through image recognition technology, when the fire area on the acquired image is larger than the fire area of a critical image of a certain level, for example, larger than the fire area on the critical image of the light hazard level, it is necessary to increase the number and / or specification flow of the dispatched fire water cannons accordingly. Among them, the critical images of each level, that is, the images preset for each fire hazard level, the fire area on the image corresponds to the minimum number of water cannons and the minimum flow specification of the level. For example, for the critical image preset for the light hazard level, it is indicated that when the fire area on the image is reached, 4 fire water cannons with a flow rate of 5 L / s can be used to extinguish the fire. If the fire becomes larger (determined by detecting the fire area on the current acquired image), another fire water cannon with a flow rate of 5 L / s can be added. If the fire continues to grow and reaches the fire area on the critical image of level I of the medium hazard level, 6 fire water cannons with a flow rate of 5 L / s are used to extinguish the fire, and so on. Similarly, the number and / or flow rate of fire water monitors can be reduced accordingly.
[0212] According to the location of the fire point, calculate at least one fire monitor closest to the fire point and the angle at which the fire monitor needs to be rotated, including the azimuth angle (rotation angle in the horizontal plane) and pitch angle (rotation angle in the vertical plane) of the fire monitor relative to the fire point.
[0213] For example, given the coordinates of the fire point (X, Y, Z), the coordinates of fire monitor 1 are (X1, Y1, Z1), the coordinates of fire monitor 2 are (X2, Y2, Z2), ..., and the coordinates of fire monitor n are (Xn, Yn, Zn).
[0214] Then, the distance dn between each fire monitor n and the fire point can be determined by the following formula:
[0215] Formula 7
[0216] And further use the following formula to determine the shortest distance dk:
[0217] dk=min(d1,d2,……,dn) Formula 8
[0218] Thus, the target fire water cannon corresponding to the shortest distance dk can be determined. One target fire water cannon can be determined, and multiple target fire water cannons can be determined in the same way.
[0219] Since there is a height difference between the target fire monitor and the fire point, the azimuth angle α of the target fire monitor relative to the fire point can be calculated based on the coordinates of the target fire monitor on the horizontal plane (Xk, Yk) and the coordinates of the fire point on the horizontal plane (X, Y). Specifically, it includes:
[0220] Case 1: When Δx = (Xk-X)>0, and Δy = (Yk-Y)>0 (i.e. the target fire monitor is located in the first quadrant of the horizontal coordinate system with the fire point as the origin):
[0221] Formula 9
[0222] Case 2: When Δx = (Xk-X)>0, and Δy = (Yk-Y)<0 (the target fire monitor is located in the fourth quadrant of the horizontal coordinate system with the fire point as the origin):
[0223] Formula 10
[0224] Case 3: When Δx = (Xk-X)<0, and Δy = (Yk-Y)>0 (the target fire monitor is located in the second quadrant of the horizontal coordinate system with the fire point as the origin):
[0225] Formula 11
[0226] Case 4: When Δx = (Xk-X)<0, and Δy = (Yk-Y)<0 (the target fire monitor is located in the third quadrant of the horizontal coordinate system with the fire point as the origin):
[0227] Formula 12
[0228] The calculation of the elevation angle β of the target fire monitor relative to the fire point includes, for example:
[0229] Step 1: Use the following formula to calculate the horizontal distance d between the target fire monitor and the fire point:
[0230] Formula 13
[0231] Step 2: Use the following formula to calculate the height difference h between the target fire monitor and the fire point:
[0232] h = (Zn-Z) Formula 14
[0233] Step 3: Use the following formula to calculate the pitch angle β of the target fire monitor relative to the fire point:
[0234] Formula 15
[0235] In summary, during the inspection of the image acquisition device, when the image acquisition device detects that the flame is located in the center of the image, it first determines the distance between the flame (for example, the center point of the flame) and the image acquisition device, and calculates the spatial coordinates of the flame through the azimuth and pitch angle of the image acquisition device relative to the flame. Then, it traverses the spatial coordinates of all fire water cannons to obtain at least one target fire water cannon closest to the flame, and then sends a command to the target fire water cannon to extinguish the fire. The command includes information such as the azimuth and pitch angle of the target fire water cannon relative to the flame (i.e., the ignition point). When it is found that other points are on fire, it is necessary to first coordinate the fire water cannons with a short idle distance. If not enough, according to the size of the flame and the number of fire water cannons required, coordinate other working fire water cannons to extinguish the fire. The specific process is as follows: Fig. 9 As shown, for example, including:
[0236] S701, determine the corresponding relationship between the fire level and the number and specifications of fire monitors;
[0237] For example, as shown in Table 1 above.
[0238] S702, image acquisition equipment inspects each point;
[0239] S703, determine whether a fire point is detected, if yes, execute step S704; otherwise, execute step S702, and the image acquisition device continues to inspect.
[0240] S704. Determine the quantity and specifications of the required fire monitors according to the fire grade;
[0241] For example, by comparing the flame size on the current collected image with the flame size on the preset critical images of each ignition level, the current ignition level of the ignition point is determined, and by looking up the corresponding relationship shown in Table 1, the number and specification flow of the fire water monitors currently required are determined.
[0242] S705, determining the target fire water monitor and its adjustment angle;
[0243] For example, one or more target fire water monitors are determined through the above formulas 7 and 8. The target fire water monitors are the fire water monitors closest to the fire point and are used to extinguish the fire at the current fire point.
[0244] S706, sending a fire extinguishing instruction to the target fire water monitor, including adjusting the angle;
[0245] For each target fire water monitor, the adjustment angle of the target fire water monitor includes the azimuth and elevation angle of the target fire water monitor relative to the current fire point. The specific calculation formula is as shown in formulas 9 to 15 above, and the details will not be repeated here.
[0246] S707, monitoring the current fire level according to the flame size on the current collected image;
[0247] During the fire-fighting process, the flame size is continuously detected, that is, the current fire level is monitored in real time. If there is a change, corresponding measures are taken, such as adjusting the number and specifications of the target fire water cannons.
[0248] S708, determine whether it is necessary to add fire water monitors. If yes, execute step S705 to determine the newly added target fire water monitors and their adjustment angles; otherwise, execute step S709.
[0249] If the fire level increases, additional fire monitors will be required.
[0250] S709: Determine whether it is necessary to reduce the fire water monitors. If yes, execute step S710; otherwise, execute step S707.
[0251] If the fire level decreases, the fire monitors may need to be reduced.
[0252] S710, sending a stop fire extinguishing instruction to the target fire water monitor;
[0253] For example, there are currently two fire monitors extinguishing the current fire point. If you need to reduce the number of fire monitors, you can choose to send a fire extinguishing instruction to the fire monitor that is farther away from the current fire point.
[0254] S711, determine whether the fire is extinguished successfully, if yes, execute step S702, and the image acquisition device continues to inspect; otherwise, execute step S707, and monitor the current fire level in real time.
[0255] For example, if no flame is detected in the current captured image, it means that the fire is extinguished successfully.
[0256] Task 3: Record specific events in detail to facilitate subsequent inquiries and tracing.
[0257] During the operation of the image acquisition device, specific events can be recorded in the database.
[0258] For example, if a fire is found during the inspection of the image acquisition equipment, the coordinates of the fire point, the start time of the fire, the fire level and other information will be recorded in the database; further, the staff can be notified to check. After the fire cannon is successfully extinguished, the end time of the fire extinguishing can also be recorded. In the process of fire extinguishing, the fire cannon point can also be notified to record the coordinate information of the fire point, and record the start time and end time of the fire cannon.
[0259] Through the above records, a detailed record of a specific event is generated, and a query interface can be provided to the user, such as Fig.10As shown. It can be seen that by adding detailed event records, the locations and times where fires are most likely to occur can be recorded. When deploying fire monitors later, more fire monitors can be deployed for these flammable locations. By querying the video, the staff can analyze the cause of the fire at the location and continuously adjust the corresponding relationship between the fire level and the water consumption and the number of fire monitors to achieve the fastest fire extinguishing speed, the minimum water consumption and the minimum number of fire monitors.
[0260] Task 4: Optimize inspection tasks.
[0261] For example, based on the detailed records of the above events, the inspection weights of certain scenes and certain areas can be further calibrated, so that the image acquisition device can more easily find the target area during the inspection process, and the relevant spatial location information and the spatial location information of the fire have been calibrated in the above manner, and the areas with higher weights are inspected with emphasis, for example, the inspection frequency and inspection duration can be increased for key scenes and areas. Among them, for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
[0262] The inspection weights set for different areas in the target scenario may also be pre-set, that is, have initial values, and then may be updated according to actual conditions, so as to gradually discover and focus on key inspection areas.
[0263] In summary, the method provided by the embodiment of the present application can calibrate multiple groups of fire water cannon positions, bind the position information and the communication address, and further propose a strategy for controlling fire water cannon fire extinguishing based on this. When a fire event is found, each fire point can be effectively extinguished. First, the fire water cannon with a short idle distance is allocated. When the fire at other fire points is more intense, more fire water cannons are coordinated to extinguish the fire. Finally, by recording the fire point information and the operation information of each fire water cannon, the fire extinguishing process is traced back to provide data support for subsequent improvement of the utilization rate of fire water cannons and acceleration of fire extinguishing efficiency.
[0264] The following is an introduction to the equipment or device provided in the embodiments of the present application, in which the explanations or examples of technical features that are the same or corresponding to those described in the above method will not be repeated later.
[0265] An electronic device provided in an embodiment of the present application may be, for example, an image acquisition device itself, or any other device that can control an image acquisition device or a fire water monitor, see Fig.11 , the electronic device includes, for example:
[0266] The processor 600 is used to read the program in the memory 620 and execute the following process:
[0267] Determine the current fire point and the fire level of the current fire point by inspecting the target scene with an image acquisition device;
[0268] Determine the fire monitor demand information corresponding to the fire level of the current fire point by using the correspondence between the preset fire level and the fire monitor demand information; and determine at least one target fire monitor according to the fire monitor demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire monitor pre-set for the target scene;
[0269] For each of the target fire water monitors, the adjustment angle of the target fire water monitor relative to the current fire point is determined according to the coordinates of the target fire water monitor, and the target fire water monitor is controlled to extinguish the current fire point using the adjustment angle.
[0270] In some embodiments, determining at least one target fire water monitor according to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene includes:
[0271] Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information;
[0272] According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, the number of target fire water monitors closest to the current fire point and in an idle state are determined.
[0273] In some embodiments, for each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor includes:
[0274] For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
[0275] In some embodiments, the step of determining the adjustment angle of the target fire monitor relative to the current fire point according to the coordinates of the target fire monitor includes:
[0276] Determine the azimuth of the target fire monitor relative to the current fire point based on the coordinates of the target fire monitor on the horizontal plane and the coordinates of the current fire point on the horizontal plane; and
[0277] The pitch angle of the target fire water monitor relative to the current fire point is determined based on the horizontal distance between the target fire water monitor and the current fire point, and the height difference between the target fire water monitor and the current fire point in the vertical direction.
[0278] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process:
[0279] Monitor the fire extinguishing situation of the current fire point in real time through the image acquisition device;
[0280] According to the fire extinguishing situation, when it is determined that the fire level of the current fire point is reduced, the target fire water cannon used to extinguish the fire at the current fire point is controlled to reduce the number; when it is determined that the fire level of the current fire point is increased, the target fire water cannon used to extinguish the fire at the current fire point is controlled to increase the number; when it is determined that the current fire point has been extinguished, the target fire water cannon used to extinguish the fire at the current fire point is controlled to stop extinguishing the fire.
[0281] In some embodiments, the processor 600 pre-sets the coordinates of at least one fire monitor for the target scene in the following manner:
[0282] Configure the address of each fire monitor;
[0283] For each fire monitor separately:
[0284] Send a rotation control instruction to the fire monitor address;
[0285] When it is determined that the fire monitor has responded to the rotation control instruction, calculating the horizontal distance between the fire monitor and the image acquisition device;
[0286] Calculating the azimuth and elevation of the image acquisition device relative to the fire monitor;
[0287] Calculate the coordinates of the fire monitor;
[0288] Send the coordinates of the fire monitor to the fire monitor at the address;
[0289] When the fire monitor replies with confirmation, the coordinates and address of the fire monitor are bound.
[0290] In some embodiments, the calculating the horizontal distance between the fire water monitor and the image acquisition device includes:
[0291] When the overhead angle of the image acquisition device relative to the fire monitor is less than a preset value, determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture; and based on the distance, the focal length of the image acquisition device, and the height of the image acquisition device from the ground, calculate the horizontal distance between the fire monitor and the image acquisition device;
[0292] When the overhead viewing angle of the image acquisition device relative to the fire water monitor is greater than a preset value, the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture is determined; and based on the distance, the focal length of the image acquisition device, the height of the image acquisition device from the ground, and the pitch angle of the image acquisition device, the horizontal distance between the fire water monitor and the image acquisition device is calculated.
[0293] In some embodiments, the calculating the coordinates of the fire monitor includes:
[0294] Determine the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device;
[0295] The x and y coordinates of the fire water monitor are determined respectively according to the azimuth angle of the image acquisition device relative to the fire water monitor and the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane.
[0296] In some embodiments, determining the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device includes:
[0297] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0298] The z coordinate of the fire water monitor is determined by using the horizontal distance between the fire water monitor and the image acquisition device, and the first angle.
[0299] In some embodiments, the projection distance is determined in the following manner:
[0300] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0301] The projection distance of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane is determined by using the horizontal distance between the fire-fighting water monitor and the image acquisition device and the first angle.
[0302] In some embodiments, the x and y coordinates of the fire monitor are determined according to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, respectively, including:
[0303] Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane;
[0304] The x and y coordinates of the fire water monitor are determined respectively by using the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane and the second angle.
[0305] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process:
[0306] Record the fire extinguishing information of the current fire point and generate a fire extinguishing event record corresponding to the current fire point; the fire extinguishing event record includes: the coordinates of the current fire point, the fire level, the adjustment angle, specifications, working start time and end time of the fire water monitor for extinguishing the current fire point;
[0307] By providing a query interface, the fire extinguishing event record is output to the user.
[0308] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following processes: setting inspection weights of different areas in the target scene;
[0309] The inspection of the target scene by the image acquisition device includes:
[0310] The target scene is inspected according to the inspection weights set for different areas in the target scene, wherein for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
[0311] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process:
[0312] Recording firefighting information during the operation of the image acquisition device and generating a firefighting event record;
[0313] The fire event record is output through a user interface for users to query fire information.
[0314] The transceiver 610 is configured to receive and send data under the control of the processor 600 .
[0315] Among them, Fig.11 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 600 and various circuits of memory represented by memory 620 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 610 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 630 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0316] The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.
[0317] In some embodiments, the processor 600 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.
[0318] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0319] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
[0320] See also Fig.12 The fire control device provided in the embodiment of the present application may be, for example, the image acquisition device itself or a part of it, or any other device that can control the image acquisition device and the fire water monitor, and the fire control device includes:
[0321] The first unit 11 is used to determine the current fire point and the fire level of the current fire point by inspecting the target scene through an image acquisition device;
[0322] The second unit 12 is used to determine the fire cannon demand information corresponding to the fire level of the current fire point through the correspondence between the preset fire level and the fire cannon demand information; and determine at least one target fire cannon according to the fire cannon demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire cannon pre-set for the target scene;
[0323] The third unit 13 is used to determine, for each of the target fire water cannons, an adjustment angle of the target fire water cannon relative to the current fire point according to the coordinates of the target fire water cannon, and control the target fire water cannon to extinguish the current fire point using the adjustment angle.
[0324] In some embodiments, determining at least one target fire water monitor according to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene includes:
[0325] Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information;
[0326] According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, the number of target fire water monitors closest to the current fire point and in an idle state are determined.
[0327] In some embodiments, for each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor includes:
[0328] For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
[0329] In some embodiments, the step of determining the adjustment angle of the target fire monitor relative to the current fire point according to the coordinates of the target fire monitor includes:
[0330] Determine the azimuth of the target fire monitor relative to the current fire point based on the coordinates of the target fire monitor on the horizontal plane and the coordinates of the current fire point on the horizontal plane; and
[0331] The pitch angle of the target fire water monitor relative to the current fire point is determined based on the horizontal distance between the target fire water monitor and the current fire point, and the height difference between the target fire water monitor and the current fire point in the vertical direction.
[0332] In some embodiments, the third unit 13 is further configured to:
[0333] Monitor the fire extinguishing situation of the current fire point in real time through the image acquisition device;
[0334] According to the fire extinguishing situation, when it is determined that the fire level of the current fire point is reduced, the target fire water cannon used to extinguish the fire at the current fire point is controlled to reduce the number; when it is determined that the fire level of the current fire point is increased, the target fire water cannon used to extinguish the fire at the current fire point is controlled to increase the number; when it is determined that the current fire point has been extinguished, the target fire water cannon used to extinguish the fire at the current fire point is controlled to stop extinguishing the fire.
[0335] In some embodiments, the second unit 12 pre-sets the coordinates of at least one fire monitor for the target scene in the following manner:
[0336] Configure the address of each fire monitor;
[0337] For each fire monitor separately:
[0338] Send a rotation control instruction to the fire monitor address;
[0339] When it is determined that the fire monitor has responded to the rotation control instruction, calculating the horizontal distance between the fire monitor and the image acquisition device;
[0340] Calculating the azimuth and elevation of the image acquisition device relative to the fire monitor;
[0341] Calculate the coordinates of the fire monitor;
[0342] Send the coordinates of the fire monitor to the fire monitor at the address;
[0343] When the fire monitor replies with confirmation, the coordinates and address of the fire monitor are bound.
[0344] In some embodiments, the calculating the horizontal distance between the fire water monitor and the image acquisition device includes:
[0345] When the overhead angle of the image acquisition device relative to the fire monitor is less than a preset value, determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture; and based on the distance, the focal length of the image acquisition device, and the height of the image acquisition device from the ground, calculate the horizontal distance between the fire monitor and the image acquisition device;
[0346] When the overhead viewing angle of the image acquisition device relative to the fire water monitor is greater than a preset value, the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture is determined; and based on the distance, the focal length of the image acquisition device, the height of the image acquisition device from the ground, and the pitch angle of the image acquisition device, the horizontal distance between the fire water monitor and the image acquisition device is calculated.
[0347] In some embodiments, the calculating the coordinates of the fire monitor includes:
[0348] Determine the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device;
[0349] The x and y coordinates of the fire water monitor are determined respectively according to the azimuth angle of the image acquisition device relative to the fire water monitor and the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane.
[0350] In some embodiments, determining the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device includes:
[0351] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0352] The z coordinate of the fire water monitor is determined by using the horizontal distance between the fire water monitor and the image acquisition device, and the first angle.
[0353] In some embodiments, the projection distance is determined in the following manner:
[0354] Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor;
[0355] The projection distance of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane is determined by using the horizontal distance between the fire-fighting water monitor and the image acquisition device and the first angle.
[0356] In some embodiments, the x and y coordinates of the fire monitor are determined according to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, respectively, including:
[0357] Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane;
[0358] The x and y coordinates of the fire water monitor are determined respectively by using the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane and the second angle.
[0359] In some embodiments, the third unit 13 is further configured to:
[0360] Record the fire extinguishing information of the current fire point and generate a fire extinguishing event record corresponding to the current fire point; the fire extinguishing event record includes: the coordinates of the current fire point, the fire level, the adjustment angle, specifications, working start time and end time of the fire water monitor for extinguishing the current fire point;
[0361] By providing a query interface, the fire extinguishing event record is output to the user.
[0362] In some embodiments, the second unit 12 is further used to: set inspection weights of different areas in the target scene;
[0363] The inspection of the target scene by the image acquisition device includes:
[0364] The target scene is inspected according to the inspection weights set for different areas in the target scene, wherein for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
[0365] In some embodiments, the third unit 13 is further configured to:
[0366] Recording firefighting information during the operation of the image acquisition device and generating a firefighting event record;
[0367] The fire event record is output through a user interface for users to query fire information.
[0368] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0369] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0370] Any of the devices or apparatuses provided in the embodiments of the present application may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), etc. It may include a central processing unit (CPU), a memory, an input / output device, etc. The input device may include a keyboard, a mouse, a touch screen, etc. The output device may include a display device, such as a liquid crystal display (LCD), a cathode ray tube (CRT), etc.
[0371] The memory may include a read-only memory (ROM) and a random access memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiment of the present application, the memory may be used to store the program of any of the methods provided in the embodiment of the present application.
[0372] The processor calls the program instructions stored in the memory, and the processor is used to execute any of the methods provided in the embodiments of the present application according to the obtained program instructions.
[0373] See also Fig.13A fire fighting system provided in an embodiment of the present application includes: at least one fire fighting water cannon 111, and the fire fighting control device 112 for controlling the fire fighting water cannon 111 to extinguish the fire at the fire point.
[0374] The fire control device 112 may be an image acquisition device, which has both the image acquisition function and the fire control function, and the details are omitted. Of course, the fire control device 112 may also be other terminals or server devices.
[0375] See also Fig.14 If the fire control device 112 is other terminal or server equipment, the fire system may also include at least one image acquisition device 113.
[0376] The fire control device 112 is a device for executing the method provided in the above-mentioned embodiment of the present application. The image acquisition device 113 is used to acquire images of the target scene and send the acquired images to the fire control device 112, so that the fire control device 112 can control and dispatch the fire water monitor 111 based on the acquired images. The details will not be repeated here.
[0377] The present application embodiment also provides a computer program product or computer program, which includes a computer instruction, which is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction so that the computer device performs any of the methods described in the above embodiments. The program product can use any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0378] The embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by the apparatus provided in the embodiment of the present application, which includes a program for executing any of the methods provided in the embodiment of the present application. The computer-readable storage medium may be a non-transitory computer-readable medium.
[0379] The computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0380] It should be understood that:
[0381] The access technology through which entities in the communication network transmit traffic can be any suitable current or future technology, such as WLAN (Wireless Local Access Network), WiMAX (Worldwide Interoperability for Microwave Access), LTE, LTE-A, 5G, Bluetooth, infrared, etc.; in addition, the embodiments can also apply wired technology, for example, IP-based access technology, such as a wired network or a fixed line.
[0382] Embodiments suitable for being implemented as software code or a portion thereof and running using a processor or processing functionality are independent of the software code and may be specified using any known or future developed programming language, such as a high-level programming language such as objective-C, C, C++, C#, Java, Python, Javascript, other scripting languages, etc., or a low-level programming language such as machine language or assembler.
[0383] The implementation of the embodiments is hardware independent and may be implemented using any known or future developed hardware technology or any mixture thereof, such as a microprocessor or CPU (central processing unit), MOS (metal oxide semiconductor), CMOS (complementary MOS), BiMOS (bipolar MOS), BiCMOS (bipolar CMOS), ECL (emitter coupled logic) and / or TTL (transistor-transistor logic).
[0384] Embodiments may be implemented as separate devices, apparatuses, units, components, or functions, or in a distributed manner, for example, one or more processors or processing functions may be used or shared in a process, or one or more processing segments or processing portions may be used and shared in a process, wherein one physical processor or more than one physical processor may be used to implement one or more processing portions dedicated to a specific process as described.
[0385] The device may be implemented by a semiconductor chip, a chipset, or a (hardware) module including such a chip or chipset.
[0386] The embodiments may also be implemented as any combination of hardware and software, such as ASIC (Application Specific IC (Integrated Circuit)) components, FPGA (Field Programmable Gate Array) or CPLD (Complex Programmable Logic Device) components or DSP (Digital Signal Processor) components.
[0387] The embodiments may also be implemented as a computer program product including a computer usable medium having computer readable program code embodied therein, the computer readable program code being adapted to perform the processes as described in the embodiments, wherein the computer usable medium may be a non-transitory medium.
[0388] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0389] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0390] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0391] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0392] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A fire control method, characterized in that: The method comprises: Determine the current fire point and the fire level of the current fire point by inspecting the target scene with an image acquisition device; Determine the fire monitor demand information corresponding to the fire level of the current fire point by using the correspondence between the preset fire level and the fire monitor demand information; and determine at least one target fire monitor according to the fire monitor demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire monitor pre-set for the target scene; For each of the target fire water monitors, according to the coordinates of the target fire water monitor, an adjustment angle of the target fire water monitor relative to the current fire point is determined, and the target fire water monitor is controlled to extinguish the fire at the current fire point using the adjustment angle; Wherein, according to the demand information of the fire water monitor corresponding to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, determining at least one target fire water monitor includes: Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information; According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, determine the number of target fire water monitors that are closest to the current fire point and in an idle state; For each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor, including: For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
2. The method according to claim 1, characterized in that The step of determining the adjustment angle of the target fire-fighting water monitor relative to the current fire point according to the coordinates of the target fire-fighting water monitor comprises: Determine the azimuth of the target fire monitor relative to the current fire point based on the coordinates of the target fire monitor on the horizontal plane and the coordinates of the current fire point on the horizontal plane; and The pitch angle of the target fire water monitor relative to the current fire point is determined based on the horizontal distance between the target fire water monitor and the current fire point, and the height difference between the target fire water monitor and the current fire point in the vertical direction.
3. The method according to claim 1, characterized in that The method further comprises: Monitor the fire extinguishing situation of the current fire point in real time through the image acquisition device; According to the fire extinguishing situation, when it is determined that the fire level of the current fire point is reduced, the target fire water cannon used to extinguish the fire at the current fire point is controlled to reduce the number; when it is determined that the fire level of the current fire point is increased, the target fire water cannon used to extinguish the fire at the current fire point is controlled to increase the number; when it is determined that the current fire point has been extinguished, the target fire water cannon used to extinguish the fire at the current fire point is controlled to stop extinguishing the fire.
4. The method according to claim 1, characterized in that: The coordinates of at least one fire monitor are pre-set for the target scene in the following manner: Configure the address of each fire monitor; For each fire monitor separately: Send a rotation control instruction to the fire monitor address; When it is determined that the fire monitor has responded to the rotation control instruction, calculating the horizontal distance between the fire monitor and the image acquisition device; Calculating the azimuth and elevation of the image acquisition device relative to the fire monitor; Calculate the coordinates of the fire monitor; Send the coordinates of the fire monitor to the fire monitor at the address; When the fire monitor replies with confirmation, the coordinates and address of the fire monitor are bound.
5. The method according to claim 4, characterized in that The calculating the horizontal distance between the fire water monitor and the image acquisition device comprises: When the overhead angle of the image acquisition device relative to the fire monitor is less than a preset value, determine the distance between the highest point of the fire monitor in the picture and the lowest point of the fire monitor in the picture; and based on the distance, the focal length of the image acquisition device, and the height of the image acquisition device from the ground, calculate the horizontal distance between the fire monitor and the image acquisition device; When the overhead viewing angle of the image acquisition device relative to the fire water monitor is greater than a preset value, the distance between the highest point of the fire water monitor in the picture and the lowest point of the fire water monitor in the picture is determined; and based on the distance, the focal length of the image acquisition device, the height of the image acquisition device from the ground, and the pitch angle of the image acquisition device, the horizontal distance between the fire water monitor and the image acquisition device is calculated.
6. The method according to claim 4, characterized in that The calculating of the coordinates of the fire monitor includes: Determine the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device; The x and y coordinates of the fire water monitor are determined respectively according to the azimuth angle of the image acquisition device relative to the fire water monitor and the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane.
7. The method according to claim 6, characterized in that Determining the z coordinate of the fire water monitor according to the pitch angle of the image acquisition device relative to the fire water monitor and the horizontal distance between the fire water monitor and the image acquisition device includes: Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor; The z coordinate of the fire water monitor is determined by using the horizontal distance between the fire water monitor and the image acquisition device, and the first angle.
8. The method according to claim 6, characterized in that The projection distance is determined in the following manner: Determine a first angle between a line between the fire-fighting water monitor and the image acquisition device and a horizontal plane based on a pitch angle of the image acquisition device relative to the fire-fighting water monitor; The projection distance of the horizontal distance between the fire-fighting water monitor and the image acquisition device on the horizontal plane is determined by using the horizontal distance between the fire-fighting water monitor and the image acquisition device and the first angle.
9. The method according to claim 6, characterized in that According to the azimuth of the image acquisition device relative to the fire monitor and the projection distance of the horizontal distance between the fire monitor and the image acquisition device on the horizontal plane, the x and y coordinates of the fire monitor are determined respectively, including: Based on the azimuth of the image acquisition device relative to the fire monitor, determine a second angle between the projection of the line between the fire monitor and the image acquisition device on the horizontal plane and the y-axis on the horizontal plane; The x and y coordinates of the fire water monitor are determined respectively by using the projection distance of the horizontal distance between the fire water monitor and the image acquisition device on the horizontal plane and the second angle.
10. The method according to claim 1, characterized in that The method further comprises: Record the fire extinguishing information of the current fire point and generate a fire extinguishing event record corresponding to the current fire point; the fire extinguishing event record includes: the coordinates of the current fire point, the fire level, the adjustment angle, specifications, working start time and end time of the fire water monitor for extinguishing the current fire point; By providing a query interface, the fire extinguishing event record is output to the user.
11. The method according to claim 1, characterized in that: The method further includes: setting inspection weights of different areas in the target scene; The inspection of the target scene by the image acquisition device includes: The target scene is inspected according to the inspection weights set for different areas in the target scene, wherein for areas with higher inspection weights, the inspection frequency of the image acquisition device is higher and / or the inspection duration is longer.
12. The method according to claim 1, characterized in that The method further comprises: Recording firefighting information during the operation of the image acquisition device and generating a firefighting event record; The fire event record is output through a user interface for users to query fire information.
13. A fire control device, characterized in that: The device comprises: The first unit is used to determine the current fire point and the fire level of the current fire point by inspecting the target scene through an image acquisition device; The second unit is used to determine the fire water cannon demand information corresponding to the fire level of the current fire point through the correspondence between the preset fire level and the fire water cannon demand information; and determine at least one target fire water cannon according to the fire water cannon demand information corresponding to the fire level of the current fire point and the coordinates of at least one fire water cannon pre-set for the target scene; The third unit is used to determine, for each of the target fire water monitors, an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor, and control the target fire water monitor to extinguish the current fire point using the adjustment angle; Wherein, according to the demand information of the fire water monitor corresponding to the fire level of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, determining at least one target fire water monitor includes: Determining the number of target fire water monitors according to the fire level of the current fire point and the fire water monitor demand information; According to the coordinates of the current fire point and the coordinates of at least one fire water monitor pre-set for the target scene, determine the number of target fire water monitors that are closest to the current fire point and in an idle state; For each of the target fire water monitors, determining an adjustment angle of the target fire water monitor relative to the current fire point according to the coordinates of the target fire water monitor, including: For each target fire water monitor that is closest to the current fire point and is in an idle state, the azimuth and elevation angle of the target fire water monitor relative to the current fire point are determined based on the coordinates of the target fire water monitor and the coordinates of the current fire point.
14. A fire fighting system, characterized in that: The system comprises at least one fire-fighting water monitor and the fire-fighting control device according to claim 13 for controlling the fire-fighting water monitor to extinguish the fire.
15. An electronic device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 12 according to the obtained program.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 12.
