Graphical programming method and device for fire linkage system

Through graphical programming methods, the graphical interface is used to build programming elements, which solves the problems of programming complexity and high fault tolerance in traditional fire linkage systems, and realizes efficient programming and linkage of fire linkage systems, reducing the technical requirements and fault tolerance of programmers. Rate.

CN118444898BActive Publication Date: 2024-12-27BEIJING JADE BIRD HUANYU FIRE FIGHTING SYST SOFTWARE SERVICE CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410597690.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-12-27
Estimated Expiration
2044-05-14

AI Technical Summary

Technical Problem

Traditional fire linkage systems have high complexity, error prone and inefficiency in programming, especially because they rely on text programming, programmers need to manually write a large amount of logical code, resulting in debugging difficulties and high fault tolerance.

Method used

Using graphical programming methods, programming elements are constructed through graphical interfaces, such as program elements, conditional elements, action elements, custom type elements, expression elements and partition elements, to realize programming of fire-fighting linkage systems, reduce programming complexity and improve efficiency and accuracy.

Benefits of technology

Programming through graphical interfaces, programmers can intuitively build fire linkage programs, reducing technical requirements and fault tolerance, improving programming efficiency and accuracy, avoiding complex text programming, and realizing effective linkage of fire linkage systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118444898B_ABST
    Figure CN118444898B_ABST
Patent Text Reader

Abstract

The invention discloses a graphical programming method applied to a fire linkage system, wherein the graphical programming system is based on graphical programming software; the tool interface of the graphical programming software establishes the following programming elements, including: program elements, conditional element actions, custom type elements, expression elements, partition elements and entity elements: providing a designated fire-fighting facility, a fire-fighting facility component unit or an entity in a partition having a designated event; a virtual partition element: providing a wildcard condition for defining a partition dimension; a virtual host element, which is used to define a wildcard condition for a host dimension and a corresponding action; according to multiple project linkage requirements compiled by a fire-fighting project, the entity fire-fighting facility, the fire-fighting equipment component unit and the fire partition required to be configured in each linkage requirement are input into the custom type element one by one for custom setting, and partitioned in the partition element; the invention improves programming efficiency and accuracy, and since the graphical interface is easy to understand and operate, it also reduces the technical requirements for programmers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fire fighting, in particular to a graphical programming method for a fire fighting linkage system. Background Art

[0002] The fire linkage system is an indispensable and important part of modern buildings. It is used to automatically control various fire fighting equipment to work together when a fire occurs to minimize the losses caused by the fire. However, the traditional fire linkage system has some problems and challenges in programming.

[0003] First of all, the traditional fire linkage system usually adopts text programming, which requires programmers to have certain professional knowledge and skills. Since text programming is more complex, prone to errors and difficult to debug, it brings a lot of workload and pressure to programmers.

[0004] Secondly, the linkage logic of the fire linkage system is usually complex, involving the relationship between multiple fire protection equipment. In the traditional text programming method, programmers need to manually write a large amount of logic code, which is not only inefficient but also prone to errors. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a graphical programming method applied to the fire linkage system. Programming is performed through a graphical interface, so that programmers can implement the fire linkage program through constructed programming elements according to the project fire linkage requirements, and then realize the linkage of the fire linkage system. In addition, the graphical programming method also has partitions and custom hierarchical labels for fire equipment types and component units, which makes it easy for programmers to check for deficiencies and reduce fault tolerance. Programming is performed through a graphical interface, so that programmers can intuitively construct the fire linkage program, avoiding complex text programming and improving programming efficiency and accuracy. At the same time, because the graphical interface is easy to understand and operate, the technical requirements for programmers are also reduced.

[0006] In order to solve the above technical problems, the present invention provides a graphical programming method applied to a fire linkage system, wherein the graphical programming system is based on graphical programming software and comprises the following steps:

[0007] S1: Establish the following programming elements in the tool interface of the graphical programming software, including: program elements, providing linkage of the same rules between elements; program elements are automatically divided into conditional elements and action elements, the conditional elements are used to input sub-elements and logical relationships, and the action elements are used to input linkage actions; custom type elements: set fire equipment types and components; expression elements: used to define and reuse defined logical expressions; partition elements: used to define physical location fire partitions or logical groupings of multiple fire facilities, and list hierarchical sub-partitions, and partition setting programming labels; entity elements: provide specified fire facilities, fire facility components or entities in partitions that have occurred specified events; virtual partition elements: provide wildcard conditions for defining partition dimensions; virtual host elements, used to define wildcard conditions and corresponding actions for host dimensions;

[0008] S2: According to the multiple project linkage requirements compiled by the fire protection project, the physical fire protection facilities, fire protection equipment components and fire protection zones required to be configured in each linkage requirement are input into the custom type element one by one for custom setting, and are partitioned in the partition element;

[0009] S3: According to each linkage requirement described in the step, first determine which type of entity element, virtual element or virtual host element it belongs to; according to the selected element type, drag the custom type element and partition element configured in step S2 to the corresponding automatically generated conditional element and action element; if there is a defined expression element, directly input it into the conditional element.

[0010] A further optimization scheme is: in step S2, if the program element required by the linkage is an entity element, the following steps are executed: under the condition element, according to a specific linkage requirement program, several sub-condition elements are defined; the defined fire-fighting facilities, components or partitions are set under the condition element; the defined fire-fighting facilities / component units / partitions are set under the action element.

[0011] A further optimization scheme is as follows: in step S2, if the program element required by the linkage is a virtual partition element, the following steps are executed: define several sub-conditional elements for the conditional element according to the linkage requirement program, set the partition root element under the conditional element, and generate a virtual partition conditional element; and set several sub-conditional elements, set them under the virtual partition conditional element according to the defined custom type elements, and configure the facility types and event types within the partition that meet the conditions; set them under the action element according to the partition root element, and generate a virtual partition action element; set the defined custom type elements under the virtual partition action, and configure the fire protection facility types that meet the execution action.

[0012] A further optimization scheme is: in the steps, a virtual partition action element is generated under the action element according to the partition root element setting, specifically: first, the partition label of the partition element is set to indicate that the partition with this label executes the action; the partition type is set to specify the relationship between the partitions that meet the conditions: current partition, parent partition or adjacent partition.

[0013] A further optimization scheme is: in step S2, if the program element required for linkage is a virtual host element, the following steps are executed: the fire-fighting facility root element is set under the condition element of the virtual host element to generate a virtual host condition element, and under the condition element of the virtual host element, several sub-level conditions are set as needed; the defined custom type element is set to the virtual host condition or sub-level condition, and the corresponding configured fire-fighting facility type and event type are input; the fire-fighting facility root element is set in the action element to generate an action element of the virtual host element; the defined custom type element is set under the action element of the virtual host element.

[0014] A further optimization plan is: the fire-fighting equipment includes but is not limited to: automatic fire alarm system, gas fire extinguishing system, fire door system, emergency lighting and evacuation system, electrical fire system and fire water system.

[0015] A further optimization scheme is as follows: the partition refers to configuring each building, each unit or each floor as a partition, and the hierarchy is building>unit>floor, and the adjacent relationship of each floor is represented by a defined order.

[0016] According to claim 4, the graphical programming method for fire linkage system is characterized in that it supports sub-level partitions to make partitions hierarchical, supports partition setting labels for classifying partitions and programming with labels.

[0017] A further optimization scheme is: the conditional element is used to input sub-elements and the logical relationship is: AND, OR, COUN or Not relationship, COUNT represents the number of conditions that are met, and supports sub-conditional elements.

[0018] Another technical solution disclosed in the present invention is: a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement any one of the graphical programming methods for fire linkage systems claimed in the claims.

[0019] The technical effect of the present invention is that the graphical programming method applied to the fire linkage system disclosed in the present invention is programmed through a graphical interface, so that the programmer first constructs the programming elements according to the project fire linkage requirements, and then constructs the entity program, the partition wildcard program and the host wildcard program. The wildcard program is matched with the fire linkage requirements to realize the writing of the fire linkage program, and then realize the linkage of the fire linkage system. In addition, the programming method of the present invention has the fire equipment type and the component unit has partition and custom hierarchical labels, which makes it easy for programmers to check for deficiencies and reduce the fault tolerance rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 An example diagram of program elements provided for the implementation of the present invention;

[0021] Figure 2 Example diagram of conditional elements provided for implementation of the present invention;

[0022] Figure 3 An example diagram of action elements provided for the implementation of the present invention;

[0023] Figure 4 A diagram of a user-defined type element instance provided for the implementation of the present invention;

[0024] Figure 5 An example diagram of expression elements provided for the implementation of the present invention;

[0025] Figure 6 An example diagram of partition elements provided for the implementation of the present invention;

[0026] Figure 7 An example diagram of entity condition elements provided for the implementation of the present invention;

[0027] Figure 8 Instance diagram of entity action elements provided for implementation of the present invention;

[0028] Fig. 9 An example diagram of virtual partition condition elements provided for the implementation of the present invention;

[0029] Fig.10 An example diagram of virtual partition action elements provided for the implementation of the present invention;

[0030] Fig.11 An example diagram of virtual host condition elements provided for the implementation of the present invention;

[0031] Fig.12 An example diagram of virtual host action elements provided for the implementation of the present invention;

[0032] Fig.13 An example diagram of a construction entity program provided for the implementation of the present invention;

[0033] Fig.14An example diagram of a partition-based universal program provided for the implementation of the present invention;

[0034] Fig.15 An example diagram of a universal program for building a host provided for the implementation of the present invention;

[0035] Fig.16 An example diagram of the sound, light and broadcast linkage provided for the implementation of the present invention;

[0036] Fig.17 Example diagram of fan, elevator, power cut, emergency and access control linkage provided for the implementation of the present invention;

[0037] Fig.18 An example diagram of the linkage between positive pressure vents and fire doors provided for the implementation of the present invention;

[0038] Fig.19 An example diagram of fire hydrant linkage provided for the implementation of the present invention;

[0039] Fig. 20 An example diagram of spray linkage provided for the implementation of the present invention;

[0040] Fig.21 An example diagram of fan linkage provided for the implementation of the present invention;

[0041] Fig. 22 An example diagram of rolling door linkage provided for the implementation of the present invention;

[0042] Fig.23 The present invention is a flowchart of the graphical programming method of the fire linkage system. DETAILED DESCRIPTION

[0043] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] In the description of the present invention, it should be noted that the terms upper, lower, inner, outer, top / bottom, etc. indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms first and second are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0046] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms installation, arrangement, sleeve / connection, connection, etc. should be understood in a broad sense. For example, connection can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0047] The present invention is applied to the graphical programming method of the fire linkage system. The graphical programming system is based on graphical programming software. The graphical programming software can be selected from one of the existing technologies. The following programming elements are established in the tool interface of the graphical programming software. Figure 1-Figure 8 As shown: the programming elements include: program elements, which provide linkage of the same rules between elements; program elements are automatically divided into conditional elements and action elements, the conditional elements are used to input sub-elements and logical relationships, and the action elements are used to input linkage actions; custom type elements: set fire equipment types and components; expression elements: used to define and reuse defined logical expressions; partition elements: used to define physical location fire partitions or logical groupings of multiple fire facilities, and list hierarchical sub-partitions, and partition setting programming labels; entity elements: provide specified events that have occurred in specified fire facilities, fire facility components or entities in partitions; virtual elements: provide wildcard conditions for defining partition dimensions; virtual host elements, used to define wildcard conditions and corresponding actions for host dimensions.

[0048] 1. The following specifically explains the programming elements in conjunction with the tool interface of the graphical programming software.

[0049] , logical elements

[0050] 1) If Figure 1 As shown, the present invention provides program elements for defining linkage control of the same rules.

[0051] 2) If Figure 2As shown, the condition element (Condition) is used to define the logical relationship between sub-elements. It supports AND / OR / COUN / Not relationships. COUNT indicates the number of conditions that are met, and supports sub-condition elements.

[0052] 3) If Figure 3 As shown, the present invention provides an action element (Action) for setting an action and supports setting a linkage behavior after the action is restored.

[0053] , reference element

[0054] 1) The present invention provides a custom type element for customizing facility types. Figure 4 As shown in the figure, a certain type of smoke sensor, temperature sensor, manual alarm button and fire hydrant button are defined as detection component types.

[0055] 2) The present invention provides expression elements for defining and reusing defined logical expressions. Figure 5 As shown, expressions for a smoke sensor and a manual alarm are defined and reused.

[0056] 3) The present invention provides partition elements for defining fire partitions in physical locations or logically grouping multiple fire protection facilities. It supports sub-level partitions to give partitions a hierarchical concept. It supports setting labels for partitions to classify partitions and program with labels. Figure 6 As shown, three levels of partitions are defined: building, layer, and room.

[0057] , entity elements

[0058] 1) The present invention provides entity condition elements, which are used to define the occurrence of specified events in specified fire-fighting facilities / internal units / partitions of fire-fighting facilities, etc. Figure 7 As shown, the conditions for specifying smoke sensors and fire alarms in specified partitions are defined.

[0059] 2) The present invention provides entity action elements for defining execution actions of specified fire-fighting facilities / internal units / partitions of fire-fighting facilities, etc. Figure 8 As shown, the specified sound and light execution actions are defined.

[0060] The fire-fighting equipment includes but is not limited to: automatic fire alarm system (alarm host, linkage host, smoke detectors, temperature detectors, sound and light detectors, fire hydrant buttons, input modules, input and output modules, multi-line modules, fire broadcasting and emergency power supply, etc.), gas fire extinguishing system, fire door system, emergency lighting and evacuation system, electrical fire system and fire water system.

[0061] , Virtual Elements

[0062] 1) The present invention provides a virtual partition condition element for defining a wildcard condition of a partition dimension. Fig. 9 As shown in the figure, the condition is defined that two smoke sensors in any room will alarm.

[0063] 2) The present invention provides a virtual partition action element, which is used to define actions corresponding to virtual partition conditions. Fig.10 As shown, the floor of the room where the alarm occurs is defined, and the sound and light execute the action.

[0064] 3) The present invention provides a virtual host condition element, which is used to define a wildcard condition of the host dimension. Fig.11 As shown, the condition is defined that an alarm occurs in one detection component of any host.

[0065] 4) The present invention provides a virtual host action element to define actions corresponding to virtual host conditions. Fig.12 As shown in the figure, the output module of the host computer that executes the action when the action occurs is defined.

[0066] 2. Method for constructing a universal program based on the project fire linkage requirements:

[0067] 1. Build a physical program

[0068] The construction of the entity program is carried out in the following steps:

[0069] 1) Define fire protection facilities and their components (software’s own functions).

[0070] 2) Define partition elements; set the defined fire-fighting facilities / component units under the partition elements by dragging the mouse.

[0071] 3) Define program elements and enter the program name; after the program elements are defined, condition elements (Condition) and action elements (Action) will be automatically generated.

[0072] 4) Under the conditional element, define several sub-conditional elements according to actual needs.

[0073] 5) Use the mouse to drag and drop to set the defined fire protection facilities / component units / partitions under the conditional elements.

[0074] 6) Use the mouse to drag and drop to set the defined fire protection facilities / component units / partitions under the action element.

[0075] 7) For commonly used conditions, define expression elements and use them in new programs:

[0076] a. Under the expression element, define several conditional elements as needed.

[0077] b. Set the defined fire protection facilities / component units / partitions under the conditional elements.

[0078] like Fig.13 As shown, the entity program 3rd floor manual alarm or 3rd floor smoke and temperature simultaneous alarm is defined to activate the 3rd floor sound and light.

[0079] 2. Build a partition wildcard program

[0080] To build a partition wildcard program, follow these steps:

[0081] 1) Define fire protection facilities and their components (software’s own functions).

[0082] 2) Define partition elements and set labels for each partition.

[0083] 3) Define custom type elements:

[0084] a. Select the facility model that belongs to this type.

[0085] b. Use the mouse to drag and drop to set the defined fire protection facilities / component units / partitions under this type.

