Remote control device of fire-fighting host

By identifying and mapping relay combinations in the remote control device of the fire alarm control panel, the complexity of remote control of the fire alarm control panel is solved, and multiple control buttons are effectively matched with relays, simplifying the operation of the control panel.

CN121418698APending Publication Date: 2026-01-27CHONGQING DAHENG BUILDING INTELLIGENT ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511991201.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-26
Publication Date
2026-01-27

AI Technical Summary

Technical Problem

The existing remote control schemes for fire alarm control panels are complex due to the large number and variety of fire electrical equipment they need to be connected to, making it difficult to effectively achieve remote control.

Method used

By identifying the good relays in the relay module within the remote control device of the fire alarm control panel, determining the relay combination method based on the number of good relays, generating a relay combination set, and mapping it to the control signals corresponding to the control keys on the fire alarm control panel, remote control can be achieved.

Benefits of technology

It enables the matching of multiple control buttons and relays on the fire alarm control panel, meets the remote control requirements of the fire alarm control panel, and simplifies the operation of the control panel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121418698A_ABST
    Figure CN121418698A_ABST
Patent Text Reader

Abstract

The invention discloses a remote control device of a fire-fighting host, and belongs to the field of fire-fighting alarm control. A relay module; the controller is electrically connected with the communication module and the relay module respectively, and the controller is configured to determine a benign relay in the relay module; determining a combination mode of the relays according to the number of the benign relays, and generating a relay combination set; determining a standby subset from the relay combination set, and mapping each element in the standby subset with a control signal corresponding to a control key position on the fire-fighting host; receiving a target control signal corresponding to a control key position on the fire-fighting host based on the communication module, and determining a corresponding target relay combination in the standby subset according to the target control signal; and controlling the corresponding relay in the target relay combination so as to execute remote control according to the control result of the relay. According to the invention, remote control of the complex control panel of the fire-fighting host can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of fire alarm control, and more particularly to a remote control device for a fire alarm control panel. Background Technology

[0002] Fire remote control technology involves the fire control panel acquiring monitoring data, receiving and displaying alarm information based on the alarm reception system of the monitoring center, and then remotely controlling the fire control panel to activate the fire equipment after the on-duty personnel confirm the fire situation.

[0003] However, in actual fire protection remote control applications, the control panel of the fire control panel is relatively complex due to the large number and variety of fire protection electrical equipment that it is compatible with. Therefore, the remote control solution for the fire control panel remains a challenge that needs to be overcome at this stage. Summary of the Invention

[0004] This application aims to at least solve the technical problems existing in the prior art and provides a remote control device for a fire alarm control panel.

[0005] This application provides a remote control device for a fire alarm control panel, comprising: a communication module for transmitting data; a relay module including multiple relays; and a controller electrically connected to both the communication module and the relay module. The controller is configured to perform the following steps: determining the benign relays in the relay module; determining the relay combination method based on the number of benign relays and generating a relay combination set; determining a spare subset from the relay combination set and mapping each element in the spare subset to a control signal corresponding to a control key on the fire alarm control panel; receiving a target control signal corresponding to a control key on the fire alarm control panel based on the communication module and determining a target relay combination corresponding to the spare subset based on the target control signal; and controlling the relays corresponding to the target relay combinations to execute remote control corresponding to the control key on the fire alarm control panel based on the control result of the relays.

[0006] In one embodiment of this application, based on the above technical solution, it further includes: a verification button, wherein the verification button is configured to correspond to a relay in the relay module, and the verification button is electrically connected to the relay module and the controller respectively; when determining a virgin relay in the relay module, the controller is further configured to perform the following steps: acquiring the status signal of the corresponding relay when the verification button is pressed; judging the status of the relay according to the status signal, determining the virgin relay in the relay module according to the judgment result, and sending the judgment result to a preset remote control center through the communication module.

