Ethernet automatic switching device

By using redundant master-slave communication controllers and automatic switching of Ethernet PHY chips, the network interruption problem caused by Ethernet switch failures is solved, improving the reliability and stability of the industrial control system and ensuring the continuity of data processing and the high availability of the system.

CN223540576UActive Publication Date: 2025-11-11CHONGQING CHUANYI AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422514174.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-11-11
Estimated Expiration
2034-10-17

AI Technical Summary

Technical Problem

Traditional Ethernet switches often cause network outages when they malfunction, affecting production safety and efficiency in industrial settings.

Method used

The system employs a redundant configuration of master and slave communication controllers, and uses an Ethernet PHY chip to monitor the link status in real time and automatically switch over in case of failure, ensuring the continuity of data processing and the high availability of the system.

Benefits of technology

Automatic Ethernet switching was achieved, which improved operational reliability and stability, reduced the impact of network failures, ensured the rational use of resources and load balancing, and improved the overall efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223540576U_ABST
    Figure CN223540576U_ABST
Patent Text Reader

Abstract

The utility model provides an Ethernet automatic switching device. The Ethernet automatic switching device comprises a master communication controller, a slave communication controller, a master Ethernet PHY chip, a slave Ethernet PHY chip, a concentrator and a controller, the main communication controller is connected with the main Ethernet PHY chip; the slave communication controller is connected with the slave Ethernet PHY chip; the concentrator is connected with both the master Ethernet PHY chip and the slave Ethernet PHY chip; and the controller is connected with the concentrator and is used for realizing automatic switching of the master communication controller and the slave communication controller according to the link state information sent by the master Ethernet PHY chip and the slave Ethernet PHY chip. The Ethernet automatic switching device realizes the automatic switching of the Ethernet through the redundancy setting of the two communication controllers, effectively improves the reliability and stability of the Ethernet operation, and reduces the influence caused by network faults.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the technical field of communication devices, and in particular to an Ethernet automatic switching device. Background Technology

[0002] Ethernet communication is widely used in industrial control system networks. Therefore, communication between devices is crucial. However, traditional Ethernet switches often cause network outages when they fail, significantly impacting production safety and efficiency in industrial settings. Utility Model Content

[0003] In view of the shortcomings of the prior art described above, the purpose of this utility model is to provide an Ethernet automatic switching device, which realizes automatic switching of Ethernet through the redundancy setting of two communication controllers, effectively improving the reliability and stability of Ethernet operation and reducing the impact of network failures.

[0004] To achieve the above and other related objectives, this utility model provides an Ethernet automatic switching device, including a master communication controller, a slave communication controller, a master Ethernet PHY chip, a slave Ethernet PHY chip, a hub, and a controller; the master communication controller is connected to the master Ethernet PHY chip; the slave communication controller is connected to the slave Ethernet PHY chip; the hub is connected to both the master Ethernet PHY chip and the slave Ethernet PHY chip; the controller is connected to the hub and is used to automatically switch between the master communication controller and the slave communication controller based on link status information sent by the master Ethernet PHY chip and the slave Ethernet PHY chip.

[0005] In one embodiment of this utility model, a plurality of IO modules are further included, wherein the IO modules communicate with the main communication module and the slave communication module in a point-to-point manner.

[0006] In one embodiment of the present invention, the main Ethernet PHY chip and the slave Ethernet PHY chip are also used to detect in real time whether there is data being transmitted on the network, and wait when data is detected, and wait for a random time after detecting that the network is idle before sending the data out.

[0007] In one embodiment of the present invention, the master Ethernet PHY chip and the slave Ethernet PHY chip are further used to detect data conflicts on the network and trigger a retransmission mechanism after a data conflict is detected.

[0008] In one embodiment of the present invention, the communication controller in the standby state of the main communication controller and the communication controller in the slave communication controller are also used to periodically perform data backup and status synchronization with the communication controller in the working state.

[0009] In one embodiment of the present invention, the controller is used to preferentially use the main communication controller, and when the main communication controller fails, to switch to the slave communication controller for data processing.

[0010] In one embodiment of the present invention, the controller is further configured to switch the main communication controller to perform data processing after the main communication controller has recovered from a fault.

[0011] As described above, the Ethernet automatic switching device of this utility model has the following beneficial effects:

[0012] (1) By setting up redundancy between the master communication controller and the slave communication controller, it is ensured that when one communication controller fails, the other communication controller can quickly take over, avoiding system interruption and ensuring the continuity of data processing.

[0013] (2) The Ethernet PHY chip can monitor the physical status of the link, such as signal quality and connection status, in real time. Once a fault is detected, it will immediately send a fault signal and achieve rapid switching to ensure the high availability of the system. It will also report communication faults to facilitate timely handling of problems.

[0014] (3) It has an automatic recovery function. When the faulty communication controller is restored to normal, it can automatically restart and switch back to the master control state to ensure the rational use of resources and load balancing, and improve the overall efficiency of the system. Attached Figure Description

[0015] Figure 1 The diagram shown is a structural schematic of the Ethernet automatic switching device of this utility model in one embodiment;

[0016] Figure 2 The diagram shown is a data transmission schematic of an embodiment of the Ethernet automatic switching device of this utility model. Detailed Implementation

[0017] The following specific embodiments illustrate the implementation of this utility model. Those skilled in the art can easily understand other advantages and effects of this utility model from the content disclosed in this specification.

[0018] It should be understood that the structures, proportions, sizes, etc., illustrated in the accompanying drawings of this specification are only for illustrative purposes to aid those skilled in the art and are not intended to limit the implementation of this utility model. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to size, without affecting the effects and objectives of this utility model, should still fall within the scope of the technical content disclosed in this utility model. Furthermore, the terms such as "upper," "lower," "left," "right," "middle," and "one" used in this specification are merely for clarity of description and are not intended to limit the scope of implementation of this utility model. Changes or adjustments to their relative relationships, without substantially altering the technical content, should also be considered within the scope of implementation of this utility model.

[0019] This utility model's automatic Ethernet switching device achieves automatic Ethernet switching by setting up two redundant communication controllers. After the faulty communication controller recovers, it can automatically restart and switch back to the master control state, thereby effectively improving the reliability and stability of Ethernet operation, ensuring the rational utilization of resources and load balancing, improving the overall efficiency of the system, and reducing the impact of network failures. It is highly practical.

[0020] like Figure 1 and Figure 2 As shown, in one embodiment, the Ethernet automatic switching device of this utility model includes a master communication controller 1, a slave communication controller 2, a master Ethernet PHY chip 3, a slave Ethernet PHY chip 4, a hub 5, and a controller 6.

[0021] The main communication controller 1 is connected to the main Ethernet PHY chip 3 and is used to process data transmission and reception. The slave communication controller 2 is connected to the slave Ethernet PHY chip 4 and is used to process data transmission and reception. By default, the main communication controller 1 is in the working state, and the slave communication controller 2 is in the standby state.

[0022] The primary Ethernet PHY chip 3 and the secondary Ethernet PHY chip 4 are key components of the physical layer, used to monitor the physical status of the network link in real time (such as signal quality, connection status, etc.), and feed back the link status information to the controller 6 via the hub 5, thereby realizing the automatic switching function of Ethernet.

[0023] The hub 5 is connected to both the main Ethernet PHY chip 3 and the slave Ethernet PHY chip 4. The hub 5 is a multi-port repeater that is connected to the controller 6 via an RJ45 interface.

[0024] The controller 6 is connected to the hub 5 and is used to automatically switch between the main communication controller 1 and the slave communication controller 2 based on the link status information sent by the main Ethernet PHY chip 3 and the slave Ethernet PHY chip 4. Specifically, when the main communication controller 1 stops working due to a fault, the main Ethernet PHY chip 3 will immediately detect the link fault and disable the data transmission function of the main communication controller 1, while sending link status information to the controller 6. The controller 6 controls the slave Ethernet PHY chip 4 to enable the data transmission function of the slave communication controller 2, so that the slave communication controller 2 takes over the network. At this time, the controller 6 obtains data based on the slave communication controller 2.

[0025] In one embodiment, the controller 6 preferentially uses the main communication controller 1, and switches to the slave communication controller 2 for data processing when the main communication controller 1 fails; after the main communication controller 1 recovers from the failure, the main communication controller 1 is switched to perform data processing, and the slave communication controller 2 is set to standby state, thereby ensuring load balancing.

[0026] In one embodiment, the Ethernet automatic switching device of this invention further includes multiple I / O modules 7. The I / O modules 7 are used for data transmission and reception with the master communication module 1 and the slave communication module 2. To improve the data exchange rate, the I / O modules 7 communicate with the master communication module 1 and the slave communication module 2 in a point-to-point manner.

[0027] In one embodiment, the primary Ethernet PHY chip 3 and the secondary Ethernet PHY chip 4 are also used to detect in real time whether data is being transmitted on the network, and wait when data is detected, and then wait for a random period of time before sending the data out when the network is idle. Simultaneously, they detect data collisions on the network and trigger a retransmission mechanism upon detection of a collision, ensuring the continuity and reliability of data transmission when switching between multiple links.

[0028] In one embodiment, to achieve redundancy between the master communication controller 1 and the slave communication controller 2, the communication controller in standby mode of the master communication controller 1 and the slave communication controller 2 is also used to periodically perform data backup and status synchronization with the communication controller in operation. In this way, even if a switchover occurs between the master and slave communication controllers, the accuracy and reliability of network data communication can be guaranteed.

[0029] In summary, the Ethernet automatic switching device of this invention, through the redundant configuration of the master and slave communication controllers, ensures that when one communication controller fails, the other can quickly take over, avoiding system interruption and ensuring the continuity of data processing. The Ethernet PHY chip can monitor the physical status of the link, such as signal quality and connection status, in real time. Once a fault is detected, it immediately sends a fault signal and achieves rapid switching, ensuring high system availability and reporting communication faults for timely problem handling. It also features an automatic recovery function; when the faulty communication controller recovers, it can automatically restart and switch back to master control, ensuring rational resource utilization and load balancing, and improving the overall efficiency of the system. Therefore, this invention effectively overcomes the various shortcomings of existing technologies and has high industrial application value.

[0030] The above embodiments are merely illustrative of the principles and effects of this utility model and are not intended to limit the scope of this utility model. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this utility model. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this utility model should still be covered by the claims of this utility model.

Claims

1. An Ethernet automatic switching device, characterized in that: Includes a master communication controller, a slave communication controller, a master Ethernet PHY chip, a slave Ethernet PHY chip, a hub, and a controller; The main communication controller is connected to the main Ethernet PHY chip; The slave communication controller is connected to the slave Ethernet PHY chip; The hub is connected to both the master Ethernet PHY chip and the slave Ethernet PHY chip. The controller is connected to the hub and is used to automatically switch between the master communication controller and the slave communication controller based on the link status information sent by the master Ethernet PHY chip and the slave Ethernet PHY chip.

2. The Ethernet automatic switching device according to claim 1, characterized in that: It also includes multiple I / O modules, which communicate with the master communication controller and the slave communication controller in a point-to-point manner.

3. The Ethernet automatic switching device according to claim 1, characterized in that: The master Ethernet PHY chip and the slave Ethernet PHY chip are also used to detect in real time whether there is data being transmitted on the network, and wait when data is detected, and then wait for a random period of time after the network is detected to be idle before sending the data out.

4. The Ethernet automatic switching device according to claim 1, characterized in that: The master Ethernet PHY chip and the slave Ethernet PHY chip are also used to detect data conflicts on the network and trigger a retransmission mechanism after a data conflict is detected.

5. The Ethernet automatic switching device according to claim 1, characterized in that: The main communication controller and the communication controller in standby mode of the slave communication controller are also used to periodically perform data backup and status synchronization with the communication controller in working mode.

6. The Ethernet automatic switching device according to claim 1, characterized in that: The controller is used to prioritize the use of the master communication controller and switch to the slave communication controller for data processing when the master communication controller fails.

7. The Ethernet automatic switching device according to claim 6, characterized in that: The controller is also used to switch the main communication controller to perform data processing after the main communication controller recovers from a fault.