A device linkage control method and device control system

By using the CAN bus to connect the control module and other modules in the fire protection system, the global downgrade linkage is achieved during failure, and the problem of system communication paralysis after processor failure in the existing technology is solved, ensuring that the equipment can still be effectively controlled in the event of a failure.

CN116088480BActive Publication Date: 2025-04-15GUANGZHOU PROTECTWELL ELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310122053.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2025-04-15
Estimated Expiration
2043-02-14

AI Technical Summary

Technical Problem

The existing fire protection system cannot achieve full-domain downgrade linkage after the processor failure, resulting in system communication paralysis and unable to effectively control the equipment.

Method used

Through the CAN bus connection control module, first connection module and second connection module, the control module broadcasts fault information in the event of a failure. After receiving the abnormal information of the detection device, the first connection module generates alarm information and broadcasts it to realize the global downgrade linkage of the device.

Benefits of technology

The global downgrade linkage of the equipment after the processor failure is realized, ensuring that the system can still effectively control the equipment in the event of a failure, and solving the problem that the entire domain downgrade linkage cannot be achieved in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116088480B_ABST
    Figure CN116088480B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a device linkage control method and a device control system, and the method is applicable to a device control system including a control module, a first connection module and a second connection module. In the embodiment of the present invention, after a processor of the control module fails, the control module broadcasts the fault information in the CAN bus, so that other modules and devices can know that the control module is in a faulty state; and when the subsequent detection device detects an abnormality, the first connection module can broadcast the generated alarm information directly on the CAN bus, so that the first connection module and the second connection module can control the actions of the first controlled device and the second controlled device respectively. The embodiment of the present invention can realize the global downgrade linkage of the device, solving the technical problem that the global downgrade linkage of the device cannot be realized in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of device linkage, and in particular to a device linkage control method and a device control system. Background Art

[0002] At present, global downgrade linkage in fire protection system refers to the technical means that when the processor in the controller fails, the controller can still start the alarm device or fire extinguishing equipment for linkage after detecting a fire alarm event. However, most fire protection systems in the existing technology use RS485 bus. RS485 is a master-slave communication method. Generally, the processor is the master node. Once the master node is disconnected, the communication of the entire fire protection system will be paralyzed. Another approach is to connect different devices to two buses in a dispersed manner. However, this method can only achieve downgrade linkage in some areas, and cannot achieve global downgrade linkage.

[0003] To sum up, how to achieve global downgrade linkage when controlling the equipment has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiment of the present invention provides a device linkage control method and a device control system, which solves the technical problem that the prior art cannot achieve global degradation linkage when controlling devices.

[0005] In a first aspect, an embodiment of the present invention provides a device linkage control method, the method is applicable to a device control system including a control module, a first connection module and a second connection module, wherein the control module, the first connection module and the second connection module are connected via a CAN bus, a first port and a second port of the first connection module are respectively connected to a detection device and a first controlled device, a third port of the first connection module is connected to the CAN bus, a first port of the second connection module is connected to a second controlled device, and a second port of the second connection module is connected to the CAN bus, the method comprises:

[0006] After the control module confirms that its own processor has failed, it generates fault information and broadcasts it on the CAN bus;

[0007] After receiving the fault information through the CAN bus, the first connection module confirms that the control module is in a fault state;

[0008] When the first connection module receives abnormal information reported by the detection device and the control module is in a fault state, the first connection module generates alarm information based on the abnormal information and broadcasts the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

[0009] In a second aspect, an embodiment of the present invention provides a device control system, comprising a control module, a first connection module and a second connection module, wherein the control module, the first connection module and the second connection module are connected via a CAN bus, a first port and a second port of the first connection module are connected to a detection device and a first controlled device, respectively, a third port of the first connection module is connected to the CAN bus, a first port of the second connection module is connected to a second controlled device, and a second port of the second connection module is connected to the CAN bus:

[0010] The control module is used to generate fault information and broadcast it on the CAN bus after confirming that its own processor has failed;

[0011] The first connection module is used to confirm that the control module is in a fault state after receiving the fault information through the CAN bus;

[0012] When the first connection module receives abnormal information reported by the detection device and the control module is in a fault state, the first connection module is used to generate alarm information based on the abnormal information and broadcast the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