[0007] In one embodiment of this application, based on the above technical solution, the step of determining the combination method of the relays according to the number of benign relays and generating a relay combination set further includes: determining whether the number of control keys on the fire alarm control panel is greater than the number of benign relays; if yes, then determining the relay combination according to a preset combination number calculation formula, so as to generate a relay combination set based on the relay combination; if no, then determining each benign relay as a combination, so as to generate a relay combination set.

[0008] In one embodiment of this application, based on the above technical solution, the step of determining relay combinations according to a preset combination number calculation formula to generate a relay combination set further includes: determining the total number of good relays and the number of good relay units in each relay combination, wherein the number of units is less than or equal to the total number; inputting the total number into the combination number calculation formula, and inputting the number of units into the combination number calculation formula in increments to obtain the number of relay combinations and the number of relay combinations calculated each time; accumulating the number of relay combinations obtained each time until the accumulated value is greater than or equal to the number of control keys on the fire alarm control panel, stopping the input of the number of units, and generating a relay combination set based on the relay combinations obtained during the calculation process.

[0009] In one embodiment of this application, based on the above technical solution, the expression for the combination number calculation formula is as follows:

[0010]

[0011] In the above expression, C represents the mathematical symbol for the number of combinations, n represents the total number of benign relays, and m represents the number of benign relay units in each relay combination.

[0012] In one embodiment of this application, based on the above technical solution, the controller is further configured to perform the following steps: when the number of virgin relays is less than or equal to a preset maintenance value, a maintenance signal is generated; the maintenance signal is transmitted to the communication module so as to be sent to a preset remote control center through the communication module.

[0013] The technical solutions of this application embodiment can bring at least the following effects through the above-described inventive content:

[0014] The technical solution of this application can generate a relay combination set by determining the number of good relays in the relay module and the combination method of the relays based on the good relays. Simultaneously, a spare subset is determined within the relay combination set, and each element in the spare subset is mapped to the control signal corresponding to the control key on the fire alarm control panel. When the communication module receives the target control signal corresponding to the control key on the fire alarm control panel, it determines the target relay combination corresponding to the spare subset based on the target control signal, thereby controlling the relays in the target relay combination. Based on the control result of the relays, the remote control corresponding to the control key on the fire alarm control panel is executed. In this way, the technical solution of this application can achieve matching between multiple control buttons on the fire alarm control panel and relay combinations based on relay combination control, thus satisfying the remote control requirements of the fire alarm control panel.

[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0017] Figure 1 A schematic diagram of the overall structure of a remote control device shown as an exemplary embodiment of this application;

[0018] Figure 2 An overall flowchart illustrating the controller execution steps as an exemplary embodiment of this application;

[0019] Figure 3 A flowchart illustrating the execution steps of the controller during the verification button pressing process, as shown in an exemplary embodiment of this application;

[0020] Figure 4 A flowchart illustrating the controller execution steps of the relay assembly generation process, which is an exemplary embodiment of this application;

[0021] Figure 5 A flowchart illustrating the controller execution steps of a relay assembly generation process, as shown in another exemplary embodiment of this application;

[0022] Figure 6 A flowchart illustrating the execution steps of a benign relay judgment process controller, as shown in an exemplary embodiment of this application;

[0023] Figure 7This is a schematic diagram of a computer system architecture adapted to implement the execution steps in the controller, as illustrated in an exemplary embodiment of this application. Detailed Implementation

[0024] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0025] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a full understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., may be employed.

[0026] In other cases, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring any aspects of this application.

[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0028] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0029] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0030] Figure 1 This is a schematic diagram of the overall structure of a remote control device shown as an exemplary embodiment of this application, such as... Figure 1 As shown, the remote control device of the fire alarm control panel in this application may include at least a communication module 1, a relay module 2, and a controller 3.

[0031] The communication module 1 is used to transmit data.

[0032] Communication module 1 can be a wired module, such as a transmission module based on a network cable interface. Communication module 1 can also be a wireless module, such as a WiFi module, a mobile communication module (GSM, Global System for Mobile Communications), etc.

[0033] Of course, communication module 1 can be one or more of the examples above.

