Control method and device of fire fighting equipment
By obtaining fire trigger information and determining the target linkage programming table, searching the linkage target equipment based on attribute information and generating control instructions, the problem of low response efficiency of the existing fire linkage system is solved, and more efficient fire linkage control is achieved.
Patent Information
- Application Number
- CN202510338806.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-04-25
AI Technical Summary
The existing fire-fighting linkage system has a single linkage programming method, limited number of equipment, and insufficient number of programming lines to achieve fast and accurate response in complex fire scenarios.
By obtaining fire trigger information, determining the target linkage programming table, and looking up the linkage target device based on the target attribute information, and generating device control instructions to improve the total number of linkage devices and response efficiency.
When a fire alarm occurs, the linkage target equipment is quickly found and controlled based on the attribute information of the triggering equipment, improving the fire linkage efficiency and ensuring fire safety.
Smart Images

Figure CN119868880A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present specification relate to the field of fire safety technology, and in particular to a control method and device for fire fighting equipment. 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. In each station in urban rail transit, there are often many fire-fighting equipment, such as temperature and smoke sensing equipment for detecting fires; fire display panels for displaying fire conditions; sprinkler systems, smoke exhaust machines, broadcasts, signal lights, fire shutter doors, etc. for performing fire prevention treatment. There is a certain linkage relationship between these different devices. For example, when the temperature sensing device alarms, the corresponding sprinkler system is controlled to start. This linkage relationship can be pre-configured in the fire linkage system through linkage programming. In the event of a fire, the required linkage fire-fighting equipment can be determined through the linkage programming formula, and the fire can be responded to in a timely manner to avoid casualties.
[0003] However, due to the current simple linkage programming method, the number of devices that can be linked is limited, the number of programming lines is not enough, and only relatively simple linkage logic can be implemented. Therefore, the fire linkage system can automatically respond to fewer situations and cannot respond quickly and accurately to fire situations in various scenarios. Summary of the invention
[0004] In view of this, an embodiment of this specification provides a control method of fire-fighting equipment. One or more embodiments of this specification also relate to a control device of fire-fighting equipment, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.
[0005] According to a first aspect of an embodiment of this specification, a method for controlling firefighting equipment is provided, comprising: Acquire firefighting trigger information, wherein the firefighting trigger information includes target first attribute information of the triggered first device; Determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; Based on the target first attribute information, at least one linkage target second device that is linked with the triggered first device is searched from the linkage programming information, and a device control instruction for each linkage target second device is generated.
[0006] According to a second aspect of the embodiments of this specification, a control device for fire fighting equipment is provided, comprising: An acquisition module is configured to acquire fire trigger information, wherein the fire trigger information includes target first attribute information of the triggered first device; A determination module is configured to determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; The generation module is configured to search for at least one linkage target second device that is linked with the triggered first device from the linkage programming information based on the target first attribute information, and generate device control instructions for each linkage target second device.
[0007] According to a third aspect of an embodiment of this specification, a computing device is provided, including: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the control method of the fire-fighting equipment are implemented.
[0008] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the control method of the above-mentioned fire-fighting equipment are implemented.
[0009] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instruction, which implements the steps of the above-mentioned fire-fighting equipment control method when executed by a processor.
[0010] An embodiment of the present specification realizes obtaining fire trigger information, wherein the fire trigger information includes target first attribute information of a triggered first device; determining a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; based on the target first attribute information, searching the linkage programming information for at least one linkage target second device that is linked to the triggered first device, and generating device control instructions for each linkage target second device.
[0011] In this way, through the target linkage programming table, the target second device under at least one target partition can be managed and controlled according to the equipment management loop, so that the total number of linked devices can be increased; by searching at least one linked target second device linked with the triggered first device from the linkage programming information based on the target first attribute information, in the event of a fire alarm, at least one linked target second device linked with the triggered first device can be quickly searched according to the target first attribute information of the triggered first device, thereby improving the fire linkage efficiency and ensuring fire safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is an architectural diagram of a control system of a fire-fighting equipment provided by an embodiment of this specification; Figure 2 is a flow chart of a method for controlling fire-fighting equipment provided by one embodiment of this specification; Figure 3 It is a flowchart of a linkage programming formula downloading process of a control method of a fire-fighting equipment provided by an embodiment of this specification; Figure 4 It is a flow chart of a fire linkage process of a method for controlling fire fighting equipment provided by one embodiment of this specification; Figure 5 It is a structural schematic diagram of a control device for fire fighting equipment provided by one embodiment of this specification; Figure 6 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0013] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0014] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0015] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0016] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0017] First, the terms involved in one or more embodiments of this specification are explained.
[0018] Fire linkage: It mainly refers to a series of automated operation processes in which, when a fire occurs, a series of fire-fighting equipment is activated after the fire alarm system detects the fire signal to control the fire, ensure the safety of personnel, and reduce property losses. These operations include but are not limited to starting the fire pump, sprinkler system, smoke exhaust fan, sound and light alarm, cutting off non-fire power supply, and starting the emergency lighting and evacuation indication system.
[0019] Linkage programming formula: It is a logical expression used to define the linkage relationship between the alarm device and the controlled device in the system. When a fire occurs, the linkage programming formula can ensure that the fire-fighting equipment is automatically started or shut down according to the preset logic and sequence to achieve effective control of the fire.
[0020] 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. In each station in urban rail transit, there are often many fire-fighting equipment, such as temperature and smoke sensing equipment for detecting fires; fire display panels for displaying fire conditions; sprinkler systems, smoke exhaust machines, broadcasts, signal lights, fire shutter doors, etc. for performing fire prevention treatment. There is a certain linkage relationship between these different devices. For example, when the temperature sensing device alarms, the corresponding sprinkler system is controlled to start. This linkage relationship can be pre-configured in the fire linkage system through linkage programming. In the event of a fire, the required linkage fire-fighting equipment can be determined through the linkage programming formula, and the fire can be responded to in a timely manner to avoid casualties.
[0021] However, due to the current simple linkage programming method, the number of devices that can be linked is limited, the number of programming lines is not enough, and only relatively simple linkage logic can be implemented. Therefore, the fire linkage system can automatically respond to fewer situations and cannot respond quickly and accurately to fire situations in various scenarios.
[0022] Based on this, an embodiment of the present specification provides a method for controlling fire-fighting equipment, obtaining fire-fighting trigger information, wherein the fire-fighting trigger information includes target first attribute information of a triggered first device; determining a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; based on the target first attribute information, searching the linkage programming information for at least one linkage target second device that is linked to the triggered first device, and generating device control instructions for each linkage target second device.
[0023] In this way, through the target linkage programming table, the target second device under at least one target partition can be managed and controlled according to the equipment management loop, so that the total number of linked devices can be increased; by searching at least one linked target second device linked with the triggered first device from the linkage programming information based on the target first attribute information, in the event of a fire alarm, at least one linked target second device linked with the triggered first device can be quickly searched according to the target first attribute information of the triggered first device, thereby improving the fire linkage efficiency and ensuring fire safety.
[0024] In this specification, a control method for fire-fighting equipment is provided. This specification also relates to a control device for fire-fighting equipment, a computing device, a computer-readable storage medium, and a computer program product, which are described in detail one by one in the following embodiments.
[0025] See also Figure 1 , Figure 1 The diagram shows an architecture of a control system of a fire-fighting device provided in one embodiment of the present specification.
[0026] The control system of fire-fighting equipment mainly includes HMI human-machine interface, key board, computing board, CAN communication board, fire display panel device, multiple management circuit boards, and various peripheral modules.
[0027] Among them, the HMI human-machine interface is used to display fire information to staff and support interaction with staff.
[0028] The keypad card is used to receive input information from the staff and can support the staff to interact with the HMI human-machine interface. Information can be transmitted between the HMI human-machine interface and the keypad card through the RS485 interface.
[0029] The calculation board is used to receive and store various linkage programming formulas corresponding to the system, and can send each linkage programming formula to the corresponding management circuit board according to the address information of each management circuit board. The calculation board can transmit information with the HMI human-machine interface through the network port, and can send relevant information about fire and linkage programming to the HMI human-machine interface so that the HMI human-machine interface can display information to the staff.
[0030] The CAN communication board can support information transmission between the computing board and the management circuit board, and between different management circuit boards.
[0031] Optionally, the CAN communication board may also be replaced with other interfaces or protocols that support information transmission between modules, such as communication networking.
[0032] The fire display panel device can receive a fire alarm signal from an alarm device connected thereto, and display fire information based on the received fire alarm signal, such as displaying the location where the fire occurred.
[0033] The management circuit board can manage at least one circuit. In the case where the management circuit board manages multiple circuits, the management circuit board can include two types: ring and tree. Among them, the tree type means that a management circuit board is directly connected to multiple circuits; the ring type means that at least two circuits are connected in a ring to form a larger circuit, and the management circuit board is connected to at least one larger circuit.
[0034] For example, if a management loop board is used to control loops 1, 2, 3, and 4, the tree shape means that the management loop board is connected to loop 1, loop 2, loop 3, and loop 4 respectively; the ring shape can be that loop 1 and loop 2 are connected in a ring to obtain a new loop 1, loop 3 and loop 4 are connected in a ring to obtain a new loop 2, and the management loop board is connected to the new loop 1 and the new loop 2.
[0035] The management circuit board can be connected to various fire-fighting equipment through the FBUS bus, can receive the fire-fighting trigger information sent by the alarm equipment, and can send equipment control instructions to the controlled equipment based on the linkage programming formula.
[0036] Peripheral modules can include temperature sensing, smoke sensing, isolation modules, input and output control modules, fire hydrants, fire display panel devices, etc. Peripheral modules can be understood as various types of firefighting equipment deployed in the fire protection zone. Peripherals can include display devices, such as fire display panel devices, alarm devices, such as temperature sensing and smoke sensing devices, and controlled devices, such as isolation modules, input and output control modules, fire hydrants, smoke exhaust equipment, ventilation equipment, etc.
[0037] In practical applications, the control system of the fire-fighting equipment may include multiple management circuit boards, each of which may control multiple circuits, and each circuit may be connected to a peripheral device under at least one fire partition.
[0038] For example, assume that a loop can connect 220 peripherals, a management loop board connects 4 loops in a ring manner, and each fire protection zone has 500 peripherals. Management loop board 1 connects loops 1, 2, 3, and 4, where loop 1 and loop 2 are connected in a ring to obtain a new loop 1; loop 3 and loop 4 are connected in a ring to obtain a new loop 2.
[0039] Then the new loop 1 can connect 440 peripherals, and the new loop 1 is connected to the 440 peripherals in fire partition 1. The new loop 2 can also connect 440 peripherals, and the new loop 2 is connected to the remaining 60 peripherals in fire partition 1 and to the 380 peripherals in fire partition 2.
[0040] By applying this embodiment, by connecting each circuit under the management circuit board with each peripheral under the fire zone, it is possible to manage the peripherals under different fire zones through multiple management circuit boards, thereby facilitating the linkage programming of peripherals according to different management circuit boards, and can increase the number of linked peripherals, so that the linkage programming can cope with various complex fire situations in actual applications.
[0041] See also Figure 2 , Figure 2 A flow chart of a method for controlling fire-fighting equipment provided according to an embodiment of the present specification is shown, which specifically includes the following steps.
[0042] Step 202: Obtain fire trigger information, wherein the fire trigger information includes target first attribute information of the triggered first device.
[0043] In practical applications, firefighting trigger information can be obtained.
[0044] Specifically, the fire trigger information can be understood as the alarm information or start information sent by the first device. The first device can be understood as an alarm device or a detection module. The alarm device can be understood as a device that can trigger a fire alarm based on pre-set threshold information, such as a temperature sensor or a smoke sensor. The detection module can be understood as detecting the feedback signal through a built-in detection circuit, and when the feedback signal is detected, the corresponding feedback signal is activated. The detection module may include an input and output control module, etc.
[0045] The triggered first device can be understood as a first device that has issued an alarm or has been activated. The target first attribute information can be understood as the attribute information corresponding to the triggered first device, and the target first attribute information can include the partition number, partition number, device type, device status and other information of the triggered first device.
[0046] According to an optional embodiment of the present specification, a control method for fire-fighting equipment may be applied to a management module; obtaining fire-fighting trigger information may include: Receive fire triggering information sent by the triggered first device.
[0047] Optionally, the first device may communicate with the management module via an FBUS bus communication interface.
[0048] According to another optional embodiment of the present specification, the management module may include multiple management circuit boards, each management circuit board is used to control the fire-fighting equipment under at least one circuit, and each circuit is connected to multiple fire-fighting equipment.
[0049] The control method of fire-fighting equipment may be applied to a first management circuit board, wherein the first management circuit board is any one of a plurality of management circuit boards; obtaining fire-fighting trigger information may include: If the first device has been triggered to connect to any circuit of the first management circuit board, fire trigger information is obtained, including: Receive fire triggering information sent by the triggered first device.
[0050] Optionally, the first device may communicate with the first management circuit board via an FBUS bus communication interface.
[0051] If the first device has been triggered to connect to any circuit of the second management circuit board, fire trigger information is obtained, including: Receive fire trigger information sent by a second management circuit board, wherein the second management circuit board is any other management circuit board among the multiple management circuit boards except the first management circuit board.
[0052] Optionally, the first device may communicate with the second management circuit board through an FBUS bus communication interface. The second management circuit board may communicate with the first management circuit board through a CAN communication interface.
[0053] In practical applications, the FBUS bus communication interface can be used to support communication between devices and various modules of the system, such as devices and management terminals, management circuit boards corresponding to devices and management circuits, and so on; the CAN communication interface can be used to support communication between various modules of the system, such as between various management circuit boards, between management circuit boards and computing boards, and so on.
[0054] Optionally, the communication between the device and the modules of the system, and the communication between the modules of the system may also be achieved through other means such as communication networking, which may be determined according to the requirements of actual applications.
[0055] By applying this embodiment, information transmission between the first device and the management circuit board corresponding to the circuit connected to the first device can be realized through the FBUS bus; communication between different management circuit boards can be realized through the CAN communication interface, so that when the first device has been triggered to send fire trigger information, the fire trigger information will be sent to other management circuit boards, thereby realizing fire linkage of a large number of fire equipment.
[0056] Step 204: Determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition.
[0057] In practical applications, the target linkage programming table can be determined.
[0058] Specifically, the target linkage programming table can be understood as a data structure in memory for storing linkage programming information. The target linkage programming table can be a data structure such as an array or a linked list, which can be determined according to the needs of the actual application. The target second device can be understood as the second device under the target partition, or it can be understood as the controlled device.
[0059] In the actual implementation process, the corresponding linkage programming formula can be configured in advance for each fire-fighting equipment in the system, the linkage programming formula can be downloaded to the computing board, and the linkage programming formula can be read into the data structure in the memory when the system is initialized.
[0060] According to an optional embodiment of the present specification, the control method of fire fighting equipment, applied to the management module, before determining the target linkage programming table, may include: Receiving a target configuration file, wherein the target configuration file includes a plurality of linkage programming formulas, each linkage programming formula being pre-configured based on a linkage relationship between each first device and each second device; The linkage programming information in each linkage programming formula is extracted into the target linkage programming table.
[0061] Optionally, the target configuration file may be a .csv file. According to the fire-fighting equipment under each fire protection zone, the linkage programming formula corresponding to each fire-fighting equipment may be pre-configured, and all the linkage programming formulas may be saved in the target configuration file.
[0062] Furthermore, the management module may download the target configuration file, and read the linkage programming information of each linkage programming formula in the target configuration file into the memory one by one when the system is initialized.
[0063] According to another optional embodiment of the present specification, the control method of fire fighting equipment is applied to a first management circuit board, wherein the first management circuit board is any one of a plurality of management circuit boards, and the first management circuit board is used to control equipment under at least one target partition. Before determining the target linkage programming table, the following steps may also be included: Determine a plurality of linkage programming formulas corresponding to the device management loop, wherein the linkage programming formula is used to record the linkage relationship between the first device and the target second device; Extract the linkage programming information in each linkage programming formula to the target linkage programming table.
[0064] Specifically, the plurality of linkage programming formulas are linkage programming formulas corresponding to at least one management circuit included in the first management circuit board. The linkage programming formula is obtained based on the pre-configuration of the target second device under at least one management circuit included in the first management circuit board.
[0065] Optionally, the multiple linkage programming formulas corresponding to the device management loop can be obtained by pre-issuing the management module according to the address information of the management loop board. The management module can be understood as a computing board.
[0066] In actual applications, the computing board can send each linkage programming formula in the target configuration file to each management circuit board according to the corresponding management circuit board address through the message queue. Each management circuit board can store the sent linkage programming formula in flash. When the system is initialized, each management circuit board reads the stored linkage programming formula into the structure in the memory.
[0067] It should be noted that linkage programming formulas can include general and common types. Among them, the common type cannot be used across partitions, while the general type often carries "#" and can be used across partitions.
[0068] In actual applications, when the linkage programming formula carries cross-partition symbols, when the linkage programming formula is sent to each management circuit board, the partition to which the linkage programming formula can be applied can be determined, and the linkage programming formula can be sent to the corresponding partitions.
[0069] The cross-partition symbol may include "#", which means that the formula is applicable to all partitions; it may also include (+) or (-), which means that the formula is applicable to several partitions.
[0070] Exemplarily, if the partition number corresponding to linkage programming formula a is 4, linkage programming formula a can be executed in partition 4. When issuing the linkage programming formula, it is necessary to determine the device management loop corresponding to partition number 4, and determine the management loop board address based on the management loop board to which the device management loop belongs, and issue the linkage programming formula to the corresponding management loop board according to the management loop board address. If linkage programming formula a carries the symbol "#", linkage programming formula a can be executed in each partition, and linkage programming formula a can be issued to each management loop board. If linkage programming formula a carries the symbol "(±)2", it means that linkage programming formula a can be executed in partitions 2, 3, 4, 5, and 6; the device management loops corresponding to partitions 2, 3, 4, 5, and 6 can be determined, and at least one management loop board address can be determined based on the management loop board to which the device management loop belongs, and linkage programming formula a can be issued to each management loop board according to the management loop board address.
[0071] By applying this embodiment, by determining multiple linkage programming formulas corresponding to the equipment management loop, each second device can be managed in linkage according to the equipment management loop, thereby supporting the linkage of more fire-fighting equipment and improving the efficiency of fire-fighting linkage.
[0072] According to an optional embodiment of the present specification, extracting linkage programming information in each linkage programming formula to a target linkage programming table may include the following steps: Extract parameter information and operators in a target linkage programming formula according to a preset regular expression, wherein the target linkage programming formula is any one of the linkage programming formulas; Record parameter information and operators into the target linkage programming table.
[0073] Optionally, the preset regular expression may be used to indicate an extraction rule for the linkage programming formula. The linkage programming formula may include linkage programming information such as parameter information and operators. The parameter information may include attribute information of the first device and attribute information of the second device.
[0074] Specifically, the parameter information may include information such as the partition number, partition number, and status of the first device; and information such as the partition number, partition number, and actions to be performed of the second device. Partition numbers and partition numbers may include number information consisting of numbers from 0 to 9. Operators may include character information such as * (used to indicate intra-area numbering), # (used to indicate inter-area numbering), +, -, ^, =, and space.
[0075] By applying this embodiment, parameter information and operators in the linkage programming formula can be extracted by presetting regular expressions, so that the linkage programming information in the linkage programming formula can be read into a structure in the memory, thereby improving the formula reading efficiency.
[0076] According to an optional embodiment of the present specification, the parameter information may include first attribute information of the first device, and the first attribute information may include a first device type number; recording the parameter information and the operator into the target linkage programming table may include the following steps: The parameter information and operators are recorded in the target linkage programming table in the order corresponding to the first device type number.
[0077] Specifically, the first device type number may be understood as number information such as a type identifier configured for the first device according to the device type of the first device.
[0078] Exemplarily, the device type number corresponding to the temperature sensing device may be 1, and the device type number corresponding to the smoke sensing device may be 2.
[0079] In practical applications, each linkage programming information can be arranged in sequence in the structure according to the first device type number from large to small, or from small to large.
[0080] By applying this embodiment, by recording parameter information and operators in the order corresponding to the first device type number into the target linkage programming table, it is possible to automatically identify and classify each linkage programming information according to the device type of the first device. In this way, in the process of fire linkage, it is also possible to directly obtain multiple linkage programming information corresponding to the device type corresponding to the triggered first device, thereby improving the search efficiency of the second device and improving the fire linkage efficiency.
[0081] Step 206: Based on the target first attribute information, search from the linkage programming information for at least one linkage target second device that is linked with the triggered first device, and generate a device control instruction for each linkage target second device.
[0082] In actual applications, based on the determination of the target linkage programming table, at least one linkage target second device that is linked to the triggered first device can be searched from the linkage programming information based on the target first attribute information, and device control instructions can be generated for each linkage target second device.
[0083] Specifically, the linkage target second device can be understood as the target second device that is linked to the triggered first device. The device control instruction can be understood as a control instruction for the linkage target second device, which is used to control the linkage target second device to execute the corresponding to-be-executed action in the linkage programming formula.
[0084] According to an optional embodiment of the present specification, based on the target first attribute information, searching from the linkage programming information for at least one linkage target second device that is linked with the triggered first device may include the following steps: From the linkage programming information, searching for target linkage programming information that matches the target first attribute information; At least one linkage target second device is obtained according to the target linkage programming information.
[0085] Specifically, the target linkage programming information can be understood as linkage programming information whose first attribute information is the same as the target first attribute information.
[0086] By applying this embodiment, by searching for target linkage programming information that matches the target first attribute information from the linkage programming information, the linkage target second device that is linked to the triggered first device can be determined based on the attribute information of the second device in the target linkage programming information, thereby realizing fire linkage between the first device and the second device and ensuring fire safety.
[0087] According to an optional embodiment of the present specification, the linkage programming information may include first attribute information of the first device; searching the linkage programming information for target linkage programming information matching the target first attribute information may include the following steps: According to a binary tree search algorithm, searching for first attribute information matching the target first attribute information from the linkage programming information; The linkage programming information to which the first attribute information matching the target first attribute information belongs is determined as the target linkage programming information.
[0088] In practical applications, the linkage programming information obtained from the linkage programming formula can be stored in a structure in the form of a binary tree. Specifically, the target linkage programming information can be understood as the binary tree structure information corresponding to the linkage programming formula.
[0089] Optionally, according to a binary tree search algorithm, the first attribute information matching the target first attribute information may be cyclically searched in the structure to obtain the target linkage programming information.
[0090] Optionally, the target linkage programming information matching the target first attribute information may also be searched through a binary tree search model.
[0091] Specifically, the binary tree search algorithm may include a recursive or non-recursive method of pre-order traversal. Among them, the recursive method may search for the first attribute information in the order of "visiting the root node-recursively traversing the left subtree-recursively traversing the right subtree". In the implementation process of the non-recursive method, a stack may be used to simulate the recursive process: first, the root node is pushed into the stack, and then a loop is entered, and each time a node is taken out of the stack, the node is first visited (that is, the value of the node is added to the result list), and then the child nodes are pushed into the stack in the order of "right subtree-left subtree" (because the stack is a last-in-first-out data structure). In this way, when the stack is empty, it is equivalent to visiting all nodes in the order of pre-order traversal.
[0092] It should be noted that a specific binary tree search algorithm can be determined according to the needs in actual applications to improve the search efficiency of the target linkage programming information.
[0093] By applying this embodiment, the first attribute information matching the target first attribute information is searched from the linkage programming information according to a binary tree search algorithm, so that the search efficiency of the target linkage programming information can be improved, thereby improving the response efficiency of the fire linkage.
[0094] According to an optional embodiment of the present specification, obtaining at least one linkage target second device according to the target linkage programming information may include the following steps: At least one linkage target second device is obtained according to the target second attribute information in the target linkage programming information.
[0095] Specifically, the target linkage programming information may include, in addition to the target first attribute information of the triggered first device, the attribute information of the linkage target second device that is linked with the triggered first device, such as the partition number, partition number, action to be executed, etc. of the second device.
[0096] In actual applications, when determining the target linkage programming information, the linkage target second device can be determined according to the partition number and partition serial number of the second device.
[0097] By applying this embodiment, at least one linkage target second device can be obtained according to the target second attribute information in the target linkage programming information, and the second device linked to the triggered first device can be obtained, so that the second device linked to the triggered first device can be determined according to the linkage programming, thereby improving the response efficiency of the fire linkage.
[0098] According to an optional embodiment of the present specification, the target linkage programming information may include actions to be executed by the linkage target second device; and generating device control instructions for each linkage target second device may include the following steps: According to the action to be executed, a device control instruction for each linkage target second device is generated, wherein the device control instruction is used to instruct each linkage target second device to execute the action to be executed.
[0099] Specifically, the action to be executed may include action information such as start, delayed start, etc. or action execution logic.
[0100] Optionally, a device control instruction for the linkage target second device may be generated according to the partition number, the partition serial number and the to-be-executed action of the linkage target second device.
[0101] Furthermore, the device control instruction may be sent to the corresponding linkage target second device via the FBUS bus, so that the linkage target second device performs a corresponding action according to the to-be-executed action indicated by the device control instruction.
[0102] By applying this embodiment, by generating device control instructions for each linkage target second device according to the action to be executed, the second device that is linked with the triggered first device can execute the corresponding action according to the action to be executed in the linkage programming formula, thereby realizing linkage control of the second device, improving the accuracy of linkage programming, and ensuring fire safety.
[0103] By applying this embodiment, fire trigger information is obtained, wherein the fire trigger information includes the target first attribute information of the triggered first device; a target linkage programming table is determined, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control the target second device under at least one target partition; based on the target first attribute information, at least one linkage target second device that is linked to the triggered first device is searched from the linkage programming information, and a device control instruction for each linkage target second device is generated. Through the target linkage programming table, the target second device under at least one target partition can be managed and controlled according to the device management loop, thereby increasing the total number of linked devices; by searching for at least one linkage target second device that is linked to the triggered first device from the linkage programming information based on the target first attribute information, in the event of a fire alarm, at least one linkage target second device that is linked to the triggered first device can be quickly searched according to the target first attribute information of the triggered first device, thereby improving the fire linkage efficiency and ensuring fire safety.
[0104] The following combination Figure 3-Figure 4 Taking the application of the control method of fire fighting equipment provided in this specification in the fire fighting linkage system as an example, the control method of fire fighting equipment is further described. Figure 3 A flowchart of a linkage programming formula downloading process of a control method for fire fighting equipment provided by one embodiment of this specification is shown; Figure 4 A flow chart of a fire linkage process of a method for controlling fire fighting equipment provided in one embodiment of the present specification is shown.
[0105] like Figure 3 As shown, the computing board downloads the linkage programming formula through the network port, and determines whether the management circuit board address corresponding to the linkage programming formula is the management circuit board address included in the computing board; if so, the linkage programming formula is stored; if not, the linkage programming formula is not stored.
[0106] By applying this embodiment, by downloading the linkage programming formula according to the management circuit board address, the linkage programming formula under each management circuit board corresponding to the calculation board can be downloaded and stored, thereby improving the accuracy of the linkage control; by controlling fire-fighting equipment through multiple management circuit boards, the number of linked equipment can be increased, so that the linkage programming can meet the fire safety requirements of complex fire scenes in actual applications.
[0107] like Figure 4As shown, when the system is initialized, each management circuit board reads the linkage programming formula stored in the flash into the structure of the memory, and sorts and stores the linkage programming formula in the structure in the order of the device type number from small to large. Start the linkage programming thread. When the fire information or startup information of the first device is received, according to the partition number and partition number of the first device in the fire information or startup information, the matching target linkage programming formula is cyclically searched in the structure by means of a binary tree target value. When the target linkage programming formula is found, according to the to-be-executed action corresponding to at least one second device in the target linkage programming formula, a device control instruction (FBUS command) for each second device is generated. The device control instruction is sent to the corresponding second device through the FBUS bus interface so that the second device performs the corresponding action.
[0108] By applying this embodiment, when a fire alarm occurs or equipment is activated, at least one second device linked to the first device can be quickly found based on the partition number and partition serial number of the first device, thereby generating device control instructions for the second device based on the linkage programming formula, instructing the second device to perform corresponding actions, thereby improving the efficiency of fire linkage and ensuring fire safety.
[0109] Corresponding to the above method embodiment, this specification also provides a control device embodiment of fire fighting equipment, Figure 5 FIG. 1 is a schematic diagram showing the structure of a control device for fire fighting equipment provided by an embodiment of the present specification. Figure 5 As shown, the device comprises: The acquisition module 502 is configured to acquire fire trigger information, wherein the fire trigger information includes target first attribute information of the triggered first device.
[0110] Determination module 504: is configured to determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition.
[0111] The generation module 506 is configured to search for at least one linkage target second device that is linked with the triggered first device from the linkage programming information based on the target first attribute information, and generate a device control instruction for each linkage target second device.
[0112] Optionally, the determination module 504 is further configured to: Determine a plurality of linkage programming formulas corresponding to the device management loop, wherein the linkage programming formula is used to record the linkage relationship between the first device and the target second device; Extract the linkage programming information in each linkage programming formula to the target linkage programming table.
[0113] Optionally, the determination module 504 is further configured to: Extract parameter information and operators in a target linkage programming formula according to a preset regular expression, wherein the target linkage programming formula is any one of the linkage programming formulas; Record parameter information and operators into the target linkage programming table.
[0114] Optionally, the parameter information includes first attribute information of the first device, the first attribute information includes a first device type number, and the determination module 504 is further configured to: The parameter information and operators are recorded in the target linkage programming table in the order corresponding to the first device type number.
[0115] Optionally, the generating module 506 is further configured to: From the linkage programming information, searching for target linkage programming information that matches the target first attribute information; At least one linkage target second device is obtained according to the target linkage programming information.
[0116] Optionally, the linkage programming information includes first attribute information of the first device, and the generating module 506 is further configured to: According to a binary tree search algorithm, searching for first attribute information matching the target first attribute information from the linkage programming information; The linkage programming information to which the first attribute information matching the target first attribute information belongs is determined as the target linkage programming information.
[0117] Optionally, the generating module 506 is further configured to: At least one linkage target second device is obtained according to the target second attribute information in the target linkage programming information.
[0118] Optionally, the target linkage programming information includes an action to be executed of the linkage target second device; the generating module 506 is further configured to: According to the action to be executed, a device control instruction for each linkage target second device is generated, wherein the device control instruction is used to instruct each linkage target second device to execute the action to be executed.
[0119] By applying this embodiment, through the target linkage programming table, it is possible to manage and control the target second device under at least one target partition according to the equipment management loop, thereby increasing the total number of linked devices; by searching at least one linked target second device linked with the triggered first device from the linkage programming information based on the target first attribute information, it is possible to quickly search for at least one linked target second device linked with the triggered first device according to the target first attribute information of the triggered first device in the event of a fire alarm, thereby improving the fire linkage efficiency and ensuring fire safety.
[0120] The above is a schematic scheme of a control device of a fire-fighting equipment of this embodiment. It should be noted that the technical scheme of the control device of the fire-fighting equipment and the technical scheme of the control method of the fire-fighting equipment mentioned above belong to the same concept, and the details of the technical scheme of the control device of the fire-fighting equipment that are not described in detail can all be referred to the description of the technical scheme of the control method of the fire-fighting equipment mentioned above.
[0121] Figure 6 The block diagram of a computing device 600 according to an embodiment of the present specification is shown. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.
[0122] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).
[0123] In one embodiment of the present specification, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0124] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 600 may also be a mobile or stationary server.
[0125] The processor 620 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the control method of the above-mentioned fire-fighting equipment.
[0126] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the control method of the fire-fighting equipment described above are of the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the control method of the fire-fighting equipment described above.
[0127] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned fire-fighting equipment control method.
[0128] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the control method of the fire-fighting equipment described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the control method of the fire-fighting equipment described above.
[0129] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which implements the steps of the control method of the above-mentioned fire-fighting equipment when executed by a processor.
[0130] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the control method of the fire-fighting equipment described above are of the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the control method of the fire-fighting equipment described above.
[0131] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0132] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0133] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some 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 and modules involved are not necessarily required by the embodiments of this specification.
[0134] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0135] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.
Claims
1. A method for controlling fire-fighting equipment, characterized in that: include: Acquire firefighting trigger information, wherein the firefighting trigger information includes target first attribute information of the triggered first device; Determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; Based on the target first attribute information, at least one linkage target second device that is linked with the triggered first device is searched from the linkage programming information, and a device control instruction for each linkage target second device is generated.
2. The method according to claim 1, characterized in that: Before determining the target linkage programming table, the method further includes: Determine a plurality of linkage programming formulas corresponding to the device management loop, wherein the linkage programming formula is used to record the linkage relationship between the first device and the target second device; Extract the linkage programming information in each linkage programming formula to the target linkage programming table.
3. The method according to claim 2, characterized in that The step of extracting linkage programming information from each linkage programming formula to the target linkage programming table includes: Extracting parameter information and operators in a target linkage programming formula according to a preset regular expression, wherein the target linkage programming formula is any one of the linkage programming formulas; The parameter information and the operator are recorded into the target linkage programming table.
4. The method according to claim 3, characterized in that The parameter information includes first attribute information of the first device, and the first attribute information includes a first device type number; The step of recording the parameter information and the operator into the target linkage programming table includes: The parameter information and the operator are recorded in the target linkage programming table in the order corresponding to the first device type number.
5. The method according to any one of claims 1 to 4, characterized in that: The step of searching, based on the target first attribute information, from the linkage programming information for at least one linkage target second device that is linked with the triggered first device comprises: From the linkage programming information, searching for target linkage programming information that matches the target first attribute information; According to the target linkage programming information, the at least one linkage target second device is obtained.
6. The method according to claim 5, characterized in that The linkage programming information includes first attribute information of the first device; The step of searching the linkage programming information for target linkage programming information that matches the target first attribute information includes: According to a binary tree search algorithm, searching the linkage programming information for first attribute information that matches the target first attribute information; The linkage programming information to which the first attribute information matching the target first attribute information belongs is determined as the target linkage programming information.
7. The method according to claim 5, characterized in that The obtaining, according to the target linkage programming information, the at least one linkage target second device comprises: According to the target second attribute information in the target linkage programming information, the at least one linkage target second device is obtained.
8. The method according to claim 7, characterized in that The target linkage programming information includes the to-be-executed action of the linkage target second device; The generating of the device control instruction for each linkage target second device includes: According to the action to be executed, a device control instruction for each linkage target second device is generated, wherein the device control instruction is used to instruct each linkage target second device to execute the action to be executed.
9. A control device for fire fighting equipment, characterized in that: include: An acquisition module is configured to acquire fire trigger information, wherein the fire trigger information includes target first attribute information of the triggered first device; A determination module is configured to determine a target linkage programming table, wherein the target linkage programming table includes linkage programming information corresponding to at least one device management loop, and the device management loop is used to control a target second device under at least one target partition; The generation module is configured to search for at least one linkage target second device that is linked with the triggered first device from the linkage programming information based on the target first attribute information, and generate device control instructions for each linkage target second device.
10. A computing device, characterized in that include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the method for controlling the fire-fighting equipment according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium, characterized in that: It stores a computer program / instruction, which, when executed by a processor, implements the steps of the method for controlling fire-fighting equipment according to any one of claims 1 to 8.
12. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the steps of the method for controlling fire-fighting equipment according to any one of claims 1 to 8.
Citation Information
Cited By
Data communication method and device based on fire fighting system and electronic equipment
CN120201062A