[0086] 4) Define program elements and enter the program name; after the program elements are defined, condition elements (Condition) and action elements (Action) will be automatically generated.

[0087] 5) Under the conditional element, define several sub-conditional elements according to actual needs.

[0088] 6) By dragging the mouse, set the partition root element under the condition element (Condition) to generate a virtual partition condition element; set the partition label of the element; indicate the partition with this label.

[0089] 7) Under the virtual partition condition element, set several sub-level conditions as needed.

[0090] 8) By dragging the mouse, set the defined custom type elements to the virtual partition conditions, and configure the facility types and event types in the partition that meet the conditions.

[0091] 9) Use the mouse to drag and drop the partition root element to the action element (Action) to generate a virtual partition action element:

[0092] a. Set the partition label of the element, indicating that the partition with this label will execute the action.

[0093] b. Set the partition type; specify the relationship between the partitions that meet the conditions: current partition, parent partition, adjacent partition.

[0094] 10) Use the mouse to drag and drop to set the defined custom type elements to the virtual partition action, and configure the facility type that meets the execution of the action.

[0095] 11) For commonly used conditions, define expression elements and use them in new programs.

[0096] like Fig.14 As shown in the figure, a universal program is defined to activate the sound and light of the building when 1 smoke 1 temperature or 1 manual alarm is triggered in any room of the building.

[0097] 3. Build a host wildcard program

[0098] To build a universal host program, follow these steps:

[0099] 1) Define fire protection facilities and their components (software’s own functions).

[0100] 2) Define custom type elements:

[0101] a. Select the facility model that belongs to this type.

[0102] b. Use the mouse to drag and drop to set the defined fire protection facilities / component units / partitions under this type.

[0103] 4) Define program elements and enter the program name; after the program elements are defined, condition elements (Condition) and action elements (Action) will be automatically generated.

[0104] 5) Under the conditional element, define several sub-conditional elements according to actual needs.

[0105] 6) By dragging the mouse, set the root element of the fire protection facility under the condition element (Condition) to generate a virtual host condition element.

[0106] 7) Under the virtual host condition element, set as many sub-conditions as needed.

[0107] 8) Use the mouse to drag and drop to set the defined custom type elements to the virtual host conditions / sub-conditions, and configure the facility types and event types that meet the conditions.

[0108] 9) By dragging the mouse, set the root element of the fire-fighting facility under the action element (Action) to generate a virtual host action element.

[0109] 10) Use the mouse to drag and drop to set the defined custom type element to the virtual host action and configure the facility type that satisfies the execution of the action.

[0110] 11) For commonly used conditions, define expression elements and use them in new programs.

[0111] like Fig.15 As shown in the figure, a universal program is defined to host two smoke alarms and start the local alarm light.

[0112] 3. Specific fire protection project implementation examples

[0113] 1. Project requirements analysis

[0114] For existing fire protection renovation projects, the fire protection facilities are configured as follows

[0115] 1) 3 buildings. Each building has 6 floors and 3 units.

[0116] 2) Each floor is equipped with 10 smoke and temperature sensors, 5 sound and light sensors, 1 fire hydrant, 1 positive pressure air vent, 1 normally open fire door, and 10 sprinkler valves.

[0117] 3) Each unit is equipped with 1 elevator, 1 fan, 1 emergency power supply and 1 access control.

[0118] 4) Each building is equipped with 1 fan, 1 fire broadcast, 1 fire pump and 1 sprinkler pump.

[0119] 5) On the first floor of Building 1, there is a fire shutter door, as well as a dedicated smoke sensor and a dedicated temperature sensor for the shutter door;

[0120] The project has the following requirements for fire linkage:

[0121] V1: Two detectors on each floor or one detector and one manual alarm, linking all the sound, light and broadcasting in the building.

[0122] V2: Each unit has two detectors or one detector and one manual alarm, linking each unit's fan, elevator emergency landing, power cut, emergency, and access control.

[0123] V3: Any two detectors or one detector and one manual alarm on each floor need to be linked to the positive pressure vents and normally open fire doors on the current floor and the floors above and below.

[0124] V4: Any fire hydrant button in the building will sound an alarm and start the fire pump.

[0125] The pressure switch of any sprinkler alarm valve in the building will sound an alarm and start the sprinkler pump.

[0126] V5: A dedicated electric control air valve for the fan, which is linked to start the fan.

[0127] V6: Dedicated smoke alarm, linking the rolling door to half-lower.

[0128] V7: Dedicated temperature sensor alarm, linking the rolling door to fully lower.

[0129] , configure fire-fighting facilities

[0130] 1) Fire-fighting facilities are configured, with one host in each building, carrying: smoke sensor, temperature sensor, sound and light, fire hydrant button, normally open fire door module, input module, input and output module, multi-line module, fire broadcast, and emergency power supply.

[0131] 2) Configure custom types: detectors (smoke and temperature), manual alarm, sound and light, positive pressure vents, sprinkler valve pressure switch, sprinkler pump, broadcast, fan input, fan, elevator forced landing, emergency power supply, access control, fire pump, rolling door half-down, rolling door full-down. The input and output of the same fan are configured on the same host.

[0132] 3) Configure partitions

[0133] By project, configure each building, unit, and floor as a partition, with the hierarchy of building>unit>floor.

[0134] The adjacent relationship of each layer is expressed by defining an order.

[0135] , build a fire linkage program

[0136] For the fire linkage requirements of this project, V1~V8, the construction method according to the above wildcard type is as follows:

[0137] V1: Two detectors on each floor or one detector and one manual alarm, linking all the sound, light and broadcasting in the building.

[0138] Use partition wildcard program construction, such as Fig.16 As shown:

[0139] Virtual partition condition, label is set as layer.

[0140] For virtual partition action, the label is set to Building; for partition relationship, select the parent partition.

[0141] V2: Two detectors per unit or one detector and one manual alarm, linking each unit's fan, elevator emergency landing, power cut, emergency, access control, such as Fig.17 As shown:

[0142] It is constructed using a partition wildcard program.

[0143] Virtual partition condition, label is set to unit.

[0144] For virtual partitioning action, the label is set to unit; for partition relationship, select the current partition.

[0145] V3: Any two detectors or one detector and one manual alarm on each floor need to be linked to the positive pressure vents and normally open fire doors on the floor above and below. Fig.18 As shown:

[0146] It is constructed using a partition wildcard program.

[0147] Virtual partition condition, label is set as layer.

[0148] For virtual partitioning action, the label is set to layer; for partition relationship, select adjacent partitions (upper, lower, and upper).

[0149] V4: Any fire hydrant button in the building will sound an alarm and start the fire pump. Fig.19 As shown:

[0150] It is constructed using a partition wildcard program.

[0151] Configure a new zone, which is a child of the building zone; configure all fire hydrant buttons in the building into this zone.

[0152] Virtual partition condition, label is set to fire hydrant.

[0153] For virtual partition action, the label is set to Building; for partition relationship, select the parent partition.

[0154] V5: The pressure switch of any sprinkler alarm valve in the building will give an alarm and start the sprinkler pump. Fig. 20 As shown:

[0155] It is constructed using a partition wildcard program.

[0156] Configure a new zone, which is a child of the building zone; configure all sprinkler valve pressure switches in the building to this zone.

[0157] Virtual partition condition, label is set to spray.

[0158] For virtual partition action, the label is set to Building; for partition relationship, select the parent partition.

[0159] V6: Electric control air valve dedicated to the fan, linked to the fan start. Fig.21 As shown:

[0160] The electric control air valve and fan output of the same fan are loaded on the same host.

[0161] It is built using a host-wide program.

[0162] The virtual host condition is set to the fan electric control air valve.

[0163] Virtual host action, set to fan output.

[0164] V7: Dedicated smoke alarm, linking the rolling door to half-down; dedicated temperature alarm, linking the rolling door to full-down.

[0165] There is only one rolling door, so it is more appropriate to use two physical procedures, such as Fig. 22 As shown:

[0166] Procedure 1 Condition: Smoke sensor, Action: Rolling door half-lowered.

[0167] Procedure 2 Condition: Temperature sensing, Action: Rolling shutter door fully lowered.

