CN116913030B - Smart fire-fighting safety-eliminating linkage method and system and application thereof - Google Patents
Smart fire-fighting safety-eliminating linkage method and system and application thereof Download PDFInfo
- Publication number
- CN116913030B CN116913030B CN202310995068.7A CN202310995068A CN116913030B CN 116913030 B CN116913030 B CN 116913030B CN 202310995068 A CN202310995068 A CN 202310995068A CN 116913030 B CN116913030 B CN 116913030B
- Authority
- CN
- China
- Prior art keywords
- security
- fire
- fire detector
- camera
- security camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000001514 detection method Methods 0.000 claims abstract description 67
- 239000003086 colorant Substances 0.000 claims abstract description 17
- 238000003379 elimination reaction Methods 0.000 claims abstract description 8
- 230000008030 elimination Effects 0.000 claims abstract description 7
- 230000000007 visual effect Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000004888 barrier function Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000000903 blocking effect Effects 0.000 claims 5
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000009435 building construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B17/00—Fire alarms; Alarms responsive to explosion
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B17/00—Fire alarms; Alarms responsive to explosion
- G08B17/12—Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions
- G08B17/125—Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions by using a video camera to detect fire or smoke
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/10—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture
- Y02A40/28—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture specially adapted for farming
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Fire Alarms (AREA)
- Alarm Systems (AREA)
Abstract
The application provides a security linkage method, a security linkage system and application of intelligent fire control, which comprises the steps of displaying a building structure in a plan view, and distinguishing the colors of components affecting the sight of a security camera from the ground colors of the plan view; respectively calculating and judging whether the detection point is positioned in the shooting angle range of the camera, whether the detection point is positioned in the shooting distance range of the security camera, and whether vision blockage exists between the camera and the detection point; determining cameras meeting all judgment conditions as being associated with security elimination of the fire detector; traversing all cameras and fire detectors, and calculating security association and match relations between all security cameras and fire detectors; when any fire detector gives an alarm, all security cameras associated with the fire detector are acquired, and the control cameras are automatically rotated to the direction of the fire detector to observe fire so as to preset a fire disposal scheme. The safety-eliminating linkage rule can be generated rapidly, the labor cost is reduced, and the safety-eliminating linkage is more practical and operable.
Description
Technical Field
The application relates to the technical field of fire control, in particular to an security linkage method and system for intelligent fire control and application thereof.
Background
The fire-fighting situation is severe, and is closely related to personal safety, property safety and social stability of citizens. Traditional fire control has various problems such as existence, and intelligent fire control is the trend of fire control trade. The intelligent fire control comprehensively utilizes various sensors to assist the judgment and treatment of fire control, and the safety and elimination linkage is one of the common methods. The security linkage utilizes the existing security cameras, when a fire detector alarms, the security cameras capable of observing the point positions can be quickly assembled, the authenticity and the severity of the fire are quickly confirmed, a fire disposal scheme is quickly formulated, the cost of labor to the site is saved, and the timeliness of fire disposal is improved.
An important problem to be solved by safety and fire protection linkage is how to simply and quickly set safety and fire protection linkage rules, wherein the safety and fire protection linkage rules are to set cameras around each fire detector to observe the detector. In practice, however, the number of fire detectors and cameras is very large, the internal structure of the building is complex, a plurality of partition walls can block the cameras, and the manual setting rules are time-consuming and labor-consuming, so that the engineering implementation is not facilitated.
Therefore, a security linkage method and system for intelligent fire protection and application thereof are needed, and security linkage rules can be set simply, conveniently and rapidly.
Disclosure of Invention
The embodiment of the application provides a security linkage method and system for intelligent fire control and application thereof, aiming at the problems that security linkage rules cannot be set simply, conveniently and rapidly in the prior art.
The core technology of the invention is mainly to correlate the camera with the detector through plan view calculation.
In a first aspect, the present application provides a security linkage method for intelligent fire protection, the method comprising the steps of:
s00, displaying the building structure in a plan view, and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plan view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on a plan view, and the settable attribute of each security camera at least comprises whether to rotate, a rotation angle and a shooting distance;
s10, respectively calculating and judging whether a detection point of the fire detector is positioned in a shooting angle range of the security camera, whether the detection point of the fire detector is positioned in a shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector according to image pixel coordinates of the fire detector and the security camera, settable properties of each security camera and a plan;
s20, determining the security cameras meeting all the judging conditions in the step S10 as security association with the fire detector;
s30, traversing all security cameras and fire detectors, and calculating security association and match relations of all security cameras and fire detectors;
and S40, when any fire detector alarms, acquiring all security cameras associated with the fire detector, and automatically rotating the security cameras to the direction of the fire detector to observe fire so as to preset a fire disposal scheme.
Further, in the step S10, the specific step of determining whether the detection point of the fire detector is located within the shooting angle range of the security camera is:
calculating an angle between the security camera and the detection point;
calculating whether the angle is within a shooting range of the security camera or not, wherein the shooting range is determined based on the rotation angle of the security camera;
if yes, the camera is located in the shooting angle range.
Further, in step S10, the specific step of determining whether the detection point of the fire detector is within the shooting distance range of the security camera is:
calculating the linear distance between the security camera and the detection point;
calculating whether the linear distance is smaller than or equal to the shooting distance of the security camera;
if yes, the camera is located in the shooting distance range.
Further, in the step S10, the specific step of determining whether there is a visual obstruction between the security camera and the detection point of the fire detector is:
calculating whether an intersection point exists between a connecting line between the detection points of the security camera and the fire detector and a line segment formed by the member;
if so, there is a visual barrier.
Further, in the step S10, the specific step of determining whether there is a visual obstruction between the security camera and the detection point of the fire detector is:
determining a linear equation of a connecting line between detection points of the security camera and the fire detector;
taking the abscissa range as the abscissa from the security camera to the abscissa of the detection point or the abscissa from the abscissa of the detection point to the abscissa of the security camera, and calculating the corresponding ordinate by taking the step length as one pixel self-increasing or self-decreasing;
judging whether pixels of points formed by each abscissa and the corresponding ordinate are ground colors of the plan view or not;
if so, there is a visual barrier.
Further, in step S10, whether the pixel of the point formed by each abscissa and the corresponding ordinate is the ground color of the plan view is determined by RGB comparison or conversion into HSV comparison.
Further, in the step S10, the self-increasing is that the abscissa of the security camera is greater than or equal to the abscissa of the detection point, and the self-increasing is that the abscissa of the security camera is smaller than the abscissa of the detection point.
In a second aspect, the present application provides an intelligent fire fighting safety and elimination linkage system, comprising:
the plane view module is used for displaying the building structure in a plane view and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plane view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on a plan view, and the settable attribute of each security camera at least comprises whether to rotate, a rotation angle and a shooting distance;
the calculation module is used for respectively calculating and judging whether the detection point of the fire detector is positioned in the shooting angle range of the security camera, whether the detection point of the fire detector is positioned in the shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector or not according to the image pixel coordinates of the fire detector and the security camera, the settable attribute of each security camera and the plan; determining security cameras meeting all judgment conditions as security association with the fire detector; traversing all security cameras and fire detectors, and calculating security association matching relations of all security cameras and fire detectors;
and the triggering module is used for acquiring all security cameras associated with the fire detector when any fire detector alarms and automatically rotating the security cameras to the direction of the fire detector to observe fire so as to preset a fire disposal scheme.
In a third aspect, the present application provides an electronic device comprising a memory having a computer program stored therein and a processor configured to run the computer program to perform the above-described security linkage method for intelligent fire protection.
In a fourth aspect, the present application provides a readable storage medium having stored therein a computer program comprising program code for controlling a process to execute the process, the process comprising a security linkage method for intelligent fire protection according to the above.
The main contributions and innovation points of the invention are as follows: 1. compared with the prior art, the method and the device have the advantages that whether the detection point of the fire detector is located in the shooting angle range of the security camera can be more accurately determined by calculating and judging the image pixel coordinates of the fire detector and the security camera, so that the fire scene can be covered, and the accuracy of fire identification is improved; once a fire occurs and an alarm is generated, the system can quickly acquire all security cameras associated with the fire detector and automatically rotate the security cameras to the direction of the fire detector so as to observe the fire in real time. Therefore, the fire disaster position can be rapidly determined, the fire fighter can quickly make a fire disaster treatment scheme, and precious time is saved.
2. Compared with the prior art, the method and the device have the advantages that whether the detection point of the fire detector is in the shooting distance range of the security camera or not is judged, false alarm caused by some non-fire events can be avoided, and the accuracy of fire alarm is improved. It can also be judged whether there is the vision to block between security protection camera and the detection point of fire detector, this helps ensuring that the scene of fire can not be can't be observed by the camera because of sheltering from. The automatic linkage of the fire detector and the security camera is realized, manual intervention is not needed, the response speed and the efficiency are greatly improved, and the timeliness of fire disaster treatment is ensured.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a flow of an intelligent firefighting safety-elimination linkage method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of embodiment 1 according to the present application;
FIG. 3 is a schematic diagram of embodiment 2 according to the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
Example 1
The application aims to provide an intelligent fire fighting safety and elimination linkage method, and specifically, referring to fig. 1, the method comprises the following steps:
s00, displaying the building structure in a plan view, and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plan view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on a plan view, and the settable attribute of each security camera at least comprises whether to rotate, a rotation angle and a shooting distance;
s10, respectively calculating and judging whether a detection point of the fire detector is positioned in a shooting angle range of the security camera, whether the detection point of the fire detector is positioned in a shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector according to image pixel coordinates of the fire detector and the security camera, settable properties of each security camera and a plan;
in this embodiment, scheme 1: as shown in fig. 2, the pixel coordinates of the security camera are (X0, Y0), that is, the origin, the rotation angle range (θ1, θ2) of the security camera, the shooting distance is R, the pixel coordinates of the detection point of the fire detector are (xi, yi), and the coordinates of both ends of the building construction wall are (A1, B1), (A2, B2), respectively.
1. Judging whether the detection point is in the shooting angle range of the camera:
1.1 Calculating an angle theta between the camera and the detection point: tan θ= (Yi-Y0)/(Xi-X0), and the angle θ is obtained;
1.2 Calculating and judging whether theta is in the shooting range of the camera, and setting an increasing angle range alpha (theta 1-alpha-theta 2+alpha), namely when theta ⊆ (theta 1-alpha, theta 2+alpha), the detection point is in the shooting angle range;
2. judging whether the detection point is in the shooting distance range of the camera:
r =if R is less than or equal to R, the detection point is in the shooting distance range.
3. Judging whether visual blockage exists between the camera and the detection point or not:
mainly judging whether a line segment { (X0, Y0), (xi, yi) } and a line segment { (A1, B1), (A2, B2) } have an intersection point, and judging the method while satisfying the following conditions:
min(X0,xi)<=max(A1,A2)
max(X0,xi)>=min(A1,A2)
min(Y0,yi)<=max(B1,B2)
max(Y0,yi)>=min(B1,B2)
((X0-A1)*(B2-B1)-(Y0-B1)*(A2-A1))*( (xi-A1)*(B2-B1)-(yi-B1)*(A2-A1) )<= 0
((A1-X0)*(yi-Y0)-(B1-Y0)*(xi-X0))*( (A2-X0)*(yi-Y0)-(B2-Y0)*(xi-X0) )<= 0
4. the above condition is met, that the camera is in safe and clear association with the current detector can be confirmed, as in (1) (2) (3) (4) in fig. 2, only (3) is valid, namely, the camera is confirmed to be in safe and clear association with the current detector.
In other embodiments, there is also scheme 2: as shown in fig. 3, the pixel coordinates of the camera are (a, B), that is, the origin, the rotation angle range (θ1, θ2) of the camera, the shooting distance R, and the pixel coordinates of the detection point are (xi, yi).
1. Judging whether the detection point is in the shooting angle range of the camera:
1.1 calculating an angle theta between the camera and the detection point: tan θ= (Yi-B)/(Xi-a), and the angle θ is obtained;
1.2 calculating to judge whether theta is in the shooting range of the camera, and setting an increasing angle range alpha (theta 1-alpha-theta 2+alpha), namely when theta ⊆ (theta 1-alpha, theta 2+alpha), the detection point is in the shooting angle range.
2. Judging whether the detection point is in the shooting distance range of the camera:
r =if R is less than or equal to R, the detection point is in the shooting distance range.
3. Judging whether visual blockage exists between the camera and the detection point or not:
3.1 determining the linear equation y=f (x) between the straight camera (a, B) and the detection point (Xi, yi):
when a+.xi: y= [ (B-Yi)/(a-Xi) ], (x-Xi) +yi;
when a=xi: y=yi;
3.2 with x ranging from A to Xi, the step size is 1 pixel self-increasing (A + Xi) or self-decreasing (A < Xi), y is calculated, and whether the pixel (r, g, b) at (x, y) is the background pixel is judged. The specific judging method comprises the following steps:
because the color of the building plan is single, the color difference between the background and the design line is obvious, and a direct RGB comparison mode (also can be converted into an HSV mode for comparison) can be adopted.
The reference color of the structural member in plan view is (R ref ,G ref ,B ref ) The color difference threshold value is D ref (configurable):
tmp=(r-R ref ) 2 +(g-G ref ) 2 +(b-B ref ) 2
delta =
when delta is>D ref When the line of sight is considered blocked, the camera is not associated with the detector. When delta is less than or equal to D ref When the line of sight is considered unobstructed, the camera is associated with the detector.
The specific algorithm for converting RGB into HSV comprises the following steps:
max=max(R,G,B):
min=min(R,G,B)
V=max(R,G,B)
S=(max-min)/max:
ifR=max,H=(G-B)/(max-min)*60
ifG=max,H=120+(B-R)/(max-min)*60
ifB=max,H=240+(R-G)/(max-min)*60
ifH<0,H=H+360。
i.e. first, the maximum max and the minimum min are found from the RGB color model. In this algorithm, max is the maximum value in RGB and min is the minimum value in RGB.
Next, V (Value), i.e., the brightness in the HSV color model, is calculated, which is equal to the maximum Value max in RGB.
S (Saturation), the Saturation in the HSV color model, is calculated using max and min. The calculation formula of S is: s= (max-min)/max.
Finally, H (Hue), the Hue in the HSV color model, is calculated. The value of H is determined from R, G and B versus max, min:
if R is max, h= (G-B)/(max-min) 60;
if G is max, h=120+ (B-R)/(max-min) x 60;
if B is max, h=240+ (R-G)/(max-min) 60.
If the value of H is less than 0, h=h+360, ensuring H is between 0 and 360 degrees.
4. Satisfying the above conditions can confirm that the camera is associated with the current detector, as can be seen in fig. 3, only (3) (5) of the four detectors, namely (1) (2) (3) (4) (5), is valid, i.e. confirms that the current camera is associated with the detector.
I.e. scheme 1 is to find the associated camera with the detector and scheme 2 is to find the associated detector with the camera.
S20, determining the security cameras meeting all the judging conditions in the step S10 as security association with the fire detector;
s30, traversing all security cameras and fire detectors, and calculating security association and match relations of all security cameras and fire detectors;
and S40, when any fire detector alarms, acquiring all security cameras associated with the fire detector, and automatically rotating the security camera (S) to the direction of the fire detector to observe fire so as to preset a fire disposal scheme.
Example two
Based on the same conception, the application also provides an intelligent fire-fighting safety and elimination linkage system, which comprises:
the plane view module is used for displaying the building structure in a plane view and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plane view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on a plan view, and the settable attribute of each security camera at least comprises whether to rotate, a rotation angle and a shooting distance;
the calculation module is used for respectively calculating and judging whether the detection point of the fire detector is positioned in the shooting angle range of the security camera, whether the detection point of the fire detector is positioned in the shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector or not according to the image pixel coordinates of the fire detector and the security camera, the settable attribute of each security camera and the plan; determining security cameras meeting all judgment conditions as security association with the fire detector; traversing all security cameras and fire detectors, and calculating security association matching relations of all security cameras and fire detectors;
and the triggering module is used for acquiring all security cameras associated with the fire detector when any fire detector alarms and automatically rotating the security cameras to the direction of the fire detector to observe fire so as to preset a fire disposal scheme.
Example III
This embodiment also provides an electronic device, referring to fig. 4, comprising a memory 404 and a processor 402, the memory 404 having stored therein a computer program, the processor 402 being arranged to run the computer program to perform the steps of any of the method embodiments described above.
In particular, the processor 402 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
The memory 404 may include, among other things, mass storage 404 for data or instructions. By way of example, and not limitation, memory 404 may comprise a Hard Disk Drive (HDD), floppy disk drive, solid State Drive (SSD), flash memory, optical disk, magneto-optical disk, tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 404 may include removable or non-removable (or fixed) media, where appropriate. Memory 404 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 404 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 404 includes Read-only memory (ROM) and Random Access Memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or FLASH memory (FLASH) or a combination of two or more of these. The RAM may be Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM) where appropriate, and the DRAM may be fast page mode dynamic random access memory 404 (FPMDRAM), extended Data Output Dynamic Random Access Memory (EDODRAM), synchronous Dynamic Random Access Memory (SDRAM), or the like.
Memory 404 may be used to store or cache various data files that need to be processed and/or used for communication, as well as possible computer program instructions for execution by processor 402.
Processor 402 reads and executes the computer program instructions stored in memory 404 to implement any of the intelligent fire fighting safety interlock methods of the above embodiments.
Optionally, the electronic apparatus may further include a transmission device 406 and an input/output device 408, where the transmission device 406 is connected to the processor 402 and the input/output device 408 is connected to the processor 402.
The transmission device 406 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device 406 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The input-output device 408 is used to input or output information. In this embodiment, the input information may be an alarm or the like given by the fire detector, and the output information may be a fire screen or the like.
Example IV
The present embodiment also provides a readable storage medium having stored therein a computer program including program code for controlling a process to execute the process including the security linkage method for intelligent fire protection according to the first embodiment.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In general, the various embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
Embodiments of the invention may be implemented by computer software executable by a data processor of a mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also referred to as program products) including software routines, applets, and/or macros can be stored in any apparatus-readable data storage medium and they include program instructions for performing particular tasks. The computer program product may include one or more computer-executable components configured to perform embodiments when the program is run. The one or more computer-executable components may be at least one software code or a portion thereof. In addition, in this regard, it should be noted that any blocks of the logic flows as illustrated may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on physical media such as memory chips or memory blocks implemented within the processor, magnetic media such as hard or floppy disks, and optical media such as, for example, DVDs and data variants thereof, CDs, etc. The physical medium is a non-transitory medium.
It should be understood by those skilled in the art that the technical features of the above embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The foregoing examples merely represent several embodiments of the present application, the description of which is more specific and detailed and which should not be construed as limiting the scope of the present application in any way. It should be noted that variations and modifications can be made by those skilled in the art without departing from the spirit of the present application, which falls within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.
Claims (8)
1. The safety and fire-extinguishing linkage method for intelligent fire protection is characterized by comprising the following steps of:
s00, displaying the building structure in a plan view, and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plan view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on the plan, and the settable attribute of each security camera at least comprises whether the security camera rotates, a rotation angle and a shooting distance;
s10, respectively calculating and judging whether a detection point of the fire detector is positioned in a shooting angle range of the security camera, whether the detection point of the fire detector is positioned in a shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector according to image pixel coordinates of the fire detector and the security camera, settable properties of each security camera and the plan;
the specific steps for judging whether vision blocking exists between the security camera and the detection point of the fire detector are as follows:
calculating whether an intersection point exists between a connecting line between the detection points of the security camera and the fire detector and a line segment formed by the member;
if yes, the visual blocking exists;
and/or the number of the groups of groups,
determining a linear equation of a connecting line between detection points of the security camera and the fire detector;
taking the abscissa range as the abscissa from the security camera to the abscissa of the detection point or the abscissa from the abscissa of the detection point to the abscissa of the security camera, and calculating the corresponding ordinate by taking the step length as one pixel self-increasing or self-decreasing;
judging whether pixels of points formed by each abscissa and the corresponding ordinate are ground colors of the plan view or not;
if yes, the visual blocking exists;
s20, determining the security cameras meeting all the judging conditions in the step S10 as being associated with security elimination of the fire detector;
s30, traversing all security cameras and fire detectors, and calculating security association and match relations of all security cameras and fire detectors;
and S40, when any fire detector alarms, acquiring all security cameras associated with the fire detector, and automatically rotating the security cameras to the direction of the fire detector to observe fire so as to preset a fire disposal scheme.
2. The security linkage method for intelligent fire protection according to claim 1, wherein in step S10, the specific step of determining whether the detection point of the fire detector is located within the shooting angle range of the security camera is:
calculating an angle between the security camera and the detection point;
calculating whether the angle is within a shooting range of the security camera or not, wherein the shooting range is determined based on the rotation angle of the security camera;
if yes, the camera is located in the shooting angle range.
3. The security linkage method for intelligent fire protection according to claim 1, wherein in the step S10, the specific step of determining whether the detection point of the fire detector is within the shooting distance range of the security camera is as follows:
calculating the linear distance between the security camera and the detection point;
calculating whether the linear distance is smaller than or equal to the shooting distance of the security camera;
if yes, the camera is located in the shooting distance range.
4. The security linkage method of intelligent fire control according to claim 1, wherein in the step S10, whether the pixels of the point formed by each abscissa and the corresponding ordinate are the ground color of the plan view is determined by RGB comparison or conversion into HSV comparison.
5. The intelligent fire-fighting safety-extinguishing linkage method according to claim 4, wherein in the step S10, the self-increase is that the abscissa of the safety-protection camera is larger than or equal to the abscissa of the detection point, and the self-decrease is that the abscissa of the safety-protection camera is smaller than the abscissa of the detection point.
6. An intelligent fire fighting safety and elimination linkage system, which is characterized by comprising:
the plane view module is used for displaying the building structure in a plane view and distinguishing the colors of components affecting the sight of the security camera from the ground colors of the plane view;
the fire detector and the security cameras are respectively provided with corresponding image pixel coordinates on a plan view, and the settable attribute of each security camera at least comprises whether to rotate, a rotation angle and a shooting distance;
the calculation module is used for respectively calculating and judging whether the detection point of the fire detector is positioned in the shooting angle range of the security camera, whether the detection point of the fire detector is positioned in the shooting distance range of the security camera and whether visual blockage exists between the security camera and the detection point of the fire detector or not according to the image pixel coordinates of the fire detector and the security camera, the settable attribute of each security camera and the plan; determining security cameras meeting all judgment conditions as security association with the fire detector; traversing all security cameras and fire detectors, and calculating security association matching relations of all security cameras and fire detectors;
the triggering module is used for acquiring all security cameras associated with any fire detector when any fire detector alarms, and automatically rotating the security cameras to the direction of the fire detector to observe fire so as to preset a fire disposal scheme;
the specific steps for judging whether vision blocking exists between the security camera and the detection point of the fire detector are as follows:
calculating whether an intersection point exists between a connecting line between the detection points of the security camera and the fire detector and a line segment formed by the member;
if yes, the visual blocking exists;
and/or the number of the groups of groups,
determining a linear equation of a connecting line between detection points of the security camera and the fire detector;
taking the abscissa range as the abscissa from the security camera to the abscissa of the detection point or the abscissa from the abscissa of the detection point to the abscissa of the security camera, and calculating the corresponding ordinate by taking the step length as one pixel self-increasing or self-decreasing;
judging whether pixels of points formed by each abscissa and the corresponding ordinate are ground colors of the plan view or not;
if so, there is a visual barrier.
7. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the intelligent fire fighting safety interlock method of any one of claims 1 to 5.
8. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program comprising program code for controlling a process to execute a process comprising the security linkage method for intelligent fire protection according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310995068.7A CN116913030B (en) | 2023-08-09 | 2023-08-09 | Smart fire-fighting safety-eliminating linkage method and system and application thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310995068.7A CN116913030B (en) | 2023-08-09 | 2023-08-09 | Smart fire-fighting safety-eliminating linkage method and system and application thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116913030A CN116913030A (en) | 2023-10-20 |
CN116913030B true CN116913030B (en) | 2024-01-23 |
Family
ID=88363004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310995068.7A Active CN116913030B (en) | 2023-08-09 | 2023-08-09 | Smart fire-fighting safety-eliminating linkage method and system and application thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116913030B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527073A (en) * | 2009-02-17 | 2009-09-09 | 丁国锋 | Fire detection system and method thereof |
CN106303386A (en) * | 2015-05-29 | 2017-01-04 | 深圳市中智盛安安全技术有限公司 | A kind of fire-fighting user profile transmission method and system |
CN109145796A (en) * | 2018-08-13 | 2019-01-04 | 福建和盛高科技产业有限公司 | A kind of identification of electric power piping lane fire source and fire point distance measuring method based on video image convergence analysis algorithm |
CN114973588A (en) * | 2022-05-20 | 2022-08-30 | 深兰人工智能应用研究院(山东)有限公司 | Fire source positioning method and device, electronic equipment and storage medium |
CN114973586A (en) * | 2022-05-13 | 2022-08-30 | 陈俊伽 | Intelligent fire fighting monitoring method and system |
CN115713692A (en) * | 2022-11-24 | 2023-02-24 | 吉林省中农阳光数据有限公司 | Method for joint positioning based on combination of camera and map |
KR20230089493A (en) * | 2021-12-13 | 2023-06-20 | 한남대학교 산학협력단 | Multi-camera fire detector |
-
2023
- 2023-08-09 CN CN202310995068.7A patent/CN116913030B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527073A (en) * | 2009-02-17 | 2009-09-09 | 丁国锋 | Fire detection system and method thereof |
CN106303386A (en) * | 2015-05-29 | 2017-01-04 | 深圳市中智盛安安全技术有限公司 | A kind of fire-fighting user profile transmission method and system |
CN109145796A (en) * | 2018-08-13 | 2019-01-04 | 福建和盛高科技产业有限公司 | A kind of identification of electric power piping lane fire source and fire point distance measuring method based on video image convergence analysis algorithm |
KR20230089493A (en) * | 2021-12-13 | 2023-06-20 | 한남대학교 산학협력단 | Multi-camera fire detector |
CN114973586A (en) * | 2022-05-13 | 2022-08-30 | 陈俊伽 | Intelligent fire fighting monitoring method and system |
CN114973588A (en) * | 2022-05-20 | 2022-08-30 | 深兰人工智能应用研究院(山东)有限公司 | Fire source positioning method and device, electronic equipment and storage medium |
CN115713692A (en) * | 2022-11-24 | 2023-02-24 | 吉林省中农阳光数据有限公司 | Method for joint positioning based on combination of camera and map |
Also Published As
Publication number | Publication date |
---|---|
CN116913030A (en) | 2023-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10565658B1 (en) | Method and system for determining the condition of insured properties in a neighborhood | |
US20200302188A1 (en) | Intra-facility activity analysis device, intra-facility activity analysis system, and intra-facility activity analysis method | |
CN107645652A (en) | A kind of illegal geofence system based on video monitoring | |
CN112164049B (en) | Method and device for monitoring illegal construction | |
CN112229524A (en) | Body temperature screening method and device, terminal equipment and storage medium | |
CN107170182A (en) | A kind of fire detecting method, device and equipment | |
EP3182669A1 (en) | Integrated industrial system and control method thereof | |
CN104700534A (en) | Alarm method, device and system for nuclear power plant monitoring system | |
CN111666821B (en) | Method, device and equipment for detecting personnel aggregation | |
CN116913030B (en) | Smart fire-fighting safety-eliminating linkage method and system and application thereof | |
CN111008561A (en) | Livestock quantity determination method, terminal and computer storage medium | |
CN111797726A (en) | Flame detection method and device, electronic equipment and storage medium | |
CN107330884A (en) | Ignition point detection method and device | |
CN109348173B (en) | Monitoring video management method and device and terminal equipment | |
CN105631881B (en) | Object detection method and device | |
CN115841655B (en) | Electric vehicle household monitoring method and system for urban building fire control | |
JPS62136991A (en) | Abnormality monitoring device | |
CN114578315B (en) | Power line dangerous point prediction method and device based on unmanned aerial vehicle laser radar detection | |
CN112216073B (en) | Ladder violation operation warning method and device | |
CN113903000A (en) | Wall turning detection method, device and equipment | |
KR101629738B1 (en) | Method and system for evaluating the performance of CCTV surveillance system | |
CN110927731B (en) | Three-dimensional protection method, three-dimensional detection device and computer readable storage medium | |
CN113450522B (en) | Video cable mixing intrusion detection method, electronic device and storage medium | |
CN114442606B (en) | Alert condition early warning robot and control method thereof | |
US20240127571A1 (en) | Virtual-gauge-based plant monitoring system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |