Dual-channel fast switching network equipment

Quickly switch network devices by designing dual -channel switching, using status monitoring modules and switching control modules to achieve rapid switching when the main channel failure or congestion, solving the problem of data loss or communication interruption caused by long switching time in existing technology, which meets the real -time nature. Require higher application scenarios.

CN222395690UActive Publication Date: 2025-01-24常州忆隆信息科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202423207910.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-01-24
Estimated Expiration
2034-12-25

AI Technical Summary

Technical Problem

When existing network equipment fails or is congested in transmission channels, it takes a long time to switch to the backup channel, which may lead to data loss or communication interruption, especially in applications with high real-time requirements, which is difficult to meet the needs.

Method used

Design a dual -channel fast switching network equipment, including the main channel module, the backup channel module, the status monitoring module, and the switch control module. The status monitoring module monitors the state of the main channel module in real time. The switching control module quickly judges and executes the switching operation based on a high -speed switching circuit, and the switching time is shortened to the Asian millisecond level.

Benefits of technology

It realizes rapid switching to the backup channel when the main channel fails or is congested, ensuring continuity and real-time communication and meeting application scenarios with high response requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222395690U_ABST
    Figure CN222395690U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of network communication, and especially relates to a dual-channel fast switching network device comprising a main channel module which comprises a main network port, a main controller and a main processing unit; the standby channel module comprises a standby network port, a standby controller and a standby processing unit, and the standby channel module is in communication connection with the main channel module; the state monitoring module is arranged at the main channel module and is used for monitoring the main channel module in real time; and the switching control module is electrically connected with the state monitoring module and receives monitoring information of the state monitoring module on the main channel module, and the switching control module is electrically connected with the main channel module and the standby channel module and controls whether the main channel module and the standby channel module are switched or not. According to the utility model, when the abnormity of the main channel is detected, the switching operation is carried out, and the switching time is shortened to a sub-millisecond level, thereby meeting the requirements of application scenes with higher real-time requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of network communication, in particular to a dual-channel fast switching network device. Background Art

[0002] The purpose of network communication is to achieve stable and efficient data transmission, and it is suitable for scenarios such as data centers, industrial automation, and real-time communication. Network communication sets up network devices between different devices, and the network devices transmit information between different devices to achieve functions such as information exchange and storage.

[0003] When the transmission channel of existing network equipment fails or is congested, it usually takes a long time to switch to the backup channel. This delay may cause data loss or communication interruption, especially in applications with high real-time requirements, and existing technologies are difficult to meet the needs.

