Automatic addressing method and system for loop equipment of fire detection alarm display controller

Through the automatic electronic addressing method, the communication address and user address are automatically allocated to the loop equipment in the fire detection alarm system, solving the problems of low addressing efficiency and complex manual addressing in the prior art, and achieving efficient and flexible device addressing.

CN119992788APending Publication Date: 2025-05-13SHANGHAI MARINE ELECTRONIC EQUIP RES INST (NO 726 RES INST OF CHINA STATE SHIPBUILDING CORP)
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411902844.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the existing fire detection and alarm systems, loop equipment addressing efficiency is low, manual addressing is prone to errors, and attention to the current address is required when replacing the equipment, and the operation is complicated.

Method used

The automatic electronic addressing method is adopted to automatically assign a unique communication address and user address to the loop device by sending serial number preparation instructions, obtaining device serial numbers, drawing device layout diagrams and displaying device layout diagrams, so as to realize automatic device addressing.

Benefits of technology

It improves the flexibility and efficiency of loop equipment addressing, reduces the error rate of manual addressing, simplifies the equipment replacement process, and is simple and scientific and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119992788A_ABST
    Figure CN119992788A_ABST
Patent Text Reader

Abstract

The invention provides an automatic addressing method and system for loop equipment of a fire detection alarm display controller, and the method comprises the steps: S1, transmitting a serial number preparation instruction, judging whether the number of times of transmission is greater than or equal to two, and if yes, executing S2; if not, not processing; s2, acquiring a serial number based on the serial number preparation instruction; acquiring addresses of all devices according to the serial numbers; s3, drawing a map based on the communication addresses of all the devices, and obtaining and displaying a device arrangement diagram; and S4, based on the equipment arrangement diagram, changing the information of the equipment, and downloading the information of the equipment. When the equipment is replaced, the function of addressing the replaced loop equipment according to the current position is achieved, only direct replacement is needed, the address of the current equipment does not need to be paid attention to, and operation is easy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of fire detection alarm display controller loop communication technology, and in particular, relates to a method and system for automatic addressing of fire detection alarm display controller loop equipment. More specifically, it is a fire detection alarm display controller loop equipment automatic addressing technology, in other words, a loop equipment automatic addressing technology. Background Art

[0002] In the fire protection system, loop device addressing technology is a key technology in the fire detection alarm display controller. It involves how to assign unique address codes to the loop devices in the system so that the system can accurately identify and respond to fire alarms, status feedback, control output and other signals.

[0003] There are two common addressing methods for fire detection alarm display controller loop devices, namely electronic encoder addressing and binary dial switch addressing. When the number of loop devices is large, the above two encoding methods require a lot of manpower to manually complete the encoding operation, and the encoding efficiency is low. In addition, when the loop device is repaired or replaced, it is necessary to know the address of the current loop device, which is easy to cause coding errors.

[0004] Patent document CN109377700A discloses a software automatic addressing method and system, which is used to realize that the fire alarm controller in the system automatically encodes the address number of the device node connected to it. The device node adopts a step-by-step series connection method, and is provided with an input end and an output end. The fire alarm controller reads the serial number of the device node and writes the system virtual address according to the serial number. When the device node detects that the virtual address has been written to the local machine, it opens the back end and supplies power to the next cascade node. The automatic addressing method of this patent is not flexible enough. According to the description, it is limited to the step-by-step series connection method, which cannot cope with the complex situations of actual engineering applications; in addition, the addressing method is completed by the CPU. After the addressing is completed, the engineering personnel cannot see the actual address of the loop equipment, which brings new problems to the subsequent maintenance and replacement.

[0005] Patent document CN109035670A discloses a fire alarm system and an address coding method thereof. The scheme sets a broadcast mode to periodically send inspection commands to each addressed unit. The addressed unit without alarm information does not respond to the broadcast information sent by the alarm controller. Only the addressed unit that generates an alarm signal responds to the broadcast information and sends the address code of the addressed unit. At the same time, a full-duplex communication mode is adopted between the addressed unit and the alarm. The alarm controller periodically sends inspection commands. When a fire occurs between the sending of two inspection commands, the addressed unit in the area can actively send the address code of the addressed unit to the alarm controller. This communication method can reduce the response time of the fire alarm, and the alarm controller receives the alarm information quickly. The entire system uses an addressing device to address the addressed units on the bus, which can reduce the error rate of address coding and reduce the number of system debugging steps. However, this address coding method requires additional addressing equipment to be installed on the base, and the addressing equipment needs to be used to address the addressing units on the bus in sequence. This addressing method will consume a lot of manpower to install addressing equipment in medium and large projects with a large number of addressing units. In addition, it still relies on manual addressing, which is prone to address omissions and duplication, thus affecting the progress of the project and rework, resulting in waste of resources and property losses. This problem needs to be solved urgently. Summary of the invention

[0006] In view of the defects in the prior art, the object of the present invention is to provide a method and system for automatic addressing of loop equipment of a fire detection alarm display controller.

[0007] According to the present invention, a method for automatically addressing loop equipment of a fire detection alarm display controller includes:

[0008] Step S1: Send the sequence number preparation instruction, and determine whether the number of times of sending is greater than or equal to two times. If the result is yes, then execute step S2; if the result is no, then do not process;

[0009] Step S2: Based on the serial number preparation instruction, obtain the serial number; obtain the addresses of all devices according to the serial number;

[0010] Step S3: based on the communication addresses of all the devices, draw a map to obtain and display a device layout diagram;

[0011] Step S4: Based on the equipment layout diagram, modify the equipment information and download the equipment information.

[0012] Preferably, in the step S1, the serial number preparation instruction includes: "AA 01 01 05";

[0013] In step S2, the device is used for fire detection and alarm; the device includes: a point-type smoke detector, a point-type temperature detector, a point-type smoke-temperature composite detector, a manual fire alarm button, an input module, an output module and an input-output module.

[0014] In the step S2, it includes:

[0015] Step S2.1: Send a new device check instruction; the new device check instruction includes: "AA 01 02 05";

[0016] Step S2.2: Based on the check new device instruction, instruct the device to send a reply message;

[0017] Step S2.3: Based on the reply information, send a serial number acquisition instruction; the serial number acquisition instruction includes: "AA 01 03 05";

[0018] Step S2.4: based on the serial number acquisition instruction, the serial numbers of all devices are acquired; an acquisition communication address instruction is sent; the acquisition communication address instruction includes: "AA 05+serial number+04 05";

[0019] Step S2.5: Based on the instruction to obtain the communication address, instruct the device to reply with the communication address; determine whether the communication address already exists; if yes, send a communication address modification instruction to modify the communication address to an unused communication address within 1 to 255 and save it; if no, do not process it.

[0020] Preferably, the step S3 includes:

[0021] Step S3.1: sending an electronic layout map drawing instruction according to the communication address;

[0022] Step S3.2: according to the electronic layout map drawing instruction, the device is instructed to reply with an address; the address includes: location information and user address; the communication address ranges from 1 to 255, and the user address ranges from 1 to 500;

[0023] Step S3.3: Based on the serial number, communication address, location information and user address, a map is drawn to obtain and display a device layout diagram.

[0024] Preferably, in step S4, it is determined whether the communication address of the device is the same as the user address. If the result is yes, no processing is performed; if the result is no, modification is performed.

[0025] According to the present invention, a fire detection alarm display controller loop equipment automatic addressing system is provided, comprising:

[0026] Module M1: Send the serial number preparation instruction to determine whether the number of times it is sent is greater than or equal to two times. If the result is yes, it triggers module M2 to work; if the result is no, it will not be processed;

[0027] Module M2: Prepare instructions based on the serial number, obtain the serial number; obtain the addresses of all devices according to the serial number;

[0028] Module M3: based on the communication addresses of all the devices, draw a map, obtain and display the equipment layout diagram;

[0029] Module M4: based on the equipment layout diagram, modify the equipment information and download the equipment information.

[0030] Preferably, in the module M1, the serial number preparation instruction includes: “AA 01 01 05”;

[0031] In the module M2, the device is used for fire detection and alarm; the device includes: a point-type smoke detector, a point-type temperature detector, a point-type smoke-temperature composite detector, a manual fire alarm button, an input module, an output module and an input-output module.

[0032] The module M2 includes:

[0033] Module M2.1: Send a new device check instruction; the new device check instruction includes: "AA 01 02 05";

[0034] Module M2.2: Based on the check new device instruction, instruct the device to send a reply message;

[0035] Module M2.3: Based on the reply information, send a serial number acquisition instruction; the serial number acquisition instruction includes: "AA 01 03 05";

[0036] Module M2.4: based on the serial number acquisition instruction, the serial numbers of all devices are acquired; an acquisition communication address instruction is sent; the acquisition communication address instruction includes: "AA 05+serial number+04 05";

[0037] Module M2.5: Based on the instruction to obtain the communication address, the device is instructed to reply with the communication address; if the communication address already exists, a communication address modification instruction is sent to modify the communication address to an unused communication address within the range of 1 to 255 and save the address; if the communication address does not exist, no processing is performed.

[0038] Preferably, the module M3 includes:

[0039] Module M3.1: sending an electronic layout map drawing instruction according to the communication address;

[0040] Module M3.2: according to the electronic layout map drawing instruction, the device is instructed to reply with an address; the address includes: location information and user address; the communication address ranges from 1 to 255, and the user address ranges from 1 to 500;

[0041] Module M3.3: Based on the serial number, communication address, location information and user address, draw a map to obtain and display the equipment layout diagram.

[0042] Preferably, in the module M4, it is determined whether the communication address of the device is the same as the user address. If the result is yes, no processing is performed; if the result is no, modification is performed.

[0043] According to a computer-readable storage medium storing a computer program provided by the present invention, when the computer program is executed by a processor, the steps of the automatic addressing method of the loop device of the fire detection alarm display controller are implemented.

[0044] An electronic device provided according to the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the automatic addressing method for the loop device of the fire detection alarm display controller are implemented.

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] 1. The present invention adopts an automatic electronic addressing method, which does not require manual addressing of loop devices, and the addressing method is flexible and efficient. Specifically, according to the automatic electronic addressing method provided by the present invention, the device only needs to be connected to the bus, interact with the device through bus communication, automatically identify the serial number of the device, and obtain device information in sequence after bus arbitration. At the same time, a unique communication address is automatically set for the device, a map is drawn, and a device layout diagram is obtained and displayed through a touch screen display module, and user address allocation is completed according to user needs.

[0047] 2. The present invention adopts two sets of address systems, communication address and user address, to separate the address used for link layer communication and the address used for user layer. Users can flexibly compile user addresses according to the needs of engineering projects without affecting bus communication. The addressing method has the characteristics of clear hierarchy, scientific and reliable, and solves the problem of inflexibility of manual addressing.

[0048] 3. When replacing equipment, the present invention has the function of addressing the replaced loop equipment according to the current position. It only needs to be replaced directly without paying attention to the address of the current equipment, and the operation is simple. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0050] Figure 1 A schematic diagram of the composition of the fire detection alarm display controller provided by the present invention;

[0051] Figure 2 Schematic diagram of three wiring modes of the loop device and the loop communication module provided by the present invention;

[0052] Figure 3 A schematic diagram of the automatic addressing process provided by the present invention;

[0053] Figure 4 A schematic diagram of the addressing process in the case of replacing equipment provided by the present invention. DETAILED DESCRIPTION

[0054] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0055] Embodiment 1, the fire detection alarm display controller of the present invention is as follows Figure 1 As shown, it includes: a CPU host module, a loop communication module, a power module, and a touch screen configuration display module.

[0056] CPU host module, fire detection alarm display controller information centralized processing, used for information interaction with loop communication module and touch screen configuration display module;

[0057] The loop communication module is responsible for loop bus communication, collecting loop device information and location information, and reporting to the CPU host module, receiving loop device configuration data information downloaded by the CPU, and automatically addressing the loop devices;

[0058] The power module is responsible for supplying power to the fire detection alarm display controller and loop equipment;

[0059] The touch screen configuration display module is responsible for displaying the status information of the fire detection alarm display controller, showing the electronic layout map of the loop, and configuring the address information of the loop equipment;

[0060] The loop device and the loop communication module communicate in a two-bus manner. The two-bus signal line is led out from the loop communication module and connected to the loop input end of the loop device, and then the loop output end of the loop device is connected to the loop input end of the next loop device, and so on. The entire loop is connected in a ring connection, branch connection or mixed connection mode, such as Figure 2 shown.

[0061] In other words, the loop communication module and the peripheral loop device use two buses to communicate. The entire loop can be connected in a ring connection, a branch connection or a mixed connection. The connection method is diverse and not limited to the step-by-step series connection method, such as Figure 2 shown.

[0062] The types of loop equipment provided by the present invention include: point-type smoke detectors, point-type temperature detectors, point-type smoke-temperature composite detectors, manual fire alarm buttons, input modules, output modules and input-output modules.

[0063] Embodiment 2, based on the fire detection alarm display controller loop device described in the above embodiment, should also include that the loop device uses two sets of loop device addresses, one set is a communication address, and the other set is a user address. The communication address ranges from 1-255, and the user address ranges from 1-500.

[0064] Each of the loop devices described has a unique 4-byte serial number built into it.

[0065] The present invention distinguishes two types of loop communication module address configuration states, one is an unconfigured state, i.e. 0xFF, and the other is a configured state, i.e. 0x01. The configuration state is stored in the loop communication module FLASH, and the state is read and determined each time the loop communication module is powered on or restarted.

[0066] Each loop device of the present invention has a unique 4-byte serial number built in.

[0067] After the loop communication module is powered on or restarted, the loop communication module broadcasts the serial number acquisition preparation instruction "AA 01 01 05" twice.

[0068] The loop communication module broadcasts the command "AA 01 02 05" to check new devices. All loop devices that have not reported serial numbers begin to reply "08". After receiving "08", the loop communication module sends the serial number acquisition command "AA 01 0305". The loop devices that have not reported serial numbers report their serial numbers at the same time. The loop communication module uses an arbitration mechanism to obtain serial numbers and only obtains one serial number at a time.

[0069] Determine if the current loop device data configuration status is 0xFF, and then determine if the communication address already exists, send the communication address modification instruction "AA 06+serial number+05+communication address+05" to modify it to an unused communication address within 1-255, use the communication address acquisition instruction "AA 05+serial number+03 05" to read and confirm that the communication address has been modified, and save it in the SRAM of the loop communication module.

[0070] Determine if the current loop device data configuration status is 0x01, and then determine whether the communication address is the same as the address in FLASH. If not, send the communication address modification instruction "AA 06+serial number+05+communication address+05" to change it to the same communication address, use the communication address acquisition instruction "AA 05+serial number+03 05" to read and confirm that the communication address has been modified, and save it in the SRAM of the loop communication module.

[0071] Send the command "AA 05+serial number+06 05" to obtain the user address, and the loop device will reply with the user address.

[0072] If the current loop device data configuration state is determined to be 0xFF, the user address is saved in the SRAM of the loop communication module.

[0073] Determine if the current loop device data configuration status is 0x01, and then determine if the user address is the same as the address in FLASH. If not, send the user address modification instruction "AA 07+serial number+07+user address+05" to modify it to the same user address, use the user address acquisition instruction "AA 05+serial number+06 05" to read again and confirm that the user address has been modified, and save it in the SRAM of the loop communication module.

[0074] And so on, until all loop device addresses are acquired. So far, the serial number, communication address and user address of the loop device have all been acquired. If the loop device data configuration status is 0x01 at this time, the addressing of all loop devices is completed.

[0075] If the loop device data configuration status is 0x0F, then the drawing of the loop device electronic layout map is completed.

[0076] Send the electronic layout map drawing command "AA 01+communication address+07 05", and the loop device with the same communication address will reply with its own location information after recognizing this command. Repeat the same operation until the location information of all loop devices is obtained.

[0077] The serial number, communication address, user address and location information of all loop devices are uploaded to the touch screen configuration display module to display the electronic layout map of the loop devices.

[0078] According to actual project needs, set the user address of the loop equipment on the electronic layout map of the loop equipment.

[0079] After the setup is completed, the modified serial numbers, communication addresses, user addresses and location information of all loop devices are downloaded to the loop communication module.

[0080] After receiving the loop device information, the loop communication module restarts and repeats the above operation, first obtaining the serial number, then obtaining the communication address and user address. If it is found that the communication address and user address are different, they are modified until all loop devices are scanned and the loop devices are encoded.

[0081] When the loop equipment is operating normally, replace the loop equipment and perform addressing operations on the loop equipment.

[0082] After replacement, the loop communication module sends the new device check command "AA 01 02 05", and the newly replaced loop device replies "08". After receiving 08, the loop communication module sends the serial number acquisition command "AA 01 03 05" to return the serial number of the newly replaced loop device. After obtaining the serial number, the loop communication module sends the communication address acquisition command "AA 05+serial number+04 05" to obtain the communication address of the newly replaced device. At this time, it is determined whether the communication address is repeated with the communication address stored in FLASH. If it is repeated, the communication address modification command "AA 06+serial number+05+communication address+05" needs to be sent to modify it to an unused command.

[0083] Send the electronic map drawing command "AA 01+communication address+07 05", determine the location of the replaced loop device according to the replied location information, directly use the address modification command to write the address information of the replaced device at that location into the replaced loop device, and update the loop device information of the FLASH in the loop communication module at the same time.

[0084] Example 3, the fire detection alarm display controller loop device automatic addressing method of the present invention, when the loop communication module is not configured, that is, 0xFF, such as Figure 3 As shown, the following steps are included:

[0085] (1) After the loop communication module is powered on, the loop communication module broadcasts the serial number acquisition preparation instruction "AA 010105" twice in succession.

[0086] (2) The loop communication module broadcasts the command "AA 01 02 05" to check for new devices. All loop devices that have not reported their serial numbers begin to reply with "08". After receiving "08", the loop communication module sends the command "AA 010305" to obtain the serial number. The loop devices that have not reported their serial numbers report their serial numbers at the same time. The loop communication module uses an arbitration mechanism to obtain the serial number and only obtains one serial number at a time.

[0087] (3) The loop communication module sends the communication address acquisition instruction “AA 05+serial number+04 05”, and the loop device replies with the communication address.

[0088] (4) If the communication address already exists, send the communication address modification instruction "AA 06+serial number+05+communication address+05" to modify it to an unused communication address within 1-255, use the communication address acquisition instruction "AA 05+serial number+0305" to read and confirm that the communication address has been modified, and save it in the SRAM of the loop communication module.

[0089] (5) Send the command to obtain the user address "AA 05+serial number+06 05", the loop device replies with the user address and saves the user address in the SRAM of the loop communication module.

[0090] (6) And so on, until all loop device addresses are acquired.

[0091] (7) Next, the electronic layout map of the loop equipment is drawn. The map drawing command "AA 01+communication address+07 05" is sent. After the loop equipment with the same communication address recognizes this command, it replies with its own location information. Repeat the same operation until the location information of all loop equipment is obtained.

[0092] (8) The serial number, communication address, user address and location information of all loop devices are uploaded to the touch screen configuration display module to display the electronic layout map of the loop devices.

[0093] (9) According to the actual project needs, set the user address of the loop equipment on the electronic layout map of the loop equipment.

[0094] (10) After the setting is completed, the modified serial number, communication address, user address and location information of all loop devices are downloaded to the loop communication module.

[0095] Example 4, the fire detection alarm display controller loop device automatic addressing method of the present invention, based on the above embodiments, when the loop communication module is configured, that is, 0x01, such as Figure 3As shown, the following steps are included: (1) After the loop communication module is powered on, the loop communication module broadcasts and sends the serial number preparation instruction "AA 01 01 05" twice.

[0096] (2) The loop communication module broadcasts the command "AA 01 02 05" to check for new devices. All loop devices that have not reported their serial numbers begin to reply with "08". After receiving "08", the loop communication module sends the command "AA 010305" to obtain the serial number. The loop devices that have not reported their serial numbers report their serial numbers at the same time. The loop communication module uses an arbitration mechanism to obtain the serial number and only obtains one serial number at a time.

[0097] (3) The loop communication module sends the communication address acquisition instruction “AA 05+serial number+04 05”, and the loop device replies with the communication address.