[0013] As described above, in the embodiment of the present invention, after the processor of the control module fails, the control module will broadcast the fault information in the CAN bus, so that other modules and devices can know that the control module is in a fault state; and when the subsequent detection device detects an abnormality, the first connection module can directly broadcast the generated alarm information on the CAN bus, so that the first connection module and the second connection module can control the actions of the first controlled device and the second controlled device respectively. The embodiment of the present invention can realize the global downgrade linkage of the device, solving the technical problem that the global downgrade linkage of the device cannot be realized in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A schematic flow chart of a device linkage control method provided in an embodiment of the present invention.

[0015] Figure 2 A schematic diagram of the structure of a device control system provided by an embodiment of the present invention.

[0016] Figure 3 A schematic diagram of the structure of another device control system provided by an embodiment of the present invention.

[0017] Figure 4 A schematic flow chart of another device linkage control method provided in an embodiment of the present invention.

[0018] Figure 5 A schematic flow chart of another device linkage control method provided in an embodiment of the present invention.

[0019] Reference numerals:

[0020] Control module 1, first connection module 2, second connection module 3, CAN bus 4, detection device 5, first controlled device 6, second controlled device 7, data conversion module 8, server 9. DETAILED DESCRIPTION

[0021] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0022] like Figure 1 As shown, Figure 1A flow chart of a device linkage control method provided by an embodiment of the present invention. The device linkage control method provided by an embodiment of the present invention is applicable to a device control system including a control module 1, a first connection module 2 and a second connection module 3, wherein the control module 1, the first connection module 2 and the second connection module 3 are connected via a CAN bus 4, the first port and the second port of the first connection module 2 are connected to a detection device 5 and a first controlled device 6 respectively, the third port of the first connection module 2 is connected to the CAN bus 4, the first port of the second connection module 3 is connected to a second controlled device 7, and the second port of the second connection module 3 is connected to the CAN bus 4.

[0023] like Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of the device control system provided by the embodiment of the present invention. Figure 2 In the embodiment, the first port and the second port of the first connection module 2 are connected to the detection device 5 and the first controlled device 6 respectively, and the third port of the first connection module 2 is connected to the CAN bus 4. The first connection module 2 is used to transmit the information reported by the detection device 5 and the first controlled device 6 to the CAN bus 4, and is also used to transmit the message broadcast on the CAN bus 4 to the first controlled device 6 and the detection device 5. The detection device 5 refers to a device for detecting information, for example, the detection device 5 can be various sensors, such as a temperature sensor. The first controlled device 6 refers to a controlled device, for example, it can be a lighting device or a ventilation device. In one embodiment, the first connection module 2 can use a loop card, which specifically refers to a device that can carry field equipment of the automatic fire alarm system.

[0024] exist Figure 2 In the embodiment, the CAN bus 4 is also connected to the second connection module 3, the first port of the second connection module 3 is connected to the second controlled device 7, the second port of the second connection module 3 is connected to the CAN bus 4, and the second connection module 3 is used to transmit the information reported by the second controlled device 7 to the CAN bus 4, and is also used to transmit the message broadcast on the CAN bus 4 to the second controlled device 7. In one embodiment, the second connection module 3 can use a multi-line card, which is a device interface between the access line and the access device of a switch, router or other network device. The multi-line card has digital and analog line cards of multiple speeds. Multiple second controlled devices 7 can be connected to the CAN bus 4 by using a multi-line card. In addition, the CAN bus 4 is also connected to the control module 1, wherein the control module 1 is provided with a processor, and the control module 1 can control the first controlled device 6 and the second controlled device 7 according to a pre-written logic program.

[0025] The device linkage control method provided by the embodiment of the present invention includes:

[0026] Step 101: After the control module confirms that its own processor fails, it generates fault information and broadcasts it on the CAN bus.

[0027] In this embodiment, when the processor in the control module 1 fails, causing the control module 1 to lose data processing capabilities and logical analysis capabilities, the control module 1 will report the fault information to the CAN bus 4. After receiving the fault information, the CAN bus 4 will further broadcast the fault information, so that other devices or modules connected to the CAN bus 4 can be informed that the control module 1 has a fault.

[0028] Step 102: After receiving the fault information through the CAN bus, the first connection module confirms that the control module is in a fault state.

[0029] After receiving the fault information from the CAN bus 4 , the first connection module 2 will confirm that the control module 1 is in a fault state.

[0030] Step 103: When the first connection module receives abnormal information reported by the detection device and the control module is in a fault state, the first connection module generates alarm information based on the abnormal information and broadcasts the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

