Communication management methods, systems and electronic equipment for fire protection two-wire bus

By acquiring the level value and pulse width data of the fire protection bus current signal, setting and comparing reference data, and determining the command, the problem of low communication efficiency of the fire protection bus is solved, and more efficient communication management is achieved.

CN116467237BActive Publication Date: 2026-06-02WUHAN WUTOS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN WUTOS
Filing Date
2023-03-02
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

The existing fire protection two-bus communication management process has low communication efficiency and is difficult to adapt to the needs of the Internet of Things and big data era.

Method used

By acquiring the level value and pulse width data of the current signal, setting pulse width reference data, and comparing it with the actual pulse width data, the first and second commands of the current signal are determined to realize the communication management of the fire protection two-wire bus.

Benefits of technology

Without changing the existing fire protection two-wire bus communication management method, the number of commands was increased and the communication efficiency of the fire protection two-wire bus was improved by analyzing and setting the width of the current signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116467237B_ABST
    Figure CN116467237B_ABST
Patent Text Reader

Abstract

This application discloses a communication management method, system, and electronic device for a fire protection two-wire bus. The method includes: acquiring the level value and pulse width data of a current signal; determining a first instruction for the current signal based on the level value; setting pulse width comparison data; comparing the pulse width data and the pulse width comparison data to determine a second instruction for the current signal; and managing the communication of the fire protection two-wire bus based on the first and second instructions. On the one hand, it ensures the normal operation of existing methods for acquiring current signal instructions; on the other hand, by combining the pre-set pulse width comparison data to acquire the second instruction for the current signal, it increases the number of acquired instructions without changing the existing communication management method of the fire protection two-wire bus. In other words, it enables two instructions to be obtained from one current signal, thereby improving the communication efficiency of the fire protection two-wire bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication management technology, and in particular to a communication management method, system and electronic device for a fire protection two-bus system. Background Technology

[0002] Two-wire bus is a technology that combines power and signal lines into one, as opposed to a four-wire system (two power lines and two communication lines), allowing both signals and power to share a single bus. Two-wire bus reduces construction and cabling costs, greatly simplifying on-site installation and subsequent maintenance. It is widely used in fire protection, instrumentation, sensors, and industrial control.

[0003] However, most current fire alarm circuit breakers can only access individual loop devices one by one. The fire alarm circuit card obtains information such as whether the current loop device has a fault or fire alarm, and then controls another loop device to start or stop output based on the linkage status. The fire alarm circuit card can only send a few bits of information such as start or stop to the loop device, and the loop device can only reply with a few simple bits of information such as fault or fire alarm. The amount of data sent and received on the fire alarm circuit breaker is very small, making it difficult to adapt to today's advanced Internet of Things and big data era.

[0004] Therefore, in the existing technology, the communication management process of the fire protection two-bus has the problem of low communication efficiency. Summary of the Invention

[0005] In view of this, it is necessary to provide a communication management method, system and electronic device for fire protection two-wire bus, so as to solve the problem of low communication efficiency in the communication management process of the prior art.

[0006] To address the aforementioned problems, this invention provides a communication management method for a fire-fighting two-wire bus, comprising:

[0007] Acquire the level value and pulse width data of the current signal;

[0008] The first instruction for the current signal is determined based on the level value;

[0009] Set pulse width reference data, wherein the pulse width reference data includes at least one;

[0010] The pulse width data is compared with the pulse width comparison data to determine the second instruction of the current signal;

[0011] Communication management of the fire protection bus is carried out according to the first and second instructions.

[0012] Furthermore, the level value and pulse width data of the current signal are acquired, including:

[0013] Acquire the initial current signal and convert it into a digital signal;

[0014] Determine the voltage level based on the digital signal;

[0015] The digital signal is processed to determine the pulse width data.

[0016] Further, the digital signal undergoes data processing to determine the pulse width data, including:

[0017] The digital signals are grouped, and the binary signal units of each group are determined.

[0018] Data splicing is performed on binary signal units to determine pulse width data.

[0019] Furthermore, pulse width comparison data is set, wherein the pulse width comparison data includes at least one, including:

[0020] Based on the instruction sample, a corresponding binary instruction sequence is set, wherein the instruction sample includes at least one instruction.

[0021] The binary instruction sequence is decomposed to determine multiple binary sample units;

[0022] Based on multiple binary sample units, corresponding pulse width reference data are determined.

[0023] Furthermore, based on multiple binary sample units, corresponding pulse width reference data are determined, including:

[0024] Based on multiple binary sample units, multiple binary numbers are determined respectively, wherein the order of the multiple binary numbers is consistent with that of the multiple binary sample units;

[0025] Based on the current transmission time, sort multiple binary numbers to determine the binary standard number;

[0026] Based on the binary standard number, determine the pulse width reference data.

[0027] Furthermore, the pulse width data is compared with the pulse width comparison data to determine the second instruction for the current signal, including:

[0028] Compare the pulse width data with the pulse width reference data to determine if there are any pulse width reference data that are the same as the pulse width data.

[0029] If so, then the second instruction is determined to be the instruction sample corresponding to the pulse width comparison data;

[0030] If not, then the second instruction is determined to be empty.

[0031] Furthermore, the first instruction includes the device address and control commands.

[0032] Furthermore, the second instruction includes a device upgrade command.

[0033] To address the aforementioned problems, the present invention also provides a communication management system for a fire-fighting two-wire bus, comprising:

[0034] The signal acquisition module is used to acquire the level value and pulse width data of the current signal;

[0035] The first instruction determination module is used to determine the first instruction of the current signal based on the level value;

[0036] The pulse width comparison data setting module is used to set pulse width comparison data, wherein the pulse width comparison data includes at least one.

[0037] The second instruction determination module is used to compare the pulse width data and the pulse width comparison data to determine the second instruction of the current signal.

[0038] The communication management module is used to manage the communication of the fire protection bus according to the first and second instructions.

[0039] To address the aforementioned problems, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the communication management method of the fire-fighting two-wire bus as described above.

[0040] The beneficial effects of adopting the above technical solution are as follows: This invention provides a communication management method, system, and electronic device for a fire-fighting two-wire bus. The method includes: acquiring the level value and pulse width data of a current signal; determining a first instruction for the current signal based on the level value; setting pulse width comparison data; comparing the pulse width data and the pulse width comparison data to determine a second instruction for the current signal; and performing communication management of the fire-fighting two-wire bus based on the first and second instructions. On the one hand, it ensures the normal operation of existing methods for acquiring current signal instructions; on the other hand, by combining the pre-set pulse width comparison data to acquire the second instruction for the current signal, it achieves an increase in the number of acquired instructions without changing the existing communication management method of the fire-fighting two-wire bus. This means that two instructions can be obtained from one current signal, thereby greatly improving the communication efficiency of the fire-fighting two-wire bus. Attached Figure Description

[0041] Figure 1 A flowchart illustrating an embodiment of the communication management method for the fire protection two-wire bus provided by the present invention;

[0042] Figure 2 A schematic flowchart illustrating an embodiment of the present invention for acquiring the level value and pulse width data of a current signal;

[0043] Figure 3 This is a flowchart illustrating an embodiment of setting pulse width comparison data provided by the present invention;

[0044] Figure 4 A flowchart illustrating an embodiment of the pulse width comparison data provided by the present invention;

[0045] Figure 5 A flowchart illustrating an embodiment of the second instruction for determining a current signal provided by the present invention;

[0046] Figure 6 A schematic diagram of an embodiment of the fire-fighting two-bus communication management system provided by the present invention;

[0047] Figure 7 A structural block diagram of an embodiment of the electronic device provided by the present invention. Detailed Implementation

[0048] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.

[0049] Before describing the implementation examples, the two-bus fire alarm control system will be explained:

[0050] The two-bus fire alarm control system consists of two buses connected to the circuit terminals of the main unit. All fire sensors, such as temperature and smoke detectors, as well as some addressable devices such as manual push-button switches, fire hydrants, water flow indicators, fire doors, smoke exhaust valves, and air supply valves, are connected in parallel to these buses. These devices themselves do not have their own power supply; power is provided by the bus. One of the two wires is a ground wire. The remaining wire serves both as a power supply line, providing power to the sensors and devices when idle, and as a signal transmission line for the main unit to inspect the sensors and devices and control each node, thus enabling the main unit to monitor and control all sensors and devices.

[0051] Currently, the two-wire bus is an industrial fieldbus, a highly reliable, automatically synchronized encoding and decoding communication network that can convert multiple analog signals from field nodes into digital signals for long-distance serial transmission. The two-wire bus has the following characteristics: 1) intelligent tracking and automatic encoding and decoding; 2) long-distance monitoring, with a monitoring distance of up to 2000m; 3) simultaneous transmission of signals and power, eliminating the need for individual power supplies to nodes; 4) the number of loop nodes can be increased or decreased according to scale, with the upper limit determined by the address encoding bits, field node power consumption, and encoding method; 5) the ability to install bus short-circuit isolators, ensuring that partial short circuits do not affect the overall system operation. Due to these characteristics, it is widely used in long-distance monitoring, data acquisition, fire alarms, and other fields.

[0052] However, the fire alarm circuit breaker can only access one loop device at a time. The fire alarm circuit breaker card obtains information such as whether the current loop device has a fault or fire alarm, and then controls another loop device to start or stop output based on the linkage status. The fire alarm circuit breaker card can only send a few bits of information such as start or stop to the loop device, and the loop device can only reply with a few simple bits of information such as fault or fire alarm.

[0053] Therefore, in the existing technology, the communication management process of the fire protection two-bus has the problem of low communication efficiency.

[0054] To address the aforementioned problems, this invention provides a communication management method, system, and electronic device for a fire protection two-wire bus, which will be described in detail below.

[0055] like Figure 1 As shown, Figure 1 A flowchart illustrating an embodiment of the communication management method for the fire-fighting two-wire bus provided by the present invention includes:

[0056] Step S101: Obtain the level value and pulse width data of the current signal.

[0057] Step S102: Determine the first instruction of the current signal based on the level value.

[0058] Step S103: Set pulse width comparison data, wherein the pulse width comparison data includes at least one.

[0059] Step S104: Compare the pulse width data with the pulse width comparison data to determine the second instruction of the current signal.

[0060] Step S105: Perform communication management on the fire protection bus according to the first and second instructions.

[0061] In this embodiment, firstly, the level value and pulse width data of the current signal are acquired; secondly, the first instruction of the current signal is directly determined based on the level value; then, pulse width comparison data is set, wherein the pulse width comparison data includes at least one; next, the pulse width data and the pulse width comparison data are compared to determine the second instruction of the current signal; finally, communication management of the fire protection bus is performed based on the first instruction and the second instruction.

[0062] Understandably, in this embodiment, on the one hand, the first instruction of the current signal is directly determined by the level value of the current signal, which ensures the normal operation of the existing method for obtaining the instruction of the current signal; on the other hand, by obtaining the pulse width data of the current signal and combining it with the preset pulse width comparison data, the second instruction of the current signal is obtained. This achieves the goal of increasing the number of instructions obtained by analyzing and setting the width of the current signal without changing the existing communication management method of the fire protection bus, that is, it is possible to obtain two instructions from one current signal, thereby greatly improving the communication efficiency of the fire protection bus.

[0063] In a preferred embodiment, in step S101, in order to obtain the level value and pulse width data of the current signal, such as... Figure 2 As shown, Figure 2 A flowchart illustrating an embodiment of the present invention for acquiring the level value and pulse width data of a current signal includes:

[0064] Step S111: Acquire the initial current signal and convert the initial current signal into a digital signal.

[0065] Step S112: Determine the level value based on the digital signal.

[0066] Step S113: Perform data processing on the digital signal to determine the pulse width data.

[0067] In this embodiment, firstly, an initial current signal is acquired and converted into a digital signal; then, the level value is directly determined based on the digital signal; finally, the digital signal is processed to determine the pulse width data.

[0068] In this embodiment, since the directly acquired current signal includes both analog and digital signal modes, all initial current signals are converted into digital signals to facilitate unified data processing. This allows the level value and pulse width data of the initial current signal to be determined based on the digital signal.

[0069] In a preferred embodiment, in step S123, since the data involved in the communication management process is calculated and processed using binary numbers, in order to determine the pulse width data, firstly, the digital signals are grouped, and the binary signal units of each group of digital signals are determined, thereby determining the binary data corresponding to each binary signal unit; then, the binary signal units are spliced ​​together to determine the pulse width data.

[0070] In this embodiment, binary signal units are obtained by grouping digital signals, the width of the binary signal units is statistically analyzed, the binary data corresponding to each binary signal unit is determined, and the binary data is spliced ​​together according to the original order of the binary signal units to determine the pulse width data of the current signal.

[0071] In one specific embodiment, the fire protection two-wire bus technology employs a method of transmitting voltage and receiving current, simultaneously supplying power to the bus and transmitting and receiving data on both lines. First, the loop device transmits a high voltage to supply power, and simultaneously sends pulses to the loop device to send a specific loop device address and control commands, then waits for status responses from each loop device.

[0072] Specifically, during data transmission, wavelength division multiplexing (WDM) technology is employed. This means that high and low voltage levels are used to represent the transmitted digital 0s and 1s, while pulse width is used to represent the digital 0s and 1s of another type of transmitted signal. This allows for the simultaneous transmission of two different signals to the loop device, i.e., receiving both the first and second commands simultaneously.

[0073] Furthermore, transmission signals with a pulse width of 200µs or less are defined as narrow signals, i.e., the digital representation of the transmission signal is 0; transmission signals with a pulse width of more than 200µs are defined as wide signals, i.e., the digital representation of the transmission signal is 1.

[0074] In other embodiments, the definition limits of the narrow and wide signals can be set as needed, and transmission signals with a pulse width of less than 100µs can be defined as normal signals, that is, no second instruction is transmitted.

[0075] In another specific embodiment, for a loop device with two types of current signals, a small current of 10mA is used to represent the digital 0, and a large current of 20mA is used to represent the digital 1.

[0076] In one specific embodiment, the first instruction includes a device address and a control command; the second instruction includes a device upgrade command.

[0077] Specifically, an equipment upgrade command can be an instruction to upgrade the program of a certain type of loop equipment.

[0078] In a preferred embodiment, in step S103, in order to set pulse width comparison data, such as... Figure 3 As shown, Figure 3 A flowchart illustrating an embodiment of setting pulse width comparison data provided by the present invention includes:

[0079] Step S131: Set up a corresponding binary instruction sequence according to the instruction sample, wherein the instruction sample includes at least one instruction.

[0080] Step S132: Decompose the binary instruction sequence to determine multiple binary sample units.

[0081] Step S133: Determine the pulse width reference data based on multiple binary sample units.

[0082] In this embodiment, firstly, a binary instruction sequence is set according to the instruction sample, wherein the instruction sample includes at least one instruction; secondly, the binary instruction sequence is decomposed to determine multiple binary sample units; finally, pulse width reference data is determined according to the multiple binary sample units.

[0083] In this embodiment, pre-set instruction samples are encoded to correspond to binary instruction sequences, thus achieving a one-to-one correspondence between instructions and binary data. Then, the binary instruction sequences are decomposed to match them with current signals. In other words, by setting corresponding binary instruction sequences for instruction samples, a one-to-one correspondence between instructions and current signals is achieved, ultimately determining the corresponding pulse width mapping data.

[0084] In a preferred embodiment, in step S133, in order to determine the pulse width reference data corresponding to multiple binary sample units, such as... Figure 4 As shown, Figure 4 A flowchart illustrating an embodiment of the present invention for determining pulse width comparison data includes:

[0085] Step S1331: Based on multiple binary sample units, determine multiple binary numbers respectively, wherein the order of the multiple binary numbers is consistent with that of the multiple binary sample units.

[0086] Step S1332: Sort the multiple binary numbers according to the current transmission time to determine the binary standard number.

[0087] Step S1333: Determine the pulse width reference data based on the binary standard number.

[0088] In this embodiment, firstly, multiple binary numbers are determined according to multiple binary sample units, wherein the order of the multiple binary numbers is consistent with that of the multiple binary sample units, that is, the binary number corresponding to each binary sample unit is determined; then, the multiple binary numbers are sorted according to the current transmission time to determine the binary standard number, that is, the binary numbers are sorted according to the order of the binary sample units to obtain the complete binary standard number; finally, pulse width comparison data is determined according to the binary standard number.

[0089] In this embodiment, the binary number corresponding to each binary sample unit is obtained and sorted according to the current transmission time to determine its corresponding binary number, so as to achieve a one-to-one correspondence between the binary number and the pulse width comparison data.

[0090] In a preferred embodiment, in step S104, in order to determine the specific content of the second instruction of the current signal, such as... Figure 5 As shown, Figure 5 A flowchart illustrating an embodiment of the second instruction for determining a current signal provided by the present invention includes:

[0091] Step S141: Compare the pulse width data with the pulse width reference data to determine whether there is any pulse width reference data that is the same as the pulse width data.

[0092] Step S142: If yes, then determine that the second instruction is the instruction sample corresponding to the pulse width comparison data.

[0093] Step S143: If not, then determine that the second instruction is empty.

[0094] In this embodiment, firstly, the pulse width data and the pulse width reference data are compared to determine whether there is pulse width reference data that is the same as the pulse width data, that is, to determine whether there is pulse width reference data that completely corresponds to the pulse width data; if so, the second instruction is determined to be the instruction sample corresponding to the pulse width reference data, that is, the second instruction is determined to be a pre-set instruction sample corresponding to the pulse width reference data; if not, the second instruction is determined to be empty, that is, the binary data carried by the pulse width data is not the same as the pre-set instruction sample, and the second instruction does not contain any substantial instruction content.

[0095] In this embodiment, a pre-set pulse width comparison data is used as a standard to compare the pulse width data with the pulse width comparison data. This enables the acquisition of instruction information through the pulse width data of the current signal. Without adding additional communication equipment, the number of acquired instructions is effectively increased, and the communication efficiency of the fire protection bus is improved.

[0096] In this way, on the one hand, the first instruction of the current signal is directly determined by the level value of the current signal, which ensures the normal operation of the existing method of acquiring the current signal instruction; on the other hand, by acquiring the pulse width data of the current signal and combining it with the pre-set pulse width comparison data, the second instruction of the current signal is obtained. This achieves the goal of increasing the number of instructions obtained by analyzing and setting the width of the current signal without changing the existing communication management method of the fire protection bus, that is, it is possible to obtain two instructions from one current signal, thereby greatly improving the communication efficiency of the fire protection bus.

[0097] To address the aforementioned problems, this invention also provides a fire-fighting two-wire communication management system, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of an embodiment of the fire-fighting two-bus communication management system provided by the present invention. The fire-fighting two-bus communication management system 600 includes:

[0098] The signal acquisition module 601 is used to acquire the level value and pulse width data of the current signal;

[0099] The first instruction determination module 602 is used to determine the first instruction of the current signal based on the level value;

[0100] The pulse width comparison data setting module 603 is used to set pulse width comparison data, wherein the pulse width comparison data includes at least one.

[0101] The second instruction determination module 604 is used to compare the pulse width data and the pulse width comparison data to determine the second instruction of the current signal.

[0102] The communication management module 605 is used to manage the communication of the fire protection bus according to the first instruction and the second instruction.