[0034] The relay module 2 may include multiple relays 21. For example, the commercially available model of relay 21 may be a small, medium-power 5V relay, such as HF49FD / 005-1H11T. It should be noted that this relay model is exemplary and does not limit the specific model of relay 21 in this application.

[0035] Controller 3 can be designed based on a programmable chip and compatible electronic components. Controller 3 can also be an existing programmable module, such as an STC microcontroller.

[0036] The controller 3 is electrically connected to the communication module 1 and the relay module 2 respectively.

[0037] The relay module 2 and the controller 3 can be electrically connected via a transistor array module 4, such as the ULN2003A module. The number of transistor array modules 4 is determined by the number of relays 21 in the relay module 2. This allows the transistor array module 4 to function as a driver module for the relays 21, providing a 500mA single-channel output capability and integrated freewheeling protection circuitry.

[0038] As an example, the relay module 2 of this application contains 20 relays 21 and the ULN2003A module has 7 output pins. Therefore, at least 3 ULN2003A modules are required to achieve the electrical connection between the relay module 2 and the controller 3.

[0039] In some embodiments, based on the above embodiments, the remote control device of this application further includes: a verification button 5.

[0040] Verification button 5 corresponds to relay 21 in relay module 2, and is electrically connected to both relay module 2 and controller 3. Verification button 5 is used to verify whether relay 21 is functioning correctly.

[0041] The electronic components and modules in the above embodiments can all be connected via the circuit board 6 pre-defined in this application. For example, the circuit board 6 can be a PCB circuit board adapted to the layout of the electronic components.

[0042] In some embodiments of this application, based on the above description of the structure of the remote control device, further... Figure 2 An overall flowchart illustrating the controller execution steps, as shown in the exemplary embodiments of this application, is as follows: Figure 2 As shown, the controller of this application can be configured to perform at least the following steps:

[0043] S200, Identify the benign relays in the relay module;

[0044] S210. Based on the number of benign relays, determine the relay combination method and generate a relay combination set;

[0045] S220. Determine a spare subset from the relay combination set, and map each element in the spare subset to the control signal corresponding to the control key on the fire alarm control panel.

[0046] S230: Receive the target control signal corresponding to the control key on the fire alarm control panel based on the communication module, and determine the target relay combination corresponding to the backup subset based on the target control signal;

[0047] S240. Control the corresponding relay in the target relay combination, so as to execute the remote control corresponding to the control key on the fire alarm control panel according to the control result of the relay.

[0048] Specifically, regarding the technical solution of this application, before using the remote control device, it is necessary to first determine the virgin relays in the relay module. A virgin relay refers to a relay that is not damaged. The information regarding the virgin relays in the relay module can be transmitted to the controller via the communication module, or it can be directly transmitted to the controller via a preset virgin relay detection circuit.

[0049] It should be noted that relays may be damaged during actual use of remote control devices. For example, overload current or abnormal voltage during use may cause relay damage. Other examples include relay damage due to environmental factors, mechanical failures, or contact problems.

[0050] To minimize the impact of damaged relays on the normal operation of remote control devices, after identifying the good relays, the combination method of the relays is determined based on the number of good relays. For example, two relays can be combined into one group, or three relays can be combined into one group. Of course, one relay can also be combined into one group, thus obtaining multiple different relay combinations, and a relay combination set is generated based on multiple different relay combinations.

[0051] It should be noted that within a relay combination set, the relay combinations can be the same or different. For example, in a relay combination set, all relay combinations are based on two relays. Another example is a set where some relay combinations are based on two relays, while others are based on three relays. This is not a limitation, but merely illustrative.

[0052] Furthermore, after generating the relay combination set, a spare subset is determined from the relay combination set.

[0053] It should be noted that the number of elements in the spare subset can be the same as the number of control keys on the fire control panel used to realize fire remote control. In other words, in the technical solution of this application, when determining the spare subset from the set of relay combinations, the number of elements in the spare subset can be determined according to the number of control keys corresponding to fire remote control.

[0054] Furthermore, each element in the spare subset is mapped to the control signal corresponding to the control key on the fire alarm control panel.

[0055] For example, there are three benign relays: a (first relay), b (second relay), and c (third relay). They will be referred to as a, b, and c in the following description.

[0056] The relay combination methods include 1 relay, 2 relays, and 3 relays, generating a relay combination set of {a, b, c, a+b, a+c, b+c, a+b+c}.

[0057] If the number of control keys on the fire alarm control panel is 4, then the spare subset can be composed of any 4 elements from the relay combination set, or 4 elements can be selected from the relay combination set in a certain order.

[0058] Taking the selection in a certain order as an example, the spare subset determined from the relay combination set is {a, b, c, a+b}.

[0059] On the fire alarm control panel, the control signals corresponding to the four control keys can be binary data signals 0001, 0010, 0011, and 0100.

[0060] Map 0001, 0010, 0011, and 0100 to the four elements in the spare subset. For example, map 0001 to 'a'; 0010 to 'b'; 0011 to 'c'; and 0100 to 'a+b'.

[0061] Furthermore, when executing remote control commands corresponding to the control keys on the fire alarm control panel, the system receives the target control signal corresponding to the control key on the fire alarm control panel via the communication module. For example, the received target control signal is 0100.

[0062] When determining the target relay combination corresponding to the spare subset based on the target control signal, the determined target relay combination is a+b.

[0063] Furthermore, the corresponding relays in the target relay combination are controlled. Based on the above example, this means controlling the first relay a and the second relay b. Based on the control results of the first relay a and the second relay b, the remote control corresponding to the control keys on the fire alarm control panel is executed. Specifically, the relays control the current flow in the circuit, thereby controlling the control keys to achieve the purpose of remote control.

[0064] It should be noted that the output terminal of the relay module in this application is not physically connected to the control buttons on the fire alarm control panel, but rather establishes a communication connection with the controller corresponding to the fire alarm control panel. When executing the remote control corresponding to the control button on the fire alarm control panel, the fire alarm control panel receives the electrical signal generated after the relay combination state in the remote control module changes. Since the electrical signal used to control the control buttons on the fire alarm control panel is fixed, in the technical solution of this application, the target control signal essentially corresponds to the electrical signal used to control the control buttons on the fire alarm control panel and is not affected by changes in the relay combination.

[0065] The following example illustrates this using two benign relays:

[0066] The operating condition is time period 1, during which there are two benign relays: the first relay a and the second relay b.

[0067] The target control signal 0001 is mapped to the combination generated by the first relay a and the second relay b. Based on the closed state of the contacts of the first relay a and the second relay b, a first electrical signal is generated. The generation of the first electrical signal is regarded as the control result of the relay. Then, based on the first electrical signal, remote control is performed on the control button 1 on the fire control panel.

[0068] Operating condition is period 2. During this period, the second relay b fails, leaving one good relay. The first relay a:

[0069] At this point, the mapping relationship between the target control signal 0001 and the relay combination changes. For example, the target control signal 0001 is mapped to a combination generated separately by the first relay a.

[0070] If the remote control device receives the target control signal 0001 again, it will generate the first electrical signal based on the closed state of the contacts of the first relay a, and then perform remote control on the control button 1 on the fire alarm control panel according to the first electrical signal.

[0071] In other words, in the technical solution of this application, the essential function of the relay combination is to output an electrical signal according to the control state of the relay. The connection between the target control signal and the corresponding control button on the fire alarm control panel is fixed, and the relay combination can be regarded as a medium for generating the electrical signal. Therefore, no matter how the relay combination changes, the electrical signal generated based on the same target control signal remains unchanged.

[0072] Of course, the above examples are for the purpose of explaining the technical solution of this application and do not impose any specific limitations. The specific number of relays in the relay module and the number of good relays shall be determined according to the current operating conditions of this application.

