A method and system for hydrant arrangement compliance automated inspection

By calculating the protection radius and walking path algorithm of fire hydrants, the room boundaries and fire hydrant locations in the building information model are identified, which solves the problems of low accuracy and insufficient identification of protection blind spots in the existing technology for fire hydrant layout inspection, and realizes automated compliance judgment.

CN123139397APending Publication Date: 2026-11-20CHINA CONSTRUCTION SOUTHWEST DIGITAL TECHNOLOGY (SICHUAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611138951.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-29
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing methods for inspecting the compliance of fire hydrant layouts have low inspection accuracy in complex spatial structures, cannot effectively identify local protection blind spots, and do not provide a clear walking path algorithm, resulting in insufficient cross-regional protection.

Method used

By acquiring parameters such as the length of the fire hydrant hose, the length of the water jet, and the tilt projection coefficient, the total protection radius of the fire hydrant is calculated. The room boundaries and fire hydrant locations in the building information model are identified. The number of protection times for each corner point is calculated using a walking path algorithm. Supplementary protection statistics are performed by recursively searching for external fire hydrants.

Benefits of technology

It enables quantitative protection statistics for each corner point on the room boundary, accurately identifies protection blind spots, improves the accuracy and efficiency of inspections, and automatically determines the compliance of fire hydrant layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139397A_ABST
    Figure CN123139397A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of building information modeling, and discloses a kind of fire hydrant arrangement compliance automated inspection method and system, the present application is by obtaining user set fire hydrant hose length, reduction factor, water column length, angle projection coefficient and target protection stock number and calculates total protection radius, then calculates the walking path set of angle point to door, fire hydrant to angle point, realizes the quantitative statistics of each angle point on room boundary protected times;Again, for the angle point of insufficient protection times, find external fire hydrant and supplement the statistics of protection times, realize the complete evaluation of the comprehensive protection ability of angle point by internal and external fire hydrant;Finally, by comparing the sum of the protection times of each angle point with target protection stock number, the automation determination of room fire hydrant arrangement compliance is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building information modeling technology, and in particular to a method and system for automated inspection of the compliance of fire hydrant layout. Background Technology

[0002] Existing methods for inspecting the compliance of fire hydrant layouts, including those based on spatial grid division and simplified door-farthest point models, have the following drawbacks: In complex spatial structures, such as L-shaped rooms, multi-door rooms, and large spaces obstructed by columns or shear walls, the inspection accuracy is low or local protection blind spots cannot be effectively identified; even if all corners in a multi-door room are protected, there may still be unprotected areas inside; existing technologies do not provide clear and reproducible walking path algorithms and do not adequately consider the cross-area protection function of fire hydrants outside the room. Summary of the Invention

[0003] To overcome the problems of low inspection accuracy and inability to effectively identify local protection blind spots in existing fire hydrant layout compliance inspections, this invention provides a method and system for automated inspection of fire hydrant layout compliance.

[0004] In a first aspect, the present invention provides an automated inspection method for the compliance of fire hydrant layout, comprising the following steps:

[0005] Obtain user-defined configuration information, including fire hydrant hose length, hose reduction factor, water jet length, water jet tilt angle projection factor, and target protection number of strands; The total protection radius of the fire hydrant is calculated based on the product of the length of the fire hose and the reduction factor of the fire hose, and the product of the length of the water column and the projection factor of the water column inclination angle. Identify the location information of room boundaries, room doors, and fire hydrants in the building information model; Calculate the first set of walking paths from each corner point on the boundary of each room to each door of that room, and calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room; Based on the second set of walking paths, count the number of times each corner point in each room is protected by the fire hydrant inside the room; For corner points where the first protection count has not reached the target protection count, the fire hydrants outside the room are recursively searched through adjacent rooms according to the first walking path set, and the second protection count of the corner point being protected by the external fire hydrants is counted. If the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count, then the fire hydrant layout of that room is deemed unqualified.

[0006] According to one specific implementation, in the above inspection method, calculating the first set of walking paths specifically includes: Traverse all corner points on the boundary of the room, select the first type of corner point that can be connected to the door with a straight line and the line is completely inside the room, and use the line connecting the first type of corner point and the door as the walking path of the corner point. For the current corner point among the remaining corner points, the corner points with the obtained walking paths are used as transit nodes. The current corner point is connected to each transit node, and candidate paths that are located inside the room and satisfy the non-reverse bow constraint are selected. The candidate paths are spliced ​​with the existing walking paths of the transit nodes to form a complete path, and the path with the shortest length is selected as the walking path of the current corner point. Repeat the above steps until all corner points have a walking path.

[0007] According to a specific implementation, in the above inspection method, the angle between the line connecting the current corner point and the transfer node and the room boundary line is ∠1, the angle between the starting segment of the existing walking path of the transfer node and the same boundary line is ∠2, the angle between the line connecting the current corner point and the transfer node and the starting segment of the existing walking path of the transfer node is ∠3, and the non-reverse bow constraint includes: at the connection point of the line, ∠1+∠2=∠3.

[0008] According to a specific implementation, in the above inspection method, when calculating the second set of walking paths, fire hydrants are regarded as virtual doorways, and the method for calculating the first set of walking paths is reused to obtain the shortest walking path from the fire hydrant to each doorway or corner point.

[0009] According to one specific implementation, the above inspection method further includes calculating the walking path between doorways, specifically: If the line connecting two doorways is located inside the room, then that line is used as the walking path between the doorways. Otherwise, based on the first set of walking paths, find all corner points that can be directly reached from the first door, and connect the lines connecting the first door to each corner point with the walking paths from each corresponding corner point to the second door to form candidate paths, and select the shortest path as the walking path between the two doors.

[0010] According to a specific implementation, in the above inspection method, for any room where the first protection count of a target corner point is less than the target protection number, and the sum of the first protection count and the second protection count is not less than the target protection number, and the number of doors in the room is greater than 1, the method further includes: Divide each boundary line segment of the room into several sub-segments according to a preset splitting precision, and obtain all splitting points; Calculate the shortest walking path from each split point to the door of the room, and count the number of times each split point is protected by the first supplementary protection from the fire hydrant inside the room and the number of times it is protected by the second supplementary protection from the fire hydrant outside the room. If the sum of the first and second supplementary protection counts at any split point is less than the target protection number of shares, then the room is deemed unqualified for review.

[0011] According to a specific implementation, in the above inspection method, the configuration information further includes a first-class room sign prohibiting the installation of fire hydrants and a second-class room sign requiring the installation of fire hydrants; the method further includes: determining whether the fire hydrant is attached to the building structure, whether it falls into the room corresponding to the first-class room sign, and whether the room corresponding to the second-class room sign is missing a fire hydrant; and marking the room area that does not meet any of the above conditions on the building drawings.

[0012] Secondly, this invention provides an automated inspection system for the compliance of fire hydrant layout, comprising: The configuration acquisition module is used to acquire the configuration information set by the user. The configuration information includes the length of the fire hydrant hose, the hose reduction factor, the length of the water jet, the projection factor of the water jet inclination angle, and the number of target protection strands. The protection radius calculation module is used to calculate the total protection radius of the fire hydrant based on the product of the length of the fire hose and the reduction factor of the fire hose, and the product of the length of the water column and the projection factor of the water column inclination angle. The information recognition module is used to identify the location information of room boundaries, room doors, and fire hydrants in the building information model; The path calculation module is used to calculate the first set of walking paths from each corner point on the boundary of each room to each door of that room, and to calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room. The protection count module is used to count the number of times each corner point in each room is protected by the fire hydrant inside the room, based on the second walking path set. For corner points where the number of the first protection count has not reached the target number of protection points, the module recursively searches for fire hydrants outside the room by going through adjacent rooms according to the first walking path set, and counts the number of times the corner point is protected by external fire hydrants. The judgment output module is used to determine that the fire hydrant layout review of any room is unqualified if the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count.

[0013] According to one specific implementation, in the above-described inspection system, the path calculation module includes: The recursive expansion unit is used to start from the corner point that can be connected to the doorway by a straight line, and use the corner points with the obtained paths as intermediate nodes to successively expand and solve the walking path of the remaining corner points. A constraint unit is used to determine whether the connection satisfies the non-reverse bow constraint during the expansion process; wherein, the angle between the line connecting the current corner point and the transfer node and the room boundary line is ∠1, the angle between the starting segment of the existing walking path of the transfer node and the same boundary line is ∠2, and the angle between the line connecting the current corner point and the transfer node and the starting segment of the existing walking path of the transfer node is ∠3. The non-reverse bow constraint includes: at the connection point of the line, ∠1+∠2=∠3.

[0014] According to a specific implementation, in the above-mentioned inspection system, the configuration acquisition module is further used to acquire the first type of room sign indicating that fire hydrants are prohibited from being installed and the second type of room sign indicating that fire hydrants must be installed; the method further includes: determining whether the fire hydrant is attached to the building structure, whether it falls into the room corresponding to the first type of room sign, and whether the room corresponding to the second type of room sign is missing a fire hydrant; and marking the room area that does not meet any of the above conditions on the building drawings.

[0015] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention achieves a quantitative statistical analysis of the number of times each corner point on the room boundary is protected by acquiring user-defined parameters such as fire hose length, reduction factor, water column length, tilt projection factor, and target protection number, and calculating the total protection radius. It then calculates the set of walking paths from corner points to doors and from fire hydrants to corner points, thus quantifying the number of times each corner point is protected. Furthermore, by finding external fire hydrants for corner points with insufficient protection counts and supplementing the protection count, it achieves a complete assessment of the comprehensive protection capability of corner points from both internal and external fire hydrants. Finally, by comparing the sum of protection counts for each corner point with the target protection number, it achieves an automated determination of the compliance of the room's fire hydrant layout. Attached Figure Description

[0016] Figure 1 A flowchart illustrating an automated inspection method for the compliance of fire hydrant layout provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the calculation of the walking path from each corner point of the room boundary to the doorway, provided in an embodiment of the present invention. Figure 3 A schematic diagram illustrating the requirement of a non-reverse bow shape provided in an embodiment of the present invention; Figure 4 A schematic diagram illustrating a non-reverse bow requirement provided in an embodiment of the present invention; Figure 5 A schematic diagram of the correct shortest walking path provided in the embodiments of the present invention; Figure 6This is a schematic diagram illustrating the calculation of the shortest path from door to door in a multi-room apartment according to an embodiment of the present invention. Figure 7 This is a schematic diagram illustrating a room that is not fully protected, as provided in an embodiment of the present invention. Detailed Implementation

[0017] The present invention will now be described in further detail with reference to specific embodiments. However, this should not be construed as limiting the scope of the present invention to the following embodiments; all technologies implemented based on the content of the present invention fall within the scope of the present invention.

[0018] Unless otherwise specified, the terms "upper," "lower," "left," "right," "center," "inner," and "outer," etc., used in the description of specific embodiments of the present invention to indicate orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings, or the orientation or positional relationship in which the product / equipment / device is usually placed during use. These terms are merely for the purpose of facilitating the description of the present invention or simplifying the description in specific embodiments, and for enabling those skilled in the art to quickly understand the solution, and do not indicate or imply that a particular device / component / element must have a specific orientation, or be constructed and operated in a specific positional relationship. Therefore, they should not be construed as limitations on the present invention.

[0019] Furthermore, the use of terms such as "first," "second," and "third" in terminology is merely for distinguishing descriptions of identical or similar components and should not be interpreted as emphasizing or implying the relative importance of a particular component.

[0020] Furthermore, in the description of the embodiments of the present invention, "several", "more than", and "a number of" represent at least two. The number can be any number, such as two, three, four, five, six, seven, eight, or nine, and can even exceed nine.

[0021] Furthermore, in the description of the technical solution of this invention, unless otherwise explicitly specified / limited / restricted, the terms "set up," "install," "connect," "link," "provided with," "laid out," and "arranged" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to connection methods commonly used in the art, such as welding, riveting, bolting, and threaded connections. Such connections can be mechanical, electrical, or communication connections; they can be direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication between two components.

[0022] In traditional design processes, designers need to manually measure the distance from each fire hydrant to every corner of the room to determine whether the protection radius requirements are met. This process is time-consuming and error-prone. This invention uses a computer to automatically identify room boundaries, doors, and fire hydrant locations in the building information model, and employs a walking path algorithm to accurately calculate the number of times each room corner is protected, thereby efficiently and accurately completing compliance checks.

[0023] It should be noted that, in the description of this embodiment of the invention, the walking path refers to the geometric path traversed by firefighters when laying water hoses in an actual fire scenario. This path is restricted by obstacles such as walls and columns and cannot be traversed in a straight line. Corner points refer to the intersections of the boundary lines of a room, i.e., the various top corners of the room. The number of protection strands refers to the number of fire hydrant water jets that a certain location should be covered by simultaneously, as required by regulations. It is usually two strands, but in this embodiment of the invention, it is set by the user.

[0024] The technical solution of the present invention will be described in detail below with reference to a specific embodiment. This embodiment takes a standard floor of a high-rise office building as an example. The building information model (BIM) of this floor already includes information such as room boundaries, doors, and the location of fire hydrants. Please refer to... Figure 1 The diagram illustrates a flowchart of an automated inspection method for fire hydrant layout compliance provided by an embodiment of the present invention. The method includes: Step 1: Obtain the configuration information set by the user.

[0025] For example, the user inputs configuration information through a graphical user interface. This configuration information includes the fire hose length, hose reduction factor, water jet length, water jet inclination projection factor, and the number of target protection strands. The hose length refers to the actual length of the fire hose after it is extended, for example, 25 meters; the hose reduction factor is the reduction ratio of the effective length of the hose when bent, typically ranging from 0.8 to 0.9; the water jet length refers to the length of the solid water jet ejected from the fire nozzle, for example, 10 meters or 13 meters; the water jet inclination projection factor is the ratio of the projection of the water jet onto the horizontal plane to the length of the hypotenuse, which is approximately 0.71 when the nozzle inclination angle is 45 degrees. After the user inputs these parameters, the system stores them in memory for subsequent calculations. By allowing users to customize parameters, this method can adapt to fire protection codes in different countries and regions, improving its versatility.

[0026] Step 2: Calculate the total protection radius of the fire hydrant based on the product of the fire hose length and the fire hose reduction factor, and the product of the water column length and the water column inclination angle projection factor.

[0027] For example, the system calculates the total protection radius of the fire hydrant according to the following formula: R = K3 × L d + K s × Sk Where K3 is the reduction factor for the water hose, and L... d K represents the length of the water hose. s S is the projection coefficient of the water column inclination angle. k This represents the length of the water column. The first term (K3×L) d The second item (K) represents the effective length of the hose after bending. s ×S k The radius represents the projected length of the water jet on the horizontal plane. The sum of the two parts is the maximum horizontal distance that the fire hydrant can effectively protect. Calculating the protection radius as the sum of the effective length of the fire hose and the projected length of the water jet more realistically reflects the hose's extension capacity and the water jet's coverage in actual firefighting scenarios.

[0028] Step 3: Identify the location information of room boundaries, room doors, and fire hydrants in the building information model.

[0029] For example, embodiments of the present invention can call the application programming interface (API) of building information modeling software (such as the Revit API). Through this interface, the current floor plan is read. First, all room elements in the model are traversed, and the boundary curves of each room (i.e., closed polygons enclosed by walls) are extracted. Second, all door instances are extracted, and the position coordinates of each door and the wall information it is located on are obtained. Third, all fire hydrant instances are extracted, and the placement coordinates of each fire hydrant (points projected from 3D space onto a 2D plane) are obtained. After recognition, the system establishes a geometric data structure in memory, for example, using polygons to represent room boundaries and point objects to represent doors and fire hydrants. In this way, the automatic extraction of required information from the BIM model is achieved without manual measurement.

[0030] Step 4: Calculate the first set of walking paths from each corner point on the boundary of each room to each doorway of that room, and calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room.

[0031] For example, for each room, all corner points (i.e., vertices of the polygon) are first extracted from its boundary polygon. For a room with N corner points, there are M doorways (M≥1). For a first set of walking paths, the shortest walking path from each corner point to each doorway is calculated. This calculation process uses a recursive expansion algorithm.

[0032] For the second set of walking paths, each fire hydrant is treated as a virtual doorway, and the algorithm for the first walking path is reused to calculate the shortest walking path from the fire hydrant to each corner point.

[0033] This path is directly used to determine whether the fire hydrants inside the room can protect every corner of the room. By pre-calculating the path from the fire hydrant to the corner, duplicate calculations can be avoided when counting the number of protections, significantly improving overall efficiency.

[0034] It should be noted that this step does not pre-calculate the distance from the fire hydrant to the doorway as an independent path set. The distance from the fire hydrant to the doorway is only used as an intermediate quantity when calculating the protection of external fire hydrants. At that time, it is dynamically obtained by treating the fire hydrant as a virtual doorway and reusing the algorithm in step 4. This design reduces unnecessary computational and storage overhead.

[0035] Step 5: Based on the second set of walking paths, count the number of times each corner point in each room is protected by the fire hydrant inside the room.

[0036] For example, for each room, all its corner points are traversed. For the current corner point, all fire hydrants within the room are traversed. From the already calculated second set of walking paths, the shortest walking path length from the fire hydrant to the corner point is obtained. This length is compared with the total protection radius of the fire hydrants. If the path length is less than or equal to the protection radius, the fire hydrant is considered to be able to protect the corner point, and the first protection count is increased by 1. After traversal, the first protection count t2 of the corner point is obtained. Similarly, the above statistics are performed for all corner points. By quantifying the number of times each corner point is protected, it is possible to accurately determine whether there are any blind spots in the room, rather than making a general qualified / unqualified judgment for the entire room, thereby reducing the risk of missed detections.

[0037] Step 6: For corner points where the first protection count has not reached the target protection count, recursively search for fire hydrants outside the room by going through adjacent rooms according to the first walking path set, and count the second protection count of the corner point protected by the external fire hydrant.

[0038] For example, for a certain corner point, if its first protection count t2 is less than the target protection count t1, it is necessary to consider whether the fire hydrant outside the room can enter the room through the door and provide protection. This step, based on the first set of walking paths, recursively searches for the fire hydrant outside the room by going through adjacent rooms, as follows: First, locate the directly adjacent rooms that share the same doorway with the current room, and iterate through all fire hydrants within these adjacent rooms. For each external fire hydrant, calculate the total path length from the hydrant's location to the target corner point within the room. Then, use a segmented judgment method to determine whether the external fire hydrant can protect the target corner point. The reason for using segmented judgment is that the path of the external fire hydrant must pass through the doorway into the target room, and the last straight segment after entering the target room (from the last turning point or doorway to the corner point) must be covered by a water jet, and the water jet cannot be bent; the rest of the path is laid out with bends in the hose.

[0039] The specific determination process is as follows: Obtain the total path length from the fire hydrant location to the current corner point within the room. This total path length is composed of two parts: the first part is the shortest walking distance from the external fire hydrant to the doorway of the room; the second part is the shortest walking distance from the doorway to the target corner point. The distance from the external fire hydrant to the doorway can be obtained by treating the fire hydrant as a virtual doorway and reusing the first walking path algorithm; the path from the doorway to the target corner point is already stored in the first walking path set. Connect the two lengths end-to-end to form a complete polyline path.

[0040] Furthermore, the polyline path is decomposed into the final segment and the remaining part. The final segment refers to the straight line segment from the last intermediate node (or directly the doorway) of the path to the target corner point; the remaining part refers to the total length of all polyline segments in the path except for the final segment.

[0041] Let the length of the last segment be... The total length of the remaining part is The effective length of the water column is The effective length of the water hose is ( This is the reduction factor for the water hose. (This refers to the length of the fire hose). Since the water jet cannot bend and can only cover the straight section at the end, the condition for determining that the external fire hydrant can protect the target corner point is:

[0042] or, > and +

[0043] If any of the above conditions are met, the external fire hydrant is considered to be able to protect the corner point, and the second protection count t3 is increased by 1. If any condition is not met, the external fire hydrant cannot protect the corner point.

[0044] If the search for t2 + t3 ≥ t1 is not satisfied after traversing one neighboring room, the search continues to look for the neighboring rooms of those neighboring rooms, expanding the search range until the protection requirements are met or the search range exceeds the protection radius threshold. During the recursive search, the path length between the corresponding doorways is accumulated for each room traversed. The path length between doorways can be obtained by concatenating the paths from two corner points to the doorways, and the above segmentation judgment is repeated. The recursive search ends when the protection requirements are met or the search range exceeds the protection radius threshold.

[0045] By employing a segmented judgment method, this approach accurately reflects the physical characteristics of water jets—that they cannot bend and can only spray in a straight line—avoiding misjudgments that might result from simply comparing the total path length of external fire hydrants with the total protection radius (for example, when the end of the path is extremely short but the preceding path is very long, the water jet can still cover the end, as long as the hose is long enough). This is particularly important for cross-room protection scenarios.

[0046] Step 7: If the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count, then the fire hydrant layout of that room is deemed unqualified.

[0047] For example, for each corner of each room, the sum of the first protection count and the second protection count is calculated. If the sum of the protection counts for any corner is less than the target protection count, the fire hydrant layout review for that room is deemed unqualified. Otherwise, it is deemed qualified.

[0048] By using precise corner-level analysis, this invention can accurately pinpoint specific locations within a room where protection is insufficient (e.g., corners near windows), providing designers with clear guidance for modifications.

[0049] Optionally, in the step of calculating the first set of walking paths, the recursive expansion algorithm specifically includes: First, iterate through all corner points on the room's boundary and select first-class corner points that can be directly connected to the doorway with the line lying entirely inside the room. For example, in a rectangular room, if the doorway is on a wall, the two corner points directly opposite the doorway can usually reach the doorway in a straight line without passing through the wall. The lines connecting these corner points to the doorway are used as the walking paths for those corner points and stored in a path library.

[0050] Secondly, for the remaining corner points (i.e., corner points that cannot reach the doorway in a straight line), corner points with known walking paths are used as transit nodes. For example, a corner point is first connected in a straight line to a corner point with a known path, and then the corner point follows that path to the doorway. Specifically, the current corner point is connected to each transit node, and candidate paths that are inside the room and satisfy the non-reverse bow constraint are selected. The candidate paths are then combined with the existing walking paths of the transit nodes to form a complete path, and the path with the shortest length is selected as the walking path for the current corner point. Then, the current corner point is moved into the set of corner points with known walking paths.

[0051] Finally, repeat the above transfer and expansion process until all corner points have obtained a walking path.

[0052] It should be noted that after identifying the door's location, the algorithm shifts the door's position from the wall center to the wall edge on one side of the target room. Specifically, when calculating the path from the door to a corner point in room A, the door's position is shifted inwards towards the wall edge of room A; similarly, when calculating the path from the same door to a corner point in adjacent room B, the door's position is shifted inwards towards room B. This shift ensures that the door's effective position is flush with the inner wall of the room, allowing all corner points within the room (including those on the same side as the door) to be directly connected to the shifted door point, with the connecting line entirely within the room. Therefore, for a rectangular room, all corner points can be used as first-class corner points to directly reach the doorway.

[0053] It should be noted that the route statistics still use the actual walking distance from the original door point (i.e., the center of the wall or the actual door hinge position) to the corner point, not the distance from the offset door point to the corner point. The offset processing is only used to determine the feasibility of a straight connection between the corner point and the door; the actual path length is calculated based on the original door point. Since the wall thickness is usually around 200 mm, the path length deviation caused by the offset processing does not exceed 50 mm (this deviation is the sum of the two shorter sides of the triangle minus the third side). Under the effect of the fire hydrant hose bending reduction factor (usually taken as 0.8 to 0.9), the impact of this deviation on the final protection radius determination is negligible.

[0054] This algorithm is similar to dynamic programming, using existing solutions to solve for new corner points in each iteration, ensuring computational efficiency. Simultaneously, it eliminates unreasonable geometric detours through non-reverse bow constraints, ensuring that the generated path conforms to actual walking habits.

[0055] Optionally, the non-reverse bow constraint includes: at the connection point of the connecting lines, the sum of the angle between the line connecting the current corner point and the transfer node and the room boundary line, and the angle between the starting segment of the existing walking path of the transfer node and the same boundary line, is equal to the angle between the line connecting the current corner point and the transfer node and the starting segment of the existing walking path of the transfer node. (Reference) Figure 3 As shown, line segment line1 represents the starting segment of the existing walking path at the transfer node (from the transfer node to a point on the room boundary line), line segment line2 represents the line connecting the current corner point to the transfer node, and the room boundary line lineA passes through the transfer node. ∠1 is the angle between line2 and lineA, ∠2 is the angle between line1 and lineA, and ∠3 is the angle between line1 and line2.

[0056] That is, the angle between the line connecting the current corner point and the intermediate node and the room boundary line is ∠1; the angle between the starting segment of the existing walking path of the intermediate node and the same boundary line is ∠2; and the angle between the line connecting the current corner point and the intermediate node and the starting segment of the existing walking path of the intermediate node is ∠3. The requirement for non-reverse bow constraints is: at the connection point of the lines, ∠1 + ∠2 = ∠3 must be satisfied. If this equation does not hold (e.g....), Figure 4 If the path (as shown in the image) contains unreasonable detours or passes through walls, it should be discarded. This constraint effectively prevents the algorithm from generating geometrically shortest but physically infeasible paths, improving the realism of path planning.

[0057] Optionally, for rooms with multiple doorways, a set of walking paths between doorways can be pre-calculated to optimize the efficiency of multi-level recursive searches. The specific calculation method is as follows: if the line connecting two doorways is entirely inside the room, then the line is taken as the walking path; otherwise, based on the first set of walking paths, all corner points directly reachable from the first door are found, and the lines connecting the first doorway to each corner point are concatenated with the walking paths from each corresponding corner point to the second door to form candidate paths. The shortest path is then selected as the walking path between the two doorways.

[0058] For example, consider a room with two doors (Door A and Door B). First, determine if the straight line connecting Door A and Door B lies entirely within the room and does not pass through any wall. If so, this straight line is used as the walking path between the doors. Otherwise, using the already calculated set of first walking paths from corner points to doorways, a polyline path is constructed through common corner points: take the path from Door A to Corner C, then take the path from Corner C to Door B, and concatenate them to obtain the complete path from Door A to Door B. Among all possible corner point transfer schemes, the path with the shortest total length is selected as the walking path between the doors. This path is used to calculate the total path length from when an external fire hydrant enters the room through another door to reach the target corner point, forming the basis for cross-room protection calculations in multi-door scenarios.

[0059] Optionally, when calculating the second set of walking paths (from fire hydrants to corners), fire hydrants are treated as virtual doorways, and the calculation method for the first set of walking paths is reused. Specifically, when calculating the shortest walking path from a fire hydrant to a corner, the fire hydrant is treated as a virtual doorway, and a recursive expansion algorithm is executed. This reuse method reduces code duplication and ensures the consistency of path calculation logic.

[0060] Optionally, for rooms that meet specific conditions, embodiments of the present invention further include performing boundary splitting review. The conditions include: at least one corner point within the room has a first protection count less than the target protection count, but the sum of the first and second protection counts for that corner point is not less than the target protection count, and the room has more than one doorway. In this scenario, although all corner points meet the protection requirements, there may still be insufficiently protected blind spots in the interior areas of the room (such as the area between doors).

[0061] The specific steps for boundary splitting review are as follows: The first step is to divide each boundary line segment of the room into several sub-segments according to a preset splitting precision, and obtain all splitting points. The splitting precision can be set by the user, for example, 0.1 meters or 0.2 meters. The splitting method can be a bisection method: each time, the midpoint of the line segment is taken for division, until the length of each segment is less than or equal to the precision threshold. It should be noted that the bisection method is only an optional splitting method; other splitting methods can also achieve the purpose of this step.

[0062] The second step is to calculate the shortest path from each split point to the door of that room. This calculation method is the same as in step 4, where the split point is treated as a new corner point, and a recursive expansion algorithm is executed.

[0063] The third step is to count the number of times each split point is protected by the first supplementary protection from the internal fire hydrants of the room and the number of times it is protected by the second supplementary protection from the external fire hydrants. The statistical method is the same as in steps 5 and 6.

[0064] Fourth step: If the sum of the first supplementary protection count and the second supplementary protection count at any split point is less than the target number of shares, then the room is deemed unqualified for review.

[0065] By using boundary splitting for review, embodiments of the present invention can discover internal blind spots that corner inspection cannot cover, further improving the rigor of the review. This mechanism is particularly important for large and complex rooms (such as underground parking garages and shopping mall atriums).

[0066] Optionally, the user-defined configuration information also includes Class I room labels prohibiting the installation of fire hydrants (e.g., rooms with special fire protection requirements such as "electrical distribution room," "fire control room," "archives room," and "high and low voltage electrical distribution room") and Class II room labels requiring the installation of fire hydrants (e.g., "fire elevator lobby," "refuge floor," etc.). This embodiment of the invention also includes the following additional checks: First, determine whether the fire hydrant is attached to the building structure. If the distance between the fire hydrant and the nearest wall or column surface is greater than the set accuracy value, it is considered not attached and marked as unqualified.

[0067] Second, determine whether each fire hydrant falls into the room corresponding to the Class I room label. If so, mark the fire hydrant as "illegally placed" on the building drawings.

[0068] Third, for the rooms corresponding to the second type of room identification, check whether there is at least one fire hydrant in the room. If it is missing, generate a prompt message and mark the room.

[0069] The above-mentioned checks and protection range calculations are independent of each other and can be performed in parallel. After the checks are completed, the system marks fire hydrants or rooms that do not meet any of the above conditions on the building drawings. Through this additional check, this embodiment of the invention not only evaluates the protective capability of fire hydrants, but also verifies whether the placement of the fire hydrants themselves meets the regulatory requirements for special areas, achieving a more comprehensive compliance review.

[0070] In one possible implementation, marking non-compliant fire hydrants further includes: determining whether the fire hydrant box door is obstructed by a wall or door within a 120° opening range; if obstructed, marking the fire hydrant as non-compliant; generating a missing fire hydrant message based on the keyword of the room name where at least one fire hydrant should be placed; and generating a corresponding message based on the keyword of the fire elevator lobby if no fire hydrant is provided in that type of room.

[0071] After completing all the above steps, this embodiment of the invention outputs the results of this review. If any non-compliant rooms or fire hydrants exist, the system highlights the non-compliant room area in the building information model with a color (e.g., red) and lists the specific reasons for non-compliance (e.g., "insufficient protection strips in the northwest corner of the room", "fire hydrant not attached to the wall", etc.). Designers can directly modify the model according to the prompts and rerun the check until all are compliant.

[0072] Based on the above technical solution, this embodiment of the invention obtains the user-defined fire hydrant hose length, reduction factor, water column length, tilt angle projection factor, and target protection number, and calculates the total protection radius. Then, it calculates the set of walking paths from the corner point to the door and from the fire hydrant to the corner point, thereby realizing the quantitative statistics of the number of times each corner point on the room boundary is protected. Furthermore, by finding external fire hydrants for corner points with insufficient protection times and supplementing the protection count, it realizes a complete assessment of the comprehensive protection capability of corner points from both internal and external fire hydrants. Finally, by comparing the sum of the protection times of each corner point with the target protection number, it realizes the automated determination of the compliance of the room's fire hydrant layout.

[0073] Further, the embodiments of the present invention use room boundary corner points instead of global grids or the entire room as evaluation units, which reduces computational complexity and improves inspection efficiency; the protection range is calculated based on the walking path rather than the straight-line distance, which improves the accuracy of protection coverage judgment; the combined protection effect of fire hydrants inside and outside the room is considered, which improves the adaptability to complex spatial layouts (such as multi-door rooms and cross-area protection); the non-conformity judgment result is automatically output, which reduces the workload of manual drawing review and the risk of missed inspection.

[0074] The inspection method provided by the present invention is further described below in combination with specific embodiments An automated inspection method for fire hydrant layout compliance provided by the present invention includes: S1. Obtain user input information related to fire hydrants, where the user input information includes: the full water column length of the fire hydrant, the length of the fire hydrant hose, the hose reduction coefficient, the reduced full water column length of the fire hydrant, the reduced hose length of the fire hydrant, the total protection radius of the fire hydrant, the number of protection streams t1 that each position should receive from the full water column of the fire hydrant, the keywords of names of rooms where fire hydrants are prohibited from being placed or embedded, and the keywords of names of rooms where at least one fire hydrant should be placed inside; S2. Identify room boundaries, room doors, fire hydrants, and the fire compartment to which each room belongs; S3. Mark fire hydrants that do not meet user settings; S4. Calculate the walking path from each corner point of the room boundary to the door; S5. Calculate the walking path from door to door in each room; S6. Calculate the walking path from the fire hydrant to the door in each room; S7. Calculate the walking path from the fire hydrant to the room corner point in each room; S81. Based on the data from S4 to S7, calculate the number of times t2 each corner point in each room is protected by the fire hydrants inside the room; S82. For rooms where t2 < t1, calculate the number of times t3 each corner point is protected by fire hydrants outside the room; S83. If there is a room where t2 + t3 < t1, this room does not meet the specification requirements input by the user, that is, the current fire hydrant layout compliance review is non-conforming; S84. For rooms where t2 < t1 but t2 + t3 > t1 and the number of room doors is more than 1 (such as Figure 7 , the number of room doors is more than 1, the fact that the room corner points meet the specifications in terms of fire hydrant protection cannot infer that the entire room area meets the specifications, and the shaded area is the area not protected by fire hydrants), the boundary split review method is used to recheck the compliance, and a non-conforming result indicates that this room does not meet the specification requirements input by the user, that is, the current fire hydrant layout compliance review is non-conforming.

[0075] According to one specific implementation, the above calculation method, in which the identification of room boundaries, room doors, fire hydrants, and the fire compartment to which the room belongs, specifically includes: reading room markings (including room boundaries, the fire compartment to which the room belongs, etc.) and room doors from the architectural base drawing provided by the architectural profession, and reading the fire hydrants (location, orientation, etc.) that the user has already placed on the drawing. According to a specific implementation method, the above calculation method, wherein the marking does not meet the user-defined fire hydrant, specifically includes: Calculate whether the fire hydrant is located inside any room; if not, mark it. Calculate whether the fire hydrant is attached to any wall, column or other structure that can be attached; if not attached, mark it. Search for user-defined rooms that cannot be embedded or have fire hydrants placed based on room name keywords, calculate whether the fire hydrant is in such a room, and mark it if so; Search for user-defined rooms where fire hydrants should be placed based on room name keywords. If no fire hydrant is found in such a room, prompt the user that such a room is missing a fire hydrant. According to a specific implementation, the above calculation method, specifically calculating the walking path from each corner point of the room boundary to the doorway, includes: 1. Count all room corner points (Pt), calculate the number of unobstructed, straight-line points within the room that can reach the doorway, and connect these corner points (Pts) to the center of the door (e.g., ...). Figure 2 Line 1) serves as the walking path for each of these corner points. Then, the corner points existing in Pts are removed from Pt. 2. Create a new empty set _Pts. For the i-th corner point (Pti) in Pt, connect it to each point in Pts (e.g., ...). Figure 2 If the line is inside the room and meets the non-reverse bow requirement, then merge this line with the walking path of the corresponding point to form a new path and store it in the path set Paths. If there is at least one path in Paths, then calculate and find the path with the shortest path length in Paths, use it as the walking path of corner point Pti, and remove Pti from Pt and add it to the set _Pts. If there is no point in temp, then do not perform any operation and directly proceed to the next step. 3. Repeat the previous operation for the next point in Pt until the last point in Pt is reached; 4. Delete all points in Pts and replace them with points in _Pts, then perform steps 2 and 3. 5. Repeat step 4 until there are no points left in Pt. At this point, the walking paths from each corner point of the room boundary to the door have been calculated and found.

[0076] See Figure 3 , Figure 4 The above-mentioned non-reverse bow requirement refers to Figure 3 In the case where 90° ≤ ∠1 + ∠2 = ∠3, Figure 4 This indicates a situation where the non-reverse bow requirement is not met. If this situation is not corrected, the following will occur: Figure 2 The incorrect walking path shown can be corrected to obtain the correct path. Figure 5 The correct path is shown.

[0077] According to one specific implementation, the above calculation method, specifically calculating the walking path from door to door in each room, includes: 1. Determine if there is more than one door to the room; if there is only one door, end the calculation immediately. 2. Connect any two doors in the room with a line. If the line is inside the room boundary, then use the line as the walking path between doors and then skip to step 4; otherwise, proceed to the next step. 3. See Figure 6 Since the walking path from each corner point of the room boundary to the door has been calculated, any room door is connected to each corner point of the room boundary. The connecting line is inside the room boundary and meets the requirement of not being a reverse bow. The path lengths are compared, and the path with the smallest value is the walking path between doors. 4. Repeat steps 2 and 3 until all room doors are matched in pairs.

[0078] According to one specific implementation, the above calculation method, specifically calculating the walking path from the fire hydrant in each room to the doorway, includes: 1. Determine if there is a fire hydrant in the room; if not, end the calculation immediately. 2. Connect any fire hydrant to any room door with a wire. If the wire is inside the room boundary, then use the wire as the walking path between the fire hydrant and the door, and then skip to step 4; otherwise, proceed to the next step. 3. Similar to Figure 6 Since the walking path from each corner point of the room boundary to the door has been calculated, the fire hydrant is connected to each corner point of the room boundary. The connecting line is inside the room boundary and meets the requirement of not being a reverse bow. The path lengths are compared, and the path with the smallest value is the walking path from the fire hydrant to the door. 4. Repeat steps 2 and 3 until the fire hydrants and room doors are matched in pairs.

[0079] According to a specific implementation method, the walking path from the fire hydrant in each room to the corner of the room, as described in the above calculation method, specifically includes: By treating fire hydrants as room doors and calculating the walking path from each corner point of the room boundary to the door, the walking path from the fire hydrant to the corner point of the room can be obtained.

[0080] According to a specific embodiment, in the above calculation method, the calculating the number of times t2 that each corner point in each room is protected by the fire hydrant in the room specifically includes: Statistically calculate the walking paths from the first corner point in the room to each fire hydrant. For a walking path with only one line segment, directly determine whether the length of the line segment is less than the protection radius of the fire hydrant; if it is less, the number of times this corner point is protected by the fire hydrant in the room is increased by one. For a walking path with more than one line segment, determine whether the length len1 of the terminal line segment is less than the reduced water column length len2 of the fire hydrant. If len1 < len2, calculate whether the total length len3 of the remaining line segments is less than the reduced hose length len4 of the fire hydrant. If len3 < len4, the number of times this corner point is protected by the fire hydrant in the room is increased by one; if len1 > len2 and len1 - len2 + len3 < len4, the number of times this corner point is protected by the fire hydrant in the room is also increased by one; Repeat the above step until the number of times all corner points are protected by the fire hydrants in the room is counted.

[0081] According to a specific embodiment, in the above calculation method, the calculating the number of times each corner point is protected by fire hydrants outside the room specifically includes: 1. Determine whether there is a fire hydrant in the room (room2) communicating with this room (room1). If there is, determine whether the sum of the walking path from the fire hydrant to the door and the walking path from the corner point in room1 to the door is not greater than the reduced hose length of the fire hydrant; if the condition is met, the number of protections is increased by one; 2. Determine whether the number of protections has met the user-required "number of full water column protection streams t1 that each position shall be protected by fire hydrants"; 3. If not met, continue to query room3, a room communicating with room2, and determine whether there is a fire hydrant in room3 that can protect the corner point of room1; 4. Repeat step 3, and end after reaching the user-required "number of full water column protection streams t1 that each position shall be protected by fire hydrants", or end when the path is too far for the fire hydrant hose to reach the door of room1. So far, it has been calculated whether the number of times each corner point is protected by fire hydrants meets the user-required "number of full water column protection streams t1 that each position shall be protected by fire hydrants".

[0082] According to a specific embodiment, in the above calculation method, the boundary splitting review method specifically includes: 1. Split each line segment of the room boundary into several segments each with a length not exceeding L (review accuracy: the smaller the value, the higher the accuracy), the splitting adopts a dichotomy splitting method (that is, the line segment is split from the midpoint of the line segment each time), and then obtain the endpoints pts of all line segments (excluding the points coinciding with the corner points of the room); 2. For each point (pt) in pts, find all room corner points temp (number ≥ 1) that can be directly connected to it and meet the requirement of not being a reverse bow. The line segment connecting pt and each point in temp forms a new path set _paths with the corresponding point (calculated in step S4). The path with the shortest total path length in _paths is the walking path path from pt to the door. 3. Based on the walking path calculated in step 2, calculate the number of times pt is protected by fire hydrants outside the room, t3, and then calculate the number of times pt is protected by fire hydrants inside the room, t2 (method as in S81). If t3 + t2 ≥ t1 for each pt, the review result is qualified; otherwise, it is unqualified.

[0083] Based on the above technical solution, the present invention has at least the following beneficial effects: 1. This invention enables automated review of the compliance of fire hydrant placement. The review includes whether the fire hydrant is on a suitable wall and whether the protection requirements of each part of the room to be protected by the fire hydrant are met. It solves the identification and calculation problem of machine verification, automates the verification of fire hydrants, frees up manpower, and promotes the automation and intelligence of the design sector of the building industry.

[0084] 2. Compared with the traditional grid division verification algorithm, the fire hydrant verification algorithm of the present invention greatly improves efficiency while ensuring verification accuracy (no accuracy difference in most scenarios). In the actual test based on EASYBIM software, the traditional grid division verification algorithm takes about 5 minutes to complete the verification of the drawing, while the algorithm of the present invention can complete the verification within 3 seconds, laying a solid foundation for the realization of automatic verification of fire hydrants in large-scale buildings.

[0085] 3. This invention enables automatic review of the compliance of fire hydrant layout, allowing personnel unfamiliar with fire hydrant-related professional knowledge to conduct preliminary reviews of drawings, thus lowering the professional skill requirements and broadening the scope of personnel in the industry; at the same time, it breaks down the barriers between managers and professionals, reduces the personnel structure in the review process, and thereby reduces labor costs and information transmission time costs.

[0086] 4. The verification results of this invention can directly locate fire hydrants with layout problems and rooms that are not properly protected. Compared with manual drawing search, especially for large-scale and complex drawings with a lot of content, it greatly saves time and manpower costs.

[0087] On the other hand, embodiments of the present invention also provide an automated inspection system for the compliance of fire hydrant layout, the system comprising the following functional modules: Configuration Acquisition Module: This module acquires user-defined configuration information, including fire hose length, hose reduction factor, water jet length, water jet inclination projection factor, and the number of target protection strands. Users input these parameters through this interface. The configuration acquisition module stores the user-inputted data in memory for use by other modules.

[0088] The protection radius calculation module is used to calculate the total protection radius of the fire hydrant based on the product of the length of the fire hose and the reduction coefficient of the fire hose, and the product of the length of the water column and the projection coefficient of the water column inclination angle.

[0089] Information Recognition Module: Used to identify room boundaries, door locations, and fire hydrant locations in the Building Information Model (BIM). This module encapsulates the interface for interacting with BIM software, such as using the Revit API or an IFC format parser. Its implementation is the same as step 2 of the method described above.

[0090] Path calculation module: used to calculate the first set of walking paths from each corner point on the boundary of each room to each door of that room, and to calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room.

[0091] Protection Count Module: Based on the second walking path set, it counts the first protection count of each corner point in each room by the fire hydrant inside the room, and for corner points whose first protection count has not reached the target protection count, it recursively searches for fire hydrants outside the room by adjacent rooms according to the first walking path set, and counts the second protection count of the corner point by the external fire hydrant.

[0092] The judgment output module is used to determine that the fire hydrant layout of any room is unqualified if the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count. The judgment output module also interacts with the BIM software's display engine to mark unqualified fire hydrants and unqualified room areas on the architectural drawings using different colors or cloud-line annotation boxes. For example, unqualified rooms are filled with semi-transparent red, and illegally placed fire hydrant icons are highlighted in yellow.

[0093] Optionally, the path calculation module mentioned above includes: Recursive expansion unit: It is used to start from the corner point that can be connected to the doorway by a straight line, and use the corner points with obtained paths as transit nodes to successively expand and solve the walking path of the remaining corner points.

[0094] Constraint element: Used to determine whether the connection satisfies the non-reverse bow constraint during the expansion process.

[0095] Optionally, the configuration acquisition module is further configured to acquire Class I room identifiers indicating that fire hydrants are prohibited from being installed and Class II room identifiers indicating that fire hydrants must be installed. The system also includes an additional inspection module, configured to determine whether fire hydrants are attached to the building structure, whether they fall within the room corresponding to the Class I room identifier, and whether fire hydrants are missing from the room corresponding to the Class II room identifier, and to mark the room areas that do not meet any of the above conditions on the building drawings.

[0096] It is understood that the methods and systems provided in the embodiments of the present invention can be implemented on general-purpose computing devices. Exemplarily, such computing devices include at least one processor (e.g., a central processing unit (CPU), a graphics processing unit (GPU), or an application-specific integrated circuit (ASIC), a memory (e.g., random access memory (RAM), read-only memory (ROM), or a solid-state drive (SSD), an input / output interface (e.g., a keyboard, a mouse, a monitor), and a network interface (e.g., an Ethernet card, a wireless network card, a Bluetooth module). The memory stores computer program instructions, which, when executed by the processor, cause the computing device to perform the steps in the above-described methods. The building information model can be stored on a local hard drive or obtained from a remote server via a network interface. The calculation results can be displayed on a monitor or exported as a report file (e.g., PDF or Excel). Those skilled in the art should understand that the above hardware configuration is merely an example, and any device with data calculation and graphics display capabilities can be used to implement the present invention.

[0097] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An automated inspection method for the compliance of fire hydrant layout, characterized in that, Includes the following steps: Obtain user-defined configuration information, including fire hydrant hose length, hose reduction factor, water jet length, water jet tilt angle projection factor, and target protection number of strands; The total protection radius of the fire hydrant is calculated based on the product of the length of the fire hose and the reduction factor of the fire hose, and the product of the length of the water column and the projection factor of the water column inclination angle. Identify the location information of room boundaries, room doors, and fire hydrants in the building information model; Calculate the first set of walking paths from each corner point on the boundary of each room to each door of that room, and calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room; Based on the second set of walking paths, count the number of times each corner point in each room is protected by the fire hydrant inside the room; For corner points where the first protection count has not reached the target protection count, the fire hydrants outside the room are searched recursively through adjacent rooms according to the first walking path set, and the second protection count of the corner point protected by the external fire hydrants is counted. If the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count, then the fire hydrant layout of that room is deemed unqualified.

2. The automated inspection method for the compliance of fire hydrant layout according to claim 1, characterized in that, Calculating the first set of walking paths specifically includes: Traverse all corner points on the boundary of the room, select the first type of corner point that can be connected to the door with a straight line and the line is completely inside the room, and use the line connecting the first type of corner point and the door as the walking path of the corner point. For the current corner point among the remaining corner points, the corner points with the obtained walking paths are used as transit nodes. The current corner point is connected to each transit node, and candidate paths that are located inside the room and satisfy the non-reverse bow constraint are selected. The candidate paths are spliced ​​with the existing walking paths of the transit nodes to form a complete path, and the path with the shortest length is selected as the walking path of the current corner point. Repeat the above steps until all corner points have a walking path.

3. The automated inspection method for the compliance of fire hydrant layout according to claim 2, characterized in that, The angle between the line connecting the current corner point and the transfer node and the room boundary line is ∠1. The angle between the starting segment of the existing walking path of the transfer node and the same boundary line is ∠2. The angle between the line connecting the current corner point and the transfer node and the starting segment of the existing walking path of the transfer node is ∠3. The non-reverse bow constraint includes: at the connection point of the line, ∠1 + ∠2 = ∠3.

4. The automated inspection method for the compliance of fire hydrant layout according to claim 2, characterized in that, When calculating the second set of walking paths, fire hydrants are treated as virtual doorways, and the method for calculating the first set of walking paths is reused to obtain the shortest walking paths from fire hydrants to each doorway or corner point.

5. The automated inspection method for the compliance of fire hydrant layout according to claim 1, characterized in that, The method also includes calculating the walking path between doorways, specifically: If the line connecting two doorways is located inside the room, then that line is used as the walking path between the doorways. Otherwise, based on the first set of walking paths, find all corner points that can be directly reached from the first door, and connect the lines connecting the first door to each corner point with the walking paths from each corresponding corner point to the second door to form candidate paths, and select the shortest path as the walking path between the two doors.

6. The automated inspection method for the compliance of fire hydrant layout according to claim 1, characterized in that, For any room where the number of first protection attempts at a target corner point is less than the target number of protection segments, the sum of the first and second protection attempts is not less than the target number of protection segments, and the number of doors in the room is greater than 1, the method further includes: Divide each boundary line segment of the room into several sub-segments according to a preset splitting precision, and obtain all splitting points; Calculate the shortest walking path from each split point to the door of the room, and count the number of times each split point is protected by the first supplementary protection from the fire hydrant inside the room and the number of times it is protected by the second supplementary protection from the fire hydrant outside the room. If the sum of the first and second supplementary protection counts at any split point is less than the target protection number of shares, then the room is deemed unqualified for review.

7. The automated inspection method for the compliance of fire hydrant layout according to claim 1, characterized in that, The configuration information also includes Class I room signs prohibiting the installation of fire hydrants and Class II room signs requiring the installation of fire hydrants; the method further includes: determining whether a fire hydrant is attached to the building structure, whether it falls into the room corresponding to the Class I room sign, and whether a fire hydrant is missing in the room corresponding to the Class II room sign; and marking room areas that do not meet any of the above conditions on the building drawings.

8. An automated inspection system for the compliance of fire hydrant layout, characterized in that, include: The configuration acquisition module is used to acquire the configuration information set by the user. The configuration information includes the length of the fire hydrant hose, the hose reduction factor, the length of the water jet, the projection factor of the water jet inclination angle, and the number of target protection strands. The protection radius calculation module is used to calculate the total protection radius of the fire hydrant based on the product of the length of the fire hose and the reduction factor of the fire hose, and the product of the length of the water column and the projection factor of the water column inclination angle. The information recognition module is used to identify the location information of room boundaries, room doors, and fire hydrants in the building information model; The path calculation module is used to calculate the first set of walking paths from each corner point on the boundary of each room to each door of that room, and to calculate the second set of walking paths from each fire hydrant in each room to each corner point on the boundary of that room. The protection count module is used to count the number of times each corner point in each room is protected by the fire hydrant inside the room, based on the second walking path set. For corner points where the number of the first protection count has not reached the target number of protection points, the module recursively searches for fire hydrants outside the room by going through adjacent rooms according to the first walking path set, and counts the number of times the corner point is protected by external fire hydrants. The judgment output module is used to determine that the fire hydrant layout review of any room is unqualified if the sum of the first protection count and the second protection count at any corner point in any room is less than the target protection count.

9. The automated inspection system for fire hydrant layout compliance according to claim 8, characterized in that, The path calculation module includes: The recursive expansion unit is used to start from the corner point that can be connected to the doorway by a straight line, and use the corner points with the obtained paths as intermediate nodes to successively expand and solve the walking path of the remaining corner points. A constraint unit is used to determine whether the connection satisfies the non-reverse bow constraint during the expansion process; wherein, the angle between the line connecting the current corner point and the transfer node and the room boundary line is ∠1, the angle between the starting segment of the existing walking path of the transfer node and the same boundary line is ∠2, and the angle between the line connecting the current corner point and the transfer node and the starting segment of the existing walking path of the transfer node is ∠3. The non-reverse bow constraint includes: at the connection point of the line, ∠1+∠2=∠3.

10. The automated inspection system for fire hydrant layout compliance according to claim 8, characterized in that, The configuration acquisition module is also used to acquire the first type of room sign where fire hydrants are prohibited from being installed and the second type of room sign where fire hydrants must be installed; the method further includes: determining whether the fire hydrant is attached to the building structure, whether it falls into the room corresponding to the first type of room sign, and whether the room corresponding to the second type of room sign is missing a fire hydrant; and marking the room area that does not meet any of the above conditions on the building drawings.