[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Utility Model Content

[0005] The utility model provides a dual-channel fast switching network device, thereby effectively solving the problems in the background technology.

[0006] In order to achieve the above object, the technical solution adopted by the utility model is: a dual-channel fast switching network device, comprising the following steps:

[0007] A main channel module, the main channel module comprising a main network port, a main controller and a main processing unit;

[0008] A backup channel module, the backup channel module comprising a backup network port, a backup controller and a backup processing unit, and the backup channel module is communicatively connected with the main channel module;

[0009] A status monitoring module, which is arranged at the main channel module and performs real-time monitoring on the main channel module;

[0010] A switching control module, the switching control module is electrically connected to the status monitoring module and receives monitoring information of the main channel module from the status monitoring module, the switching control module is electrically connected to the main channel module and the backup channel module, and controls whether the main channel module and the backup channel module are switched;

[0011] The status monitoring module comprises:

[0012] An electrical signal monitoring unit, the electrical signal monitoring unit is used to monitor whether the electrical signal of the main controller is within a set working threshold range;

[0013] A network protocol monitoring unit is used to monitor whether the network protocol of the main network port meets the set conditions.

[0014] Furthermore, a high-speed signal connection line is included between the main channel module and the backup channel module, and the high-speed signal connection line is respectively communicatively connected to the main channel module and the backup channel module for data transmission.

[0015] Furthermore, the main channel module and the backup channel module are symmetrically arranged with respect to the high-speed signal connection line.

[0016] Furthermore, the status monitoring module also includes:

[0017] A data packet monitoring unit is used to monitor whether the indicators of link stability, delay and data packet loss rate of the data packets processed by the main processing unit exceed the set range.

[0018] Furthermore, the switching control module includes a high-speed switching circuit, and the high-speed switching circuit is based on a field programmable gate array FPGA, including:

[0019] A state determination unit, the state determination unit is used to determine the state of the main channel module according to the monitoring information of the electrical signal monitoring unit, the network protocol monitoring unit and the data packet monitoring unit;

[0020] A switching logic unit is used to control the main channel module or the backup channel module to start data transmission according to the state of the main channel module.

[0021] Furthermore, the switching control module also includes a power-off protection unit to protect data integrity during the switching process.

[0022] Furthermore, the switching control module further includes a recovery unit, and the recovery unit is used to switch the data transmission back to the main channel module when it is determined that the monitoring information of the main channel module returns to normal.

[0023] The beneficial effects of the utility model are as follows: the main channel module transmits data, the status monitoring module monitors its operating status in real time and sends information to the switching control module, and the backup channel module maintains a low-power standby state to ensure access at any time. When the status monitoring module detects an abnormality in the main channel (such as link interruption, congestion exceeding the standard, etc.), it immediately sends an alarm signal to the switching control module. The switching control module quickly determines the availability of the backup channel and executes the switching operation. The switching time is shortened to sub-millisecond level, meeting application scenarios with high real-time requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 It is a structural schematic diagram of the utility model;

[0026] Figure 2 It is a structural diagram of the status monitoring module;

[0027] Figure 3 It is a structural diagram of the switching control module. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.

[0029] like Figure 1 As shown: A dual-channel fast switching network device includes the following steps:

[0030] Main channel module, the main channel module includes a main network port, a main controller and a main processing unit;

[0031] A backup channel module, which includes a backup network port, a backup controller and a backup processing unit, and is communicatively connected with the main channel module;

[0032] A status monitoring module is provided at the main channel module to monitor the main channel module in real time;

[0033] The switching control module is electrically connected to the status monitoring module and receives monitoring information of the main channel module from the status monitoring module. The switching control module is electrically connected to the main channel module and the backup channel module to control whether the main channel module and the backup channel module are switched.

[0034] The main channel module is connected to the main transmission channel through the main network port and is responsible for normal data transmission. The main controller coordinates the main processing unit to perform data transmission and protocol processing. The backup channel module remains on standby at ordinary times. When the main channel fails or is congested, the backup controller takes over the data transmission task to ensure the continuity of communication. The status monitoring module is integrated in the main channel module to collect the operating status information of the main channel in real time, including link status (such as connectivity, bandwidth utilization, packet loss rate, delay, etc.). The switching control module receives the monitoring information of the status monitoring module and decides whether to switch to the backup channel according to the status judgment logic. During the switching process, it coordinates the backup channel module to quickly access and disconnects the transmission of the main channel module.

[0035] The main channel module transmits data, the status monitoring module monitors its operating status in real time and sends information to the switching control module, and the backup channel module maintains a low-power standby state to ensure access at any time. When the status monitoring module detects an abnormality in the main channel (such as link interruption, congestion exceeding the standard, etc.), it immediately sends an alarm signal to the switching control module. The switching control module quickly determines the availability of the backup channel and executes the switching operation. The switching time is shortened to sub-millisecond level, meeting application scenarios with high real-time requirements.

[0036] It should be understood that each part of the utility model can be implemented by hardware, firmware or a combination thereof. For example, if implemented by hardware, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. The specific implementation of the circuit structure of the module is a common technical means in the art. In this embodiment, a high-speed signal connection line is included between the main channel module and the backup channel module, and the high-speed signal connection line is respectively connected to the main channel module and the backup channel module for communication and data transmission.

[0037] One end of the high-speed signal connection line is connected to the main channel module, and the other end is connected to the backup channel module. It supports high-speed transmission standards (such as PCIe, USB 3.0 / 4.0, Thunderbolt or optical fiber interface) to ensure high-bandwidth and low-latency data transmission. The main channel module and the backup channel module can send data to each other for real-time synchronization. When the main channel is operating normally, the key data (such as transmission status, data packet cache, etc.) is transmitted to the backup channel module in real time through the high-speed signal connection line to ensure the synchronization data update of the backup channel. When the main channel fails, the backup channel module can immediately use the latest data received in the high-speed signal connection line to quickly restore communication without reinitialization or loading, thereby greatly improving the switching speed.

[0038] The low-latency transmission characteristics of the high-speed signal connection line ensure that the backup channel module does not need to perform additional data synchronization initialization operations when switching, which significantly shortens the switching time. It can meet the needs of large-scale data transmission and is suitable for high-performance network equipment scenarios. Direct communication between modules is achieved through high-speed signal connection lines, which reduces the intermediate data processing links and improves overall reliability.

[0039] The main channel module and the backup channel module are symmetrically arranged with respect to the high-speed signal connection line.

[0040] The main channel module and the backup channel module are arranged at both ends of the high-speed signal connection line to form a symmetrical structure. The high-speed signal connection line is connected in a straight line between the two modules to avoid unnecessary cable winding and signal loss. The high-speed signal connection line supports bidirectional high-speed data transmission. Both the main channel and the backup channel can actively send or receive data without unidirectional control. Use symmetrical signal interfaces (such as PCIe, optical fiber interfaces) and high-speed signal cables of equal length to ensure consistency in signal transmission delay.

[0041] like Figure 2 As shown, in this embodiment, the status monitoring module includes:

[0042] The data packet monitoring unit is used to monitor whether the link stability, delay and data packet loss rate indicators of the data packets processed by the main processing unit exceed the set range.

[0043] By collecting the communication status signal of the main channel, the ratio of the effective working time and the interruption time of the link is calculated in real time, and the threshold range is set (for example, the link stability is not less than 99.9%). When the actual stability is lower than the threshold, an alarm signal is issued, and the time delay of the data packet transmission on the main channel module is recorded. The average delay and the maximum delay are calculated. If the delay exceeds the set range (for example, the delay>50ms), the switching control module is triggered to prepare the backup channel, and the data packets sent and received by the main processing unit are counted. The loss rate is calculated by comparing the number of sent packets and the number of received packets. The loss rate threshold is set (such as the loss rate>0.1%). If it exceeds the range, the main channel module is reported to be abnormal.

[0044] Through software algorithms and hardware acceleration modules (such as FPGA or network processors), link status, delay and loss rate are efficiently counted and analyzed. The analysis results are compared with the pre-set normal range values ​​to determine whether a link abnormality has occurred. If an abnormality occurs, the status monitoring module will immediately notify the switching control module and trigger the alarm mechanism.

[0045] The status monitoring module also includes:

[0046] An electrical signal monitoring unit, the electrical signal monitoring unit is used to monitor whether the electrical signal of the main controller is within a set working threshold range;

[0047] The network protocol monitoring unit is used to monitor whether the network protocol of the main network port meets the set conditions.

[0048] By connecting to the electrical interface of the main controller, key electrical parameters (such as voltage, current, temperature, etc.) are collected, the normal working range is set (such as voltage 3.3V ± 5%, temperature <85°C, etc.), and the actual value is compared with the range value in real time. If it is detected that the parameter exceeds the threshold (such as abnormal voltage fluctuation, current is too high), the status monitoring module is notified immediately, and a warning signal is sent to the switching control module.

[0049] The network protocol monitoring unit is responsible for real-time monitoring of the network protocol of the main network port to ensure that the execution of the network communication protocol meets the set conditions, thereby ensuring the reliability and security of data transmission. At the transport layer and application layer of the main network port, it captures network data packets in real time and parses their protocol types (such as TCP / IP, UDP, etc.), checks whether the protocol meets the preset standards (such as the structural integrity of the data packet, whether the handshake signal is normal), and sets the judgment criteria for protocol anomalies, such as TCP connection timeout, packet loss rate higher than the threshold, or illegal protocol access attempts, etc. If the protocol is abnormal, an alarm signal is sent to the status monitoring module, and the switching control module is notified to prepare to switch to the backup channel.

[0050] like Figure 3As shown, in this embodiment, the switching control module includes a high-speed switching circuit, and the high-speed switching circuit is based on a field programmable gate array FPGA, including:

[0051] A state judgment unit, the state judgment unit is used to judge the state of the main channel module according to the monitoring information of the electrical signal monitoring unit, the network protocol monitoring unit and the data packet monitoring unit;

[0052] The switching logic unit is used to control the main channel module or the backup channel module to start data transmission according to the status of the main channel module.

[0053] The status judgment unit is used to integrate the monitoring information from the status monitoring module (including the electrical signal monitoring unit, the network protocol monitoring unit and the data packet monitoring unit) and to evaluate the status of the main channel module in real time. Using the parallel processing capability of the FPGA, the operating status of the main channel module can be quickly evaluated: Normal: All parameters are within the set range, and the main channel remains in use. Abnormal: If any parameter exceeds the set range, the main channel is marked as abnormal and the backup channel switch is triggered.

[0054] The threshold value of status assessment can be set through software or configuration files. For example, a packet loss rate > 0.5% or a voltage deviation > ±10% is considered abnormal.

[0055] The switching logic unit controls the use of the main channel module or the backup channel module according to the output of the status judgment unit to ensure the stability and real-time performance of data transmission. After the status judgment unit marks the main channel as abnormal, it immediately switches to the backup channel module. The switching time is controlled by the FPGA, and the delay is usually less than 1 microsecond. The parallel structure of the FPGA supports the simultaneous processing of signals from multiple monitoring units, greatly improving the speed of status evaluation. The switching logic based on the FPGA can complete channel switching at the microsecond level, meeting the high response requirements of industrial automation and real-time communication. The logic design of the FPGA can be flexibly adjusted according to application requirements to support different status evaluation and switching strategies.

[0056] The switching control module also includes a power-off protection unit to protect the data integrity during the switching process.

[0057] During the switching process, if power outages or unexpected interruptions occur, the power-off protection unit can ensure data integrity and avoid data loss or communication errors caused by power failures. For example, non-volatile memory (such as EEPROM or FRAM) can be used to record key information such as the data packet status before switching and the mark bit during the switching process. When the switching logic unit triggers channel switching, the current data packet is cached to the cache module, and the switching status of the main channel and the backup channel is recorded. After power failure, the current data packet and switching status are restored through non-volatile storage to continue the unfinished data transmission.

[0058] As a preferred embodiment of the above, the switching control module further includes a recovery unit, and the recovery unit is used to switch the data transmission back to the main channel module when it is determined that the monitoring information of the main channel module returns to normal.

[0059] When the monitoring information of the main channel module returns to normal, the recovery unit is responsible for judging its status and switching data transmission back to the main channel module to ensure priority use of resources and maximization of communication efficiency.

[0060] After the primary channel is restored, the recovery unit sends a signal to the switching logic unit, triggering one of the following two strategies:

[0061] Automatic recovery: After the system determines that the main channel is normal, it will immediately switch back to the main channel;

[0062] Delayed recovery: After the main channel is normal, the system waits for a certain observation time (such as 5 seconds) to ensure its stability before switching back to the main channel.

[0063] Before switching back to the main channel, synchronize the latest data of the backup channel to the main channel to avoid inconsistent data transmission. When conditions permit, the main channel usually has higher performance or reliability. When the main channel module is operating normally, switch information transmission back to the main channel, give priority to the use of main channel resources, and improve the overall communication performance of the system.

[0064] In the description of the present utility model, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0065] In the present invention, unless otherwise clearly specified and limited, the terms "install", "connect", "connect", "fix" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0066] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0067] Any process or method description in the flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0068] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

Claims

1. A dual-channel fast switching network device, characterized in that: include: A main channel module, the main channel module comprising a main network port, a main controller and a main processing unit; A standby channel module, the standby channel module comprising a standby network port, a standby controller and a standby processing unit, the standby channel module being communicatively connected with the main channel module; A status monitoring module, which is arranged at the main channel module and performs real-time monitoring on the main channel module; A switching control module, the switching control module is electrically connected to the status monitoring module and receives monitoring information of the main channel module from the status monitoring module, the switching control module is electrically connected to the main channel module and the backup channel module, and controls whether the main channel module and the backup channel module are switched; The status monitoring module comprises: An electrical signal monitoring unit, the electrical signal monitoring unit is used to monitor whether the electrical signal of the main controller is within a set working threshold range; A network protocol monitoring unit is used to monitor whether the network protocol of the main network port meets the set conditions.

2. The dual-channel fast switching network device according to claim 1, characterized in that: A high-speed signal connection line is included between the main channel module and the backup channel module. The high-speed signal connection line is respectively connected to the main channel module and the backup channel module for communication and is used for data transmission.

3. The dual-channel fast switching network device according to claim 2, characterized in that: The main channel module and the backup channel module are symmetrically arranged with respect to the high-speed signal connection line.

4. The dual-channel fast switching network device according to claim 1, characterized in that: The status monitoring module also includes: A data packet monitoring unit is used to monitor whether the indicators of link stability, delay and data packet loss rate of the data packets processed by the main processing unit exceed the set range.

5. The dual-channel fast switching network device according to claim 4, characterized in that: The switching control module includes a high-speed switching circuit, which is based on a field programmable gate array (FPGA) and includes: A state determination unit, the state determination unit is used to determine the state of the main channel module according to the monitoring information of the electrical signal monitoring unit, the network protocol monitoring unit and the data packet monitoring unit; A switching logic unit is used to control the main channel module or the backup channel module to start data transmission according to the state of the main channel module.

6. The dual-channel fast switching network device according to claim 5, characterized in that: The switching control module also includes a power-off protection unit to protect data integrity during the switching process.

7. The dual-channel fast switching network device according to claim 1, characterized in that: The switching control module further includes a recovery unit, which is used to switch data transmission back to the main channel module when it is determined that the monitoring information of the main channel module has returned to normal.

Citation Information

Cited By

  • Main / standby switching method, system and equipment for network management port of plugboard type equipment, and medium

    CN120710856A