[0073] Through the above implementation methods, the technical solution of this application can generate a relay combination set by determining the number of good relays in the relay module and determining the combination method of the relays based on the good relays. Simultaneously, a spare subset is determined within the relay combination set, and each element in the spare subset is mapped to the control signal corresponding to the control key on the fire alarm control panel. When the communication module receives the target control signal corresponding to the control key on the fire alarm control panel, it determines the target relay combination corresponding to the spare subset based on the target control signal, thereby controlling the relays in the target relay combination. Based on the control result of the relays, the remote control corresponding to the control key on the fire alarm control panel is executed. Therefore, the technical solution of this application can achieve matching between multiple control buttons on the fire alarm control panel and relay combinations based on relay combination control, thereby satisfying the remote control requirements of the fire alarm control panel.

[0074] In some embodiments of this application, based on the other embodiments described above, Figure 3 A flowchart illustrating the execution steps of the controller during the verification button pressing process, as shown in the exemplary embodiment of this application, is as follows: Figure 3 As shown, when determining a benign relay in a relay module, the controller can also be configured to perform at least the following steps:

[0075] S300: Obtain the status signal of the corresponding relay when the verification button is pressed;

[0076] S310. Determine the status of the relay based on the status signal, identify the benign relay in the relay module based on the determination result, and send the determination result to the preset remote control center through the communication module.

[0077] To illustrate, when the verification button is pressed, the controller can trigger the control effect on the relay, and determine whether the relay is available based on the relay's status. For example, if the relay does not respond after the verification button is pressed, or the response is not as expected by the controller, the relay is determined to be unavailable; that is, the controller receives a status signal indicating that the relay is unavailable. Conversely, if the relay is available, the controller receives a status signal indicating that the relay is available.

[0078] When a relay is in an unavailable state, the controller marks the relay as a non-benign relay; when a relay is in an available state, the controller marks the relay as a benign relay.

[0079] Simultaneously, this application transmits the relay status information to a pre-set remote control center via a communication module. Based on the relay status information received from the remote control center, personnel can rationally arrange maintenance procedures, thereby improving the ease of subsequent maintenance of this application.

[0080] In some embodiments of this application, based on the other embodiments described above, Figure 4 A flowchart illustrating the controller execution steps of the relay assembly generation process, as shown in the exemplary embodiments of this application, is as follows: Figure 4 As shown, in the process of determining the relay combination method based on the number of benign relays and generating a relay combination set, the controller can also be configured to perform at least the following steps:

[0081] S400. Determine whether the number of control keys on the fire alarm control panel is greater than the number of benign relays.

[0082] S410. If yes, then determine the relay combination according to the preset combination number calculation formula, and generate a relay combination set based on the relay combination.

[0083] S411. If not, then each benign relay is identified as a combination to generate a relay combination set.

[0084] Specifically, in certain situations, such as the fire alarm control panel of a classified building, most of the fire protection equipment associated with the fire alarm control panel requires access control, such as cameras. In this case, the number of control buttons that need to be implemented for remote fire control is relatively small, so that the number of control buttons on the fire alarm control panel is less than the number of benign relays. It is only necessary to determine each benign relay as a combination to generate a relay combination set.

[0085] Conversely, unless it is a specific case like the example above, generally speaking, the number of control keys on the fire alarm control panel is much greater than the number of benign relays. In this case, the relay combination is determined according to the preset combination number calculation formula, so as to generate a relay combination set based on the relay combination.

[0086] The above-described implementation methods make the use of the relays in this application more flexible.

[0087] In some embodiments of this application, based on the above-described implementation methods, Figure 5 A flowchart illustrating the execution steps of the relay assembly generation process controller, as shown in another exemplary embodiment of this application, is as follows: Figure 5 As shown, in the process of determining relay combinations according to a preset formula for calculating the number of combinations, and generating a relay combination set based on the relay combinations, the controller can also be configured to perform at least the following steps:

[0088] S500. Determine the total number of benign relays and the number of benign relay units in each relay combination, where the number of units is less than or equal to the total number.

[0089] S510. Input the total quantity into the combination number calculation formula, and input the unit quantity into the combination number calculation formula each time, and set the unit quantity to increase each time, so as to obtain the relay combination number and relay combination for each calculation.

[0090] S520. Accumulate the number of relay combinations obtained from each calculation until the accumulated value is greater than or equal to the number of control keys on the fire alarm control panel. Stop inputting a unit number of relays and generate a relay combination set based on the relay combinations obtained during the calculation process.

[0091] It should be noted that the formula for calculating the number of combinations in this application can be expressed as follows:

[0092]

[0093] In the above expression, C represents the mathematical symbol for the number of combinations, n represents the total number of benign relays, and m represents the number of benign relay units in each relay combination.

[0094] For example, the total number of benign relays is determined to be 3, and the number of benign relay units in each relay combination is 1, 2, or 3.

[0095] Enter the total quantity into the combination formula, and then enter the unit quantity into the combination formula again, incrementing the unit quantity each time. This will give you the result. , and .

[0096] Taking the relay module in the above embodiment as an example, the number of benign relays is 3, namely the first relay a, the second relay b and the third relay c.

[0097] For example, if the number of control keys on the fire alarm control panel is 3, then the number of good relay units in each relay combination is 1, which satisfies the requirement that the number of relay combinations is greater than or equal to the number of control keys on the fire alarm control panel.

[0098] In detail, since the number of good relays in each relay combination is calculated based on the number of combinations entered, and the number of units is set incrementally with each input, the number of good relays in each relay combination is 1. That is, it is the first time the combination calculation formula is entered. This satisfies the above conditions and stops the input of a single unit. The corresponding relay combination set is {a, b, c}.

[0099] For example, if the number of control keys on the fire alarm control panel is 4, the formula for calculating the number of combinations requires inputting the number of good relays in the relay combination twice, which is... and The corresponding relay combination set is {a, b, c, a+b, a+c, b+c}. Based on the above embodiments, when determining the spare subset, four elements can be selected sequentially from the relay combination set, or four elements can be selected randomly. For example, the spare subset can be {a, b, c, a+b}. The spare subset can also be {a, a+b, a+c, b+c}, and so on. Further details are omitted.

[0100] In some embodiments of this application, based on the above-described implementation methods, Figure 6 A flowchart illustrating the execution steps of the benign relay judgment process controller, as shown in the exemplary embodiment of this application, is as follows: Figure 6 As shown, the controller can also be configured to perform at least the following steps:

[0101] S600: When the number of good relays is less than or equal to the preset maintenance value, a maintenance signal is generated;

[0102] S610: Transmit maintenance signals to the communication module so that they can be sent to a preset remote control center.

[0103] To illustrate, consider this application's relay module, which contains 20 relays. The preset maintenance value is 15. When the number of malfunctioning relays is less than or equal to 15, a maintenance signal is generated and transmitted to the communication module, which then sends it to a preset remote control center. This facilitates timely repair or replacement of malfunctioning relays by maintenance personnel.

[0104] It should be noted that since the relay combination in this application is determined based on the number of functional relays, the more relays that are damaged or malfunctioning, and in order to ensure that the relay combination can cover all control buttons on the fire alarm control panel that require remote control, the usage frequency of functional relays will increase, thereby reducing the service life of functional relays. Therefore, this application, through the setting of maintenance values, can, on the one hand, reduce the frequency of relay maintenance; on the other hand, while ensuring the normal service life of other functional relays as much as possible, it can also promptly repair relays that are not working.

[0105] In summary, to more clearly disclose the corresponding steps of the above remote control, the following further explanation is provided based on the specific details of each implementation:

[0106] In the technical solution of this application, firstly, before performing remote control according to the target control signal, there is a preprocessing process, which is to establish a mapping relationship between the control signal and the relay combination. The preprocessing process includes: 1. Determining the number of good relays; 2. Determining the relay combination method based on the number of good relays and generating a relay combination set; 3. Determining a spare subset from the relay combination set and mapping each element in the spare subset to the control signal corresponding to the control key on the fire alarm control panel.

[0107] The preprocessing process is illustrated by an example: For instance, there are four relays on a remote control device. Based on the above embodiment, the four relays are a first relay, b second relay, c third relay, and d fourth relay. Due to some force majeure factor, one of the relays is damaged. The damaged relay can be any one of the first relay a, second relay b, third relay c, and fourth relay d. Taking the damage of the first relay a as an example, the determined benign relays are the second relay b, the third relay c, and the fourth relay d.

[0108] Furthermore, based on the number of benign relays, the relay combination method is determined, and a relay combination set is generated. Specifically, there are 3 benign relays at this time. Since the number of control keys on the fire alarm control panel that needs to be remotely controlled is fixed, the relay combination method can be designed based on the number of benign relays to meet the control requirements of the control keys on the fire alarm control panel. For example, if there are 5 control keys on the fire alarm control panel, they are key 1, key 2, key 3, key 4, and key 5.

[0109] Furthermore, by selecting one of the three good relays as a relay combination, we can obtain three relay combinations, namely:

[0110] First combination: Second relay b;

[0111] The second combination: the third relay c;

[0112] The third combination: the fourth relay d.

[0113] At this point, it is impossible to satisfy 5 control keys. Therefore, it is necessary to further determine the relay combination method. By selecting 2 out of 3 good relays as the relay combination, we can obtain 3 relay combinations, which are:

[0114] The first combination: second relay b + third relay c;

[0115] The second combination: third relay c + fourth relay d;

[0116] The third combination: second relay b + fourth relay d.

[0117] The generated relay combinations are summed to obtain 6 relay combinations, which can satisfy 5 control keys. A relay combination set is then generated based on the 6 relay combinations.

[0118] Furthermore, since the number of relay combinations is six, which is greater than the number of control keys, five relay combinations need to be selected as a spare subset. Then, the relay combinations in the spare subset can be mapped to the control signals corresponding to the control keys on the fire alarm control panel. The spare subset can be selected randomly or in a specified order, and the mapping method is similarly flexible, allowing for both random and sequential mapping.

[0119] For example, select the spare subset {second relay b, third relay c, fourth relay d, second relay b + third relay c, second relay b + fourth relay d} in a specified order.

[0120] For example, elements in the spare subset are randomly mapped to control keys on the fire alarm control panel:

[0121] The control signal corresponding to button 1 is 0001, which is mapped to the second relay b and the fourth relay d.

[0122] The control signal corresponding to button 2 is 0010, which is mapped to the second relay b.

[0123] The control signal corresponding to button 3 is 0011, which is mapped to the second relay b and the third relay c.

[0124] The control signal corresponding to button 4 is 0100, which is mapped to the third relay c.

[0125] The control signal corresponding to button 5 is 0101, which is mapped to the fourth relay d.

[0126] At this point, the preprocessing process is complete. It should be noted that, since the damaged relays may differ at different times, and the compliant relays may also differ, the preprocessing process ensures that the technical solution of this application can generate a set of relay combinations and a mapping relationship between different buttons and relay combinations based on the compliant relays of the corresponding time period at different times.

[0127] Based on this, when the target control signal corresponding to the control key on the fire alarm control panel is received, for example, when the target control signal is 0011, the target relay combination corresponding to the standby subset is determined according to the target control signal, which is the second relay b + the third relay c.

[0128] Furthermore, the corresponding relays in the target relay combination are controlled to execute the remote control corresponding to the control keys on the fire alarm control panel based on the control results of the relays. This causes the state of the control keys on the fire alarm control panel to change according to the contact state of the relays. For example, when the contacts of the second relay b and the third relay c are both normally closed, the corresponding control key on the fire alarm control panel is pressed, that is, key 3 is pressed, thus achieving the remote control effect corresponding to key 3.

[0129] Figure 7 This is a schematic diagram of a computer system architecture adapted to implement the execution steps in the controller, as illustrated in an exemplary embodiment of this application. Figure 7 As shown, it should be noted that Figure 7 The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0130] like Figure 7 As shown, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 702 or programs loaded from storage portion 708 into Random Access Memory (RAM) 703, such as performing the methods described in the above embodiments. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0131] The following components are connected to I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 710 as needed so that computer programs read from it can be installed into storage section 708 as needed.

[0132] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.

[0133] In another aspect, this application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the steps executed by the controller in the above embodiments.

[0134] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. Computer programs contained on computer-readable media can be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0136] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0137] In the description of this specification, the references to terms such as "an embodiment," "some embodiments," "example," "specific example," "a implementation," "a preferred implementation," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0138] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A remote control device for a fire alarm control panel, characterized in that, include: The communication module is used for data transmission; A relay module, comprising multiple relays; The controller, which is electrically connected to both the communication module and the relay module, is configured to perform the following steps: Identify the benign relays in the relay module; Based on the number of benign relays, determine the relay combination method and generate a relay combination set; A spare subset is determined from the set of relay combinations, and each element in the spare subset is mapped to the control signal corresponding to the control key on the fire alarm control panel. Based on the communication module, the target control signal corresponding to the control key on the fire alarm control panel is received, and the target relay combination corresponding to the backup subset is determined according to the target control signal; Control the corresponding relays in the target relay combination, and execute the remote control corresponding to the control key on the fire alarm control panel according to the control result of the relays.

2. The remote control device for the fire alarm control panel according to claim 1, characterized in that, Also includes: A verification button is provided, which corresponds to a relay in the relay module. The verification button is electrically connected to both the relay module and the controller. In identifying benign relays in the relay module, the controller is also configured to perform the following steps: Obtain the status signal of the corresponding relay when the verification button is pressed; The state of the relay is determined based on the state signal, and a benign relay in the relay module is identified based on the determination result. The determination result is then sent to a preset remote control center via the communication module.

3. The remote control device for the fire alarm control panel according to claim 1, characterized in that, Based on the number of benign relays, the controller determines the relay combination method and generates a relay combination set, and is further configured to perform the following steps: Determine whether the number of control keys on the fire alarm control panel is greater than the number of benign relays; If so, then the relay combination is determined according to the preset combination number calculation formula, and a relay combination set is generated based on the relay combination; If not, each benign relay is identified as a combination to generate a relay combination set.

4. The remote control device for the fire alarm control panel according to claim 3, characterized in that, The controller is further configured to perform the following steps: First, a relay combination is determined according to a preset formula for calculating the number of combinations, and a relay combination set is generated based on the relay combinations. Determine the total number of benign relays and the number of benign relay units in each relay combination, wherein the number of units is less than or equal to the total number; The total quantity is input into the formula for calculating the number of combinations, and the unit quantity is input into the formula for calculating the number of combinations each time, with the unit quantity being set to increase each time, so as to obtain the number of relay combinations and the number of relay combinations calculated each time. The number of relay combinations calculated each time is accumulated until the accumulated value is greater than or equal to the number of control keys on the fire alarm control panel. Then, the input of a unit number is stopped, and a relay combination set is generated based on the relay combinations obtained during the calculation process.

5. The remote control device for the fire alarm control panel according to claim 3, characterized in that, The formula for calculating the number of combinations is expressed as follows: In the above expression, C represents the mathematical symbol for the number of combinations, n represents the total number of benign relays, and m represents the number of benign relay units in each relay combination.

6. The remote control device for the fire alarm control panel according to claim 1, characterized in that, The controller is also configured to perform the following steps: A maintenance signal is generated when the number of good relays is less than or equal to the preset maintenance value; The maintenance signal is transmitted to the communication module, which then sends it to a preset remote control center.

7. The remote control device for the fire alarm control panel according to claim 1, characterized in that, Also includes: A transistor array module is electrically connected to both the controller and the relay module, wherein the number of transistor array modules is determined based on the number of relays in the relay module.