[0031] When the subsequent detection device 5 determines that an emergency situation has occurred based on the signal detected by itself, it will generate abnormal information. For example, the detection device 5 includes a smoke sensor. When the detection device 5 determines that a fire has occurred based on the smoke data detected by the smoke sensor, it will generate abnormal information. The detection device 5 will then report the abnormal information to the first connection module 2. After receiving the abnormal information, the first connection module 2 will generate an alarm message based on the abnormal information, but since the first connection module 2 has confirmed that the control module 1 is in a faulty state at this time, the first connection module 2 will directly report the alarm message to the CAN bus 4.

[0032] After receiving the alarm information, the CAN bus 4 will broadcast the alarm information. After receiving the alarm information, the first connection module 2 and the second connection module 3 will send control instructions to the connected first controlled device 6 and the connected second controlled device 7 respectively. After receiving the control instructions, the first controlled device 6 and the second controlled device 7 perform corresponding actions to achieve the linkage of the devices. For example, the first controlled device 6 is a ventilation device, and the second controlled device 7 is a lighting device. The ventilation device starts ventilation after receiving the control instruction, and the lighting device starts lighting after receiving the control instruction.

[0033] As described above, in the embodiment of the present invention, after the processor of the control module fails, the control module will broadcast the fault information in the CAN bus, so that other modules and devices can know that the control module is in a fault state; and when the subsequent detection device detects an abnormality, the first connection module can directly broadcast the generated alarm information on the CAN bus, so that the first connection module and the second connection module can control the actions of the first controlled device and the second controlled device respectively. The embodiment of the present invention can realize the global downgrade linkage of the device, solving the technical problem that the global downgrade linkage of the device cannot be realized in the prior art.

[0034] Based on the above embodiment, it also includes:

[0035] When the control module is controlled, the control module generates control information and broadcasts the control information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

[0036] In one embodiment, when the control module 1 is in a fault state, the user can also control the first controlled device 6 and the second controlled device 7 by manually operating the control module 1. Specifically, when the user manually operates a button or switch on the control module 1 for controlling the first controlled device and the second controlled device, the control module 1 sends control information to the CAN bus 4, and the control information is used to control the first controlled device 6 and the second controlled device 7.

[0037] After receiving the control information, the CAN bus 4 will broadcast the control information. After receiving the control information, the first connection module 2 and the second connection module 3 will send control instructions to the first controlled device 6 and the second controlled device 7 according to the control information, so that the first controlled device 6 and the second controlled device 7 are activated, thereby realizing the linkage control of the first controlled device 6 and the second controlled device 7.

[0038] As described above, in the embodiment of the present invention, when the control module is in a fault, the user can also perform linkage control on the first controlled device and the second controlled device by manually operating the control module, thereby avoiding the situation where the user is unable to control the controlled device after the control module fails, thereby ensuring the reliability of the device control system.

[0039] On the basis of the above embodiment, the CAN bus 4 is further connected to the Ethernet server 9 via the data conversion module 8. The data conversion module 8 is used to realize the conversion between the data format of the CAN bus 4 and the data format of the Ethernet.

[0040] In one embodiment, Figure 3As shown, the CAN bus 4 is also connected to the Ethernet server 9 through the data conversion module 8. The data conversion module 8 is used to realize the conversion between the data format of the CAN bus 4 and the data format of the Ethernet, for example, converting the CAN frame format used by the CAN bus 4 into the Ethernet frame format used by the Ethernet, so that data can be transmitted between the device control system and the Ethernet server 9.

[0041] like Figure 4 As shown, the method also includes:

[0042] Step 104, the first connection module and the second connection module respectively receive the first device execution information reported by the first controlled device and the second device execution information reported by the second controlled device, and send the first device execution information and the second device execution information to the data conversion module through the CAN bus respectively, the first device execution information includes the action execution result of the first controlled device, which is generated after the first controlled device executes the action; the second device execution information includes the action execution result of the second controlled device, which is generated after the second controlled device executes the action.

[0043] In this embodiment, after receiving the control instruction and executing the action, the first controlled device 6 and the second controlled device 7 will generate the first device execution information and the second device execution information respectively according to the success or failure of their own action execution. Then, the first controlled device 6 will upload the first device execution information to the first connection module 2, and the second controlled device 7 will upload the second device execution information to the second connection module 3. The first connection module 2 and the second connection module 3 will then upload the first device execution information and the second device execution information to the CAN bus 4 respectively, and send the first device execution information and the second device execution information to the data conversion module 8 through the CAN bus 4.

[0044] Step 105: After the data conversion module converts the first device execution information and the second device execution information into the first target information and the second target information respectively, the first target information and the second target information are sent to the server for analysis so that the server determines whether the first controlled device and the second controlled device successfully execute the action.

[0045] In one embodiment, the data conversion module 8 can monitor the first device execution information and the second device execution information by subscribing to messages on the CAN bus 4. When the data conversion module 8 monitors the first device execution information and the second device execution information on the CAN bus 4, it will convert the format of the first device execution information and the second device execution information to obtain the first target information and the second target information, and then the data conversion module 8 will further send the first target information and the second target information to the server 9. After receiving the first target information and the second target information, the server 9 will analyze the first target information and the second target information to determine whether the first controlled device 6 and the second controlled device 7 have successfully executed the action. In another embodiment, if it is confirmed that the first controlled device 6 and / or the second controlled device 7 have not successfully executed the action, the server 9 can further send information to the user terminal, so that the user can know the execution status of the first controlled device 6 and / or the second controlled device 7 through the user terminal.

[0046] In one embodiment, Figure 5 As shown, it also includes:

[0047] Step 106: When the server determines that the first controlled device and the second controlled device cannot successfully execute the action, the server generates device re-control information and sends the device re-control information to the data conversion module.

[0048] In one embodiment, when the server 9 determines that the first controlled device 6 and the second controlled device 7 cannot successfully execute the action based on the first device execution information and the second device execution information, the first controlled device 6 and the second controlled device 7 need to be re-controlled. At this time, the server 9 will further generate device re-control information and send the device re-control information to the data conversion module 8.

[0049] Step 107: The data conversion module converts the device re-control information into device re-control target information, and broadcasts the device re-control target information through the CAN bus, so that the first connection module and the second connection module re-control the first controlled device and control the second controlled device respectively.

[0050] After receiving the device re-control information sent by the server 9, the data conversion module 8 will further convert the format of the device re-control information, thereby converting the device re-control information into device re-control target information in the CAN frame format. After that, the data conversion module 8 sends the device re-control target information to the CAN bus 4 for broadcasting. After receiving the device re-control target information, the first connection module 2 and the second connection module 3 can respectively re-control the first controlled device 6 and the second controlled device 7 according to the device re-control target information, so that the first controlled device 6 and the second controlled device 7 re-execute the action, thereby improving the reliability of the device control system.

[0051] Based on the above embodiment, the method further includes:

[0052] Step 108, the first connection module and the second connection module respectively receive the first device status information periodically reported by the first controlled device and the second device status information periodically reported by the second controlled device, and send the first device status information and the second device status information to the data conversion module through the CAN bus respectively, the first device status information includes information about the current status of the first controlled device; the second device status information includes information about the current status of the second controlled device.

[0053] In this embodiment, the first controlled device 6 and the second controlled device 7 will periodically report the first device status information and the second device status information respectively, the first device status information includes the current status information of the first controlled device 6; the second device status information includes the current status information of the second controlled device 7. After receiving the first device status information and the second device status information respectively, the first connection module 2 and the second connection module 3 will further send the first device status information and the second device status information to the CAN bus 4, and transmit the first device status information and the second device status information to the data conversion module 8 by using the CAN bus 4.

[0054] Step 109: After the data conversion module converts the first device status information and the second device status information into the first target status information and the second target status information respectively, the first target status information and the second target status information are sent to the server for analysis so that the server monitors the first controlled device and the second controlled device.

[0055] After receiving the first device status information and the second device status information, the data conversion module 8 will further convert the first device status information and the second device status information into an Ethernet frame format to obtain the first target status information and the second target status information. Afterwards, the data conversion module 8 will send the first target status information and the second target status information to the server 9 for analysis, so that the server 9 can determine the status of the first controlled device 6 and the status of the second controlled device 7 in real time by analyzing the first target status information and the second target status information, thereby realizing real-time monitoring of the first controlled device 6 and the second controlled device 7. In addition, it should be noted that steps 108 and 109 are not executed in the same order as steps 101 to 107, and it is not necessary to execute steps 101 to 107 before executing steps 108 to 109.

[0056] Based on the above embodiment, the method further includes:

[0057] Step 110: The server periodically inputs the first target state information and the second target state information received within a preset time length before the current time point into the device aging analysis model to obtain the aging degree of the first controlled device and the aging degree of the second controlled device.

[0058] In another embodiment, the server 9 will periodically input the first target state information and the second target state information received within a preset time length before the current time point into the device aging analysis model. For example, assuming that the interval of each cycle is 30 minutes, and the preset time length is 15 minutes, the server 9 can input the first target state information and the second target state information received within 15 minutes before the current time point into the device aging analysis model after every 30 minutes. In one embodiment, in order to ensure the amount of data input into the device aging analysis model, the preset time length is greater than the time interval between the first controlled device 6 / the second controlled device 7 reporting the first device state information / the second device state information twice. Afterwards, the device aging analysis module will analyze the aging degree of the first controlled device 6 according to the received first target state information, and analyze the aging degree of the second controlled device 7 according to the received second target state information, and obtain the aging degree of the first controlled device 6 and the aging degree of the second controlled device 7. The user can determine the aging status of the controlled device by checking the aging degree of the controlled device (the first controlled device 6 and the second controlled device 7), so as to replace the controlled device with a higher aging degree in time. It should be noted that the device aging analysis model is a neural network model, which can be obtained by training the neural network model.

[0059] Based on the above embodiment, it also includes:

[0060] Step 111, the first connection module and the second connection module respectively receive the first device fault information reported by the first controlled device and the second device fault information reported by the second controlled device, and respectively send the first device fault information and the second device fault information to the data conversion module through the CAN bus, the first device status information includes the current fault information of the first controlled device; the second device status information includes the current fault information of the second controlled device;

[0061] In one embodiment, when the first controlled device 6 and the second controlled device 7 fail, the first controlled device 6 and the second controlled device 7 will generate first device failure information and second device failure information respectively, wherein the first device status information includes information about the current failure of the first controlled device 6, and the second device status information includes information about the current failure of the second controlled device 7. Afterwards, the first controlled device 6 will send the first device failure information to the first connection module 2, and the second controlled device 7 will send the second device failure information to the second connection module 3. The first connection module 2 and the second connection module 3 will report the first device failure information and the second device failure information to the CAN bus 4 respectively, and send the first device failure information and the second device failure information to the data conversion module 8 through the CAN bus 4.

[0062] Step 112: After the data conversion module converts the first device fault information and the second device fault information into the first target fault information and the second target fault information respectively, the first target fault information and the second target fault information are sent to the server, so that the server sends the device operation and maintenance information to the user terminal according to the first controlled device and / or the second controlled device that has failed.

[0063] After receiving the first device fault information and the second device fault information from the CAN bus 4, the data conversion module 8 converts the format of the first device fault information and the format of the second device fault information into the Ethernet frame format, and obtains the first target fault information and the second target fault information after the conversion. After that, the data conversion module 8 further sends the first target fault information and the second target fault information to the server 9, and the server 9 analyzes the first target fault information and the second target fault information to determine the first controlled device 6 and / or the second controlled device 7 that has failed, and generates device operation and maintenance information according to the first controlled device 6 and / or the second controlled device 7 that has failed, for example, the content of the device operation and maintenance information is: "The device numbered XX has failed and needs maintenance, etc." Then, the device operation and maintenance information is sent to the user terminal, so as to inform the user to repair the device in time.

[0064] As described above, in the embodiment of the present invention, after the processor of the control module fails, the control module will broadcast the fault information in the CAN bus, so that other modules and devices can know that the control module is in a fault state; and when the subsequent detection device detects an abnormality, the first connection module can directly broadcast the generated alarm information on the CAN bus, so that the first connection module and the second connection module can control the actions of the first controlled device and the second controlled device respectively. The embodiment of the present invention can realize the global downgrade linkage of the device, solving the technical problem that the global downgrade linkage of the device cannot be realized in the prior art.

[0065] The embodiment of the present invention further provides a device control system, comprising a control module, a first connection module and a second connection module, wherein the control module, the first connection module and the second connection module are connected via a CAN bus, a first port and a second port of the first connection module are connected to a detection device and a first controlled device respectively, a third port of the first connection module is connected to the CAN bus, a first port of the second connection module is connected to the second controlled device, and a second port of the second connection module is connected to the CAN bus:

[0066] The control module is used to generate fault information and broadcast it on the CAN bus after confirming that its own processor has failed;

[0067] The first connection module is used to confirm that the control module is in a fault state after receiving the fault information through the CAN bus;

