Revit-based automatic fire alarm system diagram drawing method and device

Through Revit software, the components of the automatic fire alarm system are identified and grouped, and automatic drawing of the diagram solves the problems of time-consuming, labor-consuming and frequent errors in the prior art, improving design quality and efficiency.

CN119004645AInactive Publication Date: 2024-11-22GUANGZHOU PEARL RIVER FOREIGN INVT ARCHITECTURAL DESIGN INST

Patent Information

Application Number
CN202411500016.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing methods of drawing automatic fire alarm system diagrams consume a lot of manpower and time, and are prone to problems such as mismatch between the equipment and the floor plan and address errors, which affects the design quality and drawing efficiency.

Method used

Revit-based automatic fire alarm system drawing method, by obtaining floor plan identification components, grouping and automatically drawing the diagram according to the user-specified views and base points, including the drawing symbols of component groups such as terminal block boxes, short-circuit isolators, fire alarm groups, etc. Connecting cable.

Benefits of technology

It realizes the rapid and automatic drawing of the fire automatic alarm system diagram, avoids manual statistical errors, and improves design quality and graph production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004645A_ABST
    Figure CN119004645A_ABST
Patent Text Reader

Abstract

The invention provides a Revit-based automatic fire alarm system diagram drawing method and device, and the method comprises the steps: obtaining a planar graph of an automatic fire alarm system, recognizing all components from the planar graph of the automatic fire alarm system, forming a component set of the automatic fire alarm system, and storing the component set of the automatic fire alarm system; the component set is grouped according to the name, the category and the purpose of each component, a plurality of component groups of the automatic fire alarm system are obtained, a view and a base point specified by a user are obtained, the view is a drawing target view of the automatic fire alarm system diagram, and the base point is an initial placement coordinate point of the automatic fire alarm system diagram on the view; and drawing an automatic fire alarm system diagram in a view according to the base point and the plurality of component groups. According to the plane graph of the automatic fire alarm system, the automatic fire alarm system graph can be automatically and quickly drawn without consuming manpower, meanwhile, the problems of mistakes and omissions caused by manual counting are avoided, and the design quality and graph output efficiency of a project can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of BIM, and in particular to a method for drawing an automatic fire alarm system diagram based on Revit, a device for drawing an automatic fire alarm system diagram based on Revit, an electronic device, and a computer-readable medium. Background Art

[0002] The automatic fire alarm system diagram is a necessary part of the construction engineering design. It can connect some related parts, monomers or equipment to form a schematic diagram of a working group. It can help understand the size of the project, clarify the service scope of each circuit, and cooperate with the interpretation of the floor plan. It can also simply and intuitively express the relationship between individual components and is a necessary component of the construction drawing.

[0003] The drawing of the automatic fire alarm system diagram is usually done by engineering designers based on their experience, arranging and wiring the equipment according to the floor and location. This drawing method not only takes a lot of manpower and time, but is also prone to problems such as mismatch between equipment and floor plan, errors in address totals, circuit numbers, and equipment quantity. In addition, error checking is very difficult and requires a lot of manpower, which seriously affects the design quality and drawing efficiency of the project.

[0004] Autodesk Revit has the advantages of visualization, rich components, strong compatibility, and ease of use. It also provides a wealth of API interfaces, allowing users to independently develop required functional plug-ins, providing new technical ideas for the drawing of automatic fire alarm system diagrams. Summary of the invention

[0005] In view of the above problems, the present invention is proposed to provide a method for drawing an automatic fire alarm system diagram based on Revit and a corresponding device for drawing an automatic fire alarm system diagram based on Revit, an electronic device and a computer-readable medium that overcome the above problems or at least partially solve the above problems.

[0006] The invention discloses a method for drawing a fire automatic alarm system diagram based on Revit, the method comprising: Obtaining a plan view of the automatic fire alarm system, identifying all components from the plan view of the automatic fire alarm system, and forming a component set of the automatic fire alarm system; The component set is grouped according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; Acquire a view and a base point specified by a user; the view is a drawing target view of the automatic fire alarm system diagram, and the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view; Based on the base points and the multiple component groups, an automatic fire alarm system diagram is drawn in the view.

[0007] Optionally, the component set includes one or more of a terminal box, a flush-mounted speaker box, a fire alarm phone, a fire alarm phone jack, a short-circuit isolator, a smoke detector, a manual alarm button, a fire hydrant pump start button, a fire sound and light alarm, an input module, an input and output module, a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a normally open fire damper, a temperature-sensing fire detector, a fire shutter door controller, a fan control box, a fire hydrant control box, a fire hydrant pump control box and a sprinkler pump control box.

[0008] Optionally, the component group includes: a telephone and broadcasting group, a junction box group, a fire alarm group, a module group, a control terminal group and other terminal groups; the telephone and broadcasting group includes a flush-mounted speaker box, a fire alarm phone and a fire alarm phone jack; the junction box group includes a terminal box and a short-circuit isolator; the fire alarm group includes a smoke detector, a manual alarm button, a fire hydrant pump start button and a fire sound and light alarm; the module group includes an input and output module and an input module; the control terminal group includes a fan control box, a fire hydrant pump control box, and a sprinkler pump control box; the other terminal groups include water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, fire shutter door controllers, normally open fire dampers, and temperature-sensitive fire detectors.

[0009] Optionally, drawing a fire automatic alarm system diagram in a view according to the base point and the plurality of component groups includes: According to the base point and the junction box group, the output symbols and connecting lines of the terminal box are drawn; the output symbols are conventional annotation families; the connecting lines include one or more of telephone lines, broadcast lines, power lines, signal lines and control lines; According to the terminal box, draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group; According to the short-circuit isolator, draw the output symbols and connecting lines of the fire alarm group, module group, control terminal group and other terminal groups.

[0010] Optionally, drawing the output symbol and connection lines of the terminal box according to the base point and the terminal box group includes: Extract all the terminal boxes from the junction box group to form a terminal box set; Traversing the terminal box set, obtaining each terminal box and acquiring information of each terminal box; Calculate the drawing coordinate points according to the number of base points and terminal boxes, and the preset row spacing; According to the drawing coordinate points, draw the output symbols and parameters of the terminal box; the parameters include one or more of the total number of addresses, name, name visible check box and quantity; Get the name of the distribution board corresponding to each terminal box; Sort the terminal boxes according to the switchboard name, and based on the order of the terminal boxes, draw the connecting lines between the terminal boxes.

[0011] Optionally, according to the terminal box, drawing the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group includes: Identify the plan view of the automatic fire alarm system, and obtain components connected to the terminal box according to the connection relationship of the terminal box to form a primary connection set; the primary connection set includes a short-circuit isolator, a flush-mounted speaker box, a fire alarm phone, and a fire alarm phone jack; Traversing the terminal box connection set to obtain each primary connection element; Calculate the drawing coordinate points of each primary connection element according to the drawing coordinate points of the output symbol of the terminal box and the preset line spacing; Draw the output symbol and parameters of the first-level connection element according to the drawing coordinate points of the first-level connection element; Draw a connecting line between the output symbol of the terminal box and the output symbol of the primary connection element.

[0012] Optionally, according to the short-circuit isolator, draw the output symbols and connection lines of the fire alarm group, module group, control terminal group and other terminal groups, including: Identify the plan view of the automatic fire alarm system, and obtain components connected to the short-circuit isolator according to the connection relationship of the short-circuit isolator to form a secondary connection set; the short-circuit isolator connection set includes components of the fire alarm group, module group, control terminal group and other terminal groups; Traversing the short-circuit isolator connection set to obtain each secondary connection element; Calculate the drawing coordinate points of each secondary connection element according to the drawing coordinate points of the output symbol of the short-circuit isolator and the preset line spacing; Draw the output symbol and parameters of the secondary connection element according to the drawing coordinate points of the secondary connection element; Draw a connection line between the output symbol of the short-circuit isolator and the output symbol of the secondary connection element.

[0013] The present invention also discloses a fire automatic alarm system diagram drawing device based on Revit, the device comprising: A component identification module is used to obtain a plan view of the automatic fire alarm system, identify all components from the plan view of the automatic fire alarm system, and form a component set of the automatic fire alarm system; A component grouping module, used for grouping the component set according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; A view base point determination module is used to obtain a view and a base point specified by a user; the view is a drawing target view of the automatic fire alarm system diagram, and the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view; A drawing module is used to draw a fire automatic alarm system diagram in a view according to the base points and the multiple component groups.

[0014] Optionally, the component set includes one or more of a terminal box, a flush-mounted speaker box, a fire alarm phone, a fire alarm phone jack, a short-circuit isolator, a smoke detector, a manual alarm button, a fire hydrant pump start button, a fire sound and light alarm, an input module, an input and output module, a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a normally open fire damper, a temperature-sensing fire detector, a fire shutter door controller, a fan control box, a fire hydrant control box, a fire hydrant pump control box and a sprinkler pump control box.

[0015] Optionally, the component group includes: a telephone and broadcasting group, a junction box group, a fire alarm group, a module group, a control terminal group and other terminal groups; the telephone and broadcasting group includes a flush-mounted speaker box, a fire alarm phone and a fire alarm phone jack; the junction box group includes a terminal box and a short-circuit isolator; the fire alarm group includes a smoke detector, a manual alarm button, a fire hydrant pump start button and a fire sound and light alarm; the module group includes an input and output module and an input module; the control terminal group includes a fan control box, a fire hydrant pump control box, and a sprinkler pump control box; the other terminal groups include water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, fire shutter door controllers, normally open fire dampers, and temperature-sensitive fire detectors.

[0016] Optionally, the drawing module includes: The first drawing submodule is used to draw the output symbols and connection lines of the terminal box according to the base point and the terminal box group; the output symbols are conventional annotation families; the connection lines include one or more of telephone lines, broadcast lines, power lines, signal lines and control lines; The second drawing submodule is used to draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group according to the terminal box; The third drawing submodule is used to draw the output symbols and connection lines of the fire alarm group, the module group, the control terminal group and other terminal groups according to the short-circuit isolator.

[0017] Optionally, the first drawing submodule includes: A terminal box extraction unit, used for extracting all terminal boxes from the terminal box group to form a terminal box set; A terminal box information acquisition unit, used to traverse the terminal box set, obtain each terminal box and obtain information of each terminal box; A terminal box drawing coordinate point calculation unit, used to calculate the drawing coordinate points according to the base points and the number of terminal boxes, and a preset row spacing; A terminal box output symbol drawing unit, used to draw the output symbol and parameters of the terminal box according to the drawing coordinate points; the parameters include one or more of the total number of addresses, name, name visible check box and quantity; A switchboard name acquisition unit, used to acquire the switchboard name corresponding to each terminal box; The terminal box connection line drawing unit is used to sort the terminal boxes according to the names of the distribution board, and draw the connection lines between the terminal boxes according to the sorting of the terminal boxes.

[0018] Optionally, the second drawing submodule includes: A primary connection set generating unit is used to identify the plan view of the automatic fire alarm system, and obtain components connected to the terminal boxes according to the connection relationship of the terminal boxes to form a primary connection set; the primary connection set includes a short-circuit isolator, a flush-mounted speaker box, a fire alarm phone, and a fire alarm phone jack; A primary connection element determination unit, used to traverse the terminal box connection set to obtain each primary connection element; A primary connection element drawing coordinate point calculation unit, used to calculate the drawing coordinate points of each primary connection element according to the drawing coordinate points of the output symbol of the wiring terminal box and the preset line spacing; A first-level connection element output symbol drawing unit, used to draw the output symbol and parameters of the first-level connection element according to the drawing coordinate points of the first-level connection element; The primary connection element connection line drawing unit is used to draw the connection line between the output symbol of the wiring terminal box and the output symbol of the primary connection element.

[0019] Optionally, the third drawing submodule includes: A secondary connection set generating unit is used to identify the plan view of the automatic fire alarm system, and obtain components connected to the short-circuit isolators according to the connection relationship of the short-circuit isolators to form a secondary connection set; the short-circuit isolator connection set includes components of the fire alarm group, module group, control terminal group and other terminal groups; A secondary connection element determination unit, used for traversing the short-circuit isolator connection set to obtain each secondary connection element; A secondary connection element drawing coordinate point calculation unit is used to calculate the drawing coordinate points of each secondary connection element according to the drawing coordinate points of the output symbol of the short-circuit isolator and the preset line spacing; A secondary connection element output symbol drawing unit, used for drawing the output symbol and parameters of the secondary connection element according to the drawing coordinate points of the secondary connection element; The secondary connection element connection line drawing unit is used to draw the connection line between the output symbol of the short-circuit isolator and the output symbol of the secondary connection element.

[0020] The present invention also discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to implement the Revit-based fire automatic alarm system diagram drawing method as described in the present invention when executing the program stored in the memory.

[0021] The present invention also discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors execute the method for drawing an automatic fire alarm system diagram based on Revit as described in the present invention.

[0022] The present invention includes the following advantages: The method for drawing an automatic fire alarm system diagram based on Revit of the present invention obtains a plan view of the automatic fire alarm system, identifies all components from the plan view of the automatic fire alarm system, forms a component set of the automatic fire alarm system, groups the component set according to the name, category and purpose of each component, obtains multiple component groups of the automatic fire alarm system, obtains a view and a base point specified by a user, the view is a drawing target view of the automatic fire alarm system diagram, the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view, and draws the automatic fire alarm system diagram in the view according to the base point and multiple component groups. The present invention can automatically and quickly draw the automatic fire alarm system diagram according to the plan view of the automatic fire alarm system, does not need to consume manpower for drawing, and avoids the error and omission problems caused by manual counting of quantities, which can effectively improve the design quality and drawing efficiency of the project. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of the steps of a method for drawing a fire automatic alarm system diagram based on Revit provided by an embodiment of the present invention; Figure 2 is a plan view of an automatic fire alarm system provided by an embodiment of the present invention; Figure 3is a partially enlarged plan view of the automatic fire alarm system provided by an embodiment of the present invention; Figure 4 This is a diagram of a terminal box of an automatic fire alarm system provided by an embodiment of the present invention; Figure 5 It is a diagram of a short-circuit isolator of an automatic fire alarm system provided by an embodiment of the present invention; Figure 6 is a fire alarm group diagram of an automatic fire alarm system provided by an embodiment of the present invention; Figure 7 It is an input module diagram of the automatic fire alarm system provided by an embodiment of the present invention; Figure 8 This is a diagram of a smoke and fire damper of an automatic fire alarm system provided by an embodiment of the present invention; Fig. 9 is an example of a switchboard name parameter corresponding to the terminal box provided in an embodiment of the present invention; Fig.10 It is an effect diagram of the automatic fire alarm system diagram provided by an embodiment of the present invention; Fig.11 It is a partial enlarged diagram a of the effect diagram of the automatic fire alarm system provided by an embodiment of the present invention; Fig.12 is a partial enlarged diagram b of the effect diagram of the automatic fire alarm system provided by an embodiment of the present invention; Fig.13 It is a structural block diagram of a fire automatic alarm system diagram drawing device based on Revit provided by an embodiment of the present invention; Fig.14 is a block diagram of an electronic device provided by an embodiment of the present invention; Fig.15 It is a schematic diagram of a computer-readable medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0025] Reference Figure 1 , shows a flowchart of a method for drawing a fire automatic alarm system diagram based on Revit provided in an embodiment of the present invention, which may specifically include the following steps: Step 101, obtaining a plan view of an automatic fire alarm system, identifying all components from the plan view of the automatic fire alarm system, and forming a component set of the automatic fire alarm system; Step 102, grouping the component set according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; Step 103, obtaining a view and a base point specified by the user; the view is a drawing target view of the automatic fire alarm system diagram, and the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view; Step 104: Draw a fire automatic alarm system diagram in a view according to the base points and the plurality of component groups.

[0026] In one embodiment of the present invention, the component set includes a terminal box, a flush-mounted speaker box, a fire alarm phone, a fire alarm phone jack, a short-circuit isolator, a smoke detector, a manual alarm button, a fire hydrant pump start button, a fire sound and light alarm, an input module, an input and output module, a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a normally open fire damper, a temperature-sensitive fire detector, a fire shutter door controller, a fan control box, a fire hydrant control box, a fire hydrant pump control box and a sprinkler pump control box. One or more.

[0027] In one embodiment of the present invention, the component group includes: a telephone and broadcasting group, a junction box group, a fire alarm group, a module group, a control terminal group and other terminal groups; the telephone and broadcasting group includes a flush-mounted speaker box, a fire alarm phone and a fire alarm phone jack; the junction box group includes a terminal box and a short-circuit isolator; the fire alarm group includes a smoke detector, a manual alarm button, a fire hydrant pump start button and a fire sound and light alarm; the module group includes an input and output module and an input module; the control terminal group includes a fan control box, a fire hydrant pump control box, and a sprinkler pump control box; the other terminal groups include water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, fire shutter door controllers, normally open fire dampers, and temperature-sensitive fire detectors.

[0028] In one embodiment of the present invention, drawing a fire automatic alarm system diagram in a view according to the base point and the plurality of component groups includes: According to the base point and the junction box group, the output symbols and connecting lines of the terminal box are drawn; the output symbols are conventional annotation families; the connecting lines include one or more of telephone lines, broadcast lines, power lines, signal lines and control lines; According to the terminal box, draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group; According to the short-circuit isolator, draw the output symbols and connecting lines of the fire alarm group, module group, control terminal group and other terminal groups.

[0029] In one embodiment of the present invention, drawing the output symbol and the connection line of the terminal box according to the base point and the terminal box group includes: Extract all the terminal boxes from the junction box group to form a terminal box set; Traversing the terminal box set, obtaining each terminal box and acquiring information of each terminal box; Calculate the drawing coordinate points according to the number of base points and terminal boxes, and the preset row spacing; According to the drawing coordinate points, draw the output symbols and parameters of the terminal box; the parameters include one or more of the total number of addresses, name, name visible check box and quantity; Get the name of the distribution board corresponding to each terminal box; Sort the terminal boxes according to the switchboard name, and based on the order of the terminal boxes, draw the connecting lines between the terminal boxes.

[0030] In one embodiment of the present invention, drawing the output symbols and connecting lines of the short-circuit isolator, telephone and broadcasting group according to the terminal box includes: Identify the plan view of the automatic fire alarm system, and obtain components connected to the terminal box according to the connection relationship of the terminal box to form a primary connection set; the primary connection set includes a short-circuit isolator, a flush-mounted speaker box, a fire alarm phone, and a fire alarm phone jack; Traversing the terminal box connection set to obtain each primary connection element; Calculate the drawing coordinate points of each primary connection element according to the drawing coordinate points of the output symbol of the terminal box and the preset line spacing; Draw the output symbol and parameters of the first-level connection element according to the drawing coordinate points of the first-level connection element; Draw a connecting line between the output symbol of the terminal box and the output symbol of the primary connection element.

[0031] In one embodiment of the present invention, according to the short-circuit isolator, the output symbols and connecting lines of the fire alarm group, the module group, the control terminal group and the other terminal groups are drawn, including: Identify the plan view of the automatic fire alarm system, and obtain components connected to the short-circuit isolator according to the connection relationship of the short-circuit isolator to form a secondary connection set; the short-circuit isolator connection set includes components of the fire alarm group, module group, control terminal group and other terminal groups; Traversing the short-circuit isolator connection set to obtain each secondary connection element; Calculate the drawing coordinate points of each secondary connection element according to the drawing coordinate points of the output symbol of the short-circuit isolator and the preset line spacing; Draw the output symbol and parameters of the secondary connection element according to the drawing coordinate points of the secondary connection element; Draw a connection line between the output symbol of the short-circuit isolator and the output symbol of the secondary connection element.

[0032] In the present invention, first, the plan view of the automatic fire alarm system is opened by Revit software, and the plan view of the automatic fire alarm system is opened by Revit software. Figure 2 and Figure 3 . Using the recognition function of Revit, all relevant components in the floor plan are automatically identified, and these components are combined into a component set of the automatic fire alarm system to ensure that all necessary components of the automatic fire alarm system are accurately identified. Figure 4-8 , these components include but are not limited to terminal boxes, flush-mounted speaker boxes, fire alarm phones, fire alarm phone jacks, short-circuit isolators, smoke detectors, manual alarm buttons, fire hydrant pump start buttons, fire sound and light alarms, input modules, input and output modules, water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, normally open fire dampers, temperature fire detectors, fire shutter door controllers, fan control boxes, fire hydrant control boxes, fire hydrant pump control boxes and sprinkler pump control boxes, etc. Input module is the name of the automatic alarm equipment, and input and output module is the external equipment connected to smoke exhaust valves, fire dampers, etc. in the automatic fire alarm system.

[0033] According to the name, category and purpose of the component, the component set is further subdivided into multiple component groups. The components in each component group have the same category and purpose. Grouping helps to be more orderly and efficient when drawing system diagrams. These component groups include: Telephone and paging set: Includes flush mount speaker box, fire alarm telephone and fire alarm telephone jack.

[0034] Junction box set: includes terminal box and short-circuit isolator.

[0035] Fire alarm group: includes smoke detectors, manual alarm buttons, fire hydrant pump start buttons and fire sound and light alarms.

[0036] Module group: includes input and output modules and input modules.

[0037] Control terminal group: including fan control box, fire hydrant pump control box and sprinkler pump control box.

[0038] Other terminal groups: including water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, fire shutter door controllers, normally open fire dampers, and temperature-sensitive fire detectors.

[0039] The user specifies the view and base point of the fire alarm system diagram through the Revit interface. The view is the view on which the system diagram is drawn, and the base point is the starting point of the system diagram in the view. This base point can be anywhere in the view, and the user can adjust it according to actual needs to ensure that the system diagram can be displayed in the expected way.

[0040] After determining the view and base point, the grouped components are processed and drawn in sequence based on the view and base point specified by the user. Starting from the terminal box of the junction box group, its drawing symbols and connection lines are calculated and placed, and then based on these basic components, it is gradually expanded to the short-circuit isolator, telephone and broadcasting group, fire alarm group, module group, control terminal group and other terminal groups. By identifying the connection relationship and calculating the drawing coordinate points, it is ensured that the drawing symbols of each component and the connection lines between them are accurately presented in the specified view, thus forming a complete fire automatic alarm system diagram.

[0041] 1. Draw the terminal box output symbols and connecting lines (1) Extract all the terminal boxes from the junction box group to form a terminal box set.

[0042] (2) Traverse the collection and assign drawing coordinate points to each terminal box. These coordinate points are calculated based on the user-specified base point and the preset row spacing to ensure that the terminal boxes are arranged neatly and orderly in the view. Specifically, according to the terminal box data, increase the number of rows, and set the row spacing according to the drawing needs. For example, it can be set to 45mm. According to the base point, place the first terminal box, and the others are arranged in order according to the set number of rows.

[0043] (3) Draw the output symbol of the terminal box (usually a conventional annotation family) at the calculated coordinate point and mark the relevant parameters, such as the total number of addresses, name, etc.

[0044] (4) Reference Fig. 9 ,Then, sort the terminal boxes according to the names of the distribution boards and draw the connecting lines between them, which can include one or more of telephone lines, broadcasting lines, power lines, signal lines and control lines.

[0045] 2. Draw the output symbols and connecting lines of the short-circuit isolator, telephone and broadcasting group (1) Identify the connection relationship of the terminal box, determine the components directly connected to it, such as the short-circuit isolator, flush-mounted speaker box, fire alarm telephone and fire alarm telephone jack, to form a first-level connection set.

[0046] (2) Traverse the first-level connection set, obtain each first-level connection element, and calculate the drawing coordinate points of the first-level connection elements according to the output symbol position of the terminal box and the preset line spacing. Specifically, according to the components connected to the terminal box, count the component categories of the next connection of the component. As an example, the X-direction spacing between each category can be set to 8mm. Calculate the drawing coordinate points based on the component category data of the next connection.

[0047] (3) Draw the output symbols and parameters of the first-level connection elements at the corresponding coordinate points, and draw the connecting lines between them and the terminal box.

[0048] 3. Draw the output symbols and connecting lines of the fire alarm group, module group, control terminal group and other terminal groups (1) Identify the connection relationship of the short-circuit isolator, determine the components of the fire alarm group, module group, control terminal group and other terminal groups connected to it, and form a secondary connection set.

[0049] (2) Traverse the secondary connection set to obtain each secondary connection element, and calculate the drawing coordinate points of the secondary connection elements according to the output symbol position of the short-circuit isolator and the preset line spacing.

[0050] (3) Draw the output symbols and parameters of the secondary connection elements at the coordinate points, and draw the connecting lines between them and the short-circuit isolators.

[0051] Reference Figure 10-12 ,Through the above steps, the various components of the automatic fire alarm system and their connection relationships are accurately drawn in the specified view, forming a clear and complete system diagram, simplifies the drawing process of complex system diagrams through automation, and improves the drawing efficiency and accuracy of the automatic fire alarm system diagram.

[0052] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0053] Reference Fig.13 , shows a structural block diagram of a fire automatic alarm system diagram drawing device based on Revit provided in an embodiment of the present invention, which may specifically include the following modules: The component identification module 1301 is used to obtain a plan view of the automatic fire alarm system, identify all components from the plan view of the automatic fire alarm system, and form a component set of the automatic fire alarm system; A component grouping module 1302 is used to group the component set according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; The view base point determination module 1303 is used to obtain the view and base point specified by the user; the view is the drawing target view of the automatic fire alarm system diagram, and the base point is the starting placement coordinate point of the automatic fire alarm system diagram on the view; The drawing module 1304 is used to draw a fire automatic alarm system diagram in a view according to the base points and the multiple component groups.

[0054] Optionally, the component set includes one or more of a terminal box, a flush-mounted speaker box, a fire alarm phone, a fire alarm phone jack, a short-circuit isolator, a smoke detector, a manual alarm button, a fire hydrant pump start button, a fire sound and light alarm, an input module, an input and output module, a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a normally open fire damper, a temperature-sensing fire detector, a fire shutter door controller, a fan control box, a fire hydrant control box, a fire hydrant pump control box and a sprinkler pump control box.

[0055] Optionally, the component group includes: a telephone and broadcasting group, a junction box group, a fire alarm group, a module group, a control terminal group and other terminal groups; the telephone and broadcasting group includes a flush-mounted speaker box, a fire alarm phone and a fire alarm phone jack; the junction box group includes a terminal box and a short-circuit isolator; the fire alarm group includes a smoke detector, a manual alarm button, a fire hydrant pump start button and a fire sound and light alarm; the module group includes an input and output module and an input module; the control terminal group includes a fan control box, a fire hydrant pump control box, and a sprinkler pump control box; the other terminal groups include water flow indicators, liquid level sensors, signal valves, fire dampers, smoke and fire dampers, fire shutter door controllers, normally open fire dampers, and temperature-sensitive fire detectors.

[0056] Optionally, the drawing module includes: The first drawing submodule is used to draw the output symbols and connection lines of the terminal box according to the base point and the terminal box group; the output symbols are conventional annotation families; the connection lines include one or more of telephone lines, broadcast lines, power lines, signal lines and control lines; The second drawing submodule is used to draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group according to the terminal box; The third drawing submodule is used to draw the output symbols and connection lines of the fire alarm group, the module group, the control terminal group and other terminal groups according to the short-circuit isolator.

[0057] Optionally, the first drawing submodule includes: A terminal box extraction unit, used for extracting all terminal boxes from the terminal box group to form a terminal box set; A terminal box information acquisition unit, used to traverse the terminal box set, obtain each terminal box and obtain information of each terminal box; A terminal box drawing coordinate point calculation unit, used to calculate the drawing coordinate points according to the base points and the number of terminal boxes, and a preset row spacing; A terminal box output symbol drawing unit, used to draw the output symbol and parameters of the terminal box according to the drawing coordinate points; the parameters include one or more of the total number of addresses, name, name visible check box and quantity; A switchboard name acquisition unit, used to acquire the switchboard name corresponding to each terminal box; The terminal box connection line drawing unit is used to sort the terminal boxes according to the names of the distribution board, and draw the connection lines between the terminal boxes according to the sorting of the terminal boxes.

[0058] Optionally, the second drawing submodule includes: A primary connection set generating unit is used to identify the plan view of the automatic fire alarm system, and obtain components connected to the terminal boxes according to the connection relationship of the terminal boxes to form a primary connection set; the primary connection set includes a short-circuit isolator, a flush-mounted speaker box, a fire alarm phone, and a fire alarm phone jack; A primary connection element determination unit, used to traverse the terminal box connection set to obtain each primary connection element; A primary connection element drawing coordinate point calculation unit, used to calculate the drawing coordinate points of each primary connection element according to the drawing coordinate points of the output symbol of the wiring terminal box and the preset line spacing; A first-level connection element output symbol drawing unit, used to draw the output symbol and parameters of the first-level connection element according to the drawing coordinate points of the first-level connection element; The primary connection element connection line drawing unit is used to draw the connection line between the output symbol of the wiring terminal box and the output symbol of the primary connection element.

[0059] Optionally, the third drawing submodule includes: A secondary connection set generating unit is used to identify the plan view of the automatic fire alarm system, and obtain components connected to the short-circuit isolators according to the connection relationship of the short-circuit isolators to form a secondary connection set; the short-circuit isolator connection set includes components of the fire alarm group, module group, control terminal group and other terminal groups; A secondary connection element determination unit, used for traversing the short-circuit isolator connection set to obtain each secondary connection element; A secondary connection element drawing coordinate point calculation unit is used to calculate the drawing coordinate points of each secondary connection element according to the drawing coordinate points of the output symbol of the short-circuit isolator and the preset line spacing; A secondary connection element output symbol drawing unit, used for drawing the output symbol and parameters of the secondary connection element according to the drawing coordinate points of the secondary connection element; The secondary connection element connection line drawing unit is used to draw the connection line between the output symbol of the short-circuit isolator and the output symbol of the secondary connection element.

[0060] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0061] In addition, an embodiment of the present invention further provides an electronic device, such as Fig.14 As shown, it includes a processor 1401, a communication interface 1402, a memory 1403 and a communication bus 1404, wherein the processor 1401, the communication interface 1402, and the memory 1403 communicate with each other through the communication bus 1404. Memory 1403, used for storing computer programs; The processor 1401 is used to implement the Revit-based fire automatic alarm system diagram drawing method as described in the above embodiment when executing the program stored in the memory 1403.

[0062] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0063] The communication interface is used for communication between the above terminal and other devices.

[0064] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0065] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0066] like Fig.15 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1501 is also provided, in which instructions are stored. When the computer-readable storage medium 1501 is run on a computer, the computer executes the method for drawing an automatic fire alarm system diagram based on Revit described in the above embodiment.

[0067] In another embodiment provided by the present invention, a computer program product containing instructions is also provided. When the computer program product is run on a computer, the computer executes the method for drawing an automatic fire alarm system diagram based on Revit described in the above embodiment.

[0068] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0069] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0070] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0071] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for drawing a fire automatic alarm system diagram based on Revit. It is characterized in that The method comprises: Obtaining a plan view of the automatic fire alarm system, identifying all components from the plan view of the automatic fire alarm system, and forming a component set of the automatic fire alarm system; The component set is grouped according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; Acquire a view and a base point specified by a user; the view is a drawing target view of the automatic fire alarm system diagram, and the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view; Based on the base points and the multiple component groups, an automatic fire alarm system diagram is drawn in the view.

2. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 1, It is characterized in that The component set includes one or more of a terminal box, a flush-mounted speaker box, a fire alarm phone, a fire alarm phone jack, a short-circuit isolator, a smoke detector, a manual alarm button, a fire hydrant pump start button, a fire sound and light alarm, an input module, an input and output module, a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a normally open fire damper, a temperature-sensitive fire detector, a fire shutter door controller, a fan control box, a fire hydrant control box, a fire hydrant pump control box and a sprinkler pump control box.

3. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 1, It is characterized in that The component group includes: a telephone and broadcasting group, a junction box group, a fire alarm group, a module group, a control terminal group and other terminal groups; the telephone and broadcasting group includes a built-in speaker box, a fire alarm phone and a fire alarm phone jack; the junction box group includes a terminal box and a short-circuit isolator; the fire alarm group includes a smoke detector, a manual alarm button, a fire hydrant pump start button and a fire sound and light alarm; the module group includes an input and output module and an input module; the control terminal group includes a fan control box, a fire hydrant pump control box, and a sprinkler pump control box; the other terminal groups include a water flow indicator, a liquid level sensor, a signal valve, a fire damper, a smoke and fire damper, a fire shutter door controller, a normally open fire damper, and a temperature-sensitive fire detector.

4. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 3, It is characterized in that Drawing a fire automatic alarm system diagram in a view according to the base point and the plurality of component groups includes: According to the base point and the junction box group, the output symbols and connecting lines of the terminal box are drawn; the output symbols are conventional annotation families; the connecting lines include one or more of telephone lines, broadcast lines, power lines, signal lines and control lines; According to the terminal box, draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group; According to the short-circuit isolator, draw the output symbols and connecting lines of the fire alarm group, module group, control terminal group and other terminal groups.

5. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 4, It is characterized in that According to the base points and junction box groups, draw the output symbols and connection lines of the terminal box, including: Extract all the terminal boxes from the junction box group to form a terminal box set; Traversing the terminal box set, obtaining each terminal box and acquiring information of each terminal box; Calculate the drawing coordinate points according to the number of base points and terminal boxes, and the preset row spacing; According to the drawing coordinate points, draw the output symbols and parameters of the terminal box; the parameters include one or more of the total number of addresses, name, name visible check box and quantity; Get the name of the distribution board corresponding to each terminal box; Sort the terminal boxes according to the switchboard name, and based on the order of the terminal boxes, draw the connecting lines between the terminal boxes.

6. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 5, It is characterized in that According to the terminal box, draw the output symbols and connection lines of the short-circuit isolator, telephone and broadcasting group, including: Identify the plan view of the automatic fire alarm system, and obtain components connected to the terminal box according to the connection relationship of the terminal box to form a primary connection set; the primary connection set includes a short-circuit isolator, a flush-mounted speaker box, a fire alarm phone, and a fire alarm phone jack; Traversing the terminal box connection set to obtain each primary connection element; Calculate the drawing coordinate points of each primary connection element according to the drawing coordinate points of the output symbol of the terminal box and the preset line spacing; Draw the output symbol and parameters of the first-level connection element according to the drawing coordinate points of the first-level connection element; Draw a connecting line between the output symbol of the terminal box and the output symbol of the primary connection element.

7. The method for drawing an automatic fire alarm system diagram based on Revit according to claim 6, It is characterized in that According to the short-circuit isolator, draw the output symbols and connection lines of the fire alarm group, module group, control terminal group and other terminal groups, including: Identify the plan view of the automatic fire alarm system, and obtain components connected to the short-circuit isolator according to the connection relationship of the short-circuit isolator to form a secondary connection set; the short-circuit isolator connection set includes components of the fire alarm group, module group, control terminal group and other terminal groups; Traversing the short-circuit isolator connection set to obtain each secondary connection element; Calculate the drawing coordinate points of each secondary connection element according to the drawing coordinate points of the output symbol of the short-circuit isolator and the preset line spacing; Draw the output symbol and parameters of the secondary connection element according to the drawing coordinate points of the secondary connection element; Draw a connection line between the output symbol of the short-circuit isolator and the output symbol of the secondary connection element.

8. A fire automatic alarm system diagram drawing device based on Revit, It is characterized in that The device comprises: A component identification module is used to obtain a plan view of the automatic fire alarm system, identify all components from the plan view of the automatic fire alarm system, and form a component set of the automatic fire alarm system; A component grouping module, used for grouping the component set according to the name, category and purpose of each component to obtain multiple component groups of the automatic fire alarm system; A view base point determination module is used to obtain a view and a base point specified by a user; the view is a drawing target view of the automatic fire alarm system diagram, and the base point is a starting placement coordinate point of the automatic fire alarm system diagram on the view; A drawing module is used to draw a fire automatic alarm system diagram in a view according to the base points and the multiple component groups.

9. An electronic device, It is characterized in that It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the Revit-based fire automatic alarm system diagram drawing method as described in any one of claims 1 to 7 when executing the program stored in the memory.

10. One or more computer-readable media having instructions stored thereon, which, when executed by one or more processors, enable the processors to execute the method for drawing an automatic fire alarm system diagram based on Revit as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Automatic fire alarm system

    CN107715358A

  • Automatic layout method, device and equipment for network topological graph

    CN110213107A

  • Device and method for quickly drawing drawings of automatic fire alarm system

    CN113139257A

  • Method and system for automatically drawing single line diagram of power distribution room and storage medium

    CN115908634A

  • Method and system for automatically generating automatic fire alarm system diagram based on BIM (Building Information Modeling)

    CN118468494A

Cited By

  • Subway FAS system intelligent design method and system based on BIM

    CN120524559A

  • Isolator protection device number detection method for tree-shaped automatic fire alarm plane graph

    CN120671541A

  • Method for detecting the number of isolator protection devices in a tree fire alarm plan

    CN120671541B