CN116055249A - Bus communication system, control method, device and medium thereof - Google Patents
Bus communication system, control method, device and medium thereof Download PDFInfo
- Publication number
- CN116055249A CN116055249A CN202310108268.6A CN202310108268A CN116055249A CN 116055249 A CN116055249 A CN 116055249A CN 202310108268 A CN202310108268 A CN 202310108268A CN 116055249 A CN116055249 A CN 116055249A
- Authority
- CN
- China
- Prior art keywords
- master station
- standby
- communication system
- controller
- station device
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 118
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004801 process automation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
- H04L12/40202—Flexible bus arrangements involving redundancy by using a plurality of master stations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Hardware Redundancy (AREA)
Abstract
The application relates to the field of communication, and discloses a bus communication system, a control method, a device and a medium thereof, wherein the bus communication system comprises: the system comprises a controller, a master station device, a standby master station device and an alarm device; the controller is connected with the master station equipment to acquire first state information of the master station equipment; the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition; the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition. According to the scheme, the controller is used for controlling the standby master station equipment to execute the main-standby switching when the master station equipment meets the first preset condition, and sending the alarm information when the standby master station equipment meets the second preset condition, so that the standby master station equipment is maintained in time, the communication system cannot work normally when the host is down due to the communication link failure of the standby equipment, and the stability and the reliability of the communication system are improved.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a bus communication system, and a control method, device, and medium thereof.
Background
The process field bus (Process Field Bus, PROFIBUS) protocol is an open, manufacturer-independent, international standard bus protocol, including three protocols, PROFIBUS-DP (Distributed Peripherals), PROFIBUS-PA (Process Automation) and PROFIBUS-FMS (Fieldbus Message Specification), and is widely used in the field of equipment communication. The PROFIBUS-DP communication system comprises a master station device and a slave station device, wherein the master station device and the slave station device are connected through a cable. When a master station device, a slave station device, or a cable fails, interruption of communication and loss of data may be caused.
In order to prevent failure of the primary station device to cause interruption of communication, it is often an option to provide redundant hosts in the communication system. Fig. 1 is a block diagram of a conventional communication system, and as shown in fig. 1, when a redundant host device serving as a master device fails, the redundant host device starts up and receives the master service. The networking mode can greatly improve the stability and reliability of a communication system. However, in the operation process of the communication system, if the redundant host works normally, the redundant host and the slave station communicate bidirectionally, and the redundant slave can only be used for receiving the data sent by the slave station. Therefore, when the redundant standby takes over the primary station service, the system may not work normally due to the communication link failure of the redundant standby.
It can be seen that how to provide a control method for a bus communication system to improve the stability and reliability of the communication system is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the application is to provide a bus communication system control method, a device and a medium thereof, so as to prevent the communication system from not working normally when a host is down due to the communication link failure of a standby device, and improve the stability and reliability of the communication system.
In order to solve the above technical problem, the present application provides a bus communication system, including: the system comprises a controller, a master station device, a standby master station device and an alarm device;
the controller is connected with the master station equipment to acquire first state information of the master station equipment;
the controller is also connected with the standby master station equipment to control the standby master station equipment to execute a master-slave switching operation when the first state information meets a first preset condition;
the alarm device is connected with the controller to send alarm information when the controller detects that the standby master station device meets a second preset condition.
Preferably, the master station device and the standby master station device both comprise an embedded processor and a master-standby redundancy circuit;
the main and standby redundant circuits comprise a DPRAM circuit and a redundant logic controller.
Preferably, the master station device and the standby master station device are connected with the slave station device through an RS485 bus.
In order to solve the technical problem, the present application further provides a control method of a bus communication system, which is applied to a bus communication system including a controller, a master station device, a standby master station device and an alarm device, wherein the controller is connected with the master station device and the standby master station device, the alarm device is connected with the controller, and the control method of the bus communication system includes:
acquiring first state information of the master station equipment;
judging whether the first state information meets a first preset condition, and if so, controlling the standby master station equipment to execute a master-standby switching operation.
Preferably, the first preset condition includes:
acquiring a main-standby switching instruction sent by the controller; and/or the current moment satisfies the primary and standby switching period;
the second preset condition is that the communication link of the standby master station equipment fails.
Preferably, after the step of controlling the standby master station device to perform the active-standby switching operation, the method further includes:
and recording the equipment information and the second state information of each standby master station equipment.
Preferably, the method further comprises:
and when the unregistered standby master station device is detected, controlling the unregistered standby master station device to execute a master-slave switching operation.
In order to solve the technical problem, the present application further provides a bus communication system control device, which is applied to a bus communication system including a controller, a master station device, a standby master station device and an alarm device, wherein the controller is connected with the master station device and the standby master station device, the alarm device is connected with the standby master station device, and the bus communication system control device includes:
the acquisition module is used for acquiring the first state information of the master station equipment;
the control module is used for judging whether the first state information meets a first preset condition, and if so, controlling the standby master station equipment to execute a master-standby switching operation;
and the alarm module is used for judging whether the standby master station equipment meets a second preset condition, and if so, controlling the alarm equipment to send alarm information.
In order to solve the technical problem, the present application further provides a bus communication system control device, including a memory for storing a computer program;
and the processor is used for realizing the steps of the bus communication system control method when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the bus communication system control method.
The present application provides a bus communication system comprising: the system comprises a controller, a master station device, a standby master station device and an alarm device; the controller is connected with the master station equipment to acquire first state information of the master station equipment; the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition; the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition. Therefore, according to the technical scheme, when the main station equipment meets the first preset condition, the controller is used for controlling the standby main station equipment to execute main-standby switching operation, and when the standby main station equipment meets the second preset condition, alarm information is sent to the manager through the alarm equipment, so that the manager can maintain the standby main station equipment in time, the communication system can not work normally when the main machine is down due to the communication link failure of the standby equipment, and the stability and reliability of the communication system are improved.
In addition, the application also provides a control method, a device and a medium of the bus communication system, which are applied to the bus communication system and have the same effects.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of a conventional communication system;
FIG. 2 is a block diagram of a bus communication system according to an embodiment of the present application;
FIG. 3 is a flowchart of a control method of a bus communication system according to an embodiment of the present application;
fig. 4 is a block diagram of a control device of a bus communication system according to an embodiment of the present application;
FIG. 5 is a block diagram of another control device for a bus communication system according to an embodiment of the present application;
the reference numerals are as follows: 1 is a controller, 2 is a master station device, 3 is a standby master station device, and 4 is an alarm device.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
The core of the application is to provide a bus communication system, a control method, a control device and a control medium thereof, so as to prevent the communication system from not working normally when a host is down due to the communication link failure of a standby device, and improve the stability and the reliability of the communication system.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
Fig. 2 is a block diagram of a bus communication system provided in an embodiment of the present application, and as shown in fig. 2, the bus communication system provided in the embodiment of the present application includes: the system comprises a controller, a master station device, a standby master station device and an alarm device;
the controller is connected with the master station equipment to acquire first state information of the master station equipment;
the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition;
the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition.
In the working process of the bus communication system, only one I-type master station exists in the system, so that data can be sent to the slave station equipment of the PROFIBUS-DP only by the master station equipment on the PROFIBUS-DP bus, and the data returned by the PROFIBUS-DP slave station can be received by the master station equipment and the standby master station equipment simultaneously. In this case, the transmission link between the master station device and the slave station device of the DP bus is not in an operating state, and if the transmission link fails, such as a disconnection, during this time, the entire communication system cannot timely detect and report the failure of the transmission link. When the master station equipment fails, the redundant switching control system can control the standby master station equipment to take over the service, so that the standby master station equipment is updated to the master station equipment. If the transmission link of the primary standby master station equipment fails, the master station equipment and the slave station equipment of the communication system can not normally perform data interaction, so that the communication system fails and data are lost. Therefore, the application provides a bus communication system, when the main station device meets the first preset condition, the controller is used for controlling the standby main station device to execute the main-standby switching operation, and when the standby main station device meets the second preset condition, the warning device is used for sending warning information to the manager, so that the manager can maintain the standby main station device in time, and the communication system can not work normally when the main machine is down due to the communication link failure of the standby device.
The first preset condition comprises: acquiring a main and standby switching instruction sent by a controller; and/or the current moment satisfies the primary and standby switching period; the second preset condition is that the transmission link of the communication link of the standby master station equipment has a fault.
In specific implementation, after the communication system is powered on, if redundant master station equipment exists in the system, whether the working state of each standby master station equipment is normal is detected in advance, and if so, the standby master station equipment is controlled to initiate primary-standby redundancy switching, so that whether each standby master station equipment can work normally is judged.
It will be appreciated that the number of standby master devices in the system may be one or more, and is not limited herein. If a plurality of standby master station devices exist in the system, equipment information and second state information of each standby master station device are recorded so as to provide data support for executing master-slave switching operation when the master station device is down.
The present application provides a bus communication system comprising: the system comprises a controller, a master station device, a standby master station device and an alarm device; the controller is connected with the master station equipment to acquire first state information of the master station equipment; the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition; the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition. Therefore, according to the technical scheme, when the main station equipment meets the first preset condition, the controller is used for controlling the standby main station equipment to execute main-standby switching operation, and when the standby main station equipment meets the second preset condition, alarm information is sent to the manager through the alarm equipment, so that the manager can maintain the standby main station equipment in time, the communication system can not work normally when the main machine is down due to the communication link failure of the standby equipment, and the stability and reliability of the communication system are improved.
As a preferred embodiment, the master station device and the standby master station device each comprise an embedded processor and a master-standby redundancy circuit;
the main and standby redundant circuits comprise a DPRAM circuit and a redundant logic controller. The master station equipment and the standby master station equipment are connected with the slave station equipment through an RS485 bus.
Specifically, the master station equipment is connected to a communication network through a bottom plate slot, and reads slave station data through a serial data bus; the string data bus used is an RS485 bus. The master station device comprises a bus transceiver for receiving and transmitting RS485 data, and the bus transceiver is connected with a data link layer chip running a Profibus protocol stack through an isolation circuit. The master station equipment and the standby master station equipment are respectively provided with the following modules: the memory circuit comprises a Flash circuit and a memory circuit DPRAM which are respectively connected with the embedded processor, the Flash circuit stores user application programs, and the DPRAM circuit is used for the embedded processor to execute the user application programs at a high speed; the microprocessor executes operation processing including running a curing program on a Profibus protocol stack and running a user application program on a memory circuit; in addition, a reset circuit is arranged on the embedded processor.
Fig. 3 is a flowchart of a control method of a bus communication system provided by an embodiment of the present application, as shown in fig. 3, where the control method of the bus communication system provided by the embodiment of the present application is applied to a bus communication system including a controller, a master station device, a standby master station device, and an alarm device, the controller is connected to the master station device and the standby master station device, and the alarm device is connected to the controller, so that when the controller detects that the standby master station device meets a second preset condition, alarm information is sent to a manager, and the control method of the bus communication system includes:
s10: acquiring first state information of a master station device;
s11: judging whether the first state information meets a first preset condition, and if so, controlling the standby master station equipment to execute a master-standby switching operation;
s12: judging whether the standby master station equipment meets a second preset condition, and if so, controlling the alarm equipment to send alarm information.
The application provides a control method of a bus communication system, which comprises the following steps: to obtain first state information of the master station device; the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition; the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition. Therefore, according to the technical scheme, when the main station equipment meets the first preset condition, the controller is used for controlling the standby main station equipment to execute main-standby switching operation, and when the standby main station equipment meets the second preset condition, alarm information is sent to the manager through the alarm equipment, so that the manager can maintain the standby main station equipment in time, the communication system can not work normally when the main machine is down due to the communication link failure of the standby equipment, and the stability and reliability of the communication system are improved.
As a preferred embodiment, the first preset condition includes: acquiring a main and standby switching instruction sent by a controller; and/or the current moment satisfies the primary and standby switching period; the second preset condition is a communication link failure of the standby master station device.
In order to provide data support for performing a master-slave switch when a master station device is down, a preferred embodiment further needs to record device information and second status information of each standby master station device, so as to select a standby master station device that works normally as a new master station device. On the basis of the above embodiment, after the step of controlling the standby master station device to perform the active-standby switching operation, the method further includes: and recording the device information and the second state information of each standby master station device.
The device information comprises device codes, IP information and the like of the standby master station devices, and the second state information is the working state of a data transmission link between each standby master station device and each slave station device.
In order to further improve the stability of the communication system, when another PROFIBUS-DP protocol master station access system becomes a standby master station, a master-slave switching is immediately performed, and whether the communication between the standby master station and the DP slave station is normal is tested. On the basis of the above embodiment, the bus communication system control method further includes: and when the unregistered standby master station device is detected, controlling the unregistered standby master station device to execute a master-slave switching operation.
It will be appreciated that the detection of a new unregistered standby master device includes: the control system has just completed powering on or there is a redundant standby master device for the new access system. Specifically, when the control system has just completed powering up,
if the master station equipment and the standby master station equipment exist in the system at the same time, controlling the communication system to execute a master-standby switching task so as to detect whether the standby master station equipment can work normally as the master station equipment;
if only the main station equipment exists in the system, main-standby switching is not performed, and when redundant standby main station equipment is accessed in the system, main-standby switching is immediately performed once so as to test whether a communication link of the standby main station equipment works normally.
In the above embodiments, the method for controlling the bus communication system is described in detail, and the present application further provides corresponding embodiments of the device for controlling the bus communication system. It should be noted that the present application describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
Fig. 4 is a block diagram of a control device for a bus communication system according to an embodiment of the present application, as shown in fig. 4, where the control device for a bus communication system is applied to a bus communication system including a controller, a master station device, a standby master station device, and an alarm device, the controller is connected to the master station device and the standby master station device, the alarm device is connected to the controller, and the control device for a bus communication system includes:
an acquisition module 10, configured to acquire first state information of a master station device;
the control module 11 is configured to determine whether the first state information meets a first preset condition, and if the first state information meets the preset condition, control the standby master station device to execute a master-standby switching operation;
and the alarm module 12 is configured to determine whether the standby master station device meets a second preset condition, and if the standby master station device meets the second preset condition, control the alarm device to send alarm information.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
The application provides a bus communication system control device, comprising: to obtain first state information of the master station device; the controller is also connected with the standby master station equipment to control the standby master station equipment to execute the master-slave switching operation when the first state information meets a first preset condition; the alarm device is connected with the controller to send alarm information to the manager when the controller detects that the standby master station device meets a second preset condition. Therefore, according to the technical scheme, when the main station equipment meets the first preset condition, the controller is used for controlling the standby main station equipment to execute main-standby switching operation, and when the standby main station equipment meets the second preset condition, alarm information is sent to the manager through the alarm equipment, so that the manager can maintain the standby main station equipment in time, the communication system can not work normally when the main machine is down due to the communication link failure of the standby equipment, and the stability and reliability of the communication system are improved.
Fig. 5 is a block diagram of a bus communication system control device according to another embodiment of the present application, and as shown in fig. 5, the bus communication system control device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the bus communication system control method according to the above embodiment when executing a computer program.
The bus communication system control device provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (Graphics Processing Unit, GPU) for taking care of rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, which, when loaded and executed by the processor 21, is capable of implementing the relevant steps of the bus communication system control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. The data 203 may include, but is not limited to, first state information, second state information, first preset conditions, and the like.
In some embodiments, the bus communication system control may further include a display 22, an input-output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is not limiting of the bus communication system control device and may include more or fewer components than shown.
The bus communication system control device provided by the embodiment of the application comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: acquiring first state information of a master station device; judging whether the first state information meets a first preset condition, and if so, controlling the standby master station equipment to execute the master-standby switching operation.
Finally, the present application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. With such understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, performing all or part of the steps of the method described in the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above describes the bus communication system, the control method, the device and the medium thereof in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A bus communication system, comprising: the system comprises a controller, a master station device, a standby master station device and an alarm device;
the controller is connected with the master station equipment to acquire first state information of the master station equipment;
the controller is also connected with the standby master station equipment to control the standby master station equipment to execute a master-slave switching operation when the first state information meets a first preset condition;
the alarm device is connected with the controller to send alarm information when the controller detects that the standby master station device meets a second preset condition.
2. The bus communication system as set forth in claim 1, wherein said master station device, said backup master station device each comprise an embedded processor and a primary-backup redundancy circuit;
the main and standby redundant circuits comprise a DPRAM circuit and a redundant logic controller.
3. The bus communication system as set forth in claim 1, wherein the master station device and the backup master station device are each connected to a slave station device via an RS485 bus.
4. A bus communication system control method, characterized in that it is applied to a bus communication system including a controller, a master station device, a standby master station device, and an alarm device, wherein the controller is connected to both the master station device and the standby master station device, and the alarm device is connected to the controller, the bus communication system control method includes:
acquiring first state information of the master station equipment;
judging whether the first state information meets a first preset condition or not, and if so, controlling the standby master station equipment to execute a master-standby switching operation;
judging whether the standby master station equipment meets a second preset condition, and if so, controlling the alarm equipment to send alarm information.
5. The bus communication system control method according to claim 4, wherein the first preset condition includes:
acquiring a main-standby switching instruction sent by the controller; and/or the current moment satisfies the primary and standby switching period;
the second preset condition is that the communication link of the standby master station equipment fails.
6. The bus communication system control method as set forth in claim 4, wherein after said step of controlling said standby master station device to perform a master-slave switching operation, further comprising:
and recording the equipment information and the second state information of each standby master station equipment.
7. The bus communication system control method as set forth in claim 4, further comprising:
and when the unregistered standby master station device is detected, controlling the unregistered standby master station device to execute a master-slave switching operation.
8. A bus communication system control apparatus, characterized by being applied to a bus communication system including a controller, a master station device, a standby master station device, and an alarm device, wherein the controller is connected to both the master station device and the standby master station device, the alarm device is connected to the standby master station device, the bus communication system control apparatus comprising:
the acquisition module is used for acquiring the first state information of the master station equipment;
the control module is used for judging whether the first state information meets a first preset condition, and if so, controlling the standby master station equipment to execute a master-standby switching operation;
and the alarm module is used for judging whether the standby master station equipment meets a second preset condition, and if so, controlling the alarm equipment to send alarm information.
9. A bus communication system control device comprising a memory for storing a computer program;
a processor for implementing the steps of the bus communication system control method according to any one of claims 4 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the bus communication system control method according to any of claims 4 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310108268.6A CN116055249B (en) | 2023-02-02 | 2023-02-02 | Bus communication system, control method, device and medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310108268.6A CN116055249B (en) | 2023-02-02 | 2023-02-02 | Bus communication system, control method, device and medium thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116055249A true CN116055249A (en) | 2023-05-02 |
CN116055249B CN116055249B (en) | 2024-09-10 |
Family
ID=86116385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310108268.6A Active CN116055249B (en) | 2023-02-02 | 2023-02-02 | Bus communication system, control method, device and medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116055249B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229732A1 (en) * | 2002-06-10 | 2003-12-11 | Jung Eui Suk | Serial bus type configuration recognition and alarm apparatus |
CN1477797A (en) * | 2002-08-23 | 2004-02-25 | 华为技术有限公司 | Method for implementing quick optical fibre protective inversion in ring network and its equipment |
JP2004135379A (en) * | 2002-10-08 | 2004-04-30 | Yaskawa Electric Corp | Controller for intermediate switch |
CN101296065A (en) * | 2008-06-19 | 2008-10-29 | 浙江中控技术股份有限公司 | Method and system for improving reliability of redundancy main station |
US20110058806A1 (en) * | 2009-09-10 | 2011-03-10 | Tyco Telecommunications (Us) Inc. | System and Method for Distributed Fault Sensing and Recovery |
JP2013110772A (en) * | 2013-03-14 | 2013-06-06 | Mitsubishi Electric Corp | Substation device, master station device, communication channel switchover method, communication system and control device |
WO2017124577A1 (en) * | 2016-01-20 | 2017-07-27 | 邦彦技术股份有限公司 | Fgpa-based in-position automatic detection and switching system and method for main and standby boards |
CN109188895A (en) * | 2018-09-13 | 2019-01-11 | 杭州和利时自动化有限公司 | A kind of servo-control system based on Redundancy Design |
CN213782953U (en) * | 2020-08-05 | 2021-07-23 | 中国人民解放军军事科学院国防科技创新研究院 | Main and standby power supply switching device and system |
-
2023
- 2023-02-02 CN CN202310108268.6A patent/CN116055249B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229732A1 (en) * | 2002-06-10 | 2003-12-11 | Jung Eui Suk | Serial bus type configuration recognition and alarm apparatus |
CN1477797A (en) * | 2002-08-23 | 2004-02-25 | 华为技术有限公司 | Method for implementing quick optical fibre protective inversion in ring network and its equipment |
JP2004135379A (en) * | 2002-10-08 | 2004-04-30 | Yaskawa Electric Corp | Controller for intermediate switch |
CN101296065A (en) * | 2008-06-19 | 2008-10-29 | 浙江中控技术股份有限公司 | Method and system for improving reliability of redundancy main station |
US20110058806A1 (en) * | 2009-09-10 | 2011-03-10 | Tyco Telecommunications (Us) Inc. | System and Method for Distributed Fault Sensing and Recovery |
JP2013110772A (en) * | 2013-03-14 | 2013-06-06 | Mitsubishi Electric Corp | Substation device, master station device, communication channel switchover method, communication system and control device |
WO2017124577A1 (en) * | 2016-01-20 | 2017-07-27 | 邦彦技术股份有限公司 | Fgpa-based in-position automatic detection and switching system and method for main and standby boards |
CN109188895A (en) * | 2018-09-13 | 2019-01-11 | 杭州和利时自动化有限公司 | A kind of servo-control system based on Redundancy Design |
CN213782953U (en) * | 2020-08-05 | 2021-07-23 | 中国人民解放军军事科学院国防科技创新研究院 | Main and standby power supply switching device and system |
Also Published As
Publication number | Publication date |
---|---|
CN116055249B (en) | 2024-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111061587A (en) | Communication control method, device, equipment and storage medium of I2C bus | |
CN107666415B (en) | Optimization method and device of FC-AE-1553 protocol bridge | |
EP3789834A1 (en) | Hot-standby redundancy control system, method, control apparatus, and computer readable storage medium | |
CN105159851A (en) | Multi-controller storage system | |
EP3832414A1 (en) | Redundant hot standby control system and control device, redundant hot standby method and computer-readable storage medium | |
CN114355760A (en) | Main control station and hot standby redundancy control method thereof | |
CN112199240A (en) | Method for switching nodes during node failure and related equipment | |
CN111581043A (en) | Server power consumption monitoring method and device and server | |
CN114189429B (en) | Monitoring system, method, device and medium for server cluster faults | |
CN117331863A (en) | Power supply information communication method, system, electronic equipment and storage medium | |
CN113672306A (en) | Server component self-checking abnormity recovery method, device, system and medium | |
CN116055249B (en) | Bus communication system, control method, device and medium thereof | |
CN115766410A (en) | Method, system, device and medium for switching working states of machine | |
US11314670B2 (en) | Method, apparatus, and device for transmitting file based on BMC, and medium | |
CN115102937B (en) | Self-adaptive communication method, device and medium for server power supply | |
CN112491570A (en) | Method, device and storage medium for setting link state of virtual network card | |
CN116089139A (en) | Method, device and medium for processing serial hard disk faults | |
CN115687026A (en) | Multi-node server fault early warning method, device, equipment and medium | |
CN116089124A (en) | Communication method, device and medium of simulation system | |
CN113300885B (en) | Network switching equipment and method | |
CN110661869B (en) | Node online method, system, device, equipment and computer storage medium | |
JP2856617B2 (en) | Programmable controller | |
CN111865411A (en) | Switch optical module monitoring method and device and related components | |
CN111159088A (en) | IIC bus communication method and system based on heterogeneous multi-core processor | |
CN110647435A (en) | Server, hard disk remote control method and control assembly |
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 |