[0068] When the first connection module receives abnormal information reported by the detection device and the control module is in a fault state, the first connection module is used to generate alarm information based on the abnormal information and broadcast the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform actions and control the second controlled device to perform actions.

[0069] Based on the above embodiment, when the control module is controlled, the control module is also used to generate control information and broadcast the control information on the CAN bus so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

[0070] Based on the above embodiments, the detection device includes at least one of a temperature sensor and a smoke sensor, and the first controlled device and the second controlled device each include at least one of a buzzer, a broadcasting device, a lighting device, a ventilation device, a rolling door device, an elevator device and a access control device.

[0071] On the basis of the above embodiment, the CAN bus is also connected to the Ethernet server through a data conversion module, and the data conversion module is used to realize the conversion between the data format of the CAN bus and the data format of the Ethernet.

[0072] The first connection module and the second connection module are further used to receive the first device execution information reported by the first controlled device and the second device execution information reported by the second controlled device, and send the first device execution information and the second device execution information to the data conversion module through the CAN bus, respectively. The first device execution information includes the action execution result of the first controlled device, which is generated after the first controlled device executes the action; the second device execution information includes the action execution result of the second controlled device, which is generated after the second controlled device executes the action;

[0073] The data conversion module is also used to convert the first device execution information and the second device execution information into first target information and second target information respectively, and then send the first target information and the second target information to the server for analysis so that the server can determine whether the first controlled device and the second controlled device successfully execute the action.

[0074] On the basis of the above embodiment, the server is further used to generate device re-control information when determining that the first controlled device and the second controlled device cannot successfully perform the action, and send the device re-control information to the data conversion module;

[0075] The data conversion module is also used to convert the device re-control information into device re-control target information, and broadcast the device re-control target information through the CAN bus, so that the first connection module and the second connection module can respectively re-control the first controlled device and control the second controlled device.

[0076] On the basis of the above embodiment, the first connection module and the second connection module are further used to receive the first device status information periodically reported by the first controlled device and the second device status information periodically reported by the second controlled device, and send the first device status information and the second device status information to the data conversion module through the CAN bus, respectively, the first device status information includes information about the current status of the first controlled device; the second device status information includes information about the current status of the second controlled device;

[0077] The data conversion module is also used to convert the first device status information and the second device status information into first target status information and second target status information respectively, and then send the first target status information and the second target status information to the server for analysis, so that the server can monitor the first controlled device and the second controlled device.

[0078] Based on the above embodiment, the server is also used to periodically input the first device status information and the second device status information received within a preset time length before the current time point into the device aging analysis model to obtain the aging degree of the first controlled device and the aging degree of the second controlled device.

[0079] On the basis of the above embodiment, the first connection module and the second connection module are further used to receive the first device fault information reported by the first controlled device and the second device fault information reported by the second controlled device, and send the first device fault information and the second device fault information to the data conversion module through the CAN bus respectively, the first device status information includes the current fault information of the first controlled device; the second device status information includes the current fault information of the second controlled device;

[0080] The data conversion module is also used to convert the first device fault information and the second device fault information into first target fault information and second target fault information respectively, and then send the first target fault information and the second target fault information to the server, so that the server sends device operation and maintenance information to the user terminal according to the first controlled device and / or the second controlled device that has failed.

[0081] As described above, in the embodiment of the present invention, after the processor of the control module fails, the control module will broadcast the fault information in the CAN bus, so that other modules and devices can know that the control module is in a fault state; and when the subsequent detection device detects an abnormality, the first connection module can directly broadcast the generated alarm information on the CAN bus, so that the first connection module and the second connection module can control the actions of the first controlled device and the second controlled device respectively. The embodiment of the present invention can realize the global downgrade linkage of the device, solving the technical problem that the global downgrade linkage of the device cannot be realized in the prior art.

[0082] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims

1. A device linkage control method, characterized in that: The method is applicable to a device control system including a control module, a first connection module and a second connection module, wherein the control module, the first connection module and the second connection module are connected via a CAN bus, a first port and a second port of the first connection module are connected to a detection device and a first controlled device respectively, a third port of the first connection module is connected to the CAN bus, a first port of the second connection module is connected to a second controlled device, and a second port of the second connection module is connected to the CAN bus, and the method comprises: After the control module confirms that its own processor has failed, it generates fault information and broadcasts it on the CAN bus; After receiving the fault information through the CAN bus, the first connection module confirms that the control module is in a fault state; When the first connection module receives the abnormal information reported by the detection device and the control module is in a fault state, the first connection module generates alarm information according to the abnormal information, and broadcasts the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action; When the control module is controlled, the control module generates control information and broadcasts the control information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

2. A device linkage control method according to claim 1, characterized in that: The CAN bus is also connected to an Ethernet server via a data conversion module, and the data conversion module is used to implement conversion between a data format of the CAN bus and a data format of the Ethernet. The method further includes: The first connection module and the second connection module respectively receive the first device execution information reported by the first controlled device and the second device execution information reported by the second controlled device, and respectively send the first device execution information and the second device execution information to the data conversion module through the CAN bus, wherein the first device execution information includes the action execution result of the first controlled device, which is generated after the first controlled device executes the action; the second device execution information includes the action execution result of the second controlled device, which is generated after the second controlled device executes the action; After the data conversion module converts the first device execution information and the second device execution information into the first target information and the second target information respectively, the first target information and the second target information are sent to the server for analysis so that the server determines whether the first controlled device and the second controlled device successfully execute the action.

3. A device linkage control method according to claim 2, characterized in that: The method further comprises: When the server determines that the first controlled device and the second controlled device cannot successfully perform an action, the server generates device re-control information and sends the device re-control information to the data conversion module; The data conversion module converts the device re-control information into device re-control target information, and broadcasts the device re-control target information through the CAN bus, so that the first connection module and the second connection module re-control the first controlled device and control the second controlled device respectively.

4. A device linkage control method according to claim 2, characterized in that: The method further comprises: The first connection module and the second connection module respectively receive the first device status information periodically reported by the first controlled device and the second device status information periodically reported by the second controlled device, and respectively send the first device status information and the second device status information to the data conversion module through the CAN bus, wherein the first device status information includes information about the current status of the first controlled device; and the second device status information includes information about the current status of the second controlled device; After the data conversion module converts the first device status information and the second device status information into the first target status information and the second target status information respectively, the first target status information and the second target status information are sent to the server for analysis, so that the server monitors the first controlled device and the second controlled device.

5. A device linkage control method according to claim 4, characterized in that: The method further comprises: The server periodically inputs the first target state information and the second target state information received within a preset time length before the current time point into the device aging analysis model to obtain the aging degree of the first controlled device and the aging degree of the second controlled device.

6. A device linkage control method according to claim 2, characterized in that: Also includes: The first connection module and the second connection module respectively receive the first device fault information reported by the first controlled device and the second device fault information reported by the second controlled device, and respectively send the first device fault information and the second device fault information to the data conversion module through the CAN bus, wherein the first device status information includes the current fault information of the first controlled device; the second device status information includes the current fault information of the second controlled device; After the data conversion module converts the first device fault information and the second device fault information into first target fault information and second target fault information respectively, the first target fault information and the second target fault information are sent to the server, so that the server sends device operation and maintenance information to the user terminal according to the first controlled device and / or the second controlled device that has failed.

7. A device control system, characterized in that: The system comprises a control module, a first connection module and a second connection module, wherein the control module, the first connection module and the second connection module are connected via a CAN bus, a first port and a second port of the first connection module are connected to a detection device and a first controlled device respectively, a third port of the first connection module is connected to the CAN bus, a first port of the second connection module is connected to a second controlled device, and a second port of the second connection module is connected to the CAN bus: The control module is used to generate fault information and broadcast it on the CAN bus after confirming that its own processor has failed; The first connection module is used to confirm that the control module is in a fault state after receiving the fault information through the CAN bus; When the first connection module receives the abnormal information reported by the detection device and the control module is in a fault state, the first connection module is used to generate alarm information according to the abnormal information, and broadcast the alarm information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action; Among them, when the control module is controlled, the control module is used to generate control information and broadcast the control information on the CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to perform an action and control the second controlled device to perform an action.

8. A device control system according to claim 7, characterized in that: The detection device includes at least one of a temperature sensor and a smoke sensor, and the first controlled device and the second controlled device each include at least one of a buzzer, a broadcasting device, a lighting device, a ventilation device, a rolling door device, an elevator device, and a door access device.

Citation Information

Patent Citations

  • Information transmission method and apparatus in vehicle-mounted broadcast subsystem, and computer device

    CN108667703A

  • Intelligent building management system and device based on cloud service and computer readable storage medium

    CN112087523A