[0168] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A graphical programming method applied to a fire linkage system, the graphical programming method being based on graphical programming software; characterized in that: The following steps are involved: S1: Establish the following programming elements in the tool interface of the graphical programming software, including: program elements, providing linkage of the same rules between elements; program elements are divided into conditional elements and action elements, the conditional elements are used to input sub-elements and logical relationships, and the action elements are used to input linkage actions; custom type elements: set fire equipment types and components; expression elements: used to define and reuse defined logical expressions; partition elements: used to define physical location fire partitions or logical groupings of multiple fire facilities, and list hierarchical sub-partitions, and partition setting programming labels; entity elements: provide specified fire facilities, fire facility components or entities in partitions that have occurred specified events; virtual partition elements: provide wildcard conditions for defining partition dimensions; virtual host elements, used to define wildcard conditions and corresponding actions for host dimensions; S2: According to the multiple project linkage requirements compiled by the fire protection project, the physical fire protection facilities, fire protection equipment components and fire protection zones required to be configured in each linkage requirement are input into the custom type element one by one for custom setting, and are partitioned in the partition element; If the program element required by the linkage is a virtual partition element, the following steps are performed: define several sub-level conditional elements for the conditional element according to the linkage requirement program, set the partition root element under the conditional element, and generate a virtual partition conditional element; set several sub-level conditional elements, set them under the virtual partition conditional element according to the defined custom type elements, and configure the facility type and event type in the partition that meet the conditions; set them under the action element according to the partition root element, and generate a virtual partition action element; set the defined custom type elements under the virtual partition action, and configure the fire protection facility type that meets the execution action; If the program element required by the linkage is a virtual host element, the following steps are performed: the fire-fighting facility root element is set under the condition element of the virtual host element to generate a virtual host condition element, and under the condition element of the virtual host element, several sub-level conditions are set as needed; the defined custom type element is set to the virtual host condition or sub-level condition, and the corresponding configured fire-fighting facility type and event type are input; the fire-fighting facility root element is set in the action element to generate an action element of the virtual host element; the defined custom type element is set under the action element of the virtual host element; S3: According to each linkage requirement in the step, first determine which type of entity element, virtual element or virtual host element it belongs to; according to the selected element type, drag the custom type element and partition element configured in step S2 to the corresponding automatically generated conditional element and action element; if there is a defined expression element, directly input it into the conditional element.

2. The graphical programming method for fire linkage system according to claim 1 is characterized in that: In step S2, if the program element required by the linkage is an entity element, the following steps are performed: under the condition element, according to a specific linkage requirement program, several sub-condition elements are defined; the defined fire-fighting facilities, components or partitions are set under the condition element; the defined fire-fighting facilities / component units / partitions are set under the action element.

3. The graphical programming method applied to the fire linkage system according to claim 1 is characterized in that: In the steps, a virtual partition action element is generated under the action element according to the partition root element setting, which specifically means: firstly setting the partition label of the partition element, indicating that the partition with this label executes the action; setting the partition type, and specifying the relationship between the partitions that meet the conditions as: current partition, parent partition or adjacent partition.

4. The graphical programming method for fire linkage system according to claim 1 is characterized in that: The fire fighting equipment includes: automatic fire alarm system, gas fire extinguishing system, fire door system, emergency lighting and evacuation system, electrical fire system and fire water system.

5. The graphical programming method applied to the fire linkage system according to claim 3 is characterized in that: The partition refers to configuring each building, each unit or each floor as a partition, and the hierarchy is: building>unit>floor, and the adjacent relationship of each floor is represented by the definition order.

6. The graphical programming method for fire linkage system according to claim 3 is characterized in that: It also includes support for sub-level partitions, which makes partitions hierarchical, and supports setting labels for partitions for classifying partitions and programming with labels.

7. The graphical programming method for fire linkage system according to claim 1 is characterized in that: The condition element is used to input sub-elements and the logical relationship is: AND, OR, COUN or Not relationship, COUNT represents the number of conditions that are met, and supports sub-condition elements.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that the processor executes the computer program to implement any one of claims 1-7 of the graphical programming method applied to the fire linkage system.