BYPASS device and method for switch and switch

By introducing the status acquisition module and BYPASS relay into the switch, the link paralysis problem caused by network port failure is solved, the low-cost BYPASS function is implemented, and network connectivity is ensured.

CN116095026BActive Publication Date: 2025-09-26SHENZHEN TONGWEI COMM TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211729973.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-09-26
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

Existing switches cannot switch to the BYPASS function when a network port fails, causing the entire network link to be paralyzed.

Method used

The status acquisition module obtains the network port LED signal status, the control module outputs the bypass conduction control signal according to the signal status, and the switch module drives the BYPASS relay to switch the network port status to make it connected.

Benefits of technology

Implementing the network port BYPASS function in unmanaged switches ensures that network links continue to work, and only requires adding a few components, reducing product costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095026B_ABST
    Figure CN116095026B_ABST
Patent Text Reader

Abstract

The present application provides a BYPASS device, method, and switch for a switch. The BYPASS device includes: a status acquisition module for acquiring the LED signal status of a first network port and the LED signal status of a second network port; a control module for outputting a bypass conduction control signal when detecting that at least one of the first network port and the second network port has a fault; a switch module for outputting a port switching signal based on the bypass conduction control signal; and a BYPASS relay for connecting the first network port and the second network port based on the port switching signal. In the present application, in a non-network-managed switch, when a network port fault is detected based on the network port LED signal status, the switch module drives the BYPASS relay to switch the state to connect the first network port and the second network port, allowing the entire network link to continue operating. Furthermore, the BYPASS function of the network port can be realized by adding only a few components, thereby reducing the cost of the product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switches, and in particular to a BYPASS device and method for a switch. Background Art

[0002] Conventional switches have a BYPASS (bypass) function. When a switch loses power, the BYPASS function activates, directly connecting the upstream and downstream switches without disrupting the overall network connection. However, the BYPASS function only works during a power outage. If a network port fails, the BYPASS function cannot be switched back to, paralyzing the entire network link. Summary of the Invention

[0003] The embodiments of the present invention provide a BYPASS device and method for a switch to solve the problem that when a network port of an existing switch fails, the switch cannot switch to the BYPASS function, resulting in paralysis of the entire network link.

[0004] A first aspect of the present application provides a BYPASS device for a switch, the BYPASS device comprising:

[0005] A status acquisition module is used to obtain the LED signal status of the first network port and the LED signal status of the second network port;

[0006] a control module connected to the status acquisition module, configured to output a bypass conduction control signal when detecting a fault in at least one of the first network port and the second network port based on the first network port LED signal status and the second network port LED signal status;

[0007] a switch module connected to the control module and configured to output a port switching signal according to the bypass conduction control signal;

[0008] A BYPASS relay is connected to the first network port and the second network port, and is used to connect the first network port and the second network port according to the port switching signal.

[0009] A second aspect of the present application provides a switch, comprising the BYPASS device described in the first aspect and a main chip, wherein the main chip is connected to the status acquisition module.

[0010] A third aspect of the present application provides a BYPASS method for a switch, based on the BYPASS device described in the first aspect, the BYPASS method comprising:

[0011] When it is detected according to the first network port LED signal state and the second network port LED signal state that at least one of the first network port LED and the second network port LED fails, a bypass conduction control signal is output.

[0012] The technical effect of this embodiment is that: in a non-network-managed switch, when a network port fault is detected based on the network port LED signal status, the BYPASS relay is driven by the switch module to switch the state so that the first network port and the second network port are connected, so that the entire network link can continue to work, and only a few components need to be added to realize the BYPASS function of the network port, thereby reducing the cost of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0014] Figure 1 This is a schematic diagram of the structure of a BYPASS device of a switch provided in Example 1 of the present application;

[0015] Figure 2 This is a structural diagram of a BYPASS device of a switch provided in Example 2 of the present application;

[0016] Figure 3 This is another structural diagram of a BYPASS device of a switch provided in Example 3 of the present application;

[0017] Figure 4 This is a circuit diagram of a main chip in a BYPASS device of a switch provided in Example 2 of the present application;

[0018] Figure 5 This is a circuit diagram of a first comparator in a BYPASS device of a switch provided in Example 2 of the present application;

[0019] Figure 6 This is a circuit diagram of a second comparator in a BYPASS device of a switch provided in Example 2 of the present application;

[0020] Figure 7 This is a circuit diagram of an MCU in a BYPASS device of a switch provided in Example 2 of the present application;

[0021] Figure 8 This is a circuit diagram of a first MOS transistor in a BYPASS device of a switch provided in Example 2 of the present application;

[0022] Figure 9 This is a circuit diagram of a second MOS transistor in a BYPASS device of a switch provided in the second embodiment of the present application;

[0023] In the figure: 101, status acquisition module; 102, control module; 103, switch module; 104, BYPASS relay; 105, first network port LED; 106, second network port LED; 107, first network port; 108, second network port. DETAILED DESCRIPTION

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0025] It should be understood that the present invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to make the disclosure thorough and complete and to fully convey the scope of the invention to those skilled in the art. In the drawings, the dimensions and relative dimensions of layers and regions may be exaggerated for clarity. Like reference numerals denote like elements throughout.

[0026] It should be understood that when an element or layer is referred to as being "on," "adjacent to," "connected to," or "coupled to" another element or layer, it may be directly on, adjacent to, connected to, or coupled to the other element or layer, or there may be intervening elements or layers. Conversely, when an element is referred to as being "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" another element or layer, there may be no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers, and / or parts, these elements, components, regions, layers, and / or parts should not be limited by these terms. These terms are merely used to distinguish one element, component, region, layer, or part from another element, component, region, layer, or part. Thus, a first element, component, region, layer, or part discussed below may be represented as a second element, component, region, layer, or part without departing from the teachings of the present invention.

[0027] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," etc., may be used herein for convenience of description to describe the relationship of one element or feature shown in the figures to other elements or features. It should be understood that the spatially relative terms are intended to include different orientations of the device in use and operation in addition to the orientations shown in the figures. For example, if the device in the drawings is flipped, then the elements or features described as "under" or "beneath" or "beneath" the other elements will be oriented as "over" the other elements or features. Thus, the exemplary terms "under" and "under" may include both the upper and lower orientations. The device may be oriented otherwise (rotated 90 degrees or in other orientations) and the spatial descriptors used herein are interpreted accordingly.

[0028] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present invention. When used herein, the singular forms "a", "an", and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0029] In order to fully understand the present invention, detailed structures and steps will be provided in the following description to illustrate the technical solutions proposed by the present invention. Preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may also have other implementations.

[0030] The present invention provides a BYPASS device, method, and switch for use in unmanaged switches. Unmanaged switches do not directly process data and require only a network cable. Unmanaged switches are data link layer devices that can identify MAC address information in data packets, forward packets based on the MAC address, and record the MAC address and corresponding port in an internal address table.

[0031] Example 1

[0032] The first embodiment of the present invention provides a BYPASS device for a switch, which solves the problem that when a network port of an existing switch fails, the switch cannot switch to the BYPASS function, resulting in paralysis of the entire network link.

[0033] In the first embodiment, Figure 1 As shown, a BYPASS device for a switch is provided, and the BYPASS device includes:

[0034] A status acquisition module 101 is connected to the first network port LED 105 and the second network port LED 106 and is used to acquire the first network port LED signal status and the second network port LED signal status;

[0035] The control module 102, whose connection status acquisition module 101 is configured to output a bypass conduction control signal when detecting that at least one of the first network port 107 and the second network port 108 has failed based on the first network port LED signal status and the second network port LED signal status;

[0036] The switch module 103 is connected to the control module 102 and is used to output a port switching signal according to the bypass conduction control signal;

[0037] The BYPASS relay 104 is connected to the first network port 107 and the second network port 108 and is used to connect the first network port 107 and the second network port 108 according to the port switching signal.

[0038] Each network port corresponds to an LED light, and the LED light's signal status corresponds to whether the electrical signal is communicating normally. When the network port is communicating normally, the LED light is on or flashing; when the network port is not communicating normally, the LED light is off, indicating a port fault. When the LED light is on, flashing, or off, the LED signal state varies, and the LED signal state represents the LED light status. For example, a high LED signal state indicates that the LED light is normal, while a low LED signal state indicates that the LED light is off. The status acquisition module 101 obtains the network port LED signal state by connecting to the main chip.

[0039] The control module 102 determines the fault status of the network port based on the status of the network port LED signal. For example, a high level LED indicates a network port fault, while a low level LED indicates normal operation. The control module 102 is internally programmed to output a bypass control signal upon detecting a network port fault, initiating the BYPASS function.

[0040] Among them, the switch module 103 can be a MOS tube, a transistor or an IGBT. When the control end of the switch module 103 receives the bypass conduction control signal, it sends a trigger signal to the BYPASS relay 104, and the BYPASS relay 104 switches the state to connect the first network port 107 and the second network port 108.

[0041] The technical effect of the first embodiment of the present invention is that, in a non-network-managed switch, when a network port fault is detected based on the network port LED signal status, the BYPASS relay is driven by the switch module to switch the state so that the first network port and the second network port are connected, so that the entire network link can continue to work, and only a few components need to be added to realize the BYPASS function of the network port, thereby reducing the cost of the product and realizing a direct connection between the front and rear switches.

[0042] Example 2

[0043] The second embodiment provides a BYPASS device for a switch, which solves the problem that when a network port of an existing switch fails, the switch cannot switch to the BYPASS function, resulting in paralysis of the entire network link.

[0044] In the second embodiment, Figure 2 As shown, a BYPASS device for a switch is provided, and the BYPASS device includes:

[0045] A comparator 101 is configured such that a first network port LED signal is input to a first voltage input terminal of the comparator 101, a second network port LED signal is input to a second voltage input terminal of the comparator 101, the comparator 101 outputs a first low-level signal when the voltage value of the first network port LED signal is lower than a reference voltage, the comparator 101 outputs a first high-level signal when the voltage value of the first network port LED signal is higher than the reference voltage, the comparator 101 outputs a second low-level signal when the voltage value of the second network port LED signal is lower than the reference voltage, and the comparator 101 outputs a second high-level signal when the voltage value of the second network port LED signal is higher than the reference voltage.

[0046] The control module 102 determines that the first network port LED is faulty when a first high-level signal is detected, and determines that the second network port LED is faulty when a second high-level signal is detected.

[0047] MOS transistor 103 , where the gate of the MOS transistor 103 is connected to the output end of the control module 102 , the source of the MOS transistor 103 is connected to the power supply, and the drain of the MOS transistor 103 is connected to the power supply end of the BYPASS relay 104 ;

[0048] When the control module 102 outputs a bypass conduction control signal to the gate of the MOS transistor 103 , the MOS transistor 103 is in an off state, and stops supplying power to the BYPASS relay 104 .

[0049] The first port of the BYPASS relay 104 is connected to the first network port, and the second port of the BYPASS relay 104 is connected to the second network port. When the BYPASS relay 104 loses power, the connection between the first port and the second port is switched.

[0050] Furthermore, the BYPASS device includes multiple status acquisition modules, each status acquisition module respectively acquires the signal status of two network port LEDs, and the BYPASS relay is connected to the network port corresponding to the network port LED.

[0051] As an example, Figure 3 As shown, the first network port LED and the second network port LED are connected to the first comparator, the third network port LED and the fourth network port LED are connected to the second comparator, the first comparator and the second comparator are connected to the MCU, the MCU is connected to the gate of the MOS tube, the MOS tube is connected to the BYPASS relay, and the BYPASS relay is connected to the first network port, the second network port, the third network port and the fourth network port.

[0052] like Figures 4 to 6 As shown, the switch's four LED signals are output by the RTL8367S main chip. These LED signals are fed into the negative input pins of the first and second comparators. Each LED indicates whether the electrical signal is functioning properly. Under normal communication conditions, the LEDs illuminate or flash. Under abnormal communication conditions, the LEDs are off, indicating a port failure. When the network port is functioning properly, the chip's LED signals will only display a low level (the LED is solid, indicating a link connection with no data transmission) and alternating high and low levels (the LED flashes, indicating a normal link connection with data transmission). At this point, a 2V voltage is generated at the positive input pin of the comparator through voltage division and compared with the voltage of the LED signal. When the network port is functioning properly, the LED input is low or alternating high and low levels, and the OUT output is high or alternating high and low levels. Conversely, when the network port is malfunctioning, the LED signal is high and greater than 2V, and the OUT output is low.

[0053] like Figure 7 As shown, the first comparator and the second comparator output signals to the single-chip computer STC11L04, the input pins OUT1 and OUT2 correspond to the pin BYPASS12, and the input pins OUT3 and OUT4 correspond to the pin BYPASS34. When a fault occurs in one of the outputs OUT1 and OUT2 of the first comparator, BYPASS12 outputs a high level; when a fault occurs in one of the outputs OUT3 and OUT4 of the second comparator, BYPASS12 outputs a high level; and BYPASS12 and BYPASS34 respectively control a MOS tube to turn on or off the power supply of the relay.

[0054] like Figure 8 and Figure 9As shown in the figure, when the entire system is normal, BYPASS12 and BYPASS34 always input low level to ensure the conduction of the MOS tube, and then the BYPASS function is not enabled. When a port of the system fails, BYPASS12 and BYPASS34 will output high level, the MOS tube will not conduct, the relay will lose power, and the relay pin will switch to a physical connection between the two ports, thereby realizing the BYPASS function.

[0055] The technical effect of the second embodiment is that the unmanaged switch seamlessly implements the BYPASS function when power is lost or a port fails, thereby ensuring the integrity of the network link at a relatively low cost.

[0056] Example 3

[0057] The third embodiment provides a BYPASS method for a switch, which solves the problem that when a network port of an existing switch fails, the switch cannot switch to the BYPASS function, resulting in paralysis of the entire network link.

[0058] In the third embodiment, the control method is executed by a control module, and a BYPASS method for a switch is provided. Based on the BYPASS device provided in the first embodiment, the BYPASS method includes:

[0059] When it is detected according to the first network port LED signal state and the second network port LED signal state that at least one of the first network port LED and the second network port LED fails, a bypass conduction control signal is output.

[0060] Furthermore, the status acquisition module is a comparator, the first voltage input terminal of the comparator inputs the first network port LED signal, the second voltage input terminal of the comparator inputs the second network port LED signal, the comparator outputs a first low-level signal when the voltage value of the first network port LED signal is lower than the reference voltage, the comparator outputs a first high-level signal when the voltage value of the first network port LED signal is higher than the reference voltage, the comparator outputs a second low-level signal when the voltage value of the second network port LED signal is lower than the reference voltage, and the comparator outputs a second high-level signal when the voltage value of the second network port LED signal is higher than the reference voltage.

[0061] Furthermore, the control module determines that the first network port LED is faulty when a first high-level signal is detected, and determines that the second network port LED is faulty when a second high-level signal is detected.

[0062] Based on the first embodiment, the status acquisition module is further connected to the third network port LED and the fourth network port LED, and the BYPASS relay is further connected to the third network port and the fourth network port. The first and third network ports are connected to the first switch, and the second and fourth network ports are connected to the second switch. When the control module detects a fault in the first network port, it controls the first and second network ports to connect, and the third and fourth network ports to operate normally. The switches in this embodiment can be detected by comparing data.

[0063] The technical effect of the third embodiment of the present invention is that: a program is burned in the control module so that when the control module detects a fault in the network port based on the LED signal status of the network port, the BYPASS relay is driven by the switch module to switch the state so that the first network port and the second network port are connected, so that the entire network link can continue to work, and only a simple program needs to be set up to realize the BYPASS function of the network port, thereby reducing the cost of the product.

[0064] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A BYPASS device for a switch, characterized in that: Applied to an unmanaged switch, the BYPASS device includes: A status acquisition module is used to obtain the LED signal status of the first network port and the LED signal status of the second network port; a control module connected to the status acquisition module, configured to output a bypass conduction control signal when detecting a fault in at least one of the first network port and the second network port based on the first network port LED signal status and the second network port LED signal status; a switch module connected to the control module and configured to output a port switching signal according to the bypass conduction control signal; A BYPASS relay, connected to the first network port and the second network port, configured to connect the first network port and the second network port according to the port switching signal; The BYPASS device includes multiple status acquisition modules, each of which acquires the signal status of two network port LEDs. The BYPASS relay is connected to the network port corresponding to the network port LED. The BYPASS device is used to seamlessly implement the BYPASS function when the unmanaged switch loses power or a network port fails. The status acquisition module is a comparator, wherein a first voltage input terminal of the comparator inputs a first network port LED signal, and a second voltage input terminal of the comparator inputs a second network port LED signal. The comparator outputs a first low-level signal when the voltage value of the first network port LED signal is lower than a reference voltage, and outputs a first high-level signal when the voltage value of the first network port LED signal is higher than the reference voltage. The comparator outputs a second low-level signal when the voltage value of the second network port LED signal is lower than the reference voltage, and outputs a second high-level signal when the voltage value of the second network port LED signal is higher than the reference voltage.

2. The BYPASS device according to claim 1, wherein The control module determines that the first network port LED is faulty when a first high-level signal is detected, and determines that the second network port LED is faulty when a second high-level signal is detected.

3. The BYPASS device according to claim 2, wherein The switch module is a MOS tube, the gate of the MOS tube is connected to the output end of the control module, the source of the MOS tube is connected to the power supply, and the drain of the MOS tube is connected to the power supply end of the BYPASS relay; When the control module outputs a bypass conduction control signal to the gate of the MOS transistor, the MOS transistor is in an off state, and power supply to the BYPASS relay is stopped.

4. The BYPASS device according to claim 3, wherein The first port of the BYPASS relay is connected to the first network port, the second port of the BYPASS relay is connected to the second network port, and the BYPASS relay switches to the connection between the first port and the second port when power is off.

5. A switch, characterized in that: The switch comprises the BYPASS device according to any one of claims 1 to 4 and a main chip, wherein the main chip is connected to the status acquisition module.

6. A BYPASS method for a switch, characterized in that: Based on the BYPASS device according to claim 1, the BYPASS method comprises: When it is detected according to the first network port LED signal state and the second network port LED signal state that at least one of the first network port LED and the second network port LED fails, a bypass conduction control signal is output.

Citation Information

Patent Citations

  • Bypass control method and bypass control system as well as network device

    CN104333477A