[go: up one dir, main page]

CN116088480A - Equipment linkage control method and equipment control system - Google Patents

Equipment linkage control method and equipment control system Download PDF

Info

Publication number
CN116088480A
CN116088480A CN202310122053.XA CN202310122053A CN116088480A CN 116088480 A CN116088480 A CN 116088480A CN 202310122053 A CN202310122053 A CN 202310122053A CN 116088480 A CN116088480 A CN 116088480A
Authority
CN
China
Prior art keywords
information
equipment
control
connection module
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310122053.XA
Other languages
Chinese (zh)
Other versions
CN116088480B (en
Inventor
朱嘉祥
韩斌
曹凌
方江松
林枫睿
郑岳亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Protectwell Electronic & Technology Co ltd
Original Assignee
Guangzhou Protectwell Electronic & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Protectwell Electronic & Technology Co ltd filed Critical Guangzhou Protectwell Electronic & Technology Co ltd
Priority to CN202310122053.XA priority Critical patent/CN116088480B/en
Publication of CN116088480A publication Critical patent/CN116088480A/en
Application granted granted Critical
Publication of CN116088480B publication Critical patent/CN116088480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention discloses a device linkage control method and a device control system. In the embodiment of the invention, after the processor of the control module fails, the control module broadcasts the failure information in the CAN bus, so that other modules and equipment CAN know that the control module is in a failure state; 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 respectively control the first controlled device and the second controlled device to act. The embodiment of the invention can realize the global reduction linkage of the equipment and solve the technical problem that the global degradation linkage of the equipment cannot be realized in the prior art.

Description

一种设备联动控制方法以及设备控制系统A device linkage control method and device control system

技术领域technical field

本申请实施例涉及设备联动领域,尤其涉及一种设备联动控制方法以及设备控制系统。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 technique

目前,消防系统中的全域降级联动,是指当控制器中的处理器发生故障以后,控制器依然能够实现在检测到火警事件后,启动告警设备或者灭火设备进行联动的技术手段。而现有技术中的消防系统大多采用RS485总线,RS485是主从通信方式,一般是处理器作为主节点,而主节点一旦断开,整个消防系统的通讯会陷入瘫痪。另一种做法是将不同的设备分散连接在两条总线上,然而这种方式只能做到部分区域降级联动,无法实现全域降级联动。At present, the global downgrade linkage in the fire protection system refers to the technical means that when the processor in the controller fails, the controller can still realize the linkage between the alarm device or the fire extinguishing device after detecting a fire event. Most of the fire-fighting systems in the prior art use the RS485 bus, and RS485 is a master-slave communication mode. Generally, the processor is used as the master node, and once the master node is disconnected, the communication of the entire fire-fighting system will be paralyzed. Another approach is to dispersely connect different devices to two buses. However, this method can only achieve partial area downgrade linkage, and cannot achieve global downgrade linkage.

综上所述,如何在对设备进行控制时,能够实现全局降级联动,成为了目前亟需解决的技术问题。To sum up, how to realize the global downgrade linkage when controlling the device has become a technical problem that needs to be solved urgently.

发明内容Contents of the invention

本发明实施例提供了一种设备联动控制方法以及设备控制系统,解决了现有技术对设备进行控制时无法实现全局降级联动的技术问题。Embodiments of the present invention provide a device linkage control method and a device control system, which solve the technical problem that global downgrading linkage cannot be realized when controlling devices in the prior art.

第一方面,本发明实施例提供了一种设备联动控制方法,所述方法适用于包括有控制模块、第一连接模块以及第二连接模块的设备控制系统,且所述控制模块、第一连接模块以及第二连接模块通过CAN总线相连接,所述第一连接模块的第一端口和第二端口分别与探测设备以及第一受控设备相连接,所述第一连接模块的第三端口与所述CAN总线相连接,所述第二连接模块的第一端口与第二受控设备相连接,所述第二连接模块的第二端口与所述CAN总线相连接,所述方法包括:In the first aspect, the 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, and the control module, the first connection module The module and the second connection module are connected through the CAN bus, the first port and the second port of the first connection module are respectively connected to the detection device and the first controlled device, and the third port of the first connection module is connected to the The CAN bus is connected, the first port of the second connection module is connected to the second controlled device, the second port of the second connection module is connected to the CAN bus, and the method includes:

所述控制模块确认自身的处理器发生故障后,生成故障信息并在所述CAN总线上进行广播;After the control module confirms that its own processor fails, it generates fault information and broadcasts it on the CAN bus;

所述第一连接模块在通过所述CAN总线接收到所述故障信息后,确认所述控制模块处于故障状态;The first connection module confirms that the control module is in a fault state after receiving the fault information through the CAN bus;

当所述第一连接模块接收到所述探测设备上报的异常信息且所述控制模块处于故障状态时,所述第一连接模块根据所述异常信息生成告警信息,并将所述告警信息在所述CAN总线上进行广播,以使所述第一连接模块和所述第二连接模块分别控制所述第一受控设备执行动作以及控制所述第二受控设备执行动作。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 stores the alarm information in the broadcast 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.

第二方面,本发明实施例提供了一种设备控制系统,包括控制模块、第一连接模块以及第二连接模块,且所述控制模块、第一连接模块以及第二连接模块通过CAN总线相连接,所述第一连接模块的第一端口和第二端口分别与探测设备以及第一受控设备相连接,所述第一连接模块的第三端口与所述CAN总线相连接,所述第二连接模块的第一端口与第二受控设备相连接,所述第二连接模块的第二端口与所述CAN总线相连接:In the second aspect, the embodiment of the present invention provides an equipment control system, including a control module, a first connection module and a second connection module, and the control module, the first connection module and the second connection module are connected through a CAN bus , the first port and the second port of the first connection module are respectively connected to the detection device and the first controlled device, the third port of the first connection module is connected to the CAN bus, and the second The first port of the connection module is connected to the second controlled device, and the second port of the second connection module is connected to the CAN bus:

所述控制模块用于确认自身的处理器发生故障后,生成故障信息并在所述CAN总线上进行广播;The control module is used to generate fault information and broadcast it on the CAN bus after confirming that its own processor fails;

所述第一连接模块用于在通过所述CAN总线接收到所述故障信息后,确认所述控制模块处于故障状态;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;

当所述第一连接模块接收到所述探测设备上报的异常信息且所述控制模块处于故障状态时,所述第一连接模块用于根据所述异常信息生成告警信息,并将所述告警信息在所述CAN总线上进行广播,以使所述第一连接模块和所述第二连接模块分别控制所述第一受控设备执行动作以及控制所述第二受控设备执行动作。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 configured to generate alarm information according to the abnormal information, and send the alarm information to broadcast 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.

上述,本发明实施例在控制模块的处理器出现故障后,控制模块会将故障信息在CAN总线中进行广播,从而使得其他模块和设备能够得知控制模块处于故障状态;而在后续探测设备检测到异常时,第一连接模块能够将生成的告警信息直接在CAN总线上进行广播,从而使得第一连接模块和第二连接模块能够分别控制第一受控设备和第二受控设备动作。本发明实施例能够实现设备的全局降低联动,解决了现有技术中无法实现设备的全局降级联动的技术问题。As mentioned 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; When an exception occurs, 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 respectively control the actions of the first controlled device and the second controlled device. The embodiment of the present invention can realize the global downgrading linkage of the equipment, and solves the technical problem that the global downgrading linkage of the equipment cannot be realized in the prior art.

附图说明Description of drawings

图1为本发明实施例提供的一种设备联动控制方法的流程示意图。Fig. 1 is a schematic flowchart of a device linkage control method provided by an embodiment of the present invention.

图2为本发明实施例提供的一种设备控制系统的结构示意图。Fig. 2 is a schematic structural diagram of an equipment control system provided by an embodiment of the present invention.

图3为本发明实施例提供的另一种设备控制系统的结构示意图。Fig. 3 is a schematic structural diagram of another device control system provided by an embodiment of the present invention.

图4为本发明实施例提供的另一种设备联动控制方法的流程示意图。Fig. 4 is a schematic flowchart of another device linkage control method provided by an embodiment of the present invention.

图5为本发明实施例提供的另一种设备联动控制方法的流程示意图。FIG. 5 is a schematic flowchart of another device linkage control method provided by an embodiment of the present invention.

附图标记:Reference signs:

控制模块1、第一连接模块2、第二连接模块3、CAN总线4、探测设备5、第一受控设备6、第二受控设备7、数据转换模块8、服务器9。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 , and server 9 .

具体实施方式Detailed ways

以下描述和附图充分地示出本申请的具体实施方案,以使本领域的技术人员能够实践它们。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施方案的部分和特征可以被包括在或替换其他实施方案的部分和特征。本申请的实施方案的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。在本文中,各实施方案可以被单独地或总地用术语“发明”来表示,这仅仅是为了方便,并且如果事实上公开了超过一个的发明,不是要自动地限制该应用的范围为任何单个发明或发明构思。本文中,诸如第一和第二等之类的关系术语仅仅用于将一个实体或者操作与另一个实体或操作区分开来,而不要求或者暗示这些实体或操作之间存在任何实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素。本文中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的结构、产品等而言,由于其与实施例公开的部分相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The following description and the accompanying drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of embodiments of the present application includes the full scope of the claims, and all available equivalents of the claims. Herein, various embodiments may be referred to individually or collectively by the term "invention", which is for convenience only and is not intended to automatically limit the scope of this application if in fact more than one invention is disclosed. A single invention or inventive concept. Herein, relational terms such as first and second etc. are used only to distinguish one entity or operation from another without requiring or implying any actual relationship or relationship between these entities or operations. order. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method or apparatus comprising a set of elements includes not only those elements but also other elements not expressly listed element. Various embodiments herein are described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of the various embodiments may 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 for relevant parts, please refer to the description of the method part.

如图1所示,图1为本发明实施例提供的一种设备联动控制方法的流程图。本发明实施例提供的设备联动控制方法适用于包括有控制模块1、第一连接模块2以及第二连接模块3的设备控制系统,且控制模块1、第一连接模块2以及第二连接模块3通过CAN总线4相连接,第一连接模块2的第一端口和第二端口分别与探测设备5以及第一受控设备6相连接,第一连接模块2的第三端口与CAN总线4相连接,第二连接模块3的第一端口与第二受控设备7相连接,第二连接模块3的第二端口与CAN总线4相连接。As shown in FIG. 1 , FIG. 1 is a flowchart of a device linkage control method provided by an embodiment of the present invention. The equipment linkage control method provided by the embodiment of the present invention is applicable to the equipment control system including the control module 1, the first connection module 2 and the second connection module 3, and the control module 1, the first connection module 2 and the second connection module 3 Connected through the CAN bus 4, the first port and the second port of the first connection module 2 are respectively connected with the detection device 5 and the first controlled device 6, and the third port of the first connection module 2 is connected with the CAN bus 4 , the first port of the second connection module 3 is connected to the second controlled device 7 , and the second port of the second connection module 3 is connected to the CAN bus 4 .

如图2所示,图2为本发明实施例提供的设备控制系统的结构示意图。在图2中,第一连接模块2的第一端口和第二端口分别与探测设备5以及第一受控设备6相连接,第一连接模块2的第三端口与CAN总线4相连接,第一连接模块2用于将探测设备5上报的信息以及第一受控设备6上报的信息传输至CAN总线4,同时也用于将CAN总线4上广播的消息传输至第一受控设备6和探测设备5。其中探测设备5是指用于探测信息的设备,例如探测设备5可以是各种传感器等,例如温度传感器。第一受控设备6是指被控制的设备,例如可以是照明设备或者通风设备等。在一个实施例中,第一连接模块2可以采用回路卡,回路卡是特指可以带火灾自动报警系统现场设备的装置。As shown in FIG. 2 , FIG. 2 is a schematic structural diagram of a device control system provided by an embodiment of the present invention. In Fig. 2, the first port and the second port of the first connection module 2 are respectively connected with the detecting device 5 and the first controlled device 6, the third port of the first connection module 2 is connected with the CAN bus 4, and the first A connection module 2 is used to transmit the information reported by the detection device 5 and the information reported by the first controlled device 6 to the CAN bus 4, and is also used to transmit the messages broadcast on the CAN bus 4 to the first controlled device 6 and Detection equipment 5. The detection device 5 refers to a device for detecting information, for example, the detection device 5 may be various sensors, such as a temperature sensor. The first controlled device 6 refers to a device to be controlled, for example, it may be a lighting device or a ventilation device. In one embodiment, the first connection module 2 may use a loop card, and the loop card specifically refers to a device that can carry field devices of an automatic fire alarm system.

在图2中,CAN总线4还与第二连接模块3相连接,第二连接模块3的第一端口与第二受控设备7相连接,第二连接模块3的第二端口与CAN总线4相连接,第二连接模块3用于将第二受控设备7上报的信息传输至CAN总线4,同时也用于将CAN总线4上广播的消息传输至第二受控设备7。一个实施例中第二连接模块3可以采用多线卡,多线卡是用于交换机、路由器或其它网络设备的访问线路与访问设备间的一种设备接口,多线卡具有多种速率的数字和模拟线卡,利用多显卡能够将多个第二受控设备7与CAN总线4相连接。另外,CAN总线4上还与控制模块1相连接,其中控制模块1内设置有处理器,控制模块1可根据预先偏写好的逻辑程序对第一受控设备6以及第二受控设备7进行控制。In Fig. 2, the CAN bus 4 is also connected with the second connection module 3, the first port of the second connection module 3 is connected with the second controlled device 7, and the second port of the second connection module 3 is connected with the CAN bus 4 connected, 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 messages broadcast on the CAN bus 4 to the second controlled device 7 . In one embodiment, the second connection module 3 can adopt a multi-line card, which is a device interface between an access line and an access device for a switch, a router or other network equipment, and a multi-line card has digital data rates of various rates. and an analog line card, multiple second controlled devices 7 can be connected to the CAN bus 4 by using multiple graphics cards. 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. Take control.

本发明实施例提供的设备联动控制方法包括:The device linkage control method provided by the embodiment of the present invention includes:

步骤101、控制模块确认自身的处理器发生故障后,生成故障信息并在CAN总线上进行广播。Step 101, after the control module confirms that its own processor is faulty, it generates fault information and broadcasts it on the CAN bus.

在本实施例中,当控制模块1内的处理器发生故障,导致控制模块1丧失数据处理能力以及逻辑分析能力时,控制模块1会向CAN总线4上报故障信息,CAN总线4在接收到故障信息后,会进一步将故障信息进行广播,从而使得连接CAN总线4的其他设备或者模块能够得知控制模块1出现故障。In this embodiment, when the processor in the control module 1 breaks down, causing the control module 1 to lose data processing capability and logic analysis capability, the control module 1 will report the fault information to the CAN bus 4, and the CAN bus 4 will report the fault information after receiving the fault After receiving the information, the fault information will be further broadcasted, so that other devices or modules connected to the CAN bus 4 can know that the control module 1 is faulty.

步骤102、第一连接模块在通过CAN总线接收到故障信息后,确认控制模块处于故障状态。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.

第一连接模块2在从CAN总线4中接收到故障信息后,会确认控制模块1处于故障状态。After the first connection module 2 receives the fault information from the CAN bus 4, it will confirm that the control module 1 is in a fault state.

步骤103、当第一连接模块接收到探测设备上报的异常信息且控制模块处于故障状态时,第一连接模块根据异常信息生成告警信息,并将告警信息在CAN总线上进行广播,以使第一连接模块和第二连接模块分别控制第一受控设备执行动作以及控制第二受控设备执行动作。Step 103, 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 The 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.

当后续探测设备5在根据自身所探测到的信号确定发生紧急情况时,会生成异常信息。例如探测设备5包括有烟雾传感器,探测设备5根据烟雾传感器探测到的烟雾数据确定发生火灾时,会生成异常信息。之后探测设备5会将异常信息上报至第一连接模块2。第一连接模块2在接收到异常信息后,会根据异常信息生成报警信息,但由于此时第一连接模块2已经确认了控制模块1处于故障状态,因此第一连接模块2会直接将告警信息上报至CAN总线4。When the subsequent detecting device 5 determines that an emergency occurs according to the signal detected by itself, it will generate abnormal information. For example, the detection device 5 includes a smoke sensor, and when the detection device 5 determines that a fire has occurred according to the smoke data detected by the smoke sensor, it will generate abnormal information. Then the detection device 5 will report the abnormal information to the first connection module 2 . After the first connection module 2 receives the abnormal information, it will generate alarm information according to the abnormal information, but because the first connection module 2 has confirmed that the control module 1 is in a fault state at this time, the first connection module 2 will directly send the alarm information to Report to CAN bus 4.

CAN总线4在接收到报警信息后,会对报警信息进行广播,第一连接模块2和第二连接模块3在接收到报警信息后,会分别向相连接的第一受控设备6和相连接的第二受控设备7发送控制指令,第一受控设备6和第二受控设备7在接收到控制指令后执行相对应的动作,实现设备的降低联动。例如,第一受控设备6为通风设备,第二受控设备7为照明设备,通风设备在接收到控制指令后开始通风,而照明设备在接收到控制指令后开启进行照明。After the CAN bus 4 receives the alarm information, it will broadcast the alarm information. After the first connection module 2 and the second connection module 3 receive the alarm information, they will respectively communicate with the connected first controlled device 6 and The second controlled device 7 sends a control instruction, and the first controlled device 6 and the second controlled device 7 execute corresponding actions after receiving the control instruction, so as to realize the reduction 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 to ventilate after receiving the control command, and the lighting device turns on for lighting after receiving the control command.

上述,本发明实施例在控制模块的处理器出现故障后,控制模块会将故障信息在CAN总线中进行广播,从而使得其他模块和设备能够得知控制模块处于故障状态;而在后续探测设备检测到异常时,第一连接模块能够将生成的告警信息直接在CAN总线上进行广播,从而使得第一连接模块和第二连接模块能够分别控制第一受控设备和第二受控设备动作。本发明实施例能够实现设备的全局降低联动,解决了现有技术中无法实现设备的全局降级联动的技术问题。As mentioned 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; When an exception occurs, 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 respectively control the actions of the first controlled device and the second controlled device. The embodiment of the present invention can realize the global downgrading linkage of the equipment, and solves the technical problem that the global downgrading linkage of the equipment cannot be realized in the prior art.

在上述实施例的基础上,还包括:On the basis of the foregoing embodiments, it also includes:

当控制模块被操控时,控制模块生成控制信息,并将控制信息在CAN总线上进行广播,以使第一连接模块和第二连接模块分别控制第一受控设备执行动作以及控制第二受控设备执行动作。When the control module is manipulated, 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 actions and control the second controlled device The device performs the action.

在一个实施例中,当控制模块1处于故障状态时,用户还可以通过手动操作控制模块1的方式,对第一受控设备6和第二受控设备7进行控制。具体的,当用户手动操作控制模块1上用于控制第一受控设备和第二受控设备的按键或开关时,控制模块1会向CAN总线4发送控制信息,控制信息用于控制第一受控设备6和第二受控设备7。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 the buttons or switches on the control module 1 for controlling the first controlled device and the second controlled device, the control module 1 will send control information to the CAN bus 4, and the control information is used to control the first controlled device. The controlled device 6 and the second controlled device 7 .

CAN总线4在接收到控制信息后,会对控制信息进行广播,第一连接模块2和第二连接模块3在接收到控制信息后,则分别根据控制信息向第一受控设备6和第二受控设备7发送控制指令,从而使得第一受控设备6和第二受控设备7动作,实现第一受控设备6和第二受控设备7的联动控制。After the CAN bus 4 receives the control information, it will broadcast the control information. After the first connection module 2 and the second connection module 3 receive the control information, they will send the first controlled device 6 and the second device respectively according to the control information. The controlled device 7 sends a control command, so that the first controlled device 6 and the second controlled device 7 act, and the linkage control of the first controlled device 6 and the second controlled device 7 is realized.

上述,本发明实施例中当控制模块处于故障时,用户通过手动操作控制模块的方式,也能够对第一受控设备和第二受控设备进行联动控制,从而避免控制模块发生故障后用户无法对受控设备进行控制的情况,保证设备控制系统的可靠性。As mentioned above, in the embodiment of the present invention, when the control module is in failure, the user can also perform linkage control on the first controlled device and the second controlled device by manually operating the control module, so as to prevent the user from being unable to The situation of controlling the controlled equipment ensures the reliability of the equipment control system.

在上述实施例的基础上,CAN总线4还通过数据转换模块8与以太网的服务器9相连接,数据转换模块8用于实现CAN总线4的数据格式和以太网的数据格式之间的转换。On the basis of the above-mentioned embodiments, the CAN bus 4 is also connected to the server 9 of the Ethernet through the data conversion module 8, and 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.

在一个实施例中,如图3所示,CAN总线4还通过数据转换模块8与以太网的服务器9相连接。其中数据转换模块8,用于实现CAN总线4的数据格式和以太网的数据格式之间的转换,例如将CAN总线4所使用的CAN帧格式转化为以太网所使用的以太网帧格式,从而使得设备控制系统和以太网的服务器9之间能够进行数据传输。In one embodiment, as shown in FIG. 3 , the CAN bus 4 is also connected to an Ethernet server 9 through a data conversion module 8 . Wherein 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, such as converting the CAN frame format used by the CAN bus 4 into the Ethernet frame format used by the Ethernet, thereby Data transmission can be performed between the equipment control system and the server 9 of the Ethernet.

如图4所示,方法还包括:As shown in Figure 4, the method also includes:

步骤104、第一连接模块和第二连接模块分别接收第一受控设备上报的第一设备执行信息和第二受控设备上报的第二设备执行信息,并分别将第一设备执行信息以及第二设备执行信息通过CAN总线发送至数据转换模块,第一设备执行信息包括第一受控设备的动作执行结果,由第一受控设备执行动作后生成;第二设备执行信息包括第二受控设备的动作执行结果,由第二受控设备执行动作后生成。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 respectively transfer the first device execution information and the second device execution information to The second device execution information is sent to the data conversion module through the CAN bus. 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 second controlled device. The action execution result of the device is generated after the second controlled device executes the action.

在本实施例中,第一受控设备6和第二受控设备7在接收到控制指令并执行动作后,会根据自身动作执行的成功与否,分别生成第一设备执行信息以及第二设备执行信息。之后第一受控设备6会将第一设备执行信息上传至第一连接模块2,第二受控设备7会将第二设备执行信息上传至第二连接模块3,第一连接模块2和第二连接模块3再分别将第一设备执行信息以及第二设备执行信息上传至CAN总线4,通过CAN总线4将第一设备执行信息以及第二设备执行信息发送至述数据转换模块8。In this embodiment, after the first controlled device 6 and the second controlled device 7 receive the control instruction and execute the action, they will respectively generate the first device execution information and the second device execution information according to the success of their own action execution. Execution information. After that, the first controlled device 6 will upload the execution information of the first device to the first connection module 2, and the second controlled device 7 will upload the execution information of the second device to the second connection module 3, and the first connection module 2 and the second connection module The second connection module 3 uploads the first device execution information and the second device execution information to the CAN bus 4 respectively, and sends the first device execution information and the second device execution information to the data conversion module 8 through the CAN bus 4 .

步骤105、数据转换模块将第一设备执行信息以及第二设备执行信息分别转换为第一目标信息和第二目标信息后,将第一目标信息和第二目标信息发送至服务器中进行分析,以使服务器确定出第一受控设备和第二受控设备是否成功执行动作。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, to The server is enabled to determine whether the first controlled device and the second controlled device successfully performed the action.

在一个实施例中,数据转换模块8可以通过在CAN总线4上订阅消息的方式,来监听第一设备执行信息以及第二设备执行信息。当数据转换模块8在CAN总线4上监听到第一设备执行信息以及第二设备执行信息后,会将第一设备执行信息以及第二设备执行信息进行格式转换,得到第一目标信息和第二目标信息,之后数据转换模块8进一步将第一目标信息和第二目标信息发送到服务器9中。而服务器9在接收到第一目标信息和第二目标信息后,会对第一目标信息和第二目标信息进行分析,从而确定出第一受控设备6和第二受控设备7是否成功执行动作。在另一个实施例中,若确认出第一受控设备6和/或第二受控设备7没有成功执行动作时,服务器9还可以进一步向用户终端发送信息,从而使得用户通过用户终端能够得知第一受控设备6和/或第二受控设备7的执行情况。In one embodiment, the data conversion module 8 can monitor the execution information of the first device and the execution information of the second device 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 first device execution information and the second device execution information to obtain the first target information and the second device execution information. target information, and then the data conversion module 8 further sends 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, so as to determine whether the first controlled device 6 and the second controlled device 7 are successfully executed. action. In another embodiment, if it is confirmed that the first controlled device 6 and/or the second controlled device 7 have not successfully performed the action, the server 9 can further send information to the user terminal, so that the user can obtain The implementation of the first controlled device 6 and/or the second controlled device 7 is known.

在一个实施例中,如图5所示,还包括:In one embodiment, as shown in Figure 5, also includes:

步骤106、服务器在确定出第一受控设备和第二受控设备无法成功执行动作时,生成设备重控制信息,并将设备重控制信息发送至数据转换模块。Step 106, when the server determines that the first controlled device and the second controlled device cannot successfully execute actions, generate device re-control information, and send the device re-control information to the data conversion module.

在一个实施例中,当服务器9根据第一设备执行信息和第二设备执行信息确定出第一受控设备6和第二受控设备7无法成功执行动作时,需要重新对第一受控设备6和第二受控设备7进行控制,此时服务器9会进一步生成设备重控制信息,并将设备重控制信息发送到数据转换模块8中。In one embodiment, when the server 9 determines that the first controlled device 6 and the second controlled device 7 cannot perform actions successfully according to the first device execution information and the second device execution information, it is necessary to reset the first controlled device. 6 and the second controlled device 7 to perform control, 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 .

步骤107、数据转换模块将设备重控制信息转化为设备重控制目标信息,将设备重控制目标信息通过CAN总线进行广播,以使第一连接模块和第二连接模块分别重新控制第一受控设备以及控制第二受控设备。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 respectively and control the second controlled device.

数据转换模块8在接收到服务器9发送的设备重控制信息后,会进一步对设备重控制信息进行格式转换,从而将设备重控制信息转换为CAN帧格式的设备重控制目标信息。之后数据转换模块8将设备重控制目标信息发送至CAN总线4上进行广播,第一连接模块2和第二连接模块3在接收到设备重控制目标信息后,能够根据设备重控制目标信息分别重新对第一受控设备6和第二受控设备7进行控制,使得第一受控设备6和第二受控设备7重新执行动作,提高设备控制系统的可靠性。After receiving the device re-control information sent by the server 9, the data conversion module 8 will further perform format conversion on the device re-control information, thereby converting the device re-control information into device re-control target information in CAN frame format. Afterwards, the data conversion module 8 sends the device re-control target information to the CAN bus 4 for broadcasting. After the first connection module 2 and the second connection module 3 receive the device re-control target information, they can respectively re-control the device according to the device re-control target information. The first controlled device 6 and the second controlled device 7 are controlled so that the first controlled device 6 and the second controlled device 7 execute actions again, thereby improving the reliability of the device control system.

在上述实施例的基础上,方法还包括:On the basis of the foregoing embodiments, the method also includes:

步骤108、第一连接模块和第二连接模块分别接收第一受控设备周期上报的第一设备状态信息和第二受控设备周期上报的第二设备状态信息,并分别将第一设备状态信息以及第二设备状态信息通过CAN总线发送至数据转换模块,第一设备状态信息包括第一受控设备当前的状态的信息;第二设备状态信息包括有第二受控设备当前的状态的信息。Step 108, the first connection module and the second connection module respectively receive the first device state information periodically reported by the first controlled device and the second device state information periodically reported by the second controlled device, and respectively transfer the first device state information to And the second device state information is sent to the data conversion module through the CAN bus, the first device state information includes the current state information of the first controlled device; the second device state information includes the current state information of the second controlled device.

在本实施例中,第一受控设备6和第二受控设备7还会周期分别上报第一设备状态信息和第二设备状态信息,第一设备状态信息包括第一受控设备6的当前的状态的信息;第二设备状态信息包括有第二受控设备7的当前的状态的信息。第一连接模块2和第二连接模块3在分别接收到第一设备状态信息以及第二设备状态信息后,会进一步将第一设备状态信息以及第二设备状态信息发送至CAN总线4上,利用CAN总线4将第一设备状态信息以及第二设备状态信息传输至数据转换模块8。In this embodiment, the first controlled device 6 and the second controlled device 7 also periodically report the first device status information and the second device status information respectively, and the first device status information includes the current status of the first controlled device 6. state information; the second device state information includes the current state information of the second controlled device 7 . After the first connection module 2 and the second connection module 3 respectively receive the first device status information and the second device status information, they will further send the first device status information and the second device status information to the CAN bus 4, and utilize The CAN bus 4 transmits the first device state information and the second device state information to the data conversion module 8 .

步骤109、数据转换模块将第一设备状态信息以及第二设备状态信息分别转换为第一目标状态信息和第二目标状态信息后,将第一目标状态信息和第二目标状态信息发送至服务器中进行分析,以使服务器对第一受控设备和第二受控设备进行监控。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 Analysis is performed so that the server monitors the first controlled device and the second controlled device.

数据转换模块8在接收到第一设备状态信息和第二设备状态信息后,会进一步将第一设备状态信息以及第二设备状态信息转化为以太网帧格式,得到第一目标状态信息和第二目标状态信息。之后,数据转换模块8会将第一目标状态信息和第二目标状态信息发送至服务器9中进行分析,从而使得服务器9通过对第一目标状态信息和第二目标状态信息分析,实时确定出第一受控设备6的状态和第二受控设备7的状态,实现对第一受控设备6和第二受控设备7的实时监控。另外,需要说明的是,步骤108和步骤109与步骤101-步骤107并没有先后执行顺序,并非需要执行步骤101-步骤107后,才执行步骤108-步骤109。After the data conversion module 8 receives the first device status information and the second device status information, it will further convert the first device status information and the second device status information into Ethernet frame format to obtain the first target status information and the second target status information. Target status information. Afterwards, the data conversion module 8 will send the first target state information and the second target state information to the server 9 for analysis, so that the server 9 can determine the first target state information in real time by analyzing the first target state information and the second target state information. The status of the first controlled device 6 and the status of the second controlled device 7 realize real-time monitoring of the first controlled device 6 and the second controlled device 7 . In addition, it should be noted that step 108 and step 109 and step 101-step 107 are not performed sequentially, and it is not necessary to perform step 101-step 107 before performing step 108-step 109.

在上述实施例的基础上,方法还包括:On the basis of the foregoing embodiments, the method also includes:

步骤110、服务器周期将当前时间点之前预设时间长度内接收到的第一目标状态信息以及第二目标状态信息,分别输入至设备老化分析模型中,得到第一受控设备的老化程度和第二受控设备的老化程度。Step 110: The server periodically inputs the first target status information and the second target status information received within a preset time period before the current time point into the equipment aging analysis model respectively, and obtains the aging degree and the second target status information of the first controlled equipment. 2. The aging degree of the controlled equipment.

在另一个实施例中,服务器9会周期将当前时间点之前预设时间长度内接收到的第一目标状态信息以及第二目标状态信息,分别输入至设备老化分析模型中。例如,假设每个周期的间隔为30分钟,而预设时间长度为15分钟,服务器9即可在每经过30分钟后,将当前时间点之前15分钟内接收到的第一目标状态信息以及第二目标状态信息,分别输入至设备老化分析模型中。一个实施例中,为了保证输入设备老化分析模型的数据量,预设时间长度要大于第一受控设备6/第二受控设备7两次上报第一设备状态信息/第二设备状态信息的时间间隔。之后设备老化分析模块会根据接收到的第一目标状态信息,对第一受控设备6的老化程度进行分析,以及根据接收到的第二目标状态信息,对第二受控设备7的老化程度进行分析,得到第一受控设备6的老化程度和第二受控设备7的老化程度,用户可通过查看受控设备(第一受控设备6和第二受控设备7)的老化程度,确定出受控设备的老化情况,从而及时更换掉老化程度较高的受控设备。需要说明的是,设备老化分析模型为神经网络模型,可通过对神经网络模型进行训练得到。In another embodiment, the server 9 periodically inputs the first target status information and the second target status information received within a preset period of time before the current time point into the equipment aging analysis model respectively. For example, assuming that the interval of each cycle is 30 minutes, and the preset time length is 15 minutes, the server 9 can send the first target state information received within 15 minutes before the current time point and the second target status information received every 30 minutes. The state information of the two targets is respectively input into the equipment aging analysis model. In one embodiment, in order to ensure the amount of data input into the device aging analysis model, the preset time length should be longer than the time when the first controlled device 6/second controlled device 7 reports the first device status information/second device status information twice. time interval. After that, the equipment 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. Perform analysis to obtain the aging degree of the first controlled device 6 and the aging degree of the second controlled device 7, and the user can check the aging degree of the controlled device (the first controlled device 6 and the second controlled device 7), Determine the aging condition of the controlled equipment, so as to replace the controlled equipment with high aging degree in time. It should be noted that the equipment aging analysis model is a neural network model, which can be obtained by training the neural network model.

在上述实施例的基础上,还包括:On the basis of the foregoing embodiments, it also includes:

步骤111、第一连接模块和第二连接模块分别接收第一受控设备上报的第一设备故障信息和第二受控设备上报的第二设备故障信息,并分别将第一设备故障信息以及第二设备故障信息通过CAN总线发送至数据转换模块,第一设备状态信息包括第一受控设备当前的故障的信息;第二设备状态信息包括有第二受控设备当前的故障的信息;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 transmit the first device fault information and the second device fault information The second equipment failure information is sent to the data conversion module through the CAN bus, the first equipment status information includes the current failure information of the first controlled equipment; the second equipment status information includes the current failure information of the second controlled equipment;

在一个实施例中,第一受控设备6和第二受控设备7发生故障时,第一受控设备6和第二受控设备7会分别生成第一设备故障信息和第二设备故障信息,其中第一设备状态信息包括第一受控设备6当前的故障的信息,第二设备状态信息包括有第二受控设备7当前的故障的信息。之后,第一受控设备6会将第一设备故障信息发送至第一连接模块2,第二受控设备7会将第二设备故障信息发送至第二连接模块3,第一连接模块2和第二连接模块3分别将第一设备故障信息以及第二设备故障信息上报至CAN总线4上,通过CAN总线4将第一设备故障信息以及第二设备故障信息发送至数据转换模块8。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 fault information and second device fault information respectively , wherein the first device state information includes the current fault information of the first controlled device 6 , and the second device state information includes the current fault information of the second controlled device 7 . After that, the first controlled device 6 will send the first device fault information to the first connection module 2, and the second controlled device 7 will send the second device fault information to the second connection module 3, and the first connection module 2 and The second connection module 3 reports the first device fault information and the second device fault information to the CAN bus 4 respectively, and sends the first device fault information and the second device fault information to the data conversion module 8 through the CAN bus 4 .

步骤112、数据转换模块将第一设备故障信息以及第二设备故障信息分别转换为第一目标故障信息和第二目标故障信息后,将第一目标故障信息和第二目标故障信息发送至服务器,以使服务器根据发生故障的第一受控设备和/或第二受控设备,向用户终端发送设备运维信息。Step 112: After the data conversion module converts the first equipment failure information and the second equipment failure information into the first target failure information and the second target failure information respectively, then sends the first target failure information and the second target failure information to the server, So that the server sends equipment operation and maintenance information to the user terminal according to the first controlled equipment and/or the second controlled equipment that has failed.

数据转换模块8在从CAN总线4中接收到第一设备故障信息以及第二设备故障信息后,会对第一设备故障信息的格式以及第二设备故障信息的格式进行以太网帧格式的转化,转化后得到第一目标故障信息和第二目标故障信息。之后数据转换模块8会进一步将第一目标故障信息和第二目标故障信息发送至服务器9中,由服务器9对第一目标故障信息和第二目标故障信息进行分析,确定出发生故障的第一受控设备6和/或第二受控设备7,并根据故障的第一受控设备6和/或第二受控设备7生成设备运维信息,例如设备运维信息的内容为:“编号为XX的设备发生故障,需要维修等”。之后再将设备运维信息发送至用户终端中,从而告知用户及时对设备进行维修。After the data conversion module 8 receives the first equipment failure information and the second equipment failure information from the CAN bus 4, it will convert the format of the first equipment failure information and the format of the second equipment failure information into the Ethernet frame format, After conversion, the first target fault information and the second target fault information are obtained. Afterwards, the data conversion module 8 will further send the first target fault information and the second target fault information to the server 9, and the server 9 will analyze the first target fault information and the second target fault information, and determine the first target fault information where the fault occurs. The controlled equipment 6 and/or the second controlled equipment 7, and generate equipment operation and maintenance information according to the faulty first controlled equipment 6 and/or the second controlled equipment 7, for example, the content of the equipment operation and maintenance information is: "No. The equipment for XX is out of order and needs to be repaired, etc." After that, the equipment operation and maintenance information is sent to the user terminal, so as to inform the user to repair the equipment in time.

上述,本发明实施例在控制模块的处理器出现故障后,控制模块会将故障信息在CAN总线中进行广播,从而使得其他模块和设备能够得知控制模块处于故障状态;而在后续探测设备检测到异常时,第一连接模块能够将生成的告警信息直接在CAN总线上进行广播,从而使得第一连接模块和第二连接模块能够分别控制第一受控设备和第二受控设备动作。本发明实施例能够实现设备的全局降低联动,解决了现有技术中无法实现设备的全局降级联动的技术问题。As mentioned 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; When an exception occurs, 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 respectively control the actions of the first controlled device and the second controlled device. The embodiment of the present invention can realize the global downgrading linkage of the equipment, and solves the technical problem that the global downgrading linkage of the equipment cannot be realized in the prior art.

本发明实施例还提供了一种设备控制系统,包括控制模块、第一连接模块以及第二连接模块,且控制模块、第一连接模块以及第二连接模块通过CAN总线相连接,第一连接模块的第一端口和第二端口分别与探测设备以及第一受控设备相连接,第一连接模块的第三端口与CAN总线相连接,第二连接模块的第一端口与第二受控设备相连接,第二连接模块的第二端口与CAN总线相连接:The embodiment of the present invention also provides an equipment control system, including a control module, a first connection module and a second connection module, and the control module, the first connection module and the second connection module are connected through a CAN bus, and the first connection module The first port and the second port of the first connection module are respectively connected to the detection device and the first controlled device, the third port of the first connection module is connected to the CAN bus, and the first port of the second connection module is connected to the second controlled device connection, the second port of the second connection module is connected to the CAN bus:

控制模块用于确认自身的处理器发生故障后,生成故障信息并在CAN总线上进行广播;The control module is used to confirm that its own processor fails, generates fault information and broadcasts it on the CAN bus;

第一连接模块用于在通过CAN总线接收到故障信息后,确认控制模块处于故障状态;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;

当第一连接模块接收到探测设备上报的异常信息且控制模块处于故障状态时,第一连接模块用于根据异常信息生成告警信息,并将告警信息在CAN总线上进行广播,以使第一连接模块和第二连接模块分别控制第一受控设备执行动作以及控制第二受控设备执行动作。When the first connection module receives the abnormal information reported by the detection equipment 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 The module and the second connection module respectively control the first controlled device to perform actions and control the second controlled device to perform actions.

在上述实施例的基础上,当控制模块被操控时,控制模块还用于生成控制信息,并将控制信息在CAN总线上进行广播,以使第一连接模块和第二连接模块分别控制第一受控设备执行动作以及控制第二受控设备执行动作。On the basis of the above embodiments, when the control module is manipulated, 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 The controlled device performs the action and controls a second controlled device to perform the action.

在上述实施例的基础上,探测设备包括温度传感器以及烟雾传感器中的至少一种,第一受控设备和第二受控设备均包括蜂鸣器、广播设备、照明设备、通风设备、卷帘门设备、电梯设备以及门禁设备中的至少一种。On the basis of the above embodiments, the detecting device includes at least one of a temperature sensor and a smoke sensor, and both the first controlled device and the second controlled device include a buzzer, broadcasting device, lighting device, ventilation device, rolling door device , at least one of elevator equipment and access control equipment.

在上述实施例的基础上,CAN总线还通过数据转换模块与以太网的服务器相连接,数据转换模块用于实现CAN总线的数据格式和以太网的数据格式之间的转换,On the basis of the foregoing embodiments, the CAN bus is also connected to the server of the Ethernet 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,

第一连接模块和第二连接模块还分别用于接收第一受控设备上报的第一设备执行信息和第二受控设备上报的第二设备执行信息,并分别将第一设备执行信息以及第二设备执行信息通过CAN总线发送至数据转换模块,第一设备执行信息包括第一受控设备的动作执行结果,由第一受控设备执行动作后生成;第二设备执行信息包括第二受控设备的动作执行结果,由第二受控设备执行动作后生成;The first connection module and the second connection module are also used to 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 connect the first device execution information and the second device execution information The second device execution information is sent to the data conversion module through the CAN bus. 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 second controlled device. The action execution result of the device is generated by the second controlled device after executing the action;

数据转换模块还用于将第一设备执行信息以及第二设备执行信息分别转换为第一目标信息和第二目标信息后,将第一目标信息和第二目标信息发送至服务器中进行分析,以使服务器确定出第一受控设备和第二受控设备是否成功执行动作。The data conversion module is also used to convert the first device execution information and the second device execution information into the first target information and the second target information respectively, and then send the first target information and the second target information to the server for analysis, so as to The server is enabled to determine whether the first controlled device and the second controlled device successfully performed the action.

在上述实施例的基础上,服务器还用于在确定出第一受控设备和第二受控设备无法成功执行动作时,生成设备重控制信息,并将设备重控制信息发送至数据转换模块;On the basis of the above embodiments, the server is further configured to generate device re-control information when it is determined that the first controlled device and the second controlled device cannot successfully perform actions, and send the device re-control information to the data conversion module;

数据转换模块还用于将设备重控制信息转化为设备重控制目标信息,将设备重控制目标信息通过CAN总线进行广播,以使第一连接模块和第二连接模块分别重新控制第一受控设备以及控制第二受控设备。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 re-control the first controlled device respectively and control the second controlled device.

在上述实施例的基础上,第一连接模块和第二连接模块还分别用于接收第一受控设备周期上报的第一设备状态信息和第二受控设备周期上报的第二设备状态信息,并分别将第一设备状态信息以及第二设备状态信息通过CAN总线发送至数据转换模块,第一设备状态信息包括第一受控设备当前的状态的信息;第二设备状态信息包括有第二受控设备当前的状态的信息;On the basis of the above embodiments, the first connection module and the second connection module are further configured to receive the first device state information periodically reported by the first controlled device and the second device state information periodically reported by the second controlled device, respectively, And respectively send the first device state information and the second device state information to the data conversion module through the CAN bus, the first device state information includes the current state information of the first controlled device; the second device state information includes the second controlled device Information about the current state of the control device;

数据转换模块还用于将第一设备状态信息以及第二设备状态信息分别转换为第一目标状态信息和第二目标状态信息后,将第一目标状态信息和第二目标状态信息发送至服务器中进行分析,以使服务器对第一受控设备和第二受控设备进行监控。The data conversion module is also used to convert the first device state information and the second device state information into the first target state information and the second target state information respectively, and then send the first target state information and the second target state information to the server Analysis is performed so that the server monitors the first controlled device and the second controlled device.

在上述实施例的基础上,服务器还用于周期将当前时间点之前预设时间长度内接收到的第一设备状态信息以及第二设备状态信息,分别输入至设备老化分析模型中,得到第一受控设备的老化程度和第二受控设备的老化程度。On the basis of the above embodiments, the server is further configured to periodically input the first device state information and the second device state information received within a preset time period before the current time point into the device aging analysis model respectively to obtain the first The aging degree of the controlled device and the aging degree of the second controlled device.

在上述实施例的基础上,第一连接模块和第二连接模块还分别用于接收第一受控设备上报的第一设备故障信息和第二受控设备上报的第二设备故障信息,并分别将第一设备故障信息以及第二设备故障信息通过CAN总线发送至数据转换模块,第一设备状态信息包括第一受控设备当前的故障的信息;第二设备状态信息包括有第二受控设备当前的故障的信息;On the basis of the above embodiments, the first connection module and the second connection module are further configured 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 respectively, 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 second controlled device Information about current faults;

数据转换模块还用于将第一设备故障信息以及第二设备故障信息分别转换为第一目标故障信息和第二目标故障信息后,将第一目标故障信息和第二目标故障信息发送至服务器,以使服务器根据发生故障的第一受控设备和/或第二受控设备,向用户终端发送设备运维信息。The data conversion module is further configured to convert the first device fault information and the second device fault information into the first target fault information and the 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 equipment operation and maintenance information to the user terminal according to the first controlled equipment and/or the second controlled equipment that has failed.

上述,本发明实施例在控制模块的处理器出现故障后,控制模块会将故障信息在CAN总线中进行广播,从而使得其他模块和设备能够得知控制模块处于故障状态;而在后续探测设备检测到异常时,第一连接模块能够将生成的告警信息直接在CAN总线上进行广播,从而使得第一连接模块和第二连接模块能够分别控制第一受控设备和第二受控设备动作。本发明实施例能够实现设备的全局降低联动,解决了现有技术中无法实现设备的全局降级联动的技术问题。As mentioned 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; When an exception occurs, 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 respectively control the actions of the first controlled device and the second controlled device. The embodiment of the present invention can realize the global downgrading linkage of the equipment, and solves the technical problem that the global downgrading linkage of the equipment cannot be realized in the prior art.

注意,上述仅为本发明实施例的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明实施例不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明实施例的保护范围。因此,虽然通过以上实施例对本发明实施例进行了较为详细的说明,但是本发明实施例不仅仅限于以上实施例,在不脱离本发明实施例构思的情况下,还可以包括更多其他等效实施例,而本发明实施例的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in the embodiments of the present invention. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described here, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the protection scope of the embodiments of the present invention . Therefore, although the embodiments of the present invention have been described in detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalents without departing from the concept of the embodiments of the present invention. embodiment, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (10)

1. The method is suitable for an equipment 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 through a CAN bus, a first port and a second port of the first connection module are respectively connected with a detection device and a first controlled device, a third port of the first connection module is connected with the CAN bus, a first port of the second connection module is connected with the second controlled device, and a second port of the second connection module is connected with the CAN bus, and the method comprises the following steps:
after confirming that the processor of the control module fails, the control module generates failure information and broadcasts the failure information on the CAN bus;
after the first connection module receives the fault information through the CAN bus, the control module is confirmed to be in a fault state;
when the first connection module receives the abnormal information reported by the detection equipment 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 equipment to execute actions and control the second controlled equipment to execute actions.
2. The apparatus linkage control method according to claim 1, characterized in that the method further comprises:
when the control module is controlled, the control module generates control information and broadcasts the control information on a CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to execute actions and control the second controlled device to execute actions.
3. The device linkage control method according to claim 1, wherein the CAN bus is further connected to a server of the ethernet through a data conversion module, the data conversion module is configured to implement conversion between a data format of the CAN bus and a data format of the ethernet, and the method further includes:
the first connection module and the second connection module respectively receive first equipment execution information reported by first controlled equipment and second equipment execution information reported by second controlled equipment, and respectively send the first equipment execution information and the second equipment execution information to the data conversion module through a CAN bus, wherein the first equipment execution information comprises an action execution result of the first controlled equipment, and is generated after the first controlled equipment executes actions; the second device execution information comprises an action execution result of the second controlled device, and the action execution result is generated after the second controlled device executes the action;
the data conversion module converts the first equipment execution information and the second equipment execution information into first target information and second target information respectively, and then sends the first target information and the second target information to the server for analysis, so that the server determines whether the first controlled equipment and the second controlled equipment successfully execute actions.
4. A method of controlling equipment linkage according to claim 3, further comprising:
when the server determines that the first controlled device and the second controlled device cannot successfully execute actions, generating device re-control information and sending the device re-control information to the data conversion module;
the data conversion module converts the equipment re-control information into equipment re-control target information, and broadcasts the equipment re-control target information through a CAN bus so that the first connection module and the second connection module respectively re-control the first controlled equipment and the second controlled equipment.
5. A method of controlling equipment linkage according to claim 3, further comprising:
the first connection module and the second connection module respectively receive first equipment state information reported by a first controlled equipment period and second equipment state information reported by a second controlled equipment period, and respectively send the first equipment state information and the second equipment state information to the data conversion module through a CAN bus, wherein the first equipment state information comprises information of the current state of the first controlled equipment; the second equipment state information comprises information of the current state of the second controlled equipment;
the data conversion module converts the first equipment state information and the second equipment state information into first target state information and second target state information respectively, and then sends the first target state information and the second target state information to the server for analysis, so that the server monitors the first controlled equipment and the second controlled equipment.
6. The apparatus linkage control method according to claim 5, further comprising:
and the server periodically inputs the first target state information and the second target state information which are received in a preset time length before the current time point into an equipment aging analysis model respectively to obtain the aging degree of the first controlled equipment and the aging degree of the second controlled equipment.
7. A method of controlling equipment linkage according to claim 3, further comprising:
the first connection module and the second connection module respectively receive first equipment fault information reported by the first controlled equipment and second equipment fault information reported by the second controlled equipment, and respectively send the first equipment fault information and the second equipment fault information to the data conversion module through a CAN bus, wherein the first equipment state information comprises information of the current fault of the first controlled equipment; the second equipment state information comprises information of the current fault of the second controlled equipment;
the data conversion module converts the first equipment fault information and the second equipment fault information into first target fault information and second target fault information respectively, and then sends the first target fault information and the second target fault information to the server, so that the server sends equipment operation and maintenance information to a user terminal according to the first controlled equipment and/or the second controlled equipment which are in fault.
8. The equipment control system is characterized by 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 through a CAN bus, a first port and a second port of the first connection module are respectively connected with a detection equipment and a first controlled equipment, a third port of the first connection module is connected with the CAN bus, a first port of the second connection module is connected with a second controlled equipment, and a second port of the second connection module is connected with the CAN bus:
the control module is used for generating fault information and broadcasting on the CAN bus after confirming that the processor of the control module fails;
the first connection module is used for confirming that the control module is in a fault state after the fault information is received through the CAN bus;
when the first connection module receives the abnormal information reported by the detection equipment and the control module is in a fault state, the first connection module is used for generating alarm information according to the abnormal information and broadcasting the alarm information on the CAN bus so that the first connection module and the second connection module respectively control the first controlled equipment to execute actions and control the second controlled equipment to execute actions.
9. The appliance control system of claim 8, further comprising:
when the control module is controlled, the control module is used for generating control information and broadcasting the control information on a CAN bus, so that the first connection module and the second connection module respectively control the first controlled device to execute actions and control the second controlled device to execute actions.
10. The device control system of claim 8, wherein the detection device comprises at least one of a temperature sensor and a smoke sensor, and the first controlled device and the second controlled device each comprise at least one of a buzzer, a broadcasting device, a lighting device, a ventilation device, a roller shutter door device, an elevator device, and an access control device.
CN202310122053.XA 2023-02-14 2023-02-14 A device linkage control method and device control system Active CN116088480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310122053.XA CN116088480B (en) 2023-02-14 2023-02-14 A device linkage control method and device control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310122053.XA CN116088480B (en) 2023-02-14 2023-02-14 A device linkage control method and device control system

Publications (2)

Publication Number Publication Date
CN116088480A true CN116088480A (en) 2023-05-09
CN116088480B CN116088480B (en) 2025-04-15

Family

ID=86186821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310122053.XA Active CN116088480B (en) 2023-02-14 2023-02-14 A device linkage control method and device control system

Country Status (1)

Country Link
CN (1) CN116088480B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1136250A (en) * 1995-03-16 1996-11-20 Abb.专利有限公司 Method for fault-tolerant communication under strictly real-time conditions
CN202794885U (en) * 2012-07-02 2013-03-13 浙江正泰中自控制工程有限公司 Safety control redundant system for fully-intelligent master control system
CN205809583U (en) * 2016-06-23 2016-12-14 北京星锐视通科技有限公司 Linkage door control system based on CAN
KR101757157B1 (en) * 2016-10-28 2017-07-13 주식회사 엘앤비기술 Public address apparatus using CAN communication
CN108667703A (en) * 2017-03-29 2018-10-16 比亚迪股份有限公司 Information transferring method, device in vehicle-mounted broadcasting subsystem and computer equipment
CN112087523A (en) * 2020-09-18 2020-12-15 成都聚家科技有限公司 Intelligent building management system and device based on cloud service and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1136250A (en) * 1995-03-16 1996-11-20 Abb.专利有限公司 Method for fault-tolerant communication under strictly real-time conditions
CN202794885U (en) * 2012-07-02 2013-03-13 浙江正泰中自控制工程有限公司 Safety control redundant system for fully-intelligent master control system
CN205809583U (en) * 2016-06-23 2016-12-14 北京星锐视通科技有限公司 Linkage door control system based on CAN
KR101757157B1 (en) * 2016-10-28 2017-07-13 주식회사 엘앤비기술 Public address apparatus using CAN communication
CN108667703A (en) * 2017-03-29 2018-10-16 比亚迪股份有限公司 Information transferring method, device in vehicle-mounted broadcasting subsystem and computer equipment
CN112087523A (en) * 2020-09-18 2020-12-15 成都聚家科技有限公司 Intelligent building management system and device based on cloud service and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄征等: "基于OPC技术的集散控制系统的实现", 烟草科技, no. 07, 20 July 2012 (2012-07-20) *

Also Published As

Publication number Publication date
CN116088480B (en) 2025-04-15

Similar Documents

Publication Publication Date Title
CN101083698B (en) Surveillance device
JP6078893B2 (en) Pan-tilt-zoom device identification method, pan-tilt-zoom device, camera, and pan-tilt-zoom device control system
EP2346212B1 (en) Communication error monitoring system of power device based on ethernet and method thereof
EP2962289B1 (en) System and method for emergency communication in a tcp/ip based redundant fire panel network
JP2003284160A (en) Building management system
CN106790096A (en) A kind of fire-fighting user profile Transmission system and its application
CN103781691B (en) Concentrator station computer
CN113110179A (en) Electric power safety early warning method, device, equipment and storage medium based on edge calculation
JP2013201664A (en) Redundant communication device
CN116088480A (en) Equipment linkage control method and equipment control system
CN110737256B (en) Method and device for controlling variable-frequency transmission system
JP2008020969A (en) Process and method for abnormality/trouble report for monitoring control system
CN115981906A (en) Equipment fault processing method and equipment fault processing system
CN108959023A (en) A kind of electrical power distribution automatization system equipment on-line monitoring alarm method
CN113497738B (en) Enterprise environmental monitoring data transmission method and system
CN106685711A (en) System and method for detecting plug-in-level faults of equipment of motor train unit
CN113704051A (en) Server fault detection system and implementation method
JP4291932B2 (en) Automatic train control system
CN115361199B (en) Anomaly detection equipment and systems
RU2830648C1 (en) Method of monitoring state of maintenance and repair of technical building system of object
KR101552785B1 (en) real time monitoring system self-healing way and system
CN115431300A (en) Robot fault detection method and robot
JP2004334548A (en) Failure monitoring system for distributed supervisory control system
JP4282463B2 (en) Remote monitoring system
JP2002344460A (en) Power grid monitor control system and record medium with connection establishment state monitoring control program recorded thereon

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant