CN114594672A - Control system and control method thereof, and computer-readable storage medium - Google Patents
Control system and control method thereof, and computer-readable storage medium Download PDFInfo
- Publication number
- CN114594672A CN114594672A CN202210224341.1A CN202210224341A CN114594672A CN 114594672 A CN114594672 A CN 114594672A CN 202210224341 A CN202210224341 A CN 202210224341A CN 114594672 A CN114594672 A CN 114594672A
- Authority
- CN
- China
- Prior art keywords
- controller
- expansion
- main
- standby
- data
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B9/00—Safety arrangements
- G05B9/02—Safety arrangements electric
- G05B9/03—Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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)
- Hardware Redundancy (AREA)
Abstract
Description
技术领域technical field
本公开涉及楼宇控制技术领域,特别涉及一种控制系统及其控制方法、计算机可读存储介质。The present disclosure relates to the technical field of building control, and in particular, to a control system, a control method thereof, and a computer-readable storage medium.
背景技术Background technique
在楼宇控制系统中,设备、通信和软件在长期运行过程中出现故障是不可避免的问题,此时系统处于宕机状态。在相关技术中,使用双控制器的方案,主备控制器一般并联接入总线,通过一个专用的数据同步接口进行系统过程数据的同步。采用这种系统冗余一旦数据同步线出现异常,则控制系统会出现同时存在两个主机。两个主机同时对设备总线进行请求时会导致控制器与设备通信异常,造成系统数据异常。In building control systems, it is inevitable that equipment, communications and software will fail during long-term operation, when the system is in a state of downtime. In the related art, a dual-controller solution is used, and the active and standby controllers are generally connected to the bus in parallel, and the system process data is synchronized through a dedicated data synchronization interface. With this system redundancy, once the data synchronization line is abnormal, there will be two hosts in the control system at the same time. When two hosts request the device bus at the same time, the communication between the controller and the device will be abnormal, resulting in abnormal system data.
发明内容SUMMARY OF THE INVENTION
本公开解决的一个技术问题是:提供一种控制系统,以尽可能地防止出现系统数据异常的问题。A technical problem solved by the present disclosure is to provide a control system to prevent the problem of abnormal system data as much as possible.
根据本公开的一个方面,提供了一种控制系统,包括:主控制器、备控制器和多个扩展模块,所述多个扩展模块包括至少一个主扩展模块和对应的至少一个备扩展模块,所述多个扩展模块通过扩展总线与所述主控制器和所述备控制器连接,每个扩展模块通过设备连接线连接到现场协议设备;所述主控制器用于通过所述扩展总线和所述主扩展模块对所述现场协议设备进行数据读写操作;所述备控制器用于从所述扩展总线接收数据且不对所述扩展总线发送控制数据;所述主扩展模块用于从所述扩展总线接收数据和向所述扩展总线发送数据;所述备扩展模块用于从所述扩展总线接收数据且不对所述扩展总线发送数据。According to one aspect of the present disclosure, a control system is provided, including: a main controller, a standby controller, and a plurality of expansion modules, the plurality of expansion modules including at least one main expansion module and at least one corresponding standby expansion module, The plurality of expansion modules are connected to the main controller and the standby controller through an expansion bus, and each expansion module is connected to a field protocol device through a device connection line; The main expansion module performs data read and write operations on the field protocol device; the standby controller is used to receive data from the expansion bus and not send control data to the expansion bus; the main expansion module is used to receive data from the expansion bus. The bus receives data and sends data to the expansion bus; the standby expansion module is used for receiving data from the expansion bus and not sending data to the expansion bus.
在一些实施例中,所述主控制器还用于每间隔第一时间周期向所述备控制器发送冗余心跳请求信号;所述备控制器还用于在接收到所述冗余心跳请求信号后,在所述第一时间周期内向所述主控制器返回冗余心跳响应信号,以便与所述主控制器建立心跳链接。In some embodiments, the primary controller is further configured to send a redundant heartbeat request signal to the standby controller every first time period; the standby controller is further configured to receive the redundant heartbeat request After the signal is received, a redundant heartbeat response signal is returned to the main controller within the first time period, so as to establish a heartbeat link with the main controller.
在一些实施例中,所述主扩展模块和对应的备扩展模块具有相同的地址,具有相同地址的主扩展模块和备扩展模块链接到同一个现场协议设备。In some embodiments, the main expansion module and the corresponding standby expansion module have the same address, and the main expansion module and the standby expansion module with the same address are linked to the same field protocol device.
在一些实施例中,所述多个扩展模块包括第一扩展模块,所述第一扩展模块用于在经过随机时间后向所述扩展总线广播包含自身地址的地址广播帧,如果在预定时间内没有收到来自于相同地址的扩展模块的冗余主机应答帧,或者在所述预定时间内接收到来自于相同地址的扩展模块的地址广播帧,则确定所述第一扩展模块自身为主扩展模块;如果在所述预定时间内接收到所述冗余主机应答帧,则确定所述第一扩展模块自身为备扩展模块,其中,所述预定时间大于所述随机时间。In some embodiments, the plurality of expansion modules include a first expansion module configured to broadcast an address broadcast frame containing its own address to the expansion bus after a random time, if within a predetermined time If the redundant host response frame from the expansion module with the same address is not received, or the address broadcast frame from the expansion module with the same address is received within the predetermined time, it is determined that the first expansion module itself is the primary expansion module. module; if the redundant host response frame is received within the predetermined time, determine that the first expansion module itself is a standby expansion module, wherein the predetermined time is greater than the random time.
在一些实施例中,所述主控制器用于将来自于所述现场协议设备的数据发布到所述主控制器中的代理服务器模块;所述备控制器用于接收所述代理服务器模块发来的订阅消息以获得所述现场协议设备的数据,其中,所述订阅消息包含所述现场协议设备的数据。In some embodiments, the primary controller is configured to publish data from the field protocol device to a proxy server module in the primary controller; the standby controller is configured to receive data from the proxy server module A subscription message is subscribed to obtain the field protocol device data, wherein the subscription message contains the field protocol device data.
在一些实施例中,所述主控制器用于向所述现场协议设备发送数据读取请求;所述现场协议设备用于在接收到所述数据读取请求后向所述扩展总线输出差分电压形式的响应数据;其中,所述主控制器和所述备控制器检测得到扩展总线电压的变化,以得到所述响应数据。In some embodiments, the main controller is configured to send a data read request to the field protocol device; the field protocol device is configured to output a differential voltage form to the expansion bus after receiving the data read request The response data; wherein, the main controller and the standby controller detect and obtain the change of the expansion bus voltage to obtain the response data.
在一些实施例中,所述主控制器用于向所述多个扩展模块发送扩展心跳请求信号;所述多个扩展模块中的至少一个扩展模块用于在从所述扩展总线接收到所述扩展心跳请求信号后,向所述主控制器返回扩展心跳响应信号,以与所述主控制器建立心跳链接。In some embodiments, the main controller is configured to send an expansion heartbeat request signal to the plurality of expansion modules; at least one expansion module of the plurality of expansion modules is configured to receive the expansion from the expansion bus After the heartbeat request signal is received, an extended heartbeat response signal is returned to the main controller to establish a heartbeat link with the main controller.
在一些实施例中,所述控制系统还包括:监控服务器,分别与所述主控制器和所述备控制器通信连接,用于获取主控制器、备控制器或主扩展模块的故障信息。In some embodiments, the control system further includes: a monitoring server, connected in communication with the main controller and the standby controller, respectively, for acquiring fault information of the main controller, the standby controller or the main expansion module.
在一些实施例中,所述备控制器用于若在所述第一时间周期内没有接收到来自于所述主控制器的冗余心跳请求信号和扩展心跳请求信号,则确定所述主控制器出现故障,自主切换为主控制器模式,解除通讯限制,向现场协议设备发起读写控制,并将自身切换为主控制器模式的信息上报给所述监控服务器。In some embodiments, the standby controller is configured to determine that the primary controller does not receive a redundant heartbeat request signal and an extended heartbeat request signal from the primary controller within the first time period. When a fault occurs, it switches to the main controller mode autonomously, releases the communication restriction, initiates read and write control to the field protocol device, and reports the information that it switches to the main controller mode to the monitoring server.
在一些实施例中,所述主控制器还用于若在所述第一时间周期内没有收到所述备控制器的冗余心跳响应信号和扩展心跳响应信号,则确定所述备控制器出现故障,并将所述备控制器出现故障的信息上报给所述监控服务器。In some embodiments, the primary controller is further configured to determine that the standby controller does not receive a redundant heartbeat response signal and an extended heartbeat response signal from the standby controller within the first time period. A failure occurs, and the information about the failure of the standby controller is reported to the monitoring server.
在一些实施例中,所述主控制器用于向所述多个扩展模块发送扩展心跳请求信号,如果在第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定所述主扩展模块出现故障,并将所述主扩展模块出现故障的信息上报给所述监控服务器;与所述主扩展模块的地址相同的备扩展模块还用于如果在所述第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定所述主扩展模块出现故障,并自主切换为主扩展模块。In some embodiments, the main controller is configured to send an extension heartbeat request signal to the plurality of extension modules, and if no extension heartbeat response signal of the main extension module is received within a second time period, determine that the main extension The module fails, and reports the failure information of the main expansion module to the monitoring server; the standby expansion module with the same address as the main expansion module is also used if the information is not received within the second time period The expansion heartbeat response signal of the main expansion module determines that the main expansion module is faulty, and autonomously switches to the main expansion module.
在一些实施例中,所述主控制器还用于在上电后,将所述主控制器的本地文件发送给所述备控制器;所述备控制器还用于将所述备控制器的本地文件与所述主控制器的本地文件进行比对,在所述备控制器的本地文件与所述主控制器的本地文件不一致的情况下,将所述主控制器的本地文件同步到所述备控制器中。In some embodiments, the primary controller is further configured to send the local file of the primary controller to the backup controller after power-on; the backup controller is further configured to send the backup controller to the backup controller The local file of the main controller is compared with the local file of the main controller, and in the case that the local file of the standby controller is inconsistent with the local file of the main controller, the local file of the main controller is synchronized to in the standby controller.
在一些实施例中,所述主控制器和所述备控制器分别设置有第一指示灯面板,所述第一指示灯面板包括:第一运行模式指示灯,用于表示当前控制器处于冗余运行模式;第一数据发送指示灯,用于表示所述当前控制器通过设备总线发送数据,其中,所述主控制器和所述备控制器通过所述设备总线连接至交换机,所述交换机通信连接至所述现场协议设备;第一数据接收指示灯,用于表示所述当前控制器通过设备总线接收数据;第二数据发送指示灯,用于表示所述当前控制器通过所述扩展总线发送数据;第二数据接收指示灯,用于表示所述当前控制器通过所述扩展总线接收数据;和第一心跳链接指示灯,用于表示所述当前控制器实施心跳链接。In some embodiments, the main controller and the standby controller are respectively provided with a first indicator panel, and the first indicator panel includes: a first operation mode indicator, which is used to indicate that the current controller is in a redundant state the remaining operation mode; the first data sending indicator light is used to indicate that the current controller sends data through the device bus, wherein the main controller and the standby controller are connected to the switch through the device bus, and the switch Communication is connected to the field protocol device; the first data receiving indicator light is used to indicate that the current controller receives data through the device bus; the second data transmission indicator light is used to indicate that the current controller passes through the expansion bus sending data; a second data receiving indicator light, used to indicate that the current controller receives data through the expansion bus; and a first heartbeat link indicator light, used to indicate that the current controller implements a heartbeat link.
在一些实施例中,每个扩展模块设置有第二指示灯面板,所述第二指示灯面板包括:第二运行模式指示灯,用于表示当前扩展模块处于冗余运行模式;第三数据发送指示灯,用于表示所述当前扩展模块发送数据;第三数据接收指示灯,用于表示所述当前扩展模块接收数据;和第二心跳链接指示灯,用于表示所述当前扩展模块实施心跳链接。In some embodiments, each expansion module is provided with a second indicator panel, and the second indicator panel includes: a second operation mode indicator, used to indicate that the current expansion module is in a redundant operation mode; a third data transmission The indicator light is used to indicate that the current extension module sends data; the third data reception indicator light is used to indicate that the current extension module receives data; and the second heartbeat link indicator light is used to indicate that the current extension module implements the heartbeat Link.
根据本公开的另一个方面,提供了一种用于控制系统的控制方法,包括:主控制器每间隔第一时间周期向备控制器发送冗余心跳请求信号;和所述备控制器在接收到所述冗余心跳请求信号后,在所述第一时间周期内向所述主控制器返回冗余心跳响应信号,以便与所述主控制器建立心跳链接。According to another aspect of the present disclosure, there is provided a control method for a control system, comprising: a primary controller sending a redundant heartbeat request signal to a backup controller every first time period; After the redundant heartbeat request signal is received, a redundant heartbeat response signal is returned to the main controller within the first time period, so as to establish a heartbeat link with the main controller.
在一些实施例中,所述多个扩展模块包括第一扩展模块;所述控制方法还包括:所述第一扩展模块在经过随机时间后向所述扩展总线广播包含自身地址的地址广播帧;如果在预定时间内没有收到来自于相同地址的扩展模块的冗余主机应答帧,或者在所述预定时间内接收到来自于相同地址的扩展模块的地址广播帧,则确定所述第一扩展模块自身为主扩展模块;和如果在所述预定时间内接收到所述冗余主机应答帧,则确定所述第一扩展模块自身为备扩展模块,其中,所述预定时间大于所述随机时间。In some embodiments, the plurality of expansion modules include a first expansion module; the control method further includes: the first expansion module broadcasts an address broadcast frame including its own address to the expansion bus after a random time elapses; If a redundant host response frame from an expansion module with the same address is not received within a predetermined time, or an address broadcast frame from an expansion module with the same address is received within the predetermined time, determining the first extension The module itself is a primary expansion module; and if the redundant host response frame is received within the predetermined time, determining that the first expansion module itself is a standby expansion module, wherein the predetermined time is greater than the random time .
在一些实施例中,所述控制方法还包括:所述主控制器将来自于所述现场协议设备的数据发布到所述主控制器中的代理服务器模块;和所述备控制器接收所述代理服务器模块发来的订阅消息以获得所述现场协议设备的数据,其中,所述订阅消息包含所述现场协议设备的数据。In some embodiments, the control method further comprises: the primary controller publishing data from the field protocol device to a proxy server module in the primary controller; and the secondary controller receiving the data The subscription message sent by the proxy server module obtains the data of the field protocol device, wherein the subscription message contains the data of the field protocol device.
在一些实施例中,所述控制方法还包括:所述主控制器向所述现场协议设备发送数据读取请求;所述现场协议设备在接收到所述数据读取请求后向所述扩展总线输出差分电压形式的响应数据;和所述主控制器和所述备控制器检测得到扩展总线电压的变化,以得到所述响应数据。In some embodiments, the control method further includes: the main controller sends a data read request to the field protocol device; the field protocol device sends a data read request to the expansion bus after receiving the data read request outputting response data in the form of a differential voltage; and the main controller and the standby controller detect and obtain a change in the voltage of the expansion bus to obtain the response data.
在一些实施例中,所述控制方法还包括:所述主控制器向所述多个扩展模块发送扩展心跳请求信号;和所述多个扩展模块中的至少一个扩展模块在从所述扩展总线接收到所述扩展心跳请求信号后,向所述主控制器返回扩展心跳响应信号,以与所述主控制器建立心跳链接。In some embodiments, the control method further includes: the main controller sends an expansion heartbeat request signal to the plurality of expansion modules; and at least one expansion module of the plurality of expansion modules is running from the expansion bus After receiving the extended heartbeat request signal, an extended heartbeat response signal is returned to the main controller to establish a heartbeat link with the main controller.
在一些实施例中,所述控制方法还包括:所述备控制器若在所述第一时间周期内没有接收到来自于所述主控制器的冗余心跳请求信号和扩展心跳请求信号,则确定所述主控制器出现故障,自主切换为主控制器模式,解除通讯限制,向现场协议设备发起读写控制,并将自身切换为主控制器模式的信息上报给监控服务器。In some embodiments, the control method further includes: if the standby controller does not receive a redundant heartbeat request signal and an extended heartbeat request signal from the master controller within the first time period, then: It is determined that the main controller is faulty, and the main controller mode is automatically switched to the main controller mode, the communication restriction is lifted, the read-write control is initiated to the field protocol device, and the information that the main controller is switched to the main controller mode is reported to the monitoring server.
在一些实施例中,所述控制方法还包括:所述主控制器若在所述第一时间周期内没有收到所述备控制器的冗余心跳响应信号和扩展心跳响应信号,则确定所述备控制器出现故障,并将所述备控制器出现故障的信息上报给监控服务器。In some embodiments, the control method further includes: if the primary controller does not receive the redundant heartbeat response signal and the extended heartbeat response signal from the standby controller within the first time period, determining that the The standby controller is faulty, and the fault information of the standby controller is reported to the monitoring server.
在一些实施例中,所述控制方法还包括:所述主控制器向所述多个扩展模块发送扩展心跳请求信号,如果在第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定所述主扩展模块出现故障,并将所述主扩展模块出现故障的信息上报给监控服务器;和与所述主扩展模块的地址相同的备扩展模块如果在所述第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定所述主扩展模块出现故障,并自主切换为主扩展模块。In some embodiments, the control method further includes: the main controller sends an extended heartbeat request signal to the plurality of expansion modules, and if no extended heartbeat response signal from the main expansion module is received within the second time period, Then it is determined that the main expansion module is faulty, and the information that the main expansion module is faulty is reported to the monitoring server; if the standby expansion module with the same address as the main expansion module does not have a fault within the second time period After receiving the extension heartbeat response signal of the main extension module, it is determined that the main extension module is faulty, and the main extension module is automatically switched to the main extension module.
在一些实施例中,所述控制方法还包括:所述主控制器在上电后,将所述主控制器的本地文件发送给所述备控制器;和所述备控制器将所述备控制器的本地文件与所述主控制器的本地文件进行比对,在所述备控制器的本地文件与所述主控制器的本地文件不一致的情况下,将所述主控制器的本地文件同步到所述备控制器中。In some embodiments, the control method further includes: after the main controller is powered on, sending the local file of the main controller to the standby controller; and the standby controller sending the standby controller to the standby controller. The local file of the controller is compared with the local file of the main controller, and if the local file of the standby controller is inconsistent with the local file of the main controller, the local file of the main controller is compared. Synchronized to the standby controller.
根据本公开的另一个方面,提供了一种控制系统,包括:存储器;以及耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令执行如前所述的方法。According to another aspect of the present disclosure, there is provided a control system comprising: a memory; and a processor coupled to the memory, the processor configured to execute the foregoing based on instructions stored in the memory Methods.
根据本公开的另一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,该计算机程序指令被处理器执行时实现如前所述的方法。According to another aspect of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the aforementioned method when executed by a processor.
在上述控制系统中,在主扩展模块发生故障时,备扩展模块可以上线进入工作状态,从而尽可能地防止出现系统数据异常的问题。In the above control system, when the main expansion module fails, the standby expansion module can go online and enter the working state, so as to prevent the problem of abnormal system data as much as possible.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明Description of drawings
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which form a part of the specification, illustrate embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, wherein:
图1是示意性地示出根据本公开一些实施例的控制系统的框图;1 is a block diagram schematically illustrating a control system according to some embodiments of the present disclosure;
图2是示意性地示出根据本公开一些实施例的控制器的第一指示灯面板的示意图;2 is a schematic diagram schematically illustrating a first indicator panel of a controller according to some embodiments of the present disclosure;
图3是示意性地示出根据本公开另一些实施例的扩展模块的第二指示灯面板的示意图;3 is a schematic diagram schematically illustrating a second indicator panel of an expansion module according to other embodiments of the present disclosure;
图4是示意性地示出根据本公开另一些实施例的控制系统的框图;4 is a block diagram schematically illustrating a control system according to other embodiments of the present disclosure;
图5是示意性地示出根据本公开一些实施例的控制系统的总线调配机制示意图;FIG. 5 is a schematic diagram schematically illustrating a bus provisioning mechanism of a control system according to some embodiments of the present disclosure;
图6是示意性地示出根据本公开一些实施例的控制系统的主控制器和备控制器的冗余检测逻辑图;6 is a logic diagram schematically illustrating redundancy detection of a primary controller and a backup controller of a control system according to some embodiments of the present disclosure;
图7是示出根据本公开一些实施例的用于控制系统的控制方法的流程图;7 is a flowchart illustrating a control method for a control system according to some embodiments of the present disclosure;
图8是示出根据本公开另一些实施例的用于控制系统的控制方法的流程图;8 is a flowchart illustrating a control method for a control system according to other embodiments of the present disclosure;
图9是示意性地示出根据本公开另一些实施例的控制系统的框图;FIG. 9 is a block diagram schematically illustrating a control system according to other embodiments of the present disclosure;
图10是示意性地示出根据本公开另一些实施例的控制系统的框图。FIG. 10 is a block diagram schematically illustrating a control system according to further embodiments of the present disclosure.
具体实施方式Detailed ways
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。Meanwhile, it should be understood that, for the convenience of description, the dimensions of various parts shown in the accompanying drawings are not drawn in an actual proportional relationship.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses in any way.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific value should be construed as illustrative only and not as limiting. Accordingly, other examples of exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it need not be discussed further in subsequent figures.
图1是示意性地示出根据本公开一些实施例的控制系统的框图。FIG. 1 is a block diagram schematically illustrating a control system according to some embodiments of the present disclosure.
如图1所示,该控制系统包括:主控制器110、备控制器120和多个扩展模块。该多个扩展模块包括至少一个主扩展模块(例如,n个主扩展模块,n为正整数)和对应的至少一个备扩展模块(例如n个备扩展模块)。所述多个扩展模块通过扩展总线101与主控制器110和备控制器120连接。这里,扩展总线101包括扩展总线的通信线(可以称为扩展通讯线)。每个扩展模块通过设备连接线103连接到现场协议设备(例如,现场协议设备1、现场协议设备2……)。例如,主控制器110可以通过冗余通讯线102连接至备控制器120。As shown in FIG. 1 , the control system includes: a
主控制器110用于通过扩展总线101和主扩展模块对现场协议设备进行数据读写操作。例如,主控制器110向扩展总线101发控制数据,主扩展模块将该控制数据传输到对应的现场协议设备,实现主控制器110的数据写操作;或者,现场协议设备将设备数据发送给主扩展模块,主扩展模块将该设备数据通过扩展总线传输给主控制器110,从而使得主控制器110实现数据读操作。例如,主控制器110为软冗余型可编程控制器。The
备控制器120用于从扩展总线接收数据且不对扩展总线发送控制数据。例如,备控制器120限制了发送控制数据的功能,但是可以发送响应于扩展总线的心跳请求的响应信号,并且保留接收数据的功能。例如,备控制器120为软冗余型可编程控制器。The
主扩展模块用于从扩展总线接收数据和向扩展总线发送数据。即,主扩展模块可以实现数据的接收和发送。The main expansion module is used to receive data from and send data to the expansion bus. That is, the main expansion module can realize the reception and transmission of data.
备扩展模块用于从扩展总线接收数据且不对扩展总线发送数据。即,备扩展模块可以实现数据的接收,但不能进行数据发送。Standby expansion modules are used to receive data from the expansion bus and not send data to the expansion bus. That is, the standby expansion module can receive data, but cannot send data.
至此,提供了根据本公开一些实施例的控制系统。控制系统包括:主控制器、备控制器和多个扩展模块,所述多个扩展模块包括至少一个主扩展模块和对应的至少一个备扩展模块,所述多个扩展模块通过扩展总线与所述主控制器和所述备控制器连接,每个扩展模块通过设备连接线连接到现场协议设备;主控制器用于通过扩展总线和主扩展模块对现场协议设备进行数据读写操作;备控制器用于从扩展总线接收数据且不对扩展总线发送数据;主扩展模块用于从扩展总线接收数据和向扩展总线发送数据;备扩展模块用于从扩展总线接收数据且不对扩展总线发送数据。在该控制系统中,通过设置备扩展模块,在主扩展模块发生故障时,备扩展模块可以上线进入工作状态,从而尽可能地防止出现系统数据异常的问题。而且,上述控制系统可以尽可能地解决控制系统中单元冗余模块单一化、切换稳定性不足的问题。So far, control systems according to some embodiments of the present disclosure have been provided. The control system includes: a main controller, a standby controller, and a plurality of expansion modules, the plurality of expansion modules include at least one main expansion module and at least one corresponding standby expansion module, and the plurality of expansion modules communicate with the The main controller is connected to the standby controller, and each expansion module is connected to the field protocol device through a device connection line; the main controller is used to perform data read and write operations on the field protocol device through the expansion bus and the main expansion module; the standby controller is used for Receive data from the expansion bus without sending data to the expansion bus; the main expansion module is used to receive data from the expansion bus and send data to the expansion bus; the standby expansion module is used to receive data from the expansion bus without sending data to the expansion bus. In this control system, by setting the standby expansion module, when the main expansion module fails, the standby expansion module can go online and enter the working state, thereby preventing the problem of abnormal system data as much as possible. Moreover, the above control system can solve the problems of single redundant modules and insufficient switching stability in the control system as much as possible.
可选地,该控制系统还可以包括所述现场协议设备。当然,本公开的范围并不仅限于此,例如,该控制系统也可以不包括所述现场协议设备。Optionally, the control system may further include the field protocol device. Of course, the scope of the present disclosure is not limited to this, for example, the control system may also not include the field protocol device.
在一些实施例中,主扩展模块和对应的备扩展模块具有相同的地址。具有相同地址的主扩展模块和备扩展模块链接到同一个现场协议设备。这里,主扩展模块和备扩展模块的地址保持一致。在主扩展模块故障时,无须修改备扩展模块的地址,备扩展模块可将自动上线进入工作状态,系统可继续正常运行,只需后续维修故障的扩展模块即可,从而使得控制系统可以灵活高效地运行。In some embodiments, the primary expansion module and the corresponding standby expansion module have the same address. Primary and secondary expansion modules with the same address are linked to the same field protocol device. Here, the addresses of the main expansion module and the standby expansion module are kept the same. When the main expansion module fails, there is no need to modify the address of the standby expansion module. The standby expansion module can automatically go online and enter the working state, and the system can continue to operate normally. Only the faulty expansion module needs to be repaired later, so that the control system can be flexible and efficient. to operate.
在一些实施例中,主控制器110和备控制器120分别设置有第一指示灯面板。这里结合图2描述该第一指示灯面板200。图2是示意性地示出根据本公开一些实施例的控制器的第一指示灯面板的示意图。In some embodiments, the
如图2所示,第一指示灯面板200包括:第一运行模式指示灯STAT_1、第一数据发送指示灯TX_1、第一数据接收指示灯RX_1、第二数据发送指示灯TX_2、第二数据接收指示灯RX_2和第一心跳链接指示灯BEAT_1。As shown in FIG. 2 , the
第一运行模式指示灯STAT_1用于表示当前控制器处于冗余运行模式。The first operation mode indicator STAT_1 is used to indicate that the current controller is in the redundant operation mode.
第一数据发送指示灯TX_1用于表示所述当前控制器通过设备总线发送数据。这里,主控制器和备控制器通过设备总线连接至交换机,交换机通信连接至现场协议设备(后面将结合图4描述)。The first data sending indicator TX_1 is used to indicate that the current controller sends data through the device bus. Here, the main controller and the standby controller are connected to the switch through the device bus, and the switch is communicatively connected to the field protocol device (which will be described later in conjunction with FIG. 4 ).
第一数据接收指示灯RX_1用于表示当前控制器(主控制器或备控制器)通过设备总线接收数据。The first data receiving indicator RX_1 is used to indicate that the current controller (main controller or standby controller) receives data through the device bus.
第二数据发送指示灯TX_2用于表示当前控制器通过扩展总线发送数据。The second data sending indicator TX_2 is used to indicate that the current controller sends data through the expansion bus.
第二数据接收指示灯RX_2用于表示当前控制器通过扩展总线接收数据。The second data receiving indicator RX_2 is used to indicate that the current controller receives data through the expansion bus.
第一心跳链接指示灯BEAT_1用于表示当前控制器实施心跳链接。The first heartbeat link indicator BEAT_1 is used to indicate that the current controller implements the heartbeat link.
在一些实施例中,每个扩展模块设置有第二指示灯面板。这里结合图3描述该第二指示灯面板300。图3是示意性地示出根据本公开另一些实施例的扩展模块的第二指示灯面板的示意图。In some embodiments, each expansion module is provided with a second indicator panel. The
如图3所示,第二指示灯面板300包括:第二运行模式指示灯STAT_2、第三数据发送指示灯TX_3、第三数据接收指示灯RX_3和第二心跳链接指示灯BEAT_2。As shown in FIG. 3 , the
第二运行模式指示灯STAT_2用于表示当前扩展模块(某个主扩展模块或某个备扩展模块)处于冗余运行模式。The second operation mode indicator STAT_2 is used to indicate that the current expansion module (a main expansion module or a standby expansion module) is in a redundant operation mode.
第三数据发送指示灯TX_3用于表示当前扩展模块发送数据。The third data sending indicator TX_3 is used to indicate that the current expansion module sends data.
第三数据接收指示灯RX_3用于表示当前扩展模块接收数据。The third data receiving indicator RX_3 is used to indicate that the current expansion module receives data.
第二心跳链接指示灯BEAT_2用于表示当前扩展模块实施心跳链接。The second heartbeat link indicator BEAT_2 is used to indicate that the current expansion module implements the heartbeat link.
在本公开的实施例中,指示灯可以为LED(Light Emitting Diode,发光二极管)灯。In the embodiment of the present disclosure, the indicator light may be an LED (Light Emitting Diode, light-emitting diode) light.
在上面的实施例中,控制器和扩展模块的指示灯面板可表示其当前运行状态,当然,本领域技术人员能够理解,上述指示灯面板也可用嵌入式显示屏、手机APP(应用程序)、网页等具备显示功能的组件替换,因此,本公开的范围并不仅限于此。In the above embodiment, the indicator panels of the controller and the expansion module can represent their current operating states. Of course, those skilled in the art can understand that the above indicator panels can also use embedded display screens, mobile phone APPs (application programs), Components with a display function, such as web pages, are replaced, and therefore, the scope of the present disclosure is not limited to this.
在一些实施例中,主控制器110还可以用于每间隔第一时间周期T1向备控制器120发送冗余心跳请求信号。备控制器120还可以用于在接收到冗余心跳请求信号后,在第一时间周期内(即,在某个时刻,其中,到达该时刻所经过的时间小于第一时间周期)向主控制器110返回冗余心跳响应信号,以便与主控制器110建立心跳链接。例如,第一时间周期T1的范围可以为0<T1≤2秒。当然,本公开的范围并不仅限于此。In some embodiments, the
例如,用于楼宇的控制系统正常运作时,主控制器110通过冗余通讯线与备控制器120保持冗余心跳和数据同步的连接。主控制器110每间隔一个第一时间周期T1向备控制器120发送冗余心跳请求信号,备控制器120需要在第一时间周期到达前向主控制器110回复响应,此时双方的第一心跳链接指示灯BEAT_1正常闪烁。主控制器110通过设备总线和扩展总线与现场设备保持通讯,正常进行读写控制,其两组TX和RX灯(即,第一数据发送指示灯TX_1、第一数据接收指示灯RX_1、第二数据发送指示灯TX_2和第二数据接收指示灯RX_2)正常闪烁。而备控制器120限制了发送控制数据的功能,但可发送响应于扩展总线的心跳请求的响应信号,同时保留接收数据的功能,其TX_1、RX_1灯均处于常灭状态,TX_2、RX_2正常闪烁,此时,TX_2正常闪烁可以表示备控制器能够发送冗余心跳响应信号。For example, when the control system for the building operates normally, the
在一些实施例中,所述多个扩展模块包括第一扩展模块,该第一扩展模块用于在经过随机时间后向扩展总线广播包含自身地址的地址广播帧,如果在预定时间内没有收到来自于相同地址的扩展模块的冗余主机应答帧,或者在所述预定时间内接收到来自于相同地址的扩展模块的地址广播帧,则确定第一扩展模块自身为主扩展模块;如果在预定时间内接收到冗余主机应答帧,则确定第一扩展模块自身为备扩展模块,其中,预定时间大于随机时间。这里,第一扩展模块为所述多个扩展模块中的任意一个扩展模块。In some embodiments, the plurality of expansion modules include a first expansion module configured to broadcast an address broadcast frame containing its own address to the expansion bus after a random time, if not received within a predetermined time The redundant host response frame from the expansion module with the same address, or the address broadcast frame from the expansion module with the same address is received within the predetermined time, then it is determined that the first expansion module itself is the main expansion module; If the redundant host response frame is received within the time, it is determined that the first expansion module itself is the standby expansion module, wherein the predetermined time is greater than the random time. Here, the first extension module is any one of the plurality of extension modules.
需要说明的是,上述随机时间可以理解为在预定范围内的随机时间,例如不超过1秒,目的是使系统初始化阶段主备扩展模块不会在同一时间发送数据,有先后顺序,方便进行逻辑判断。上述预定时间可以根据实际需要来设定。上述冗余主机是指某个扩展模块的冗余模式中处于主扩展模块的地位,因此,发出冗余主机应答帧的扩展模块为主扩展模块。It should be noted that the above random time can be understood as a random time within a predetermined range, for example, no more than 1 second. The purpose is to prevent the active and standby expansion modules from sending data at the same time during the system initialization phase. There is a sequence, which is convenient for logic. judge. The above predetermined time can be set according to actual needs. The above-mentioned redundant host refers to that a certain expansion module is in the position of the main expansion module in the redundant mode, therefore, the expansion module that sends out the redundant host response frame is the main expansion module.
在上述实施例中,为了使本控制系统灵活高效地运行,两套扩展模块的地址保持一致,其主备关系需要同一地址的两个模块之间通过地址广播帧的方式自主竞争确认。In the above embodiment, in order to make the control system run flexibly and efficiently, the addresses of the two sets of expansion modules are kept the same, and the master/slave relationship requires two modules with the same address to compete and confirm autonomously through address broadcast frames.
例如,在系统上电之后,扩展模块的灯板中的指示灯全灭,与主控制器建立心跳链接后,扩展模块的第二心跳链接指示灯BEAT_2灯转为常亮。在一些实施例中,主控制器用于向所述多个扩展模块发送扩展心跳请求信号;所述多个扩展模块中的至少一个扩展模块用于在从所述扩展总线接收到扩展心跳请求信号后,向主控制器返回扩展心跳响应信号,以与主控制器建立心跳链接。这样,扩展模块与主控制器建立了心跳链接。For example, after the system is powered on, the indicators on the light board of the expansion module are all off, and after the heartbeat link is established with the main controller, the second heartbeat link indicator BEAT_2 of the expansion module turns steady on. In some embodiments, the main controller is configured to send an extension heartbeat request signal to the plurality of extension modules; at least one extension module of the plurality of extension modules is configured to receive an extension heartbeat request signal from the extension bus after receiving the extension heartbeat request signal from the extension bus. , returns an extended heartbeat response signal to the main controller to establish a heartbeat link with the main controller. In this way, the expansion module establishes a heartbeat link with the main controller.
某个扩展模块(即第一扩展模块)在延时随机时间T0之后向扩展总线广播一帧包含自身地址的数据帧(即地址广播帧),若在预定时间(或者称为超时时间)内没有收到相同地址的冗余主机应答帧(说明相同地址的其他扩展模块当前没有作为主扩展模块),或者在预定时间(预定时间大于随机时间)内收到了相同地址模块的地址广播帧(说明相同地址的其他扩展模块发送地址广播帧的时间晚于本扩展模块发送地址广播帧的时间),则该第一扩展模块确认自己为主扩展模块,将第二运行模式指示灯STAT_2变为常亮,并且向扩展总线广播冗余主机应答帧。接收到该冗余主机应答帧的相同地址的其他扩展模块则确认为备扩展模块,其第二运行模式指示灯STAT_2保持常灭。An expansion module (ie, the first expansion module) broadcasts a data frame containing its own address (ie, an address broadcast frame) to the expansion bus after a delay of a random time T0. The redundant host response frame with the same address is received (indicating that other expansion modules with the same address are not currently used as the main expansion module), or the address broadcast frame of the module with the same address is received within a predetermined time (the predetermined time is greater than the random time) (indicating the same The time of sending the address broadcast frame by other expansion modules of the address is later than the time when the expansion module sends the address broadcast frame), then the first expansion module confirms that it is the main expansion module, and turns the second operation mode indicator STAT_2 to be always on, And broadcast the redundant master reply frame to the expansion bus. Other expansion modules that receive the same address of the redundant host response frame are confirmed as standby expansion modules, and the second operation mode indicator STAT_2 thereof remains off.
主扩展模块可正常读写现场协议设备、响应主控制器的心跳请求,其灯板状态为第二运行模式指示灯STAT_2和第二心跳链接指示灯BEAT_2常亮,第三数据发送指示灯TX_3和第三数据接收指示灯RX_3闪烁;备用扩展模块无须响应心跳请求,不可对现场协议设备发送数据,只保留接收数据的功能,其灯板状态为第二运行模式指示灯STAT_2和第三数据发送指示灯TX_3保持常灭,第三数据接收指示灯RX_3闪烁,第二心跳链接指示灯BEAT_2常亮。The main expansion module can read and write field protocol devices normally, and respond to the heartbeat request of the main controller. The third data receiving indicator RX_3 flashes; the standby expansion module does not need to respond to the heartbeat request, and cannot send data to the field protocol device, but only retains the function of receiving data. The indicator TX_3 remains off, the third data receiving indicator RX_3 flashes, and the second heartbeat link indicator BEAT_2 is always on.
在一些实施例中,主控制器110用于将来自于现场协议设备的数据发布到主控制器中的代理服务器模块。备控制器120用于接收该代理服务器模块发来的订阅消息以获得现场协议设备的数据,其中,该订阅消息包含该现场协议设备的数据。该实施例实现了控制器获得基于请求-响应通讯机制的设备数据。In some embodiments, the
在另一些实施例中,主控制器110用于向现场协议设备(例如,现场协议设备1)发送数据读取请求。现场协议设备用于在接收到数据读取请求后向扩展总线101输出差分电压形式的响应数据。主控制器110和备控制器120检测得到扩展总线电压的变化,以得到该响应数据。该实施例实现了控制器获得基于差分信号检测逻辑的设备数据。In other embodiments, the
在上面描述的实施例中,当系统正常运行时,主备控制器时刻进行着数据同步。为了减轻控制器数据同步的通讯压力,可以采用两种不同的方式配合同步:①基于请求-响应通讯机制的设备数据:对于此类数据,主备控制器采用一种基于订阅/发布通讯机制实现数据同步,主控制器会实时将来自此类设备(例如,BACnet设备或TCP/IP(TransmissionControl Protocol/Internet Protocol,传输控制协议/网际协议)设备等)的数据变化值发布给代理服务器模块,备控制器链接代理服务器模块并接收对应的订阅消息,从而实时获取来自此类设备的数据。②基于差分信号检测逻辑的设备数据:主控制器向此类设备(例如,RS485设备或I/O(输入/输出)设备等)发送数据读取请求后,设备向扩展总线输出差分电压形式的响应数据,主备控制器可同时检测到总线电压的变化,因此,对于此类数据,备控制器可自行解释,无需从主控制器同步,减轻了数据同步的压力。In the above-described embodiment, when the system is running normally, the active and standby controllers perform data synchronization all the time. In order to reduce the communication pressure of controller data synchronization, two different methods can be used for synchronization: ① Device data based on the request-response communication mechanism: For this type of data, the active and standby controllers use a subscription/publish-based communication mechanism to achieve Data synchronization, the main controller will release the data change values from such devices (for example, BACnet devices or TCP/IP (Transmission Control Protocol/Internet Protocol) devices, etc.) to the proxy server module in real time, and the backup The controller links the proxy server modules and receives corresponding subscription messages to obtain data from such devices in real time. ②Device data based on differential signal detection logic: After the host controller sends a data read request to such devices (for example, RS485 devices or I/O (input/output) devices, etc.), the device outputs differential voltage to the expansion bus. In response to the data, the active and standby controllers can detect changes in the bus voltage at the same time. Therefore, for such data, the standby controller can interpret it by itself, without synchronizing from the main controller, reducing the pressure of data synchronization.
本公开实施例的备控制器可以采用双通道同步冗余数据的机制,减轻主控制器的数据传输压力,加快主备控制器同步数据的速度。这可以尽可能地解决控制系统中冗余数据同步时资源消耗大,冗余切换速度慢的问题。The standby controller in the embodiment of the present disclosure can adopt a mechanism for synchronizing redundant data in two channels, so as to reduce the data transmission pressure of the main controller and speed up the speed of data synchronization between the active and standby controllers. This can solve the problems of large resource consumption and slow redundancy switching speed when the redundant data is synchronized in the control system as much as possible.
在一些实施例中,主控制器110还可以用于在上电后,将主控制器的本地文件发送给备控制器120。备控制器120还可以用于将备控制器的本地文件与主控制器的本地文件进行比对,在备控制器的本地文件与主控制器的本地文件不一致的情况下,将主控制器的本地文件同步到备控制器中。例如,本地文件包括本地程序版本、配置数据、组态逻辑等文件。这样实现了对本地文件的校验和同步。In some embodiments, the
为了确保主备控制器冗余切换快速且正常,主备控制器之间需要进行软件信息同步和实时数据同步。在上述实施例中,在楼宇控制系统上电运行之时,主备控制器主动校验本地程序版本、配置数据、组态逻辑等文件。当校验不一致时,备控制器将主控制器对应的文件同步至本地。To ensure fast and normal redundancy switching between the active and standby controllers, software information synchronization and real-time data synchronization are required between the active and standby controllers. In the above embodiment, when the building control system is powered on and running, the active and standby controllers actively verify files such as local program versions, configuration data, and configuration logic. When the verification is inconsistent, the standby controller synchronizes the files corresponding to the primary controller to the local.
图4是示意性地示出根据本公开另一些实施例的控制系统的框图。FIG. 4 is a block diagram schematically illustrating a control system according to further embodiments of the present disclosure.
图5是示意性地示出根据本公开一些实施例的控制系统的总线调配机制示意图。图6是示意性地示出根据本公开一些实施例的控制系统的主控制器和备控制器的冗余检测逻辑图。下面结合图4至图6详细描述根据本公开另一些实施例的控制系统。FIG. 5 is a schematic diagram schematically illustrating a bus provisioning mechanism of a control system according to some embodiments of the present disclosure. 6 is a logic diagram schematically illustrating redundancy detection of a primary controller and a secondary controller of a control system according to some embodiments of the present disclosure. Control systems according to other embodiments of the present disclosure will be described in detail below with reference to FIGS. 4 to 6 .
如图4所示,该控制系统包括主控制器110、备控制器120和所述多个扩展模块。As shown in FIG. 4 , the control system includes a
在一些实施例中,如图4所示,主控制器110和备控制器120通过设备总线404连接至交换机440,交换机440通信连接至现场协议设备。例如,该控制系统还包括该交换机440。In some embodiments, as shown in FIG. 4 , the
在一些实施例中,现场协议设备可以包括BACnet设备、RS485设备、I/O设备或TCP/IP设备等。这里,多个现场协议设备的一部分(例如,BACnet设备或者TCP/IP设备)可以通过设备总线404连接到主控制器110和备控制器120,该多个现场协议设备的另一部分(例如,RS485设备或者I/O设备)可以通过扩展总线101连接到主控制器110和备控制器120。In some embodiments, field protocol devices may include BACnet devices, RS485 devices, I/O devices, or TCP/IP devices, among others. Here, a portion of the plurality of field protocol devices (eg, BACnet devices or TCP/IP devices) may be connected to the
例如,如图5所示,主控制器110可以通过设备总线404和扩展总线101实现对现场协议设备的数据读写;备控制器120通过设备总线404和扩展总线101实现从现场协议设备接收数据,但不向设备总线404和扩展总线101发送数据。该主控制器110和备控制器120之间可以实现冗余切换。例如,当主控制器110发生故障时,备控制器120切换为主控制器的功能(即主控制器模式)。For example, as shown in FIG. 5 , the
在一些实施例中,如图4所示,该控制系统还可以包括监控服务器430。监控服务器430分别与主控制器110和备控制器120通信连接。例如,监控服务器430通过标准网线403连接至主控制器110和备控制器120。该监控服务器430用于获取主控制器、备控制器或主扩展模块的故障信息。当然,该监控服务器430还可以用于获取其他信息,例如,备控制器切换为主控制器模式的信息等。In some embodiments, as shown in FIG. 4 , the control system may further include a
当系统出现故障时,可分为两种情况:控制器故障和扩展模块故障。对于控制器故障,可以包括主控制器故障和备控制器故障两种情况。下面分别进行说明。When the system fails, it can be divided into two situations: controller failure and expansion module failure. For the controller failure, it can include the failure of the primary controller and the failure of the backup controller. Each of them will be described below.
在一些实施例中,备控制器120可以用于若在第一时间周期内没有接收到来自于主控制器的冗余心跳请求信号和扩展心跳请求信号,则确定主控制器出现故障,自主切换为主控制器模式,解除通讯限制,向现场协议设备发起读写控制,并将自身切换为主控制器模式的信息上报给监控服务器430。In some embodiments, the
上述实施例实现了对主控制器出现故障的检测。如图6所示,主控制器和备控制器之间通过冗余通讯线和扩展总线(例如扩展通讯线)进行双重冗余检验,防止双主模式出现。备控制器同时检测冗余心跳请求信号和扩展心跳请求信号,若在第一时间周期T1内没有接收来自主控制器的冗余心跳请求信号和扩展心跳请求信号,则判定主控制器已经故障,该备控制器自主切换主机模式(即自身变为主控制器模式),解除扩展总线和设备总线的通讯限制,向现场协议设备发起读写控制,并且将主从切换信息上报到监控服务器。The above-mentioned embodiment realizes the detection of the failure of the main controller. As shown in FIG. 6 , a double redundancy check is performed between the main controller and the standby controller through a redundant communication line and an expansion bus (such as an expansion communication line) to prevent the occurrence of a dual-master mode. The standby controller detects the redundant heartbeat request signal and the extended heartbeat request signal at the same time, and if it does not receive the redundant heartbeat request signal and the extended heartbeat request signal from the main controller within the first time period T1, it is determined that the main controller has failed, The standby controller switches the host mode autonomously (that is, it becomes the master controller mode), releases the communication restriction between the expansion bus and the device bus, initiates read and write control to the field protocol device, and reports the master-slave switching information to the monitoring server.
在本公开的实施例中,冗余心跳信号在主控制器和备控制器之间发送,用于确认主控制器和备控制器之间的冗余通讯正常。扩展心跳信号发送到扩展总线,其作用是:保持扩展模块的通讯连接;以及确认主控制器和备控制器之间的冗余通讯正常。冗余心跳信号和扩展心跳信号基于不同的通讯协议,采用不同的数据帧格式。主控制器可通过多线程分别发送冗余心跳信号和扩展心跳信号。In the embodiment of the present disclosure, a redundant heartbeat signal is sent between the main controller and the standby controller, and is used to confirm that the redundant communication between the main controller and the standby controller is normal. The expansion heartbeat signal is sent to the expansion bus, and its functions are: maintaining the communication connection of the expansion module; and confirming that the redundant communication between the main controller and the standby controller is normal. The redundant heartbeat signal and the extended heartbeat signal are based on different communication protocols and use different data frame formats. The main controller can send redundant heartbeat signals and extended heartbeat signals separately through multiple threads.
在一些实施例中,主控制器110还可以用于若在第一时间周期内没有收到备控制器的冗余心跳响应信号和扩展心跳响应信号,则确定备控制器120出现故障,并将备控制器出现故障的信息上报给监控服务器。In some embodiments, the
上述实施例实现了对备控制器出现故障的检测。在该实施例中,若主控制器在第一时间周期内既未收到备控制器的冗余心跳响应信号,也未收到备控制器的扩展心跳响应信号,则主控制器判断备控制器出现故障,并将故障信息上报监控服务器。The above embodiment realizes the detection of the failure of the standby controller. In this embodiment, if the main controller neither receives the redundant heartbeat response signal of the standby controller nor the extended heartbeat response signal of the standby controller within the first time period, the main controller determines that the standby controller If the device fails, report the failure information to the monitoring server.
在一些实施例中,主控制器110可以用于向所述多个扩展模块发送扩展心跳请求信号,如果在第二时间周期T2内没有接收到主扩展模块的扩展心跳响应信号,则确定主扩展模块出现故障,并将主扩展模块出现故障的信息上报给监控服务器430。与主扩展模块的地址相同的备扩展模块还可以用于如果在该第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定主扩展模块出现故障,并自主切换为主扩展模块。这里,第二时间周期可以根据实际需要来设定。In some embodiments, the
该实施例实现了主扩展模块出现故障的检测。主控制器定时向扩展模块发送扩展心跳请求信号。主备扩展模块可同时检测到扩展心跳请求信号,备扩展模块无需回复该扩展心跳请求信号,主扩展模块则需要在第二时间周期T2(可以称为心跳周期)内发送扩展心跳响应信号,否则主控制器和备扩展模块都判断主扩展模块已经故障。此时备扩展模块自主切换为主扩展模块。当扩展模块发生冗余切换时,备扩展模块会向主控制器发送信息,告知主控制器该地址的扩展模块发生了冗余切换。主控制器同步向监控服务器上报该扩展模块故障的信息。这可以尽可能地解决控制系统中任意模块发生故障时都需要停机维修的问题。This embodiment realizes the detection of the failure of the main expansion module. The main controller periodically sends an extension heartbeat request signal to the extension module. The active and standby expansion modules can detect the extended heartbeat request signal at the same time, and the standby expansion module does not need to reply to the extended heartbeat request signal. Both the main controller and the standby expansion module judge that the main expansion module is faulty. At this time, the standby expansion module automatically switches to the main expansion module. When the expansion module is redundantly switched, the standby expansion module will send information to the main controller to inform the main controller that the expansion module at this address has undergone redundancy switchover. The main controller synchronously reports the fault information of the expansion module to the monitoring server. This can solve the problem as much as possible that when any module in the control system fails, it needs to be shut down for maintenance.
在一些实施例中,如图4所示,该控制系统还可以包括第一电源451和第二电源452。该第一电源451和该第二电源452通过供电线405连接至主控制器110、备控制器120、主扩展模块1至n和备扩展模块1至n。该第一电源451和该第二电源452分别独立供电。这里,供电线405可以为单独的供电线,也可以作为扩展总线的一部分(可以称为扩展供电线),本公开的范围并不仅限于此。当供电线405也作为扩展总线的一部分时,扩展总线可以包括扩展通讯线和该扩展供电线。In some embodiments, as shown in FIG. 4 , the control system may further include a
至此,提供了根据本公开另一些实施例的控制系统。该控制系统可以作为楼宇控制系统。该控制系统可划分为“业务层-数据处理层-数据采集层”三层架构,包括监控服务器、控制器、扩展模块、现场协议设备等。在该控制系统中,可以设置至少两个控制器以及两套扩展模块,以达到一用一备的目的。主控制器和备控制器之间通过高速冗余通讯线链接。主备控制器和主备扩展模块都接入到同一扩展总线中。主备控制器链接相同的现场协议设备,具有相同地址的扩展模块链接至同一个现场协议设备。So far, control systems according to further embodiments of the present disclosure have been provided. The control system can be used as a building control system. The control system can be divided into a three-layer structure of "business layer - data processing layer - data acquisition layer", including monitoring server, controller, expansion module, field protocol equipment and so on. In the control system, at least two controllers and two sets of expansion modules can be set to achieve the purpose of one for use and one for backup. The main controller and the standby controller are linked through a high-speed redundant communication line. Both the active and standby controllers and the active and standby expansion modules are connected to the same expansion bus. The main and standby controllers are linked to the same field protocol device, and the expansion modules with the same address are linked to the same field protocol device.
上述控制系统实现了当出现故障时楼宇控制器自主切换,使楼宇控制系统不间断运行,减少了运维成本,降低了技术门槛;采用主备控制器的软件冗余方式,避免系统单一化,提高楼宇控制系统的系统稳定性、可靠性及安全性。而且,备控制器采用双通道同步冗余数据的机制,减轻主控制器的数据传输压力,加快主备控制器同步数据的速度。The above control system realizes the autonomous switching of the building controller when a fault occurs, which enables the building control system to run uninterruptedly, reduces the operation and maintenance cost, and lowers the technical threshold; the software redundancy method of the main and standby controllers is adopted to avoid system simplification, Improve the system stability, reliability and safety of building control systems. Moreover, the standby controller adopts the mechanism of dual-channel synchronizing redundant data, which reduces the data transmission pressure of the main controller and speeds up the data synchronization speed of the active and standby controllers.
主控制器和备控制器之间除了部署冗余通讯线,还以并联的方式接入扩展总线中。主控制器和备控制器正常运行后,双方通过冗余通讯线保持冗余心跳链接时,双方的心跳链接指示灯都将正常闪烁。主备控制器使用冗余通讯线和扩展总线进行双向高可靠冗余检测,防止双主或者无主模式出现。In addition to deploying redundant communication lines, the main controller and the standby controller are also connected to the expansion bus in parallel. After the main controller and the standby controller are running normally, when both sides maintain the redundant heartbeat link through the redundant communication line, the heartbeat link indicator lights of both sides will flash normally. The main and standby controllers use redundant communication lines and expansion buses to perform bidirectional high-reliability redundancy detection to prevent dual-master or no-master modes from appearing.
在一些实施例中,主控制器和备控制器同步在扩展总线上进行心跳链接的检测。例如,该检测包括:移除扩展总线上的所有扩展模块,此时总线上没有扩展模块的数据,只有主备控制器的心跳校验,主备控制器的第二数据发送指示灯TX_2和第二数据接收指示灯RX_2仍正常闪烁。In some embodiments, the primary controller and the secondary controller perform heartbeat link detection on the expansion bus synchronously. For example, the detection includes: removing all expansion modules on the expansion bus, at this time there is no data of expansion modules on the bus, only the heartbeat check of the active and standby controllers, the second data transmission indicator TX_2 of the active and standby controllers and the second data transmission indicator TX_2 of the active and standby controllers. 2. The data receiving indicator RX_2 is still flashing normally.
图7是示出根据本公开一些实施例的用于控制系统的控制方法的流程图。如图7所示,该控制方法包括步骤S702至S704。FIG. 7 is a flowchart illustrating a control method for a control system according to some embodiments of the present disclosure. As shown in FIG. 7 , the control method includes steps S702 to S704.
在步骤S702,主控制器每间隔第一时间周期向备控制器发送冗余心跳请求信号。In step S702, the primary controller sends a redundant heartbeat request signal to the backup controller every first time period.
在步骤S704,备控制器在接收到冗余心跳请求信号后,在第一时间周期内向主控制器返回冗余心跳响应信号,以便与主控制器建立心跳链接。In step S704, after receiving the redundant heartbeat request signal, the standby controller returns a redundant heartbeat response signal to the master controller within a first time period, so as to establish a heartbeat link with the master controller.
至此,提供了根据本公开一些实施例的用于控制系统的控制方法。该方法实现了主控制器与备控制器的心跳链接。So far, a control method for a control system according to some embodiments of the present disclosure has been provided. This method realizes the heartbeat link between the primary controller and the standby controller.
在一些实施例中,所述多个扩展模块包括第一扩展模块。所述方法还可以包括:第一扩展模块在经过随机时间后向扩展总线广播包含自身地址的地址广播帧;如果在预定时间内没有收到来自于相同地址的扩展模块的冗余主机应答帧,或者在预定时间内接收到来自于相同地址的扩展模块的地址广播帧,则确定第一扩展模块自身为主扩展模块;和如果在预定时间内接收到冗余主机应答帧,则确定第一扩展模块自身为备扩展模块,其中,预定时间大于随机时间。该实施例实现了扩展模块对自身模式(主扩展模块模式或备扩展模块模式)的确定。In some embodiments, the plurality of expansion modules include a first expansion module. The method may also include: the first expansion module broadcasts an address broadcast frame containing its own address to the expansion bus after a random time; if the redundant host response frame from the expansion module with the same address is not received within a predetermined time, Or receive the address broadcast frame from the expansion module of the same address within the predetermined time, then determine that the first expansion module itself is the main expansion module; and if the redundant host response frame is received within the predetermined time, then determine the first expansion module The module itself is a standby expansion module, wherein the predetermined time is greater than the random time. This embodiment realizes the expansion module's determination of its own mode (main expansion module mode or standby expansion module mode).
图8是示出根据本公开另一些实施例的用于控制系统的控制方法的流程图。下面结合图8详细描述扩展模块对自身模式(主扩展模块模式或备扩展模块模式)的确定过程。如图8所示,该方法包括步骤S802至S812。FIG. 8 is a flowchart illustrating a control method for a control system according to other embodiments of the present disclosure. The following describes the process of determining the expansion module's own mode (main expansion module mode or standby expansion module mode) in detail with reference to FIG. 8 . As shown in FIG. 8 , the method includes steps S802 to S812.
在步骤S802,扩展模块在经过延时随机时间后向扩展总线广播包含自身地址的地址广播帧。In step S802, the expansion module broadcasts an address broadcast frame including its own address to the expansion bus after a random delay time has elapsed.
在步骤S804,扩展模块判断在预定时间内是否接收到应答帧。如果是,则过程进入步骤S806,否则过程进入步骤S808。In step S804, the expansion module determines whether a response frame is received within a predetermined time. If so, the process proceeds to step S806, otherwise the process proceeds to step S808.
在步骤S806,扩展模块根据帧类型判断扩展模块是哪种扩展模块。如果是广播地址帧,则过程进入步骤S808;如果是冗余主机帧,则过程进入步骤S810。In step S806, the extension module determines what kind of extension module the extension module is according to the frame type. If it is a broadcast address frame, the process proceeds to step S808; if it is a redundant host frame, the process proceeds to step S810.
在步骤S808,扩展模块确定自身为主扩展模块;In step S808, the expansion module determines that it is the main expansion module;
在步骤S810,扩展模块确定自身为备扩展模块。In step S810, the expansion module determines itself as a standby expansion module.
在步骤S812,扩展模块发送冗余主机帧。In step S812, the expansion module transmits redundant host frames.
至此,提供了扩展模块对自身模式的确定过程。基于扩展模块通讯地址及上线时间的冗余主备竞争机制,实现扩展模块主备状态快速确认。So far, the process of determining the own mode of the expansion module is provided. Based on the redundant active/standby competition mechanism based on the communication address and online time of the expansion module, the active/standby status of the expansion module can be quickly confirmed.
在一些实施例中,控制方法还可以包括:主控制器将来自于现场协议设备的数据发布到主控制器中的代理服务器模块;和备控制器接收代理服务器模块发来的订阅消息以获得现场协议设备的数据,其中,订阅消息包含现场协议设备的数据。In some embodiments, the control method may further include: the main controller publishes data from the field protocol device to the proxy server module in the main controller; and the standby controller receives the subscription message sent by the proxy server module to obtain the field The data of the protocol device, where the subscription message contains the data of the field protocol device.
在一些实施例中,控制方法还可以包括:主控制器向现场协议设备发送数据读取请求;现场协议设备在接收到数据读取请求后向扩展总线输出差分电压形式的响应数据;和主控制器和备控制器检测得到扩展总线电压的变化,以得到响应数据。In some embodiments, the control method may further include: the main controller sends a data read request to the field protocol device; the field protocol device outputs response data in the form of differential voltage to the expansion bus after receiving the data read request; and the main control The controller and the standby controller detect the change of the expansion bus voltage to obtain the response data.
在一些实施例中,控制方法还可以包括:主控制器向多个扩展模块发送扩展心跳请求信号;和所述多个扩展模块中的至少一个扩展模块在从扩展总线接收到扩展心跳请求信号后,向主控制器返回扩展心跳响应信号,以与主控制器建立心跳链接。In some embodiments, the control method may further include: the main controller sends an expansion heartbeat request signal to a plurality of expansion modules; and after at least one expansion module of the plurality of expansion modules receives the expansion heartbeat request signal from the expansion bus , returns an extended heartbeat response signal to the main controller to establish a heartbeat link with the main controller.
在一些实施例中,控制方法还可以包括:备控制器若在第一时间周期内没有接收到来自于主控制器的冗余心跳请求信号和扩展心跳请求信号,则确定主控制器出现故障,自主切换为主控制器模式,解除通讯限制,向现场协议设备发起读写控制,并将自身切换为主控制器模式的信息上报给监控服务器。In some embodiments, the control method may further include: if the standby controller does not receive the redundant heartbeat request signal and the extended heartbeat request signal from the primary controller within the first time period, determining that the primary controller is faulty, It switches to the main controller mode autonomously, lifts the communication restrictions, initiates read and write control to the field protocol device, and reports the information that it switches to the main controller mode to the monitoring server.
在一些实施例中,控制方法还可以包括:主控制器若在第一时间周期内没有收到备控制器的冗余心跳响应信号和扩展心跳响应信号,则确定备控制器出现故障,并将备控制器出现故障的信息上报给监控服务器。In some embodiments, the control method may further include: if the primary controller does not receive the redundant heartbeat response signal and the extended heartbeat response signal of the standby controller within the first time period, determining that the standby controller is faulty, and putting the The fault information of the standby controller is reported to the monitoring server.
在一些实施例中,控制方法还可以包括:主控制器向多个扩展模块发送扩展心跳请求信号,如果在第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定主扩展模块出现故障,并将主扩展模块出现故障的信息上报给监控服务器;和与主扩展模块的地址相同的备扩展模块如果在第二时间周期内没有接收到主扩展模块的扩展心跳响应信号,则确定主扩展模块出现故障,并自主切换为主扩展模块。In some embodiments, the control method may further include: the main controller sends an extended heartbeat request signal to a plurality of expansion modules, and if no extended heartbeat response signal of the main expansion module is received within the second time period, determining that the main expansion module If there is a fault, and report the failure information of the main expansion module to the monitoring server; if the standby expansion module with the same address as the main expansion module does not receive the expansion heartbeat response signal of the main expansion module within the second time period, it is determined that The main expansion module fails and switches to the main expansion module autonomously.
在一些实施例中,控制方法还可以包括:主控制器在上电后,将主控制器的本地文件发送给备控制器;和备控制器将备控制器的本地文件与主控制器的本地文件进行比对,在备控制器的本地文件与主控制器的本地文件不一致的情况下,将主控制器的本地文件同步到备控制器中。In some embodiments, the control method may further include: after the main controller is powered on, sending the local file of the main controller to the standby controller; and the standby controller sending the local file of the standby controller with the local file of the main controller The files are compared, and if the local file of the standby controller is inconsistent with the local file of the main controller, the local file of the main controller is synchronized to the standby controller.
本公开实施例的控制系统和方法可实现楼宇控制系统发生故障时控制器无干扰热切换,且主机异常判定采用冗余通讯接口数据与扩展总线数据双重校验,避免因单一数据同步线异常导致系统出现双主机的问题,造成系统宕机等重大事故,且采用冗余通讯接口和扩展总线双重数据同步机制,可大大减少数据同步接口的通讯带宽压力,提高控制系统的可靠性。The control system and method of the embodiments of the present disclosure can realize the non-interference hot switching of the controller when the building control system fails, and the host abnormality judgment adopts the redundant communication interface data and the expansion bus data to double check, so as to avoid the abnormality caused by the single data synchronization line. The problem of dual hosts in the system causes major accidents such as system downtime, and the redundant communication interface and expansion bus dual data synchronization mechanism can greatly reduce the communication bandwidth pressure of the data synchronization interface and improve the reliability of the control system.
图9是示意性地示出根据本公开另一些实施例的控制系统的框图。该控制系统包括存储器910和处理器920。其中:FIG. 9 is a block diagram schematically illustrating a control system according to further embodiments of the present disclosure. The control system includes a
存储器910可以是磁盘、闪存或其它任何非易失性存储介质。存储器用于存储图7和/或图8所对应实施例中的指令,或者其他方法实施例对应的指令。The
处理器920耦接至存储器910,可以作为一个或多个集成电路来实施,例如微处理器或微控制器。该处理器920用于执行存储器中存储的指令,从而尽可能地防止出现系统数据异常的问题。The
需要说明的是,控制系统可以包括多个存储器910和多个处理器920,该多个存储器910和该多个处理器920可以配套地位于不同控制器或不同扩展模块中。It should be noted that the control system may include
在一些实施例中,还可以如图10所示,控制系统1000包括存储器1010和处理器1020。处理器1020通过BUS总线1030耦合至存储器1010。控制系统1000还可以通过存储接口1040连接至外部存储装置1050以便调用外部数据,还可以通过网络接口1060连接至网络或者另外一台计算机系统(未标出),此处不再进行详细介绍。In some embodiments, as shown in FIG. 10 , the
在该实施例中,通过存储器存储数据指令,再通过处理器处理上述指令,从而尽可能地防止出现系统数据异常的问题。In this embodiment, the data instructions are stored by the memory, and then the above-mentioned instructions are processed by the processor, so as to prevent the problem of abnormal system data as much as possible.
需要说明的是,控制系统可以包括多个存储器1010、多个处理器1020、多个BUS总线1030、多个存储接口1040、多个外部存储装置1050和多个网络接口1060。该多个存储器1010、多个处理器1020、多个BUS总线1030、多个存储接口1040、多个外部存储装置1050和多个网络接口1060可以配套地位于不同控制器或不同扩展模块中。It should be noted that the control system may include
在另一个实施例中,本公开还提供了一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现图7和/或图8所对应实施例中的方法的步骤,或者其他方法实施例对应的步骤。本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In another embodiment, the present disclosure further provides a computer-readable storage medium on which computer program instructions are stored, and when the instructions are executed by a processor, implement the method in the embodiment corresponding to FIG. 7 and/or FIG. 8 steps, or steps corresponding to other method embodiments. As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .
本公开是参照根据本公开实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
至此,已经详细描述了本公开。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the present disclosure has been described in detail. Some details that are well known in the art are not described in order to avoid obscuring the concept of the present disclosure. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。While some specific embodiments of the present disclosure have been described in detail by way of examples, those skilled in the art will appreciate that the above examples are provided for illustration only, and are not intended to limit the scope of the present disclosure. Those skilled in the art will appreciate that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (25)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210224341.1A CN114594672B (en) | 2022-03-07 | 2022-03-07 | Control system and control method thereof, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210224341.1A CN114594672B (en) | 2022-03-07 | 2022-03-07 | Control system and control method thereof, and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114594672A true CN114594672A (en) | 2022-06-07 |
CN114594672B CN114594672B (en) | 2025-05-27 |
Family
ID=81807173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210224341.1A Active CN114594672B (en) | 2022-03-07 | 2022-03-07 | Control system and control method thereof, and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114594672B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022159A (en) * | 2022-06-27 | 2022-09-06 | 汉中一零一航空电子设备有限公司 | Control equipment main controller redundancy backup system and method |
CN116841241A (en) * | 2023-09-01 | 2023-10-03 | 浙江国利信安科技有限公司 | Industrial control system, control method, and computer-readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984003A (en) * | 2005-11-01 | 2007-06-20 | 阿尔卡特公司 | Distributed communication equipment architectures and techniques |
CN101083559A (en) * | 2007-06-22 | 2007-12-05 | 中兴通讯股份有限公司 | Method and system for switching master control module and slave control module |
CN101916217A (en) * | 2010-08-04 | 2010-12-15 | 中兴通讯股份有限公司 | Method, control device and system for switching a plurality of controllers |
WO2016026306A1 (en) * | 2014-08-22 | 2016-02-25 | 中兴通讯股份有限公司 | Data backup method, system, node and computer storage media |
CN111247496A (en) * | 2019-01-28 | 2020-06-05 | 深圳市大疆创新科技有限公司 | External load control method and device, unmanned aerial vehicle and terminal device |
CN213818207U (en) * | 2020-12-23 | 2021-07-27 | 京信网络系统股份有限公司 | Base station system and communication system |
CN113485237A (en) * | 2021-08-13 | 2021-10-08 | 无锡信捷电气股份有限公司 | PLC redundancy control system and method based on bus monitoring |
-
2022
- 2022-03-07 CN CN202210224341.1A patent/CN114594672B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984003A (en) * | 2005-11-01 | 2007-06-20 | 阿尔卡特公司 | Distributed communication equipment architectures and techniques |
CN101083559A (en) * | 2007-06-22 | 2007-12-05 | 中兴通讯股份有限公司 | Method and system for switching master control module and slave control module |
CN101916217A (en) * | 2010-08-04 | 2010-12-15 | 中兴通讯股份有限公司 | Method, control device and system for switching a plurality of controllers |
WO2016026306A1 (en) * | 2014-08-22 | 2016-02-25 | 中兴通讯股份有限公司 | Data backup method, system, node and computer storage media |
CN111247496A (en) * | 2019-01-28 | 2020-06-05 | 深圳市大疆创新科技有限公司 | External load control method and device, unmanned aerial vehicle and terminal device |
CN213818207U (en) * | 2020-12-23 | 2021-07-27 | 京信网络系统股份有限公司 | Base station system and communication system |
CN113485237A (en) * | 2021-08-13 | 2021-10-08 | 无锡信捷电气股份有限公司 | PLC redundancy control system and method based on bus monitoring |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022159A (en) * | 2022-06-27 | 2022-09-06 | 汉中一零一航空电子设备有限公司 | Control equipment main controller redundancy backup system and method |
CN116841241A (en) * | 2023-09-01 | 2023-10-03 | 浙江国利信安科技有限公司 | Industrial control system, control method, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114594672B (en) | 2025-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103647781B (en) | Mixed redundancy programmable control system based on equipment redundancy and network redundancy | |
CN115113516B (en) | A master-slave redundant control system and control method | |
US9934111B2 (en) | Control and data transmission system, process device, and method for redundant process control with decentralized redundancy | |
US20130007319A1 (en) | Method and system for implementing redundant network interface modules in a distributed i/o system | |
CN110488597B (en) | Dual redundant control method for main processing unit of locomotive | |
WO2017071274A1 (en) | Disaster tolerance method and apparatus in active-active cluster system | |
CN102103532B (en) | Safety redundancy computer system of train control vehicle-mounted equipment | |
CN110879565A (en) | Dual-computer redundancy control system and redundancy control/fault monitoring method and device thereof | |
CN111767244B (en) | Dual-redundancy computer equipment based on domestic Loongson platform | |
CN110427283B (en) | Dual-redundancy fuel management computer system | |
CN114594672A (en) | Control system and control method thereof, and computer-readable storage medium | |
CN106850255B (en) | Method for implementing multi-machine backup | |
CN104570721A (en) | Master and slave state determining method of redundant controllers | |
CN110515295A (en) | A kind of method of the redundancy I/O module of dynamic and configurable | |
JP2013190955A (en) | Client server system by hot standby system | |
CN212541329U (en) | Dual-redundancy computer equipment based on domestic Loongson platform | |
CN119239707A (en) | Method, system, device and medium for redundancy and smooth switching of locomotive control equipment | |
WO2020156584A1 (en) | Automatic switching system and method of front-end processor | |
CN204406385U (en) | The management devices of computer system | |
US11829266B2 (en) | Computing device, redundant system, program, and method for constructing redundant configuration | |
CN114326366A (en) | Soft redundancy control system and configuration method thereof | |
US9003067B2 (en) | Network and method for operating the network | |
CN117827544A (en) | Hot backup system, method, electronic device and storage medium | |
US10621024B2 (en) | Signal pairing for module expansion of a failsafe computing system | |
CN119024674A (en) | Controller redundancy system, vehicle, and controller redundancy system control method |
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 |