[0098] (4) Determine whether the communication address is the same as the address in FLASH. If not, send the communication address modification instruction "AA 06 + serial number + 05 + communication address + 05" to change it to the same communication address. Use the communication address acquisition instruction "AA 05 + serial number + 03 05" to read and confirm that the communication address has been modified and save it in the SRAM of the loop communication module.

[0099] (5) Send the command “AA 05+serial number+06 05” to obtain the user address, and the loop device replies with the user address.

[0100] (6) Then determine whether the user address is the same as the address in FLASH. If not, send the user address modification instruction "AA 07+serial number+07+user address+05" to modify it to the same user address, use the user address acquisition instruction "AA 05+serial number+06 05" to read and confirm that the user address has been modified, and save it in the SRAM of the loop communication module.

[0101] (7) And so on, until all loop device addresses are acquired. So far, the serial number, communication address and user address of the loop device have all been acquired. All loop devices are addressed.

[0102] Example 5, the fire detection alarm display controller loop device automatic addressing method of the present invention, when the loop device is in normal process, if the loop device fails and needs to be replaced, it is necessary to re-address the replaced loop device, such as Figure 4 As shown, the specific steps include the following steps.

[0103] (1) After replacement, the loop communication module sends a new device check command "AA 01 02 05", and the newly replaced loop device replies "08", and the loop communication module receives 08.

[0104] (2) Send the serial number acquisition command "AA 01 03 05" to obtain the serial number of the newly replaced loop device.

[0105] (3) The loop communication module sends the communication address acquisition command "AA 05+serial number+04 05" to obtain the communication address of the newly replaced device.

[0106] (4) Determine whether the communication address is the same as the communication address stored in FLASH. If it is the same, send a communication address modification instruction “AA 06+serial number+05+communication address+05” to modify it to an unused communication address.

[0107] (5) Send the electronic layout map drawing command "AA 01+communication address+07 05", determine the position of the replaced loop device in the entire electronic layout map based on the replied location information, compare the electronic layout map stored in the FLASH, find the changed communication address and user address, and directly use the address modification command to write the address information of the replaced device at the position into the replaced loop device. Automatic addressing is completed, and the loop device address information and serial number of the FLASH in the loop communication module are updated at the same time.

[0108] The present invention also provides a fire detection alarm display controller loop equipment automatic addressing system, which can be implemented by executing the process steps of the fire detection alarm display controller loop equipment automatic addressing method, that is, those skilled in the art can understand the fire detection alarm display controller loop equipment automatic addressing method as a preferred implementation of the fire detection alarm display controller loop equipment automatic addressing system.

[0109] According to the present invention, a fire detection alarm display controller loop equipment automatic addressing system is provided, comprising:

[0110] Module M1: Send the serial number preparation instruction to determine whether the number of times it is sent is greater than or equal to two times. If the result is yes, it triggers module M2 to work; if the result is no, it will not be processed;

[0111] Module M2: Prepare instructions based on the serial number, obtain the serial number; obtain the addresses of all devices according to the serial number;

[0112] Module M3: based on the communication addresses of all the devices, draw a map, obtain and display the equipment layout diagram;

[0113] Module M4: based on the equipment layout diagram, modify the equipment information and download the equipment information.

[0114] The modules M1 to M4 are submodules of the loop communication module.

[0115] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0116] In the description of the present application, it should be understood that the terms "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0117] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A method for automatic addressing of loop equipment of a fire detection alarm display controller, characterized in that: include: Step S1: Send a sequence number preparation instruction and determine whether the number of times of sending is greater than or equal to two times. If the result is yes, execute step S2; If the result is no, no processing will be done; Step S2: Based on the serial number preparation instruction, obtain the serial number; obtain the addresses of all devices according to the serial number; Step S3: based on the communication addresses of all the devices, draw a map to obtain and display a device layout diagram; Step S4: Based on the equipment layout diagram, modify the equipment information and download the equipment information.

2. The method for automatic addressing of loop equipment of a fire detection alarm display controller according to claim 1, characterized in that: In the step S1, the serial number preparation instruction includes: "AA 01 01 05"; In the step S2, the device is used for fire detection and alarm; In the step S2, it includes: Step S2.1: Send a new device check instruction; the new device check instruction includes: "AA 01 02 05"; Step S2.2: Based on the check new device instruction, instruct the device to send a reply message; Step S2.3: Based on the reply information, send a serial number acquisition instruction; the serial number acquisition instruction includes: "AA01 03 05"; Step S2.4: based on the serial number acquisition instruction, the serial numbers of all devices are acquired; a communication address acquisition instruction is sent; the communication address acquisition instruction includes: "AA 05+serial number+04 05"; Step S2.5: Based on the instruction to obtain the communication address, instruct the device to reply with the communication address; determine whether the communication address already exists; if yes, send a communication address modification instruction to modify the communication address to an unused communication address within 1 to 255 and save it; if no, do not process it.

3. The method for automatic addressing of loop equipment of a fire detection alarm display controller according to claim 2, characterized in that: In the step S3, it includes: Step S3.1: sending an electronic layout map drawing instruction according to the communication address; Step S3.2: according to the electronic layout map drawing instruction, the device is instructed to reply with an address; the address includes: location information and user address; the communication address ranges from 1 to 255, and the user address ranges from 1 to 500; Step S3.3: Based on the serial number, communication address, location information and user address, a map is drawn to obtain and display a device layout diagram.

4. The method for automatic addressing of loop equipment of a fire detection alarm display controller according to claim 1, characterized in that: In step S4, it is determined whether the communication address of the device is the same as the user address. If yes, no processing is performed; if no, modification is performed.

5. An automatic addressing system for loop equipment of a fire detection alarm display controller, characterized in that: include: Module M1: Send the serial number preparation instruction and determine whether the number of times it is sent is greater than or equal to two times. If the result is yes, it triggers the operation of module M2; If the result is no, no processing will be done; Module M2: Prepare instructions based on the serial number, obtain the serial number; obtain the addresses of all devices according to the serial number; Module M3: based on the communication addresses of all the devices, draw a map, obtain and display the equipment layout diagram; Module M4: based on the equipment layout diagram, modify the equipment information and download the equipment information.

6. The automatic addressing system for loop equipment of fire detection alarm display controller according to claim 5, characterized in that: In the module M1, the serial number preparation instruction includes: "AA 01 01 05"; In the module M2, the device is used for fire detection alarm; The module M2 includes: Module M2.1: Send a new device check instruction; the new device check instruction includes: "AA 01 02 05"; Module M2.2: Based on the check new device instruction, instruct the device to send a reply message; Module M2.3: Based on the reply information, send a serial number acquisition instruction; the serial number acquisition instruction includes: "AA01 03 05"; Module M2.4: based on the serial number acquisition instruction, the serial numbers of all devices are acquired; a communication address acquisition instruction is sent; the communication address acquisition instruction includes: "AA 05+serial number+04 05"; Module M2.5: Based on the instruction to obtain the communication address, the device is instructed to reply with the communication address; if the communication address already exists, a communication address modification instruction is sent to modify the communication address to an unused communication address within the range of 1 to 255 and save the address; if the communication address does not exist, no processing is performed.

7. The automatic addressing system for loop equipment of fire detection alarm display controller according to claim 6 is characterized in that: The module M3 includes: Module M3.1: sending an electronic layout map drawing instruction according to the communication address; Module M3.2: according to the electronic layout map drawing instruction, the device is instructed to reply with an address; the address includes: location information and user address; the communication address ranges from 1 to 255, and the user address ranges from 1 to 500; Module M3.3: Based on the serial number, communication address, location information and user address, draw a map to obtain and display the equipment layout diagram.

8. The automatic addressing system for loop equipment of fire detection alarm display controller according to claim 5 is characterized in that: In the module M4, it is determined whether the communication address of the device is the same as the user address. If the result is yes, no processing is performed; if the result is no, modification is performed.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for automatic addressing of loop equipment of a fire detection alarm display controller according to any one of claims 1 to 4 are implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by a processor, the steps of the method for automatic addressing of loop equipment of a fire detection alarm display controller according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Fire alarm system and address coding method thereof

    CN109035670A

  • Fire alarm controller loop unit and control method thereof

    CN103530969A

  • Software automatic addressing method and system

    CN109377700A

  • Fire detection alarm system and addressing method for detector in fire detection alarm system

    CN110349387A

  • Lamp point address allocation method and device for LED lamp string

    CN115665924A