[0103] To address the above problems, the present invention also provides an electronic device, such as... Figure 7 As shown, Figure 7 This is a structural block diagram of an embodiment of the electronic device provided by the present invention. The electronic device 700 can be a mobile terminal, desktop computer, laptop, handheld computer, server, or other computing device. The electronic device 700 includes a processor 701 and a memory 702, wherein the memory 702 stores a communication management program 703 for the fire alarm two-wire bus.

[0104] In some embodiments, memory 702 may be an internal storage unit of a computer device, such as a hard disk or memory. In other embodiments, memory 702 may be an external storage device of a computer device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc. Further, memory 702 may include both internal and external storage units of the computer device. Memory 702 is used to store application software and various types of data installed on the computer device, such as program code for installing the computer device. Memory 702 can also be used to temporarily store data that has been output or will be output. In one embodiment, the communication management program 703 of the fire-fighting secondary bus can be executed by processor 701 to implement the communication management method of the fire-fighting secondary bus according to various embodiments of the present invention.

[0105] In some embodiments, processor 701 may be a central processing unit (CPU), microprocessor or other data processing chip, used to run program code stored in memory 702 or process data, such as executing the communication management program of the fire-fighting bus.

[0106] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, database, or other storage media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0107] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A communication management method for a fire protection two-wire bus, characterized in that, include: Acquiring the level value and pulse width data of a current signal includes: acquiring an initial current signal and converting the initial current signal into a digital signal; determining the level value based on the digital signal; grouping the digital signal and determining the binary signal unit of each group of digital signals; and concatenating the binary signal units to determine the pulse width data. Based on the level value, a first instruction for the current signal is determined; Set pulse width comparison data, wherein the pulse width comparison data includes at least one; The pulse width data and the pulse width comparison data are compared to determine the second instruction of the current signal; The fire protection bus is managed for communication according to the first instruction and the second instruction.

2. The communication management method for the fire protection two-wire bus according to claim 1, characterized in that, The set pulse width comparison data includes: Based on the instruction sample, a corresponding binary instruction sequence is set, wherein the instruction sample includes at least one instruction. The binary instruction sequence is decomposed to determine multiple binary sample units; The pulse width reference data is determined based on multiple binary sample units.

3. The communication management method for the fire protection two-wire bus according to claim 2, characterized in that, Based on multiple binary sample units, the pulse width reference data is determined accordingly, including: Based on the plurality of binary sample units, a plurality of binary numbers are determined respectively, wherein the plurality of binary numbers are in the same order as the plurality of binary sample units; The binary numbers are sorted according to the current transmission time to determine the binary standard number; The pulse width reference data is determined based on the binary standard number.

4. The communication management method for the fire protection two-wire bus according to claim 2, characterized in that, Comparing the pulse width data with the pulse width comparison data to determine the second instruction of the current signal includes: The pulse width data is compared with the pulse width comparison data to determine whether there is any pulse width comparison data that is the same as the pulse width data. If so, then the second instruction is determined to be the instruction sample corresponding to the pulse width comparison data; If not, then the second instruction is determined to be empty.

5. The communication management method for the fire protection two-wire bus according to claim 1, characterized in that, The first instruction includes the device address and control commands.

6. The communication management method for the fire protection two-wire bus according to claim 1, characterized in that, The second instruction includes a device upgrade command.

7. A fire protection two-wire communication management system, characterized in that, include: The signal acquisition module is used to acquire the level value and pulse width data of a current signal, including: acquiring an initial current signal and converting the initial current signal into a digital signal; determining the level value based on the digital signal; grouping the digital signal and determining the binary signal unit of each group of digital signals; and concatenating the binary signal units to determine the pulse width data. The first instruction determination module is used to determine the first instruction of the current signal based on the level value; A pulse width comparison data setting module is used to set pulse width comparison data, wherein the pulse width comparison data includes at least one. The second instruction determination module is used to compare the pulse width data with the pulse width comparison data to determine the second instruction of the current signal; The communication management module is used to manage the communication of the fire protection bus according to the first instruction and the second instruction.

8. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the communication management method of the fire-fighting two-bus as described in any one of claims 1-6.