Control circuit and method for server network interface indicator light and server

CN117729668BActive Publication Date: 2026-09-04INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311576072.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2026-09-04
Estimated Expiration
2043-11-23

AI Technical Summary

Technical Problem

[0003]本发明提供一种服务器网口指示灯的控制电路、方法和服务器,用以解决现有技术中在开机瞬间,PHY芯片尚未上电完成,输出的LED控制信号处于高阻状态,导致LED点灯异常的缺陷

Benefits of technology

[0050] Secondly, the present invention provides a control method for a server network port indicator light, applied to the control circuit of the server network port indicator light as described in the first aspect, comprising: controlling the general-purpose input/output pin of the MCU to output a high level when the server is powered on; and controlling the general-purpose input/output pin of the MCU to output a low level after the server is powered on.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117729668B_ABST
    Figure CN117729668B_ABST
Patent Text Reader

Abstract

The application provides a control circuit, method and server for a server network interface indicator light, the circuit comprising: a first input unit, a first logic unit and a first control unit, a first input end and a second input end of the first input unit being connected to a physical layer (PHY) chip, a first output end and a second output end of the first input unit being connected to input ends of the first logic unit; the first logic unit being used for performing a first logic operation on a third signal output by the first output end of the first input unit and a fourth signal output by the second output end of the first input unit, and outputting a fifth signal; and the first control unit being used for controlling a state of a first indicator light according to a sixth signal output by a general input and output pin of a micro controller unit (MCU) and the fifth signal. The application can effectively control the state of the server network interface indicator light and avoid abnormal lighting at the instant of starting up.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of server hardware technology, and in particular to a control circuit, method, and server for a server network port indicator light. Background Technology

[0002] Currently, server network port LEDs are generally controlled by LED control signals directly output from the PHY chip. A typical design uses two signals to control the rate-controlled dual-color LED and one signal to control the Link and ACT LED. Figure 1 This is a schematic diagram of the control circuit for the server network port lights in related technologies, such as... Figure 1 As shown, taking 10G and 1G designs as examples, the PHY chip directly outputs LED control signals: Link_1G, Link_10G, and Link / ACT, which are active low by default. When a 10G high-speed cable is connected, Link_1G = H, Link_10G = L, and Link / ACT = L, the dual-color LED lights up green, and the Link / ACT LED remains on. When data transmission occurs, Link / ACT = H / L, and the Link / ACT LED flashes, thus controlling the network port LEDs. However, there is a problem with directly lighting the LEDs through the PHY pins. At the moment of power-on, the PHY chip has not yet fully powered on, and the output LED control signals are in a high-impedance state, meaning the level may not be the default low level, leading to abnormal LED lighting. Summary of the Invention

[0003] This invention provides a control circuit, method, and server for a server network port indicator light, which solves the defect in the prior art where the LED control signal is in a high-impedance state at the moment of power-on because the PHY chip has not yet been fully powered on, resulting in abnormal LED lighting.

[0004] In a first aspect, the present invention provides a control circuit for a server network port indicator light, comprising: a first input unit, a first logic unit, and a first control unit.

[0005] The first input terminal of the first input unit is connected to the physical layer PHY chip and is used to receive the first signal output by the PHY chip. The second input terminal of the first input unit is connected to the PHY chip and is used to receive the second signal output by the PHY chip. The first output terminal and the second output terminal of the first input unit are connected to the input terminal of the first logic unit.

[0006] The first logic unit is used to perform a first logic operation on the third signal output from the first output terminal of the first input unit and the fourth signal output from the second output terminal of the first input unit, and output a fifth signal.

[0007] The first control unit is used to control the state of the first indicator light according to the sixth signal output by the general-purpose input / output pin of the microcontroller MCU and the fifth signal;

[0008] The first indicator light is the link indicator light of the server's network port;

[0009] When the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a high level; after the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a low level.

[0010] A control circuit for a server network port indicator light according to the present invention further includes: a second input unit, a second logic unit, and a second control unit, wherein...

[0011] The input terminal of the second input unit is connected to the PHY chip and is used to receive the seventh signal output by the PHY chip;

[0012] The output terminal of the second input unit is connected to the first input terminal of the second logic unit, and the second input terminal of the second logic unit is connected to the output terminal of the first logic unit.

[0013] The second logic unit is used to perform a second logic operation on the fifth signal and the eighth signal output by the second input unit, and output the ninth signal;

[0014] The second control unit is used to control the state of the second indicator light according to the ninth signal and the sixth signal output by the general-purpose input / output pin of the MCU;

[0015] The second indicator light is the active indicator light of the server's network port;

[0016] When data is transmitted on the cable plugged into the server's network port, the seventh signal output by the PHY chip switches between high and low levels.

[0017] According to the control circuit of the server network port indicator provided by the present invention, the first input unit includes: a first resistor, a first field-effect transistor, a second resistor, and a second field-effect transistor;

[0018] The first end of the first resistor is connected to the voltage input terminal, and the second end of the first resistor is connected to the drain of the first field-effect transistor.

[0019] The drain of the first field-effect transistor is connected to the first input terminal of the first logic unit;

[0020] The gate of the first field-effect transistor is connected to the PHY chip and is used to receive the first signal output by the PHY chip;

[0021] The source of the first field-effect transistor is grounded;

[0022] The first end of the second resistor is connected to the voltage input terminal, and the second end of the second resistor is connected to the drain of the second field-effect transistor.

[0023] The drain of the second field-effect transistor is connected to the second input terminal of the first logic unit;

[0024] The source of the second field-effect transistor is grounded;

[0025] The gate of the second field-effect transistor is connected to the PHY chip and is used to receive the second signal output by the PHY chip.

[0026] According to the control circuit of the server network port indicator provided by the present invention, the first logic unit is used to perform OR operation.

[0027] According to the control circuit for a server network port indicator light provided by the present invention, the first control unit includes: a third resistor, a fourth resistor, a third field-effect transistor, and a fourth field-effect transistor.

[0028] The first end of the third resistor is connected to the output end of the first logic unit;

[0029] The second end of the third resistor is connected to the first end of the fourth resistor and the gate of the fourth field-effect transistor;

[0030] The drain of the third field-effect transistor is connected to the second terminal of the fourth resistor;

[0031] The source of the third field-effect transistor is grounded;

[0032] The gate of the third field-effect transistor is connected to the general-purpose input / output pin of the MCU;

[0033] The source of the fourth field-effect transistor is grounded;

[0034] The drain of the fourth field-effect transistor is connected to the negative terminal of the first indicator light.

[0035] According to the control circuit for a server network port indicator light provided by the present invention, the second input unit includes: a sixth resistor and a fifth field-effect transistor.

[0036] The first end of the sixth resistor is connected to the voltage input terminal;

[0037] The second end of the sixth resistor is connected to the drain of the fifth field-effect transistor;

[0038] The drain of the fifth field-effect transistor is connected to the first input terminal of the second logic unit;

[0039] The source of the fifth field-effect transistor is grounded;

[0040] The gate of the fifth field-effect transistor is connected to the PHY chip and is used to receive the seventh signal output by the PHY chip.

[0041] According to the control circuit of the server network port indicator provided by the present invention, the second logic unit is used to implement XOR operation.

[0042] According to the control circuit for a server network port indicator light provided by the present invention, the second control unit includes: a seventh resistor, an eighth resistor, a sixth field-effect transistor, and a seventh field-effect transistor.

[0043] The first end of the seventh resistor is connected to the output end of the second logic unit;

[0044] The second end of the seventh resistor is connected to the first end of the eighth resistor and the gate of the seventh field-effect transistor;

[0045] The second end of the eighth resistor is connected to the drain of the sixth field-effect transistor;

[0046] The source of the sixth field-effect transistor is grounded;

[0047] The gate of the sixth field-effect transistor is connected to the general-purpose input / output pin of the MCU;

[0048] The source of the seventh field-effect transistor is grounded;

[0049] The drain of the seventh field-effect transistor is connected to the negative terminal of the second indicator light.

[0050] Secondly, the present invention provides a control method for a server network port indicator light, applied to the control circuit of the server network port indicator light as described in the first aspect, comprising: controlling the general-purpose input / output pin of the MCU to output a high level when the server is powered on; and controlling the general-purpose input / output pin of the MCU to output a low level after the server is powered on.

[0051] Thirdly, the present invention provides a server, including a control circuit for the server network port indicator light as described in the first aspect.

[0052] The control circuit, method, and server for the server network port indicator light provided by this invention can effectively control the status of the server network port indicator light by controlling the general-purpose input / output pin of the MCU to output a high level when the server is powered on, and controlling the general-purpose input / output pin of the MCU to output a low level after the server is powered on, thereby avoiding abnormal lighting at the moment of power-on. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0054] Figure 1 This is a schematic diagram of the control circuit for the server network port light in related technologies;

[0055] Figure 2 This is one of the structural schematic diagrams of the control circuit for the server network port indicator light provided in an embodiment of the present invention;

[0056] Figure 3 This is a second schematic diagram of the control circuit for the server network port indicator light provided in an embodiment of the present invention;

[0057] Figure 4 This is the third schematic diagram of the control circuit for the server network port indicator light provided in an embodiment of the present invention;

[0058] Figure 5 Fourth schematic diagram of the control circuit for the server network port indicator light provided in this embodiment of the invention;

[0059] Figure 6 A flowchart illustrating the control method for server network port indicator lights provided in an embodiment of the present invention;

[0060] Figure 7 This is a schematic diagram of the server structure provided in an embodiment of the present invention;

[0061] Explanation of reference numerals in the attached figures:

[0062] 10: First input unit; 20: First logic unit; 30: First control unit;

[0063] 40: Second input unit; 50: Second logic unit; 60: Second control unit;

[0064] R1: First resistor; R2: Second resistor; R3: Third resistor; R4: Fourth resistor;

[0065] R5: Fifth resistor; R6: Sixth resistor; R7: Seventh resistor; R8: Eighth resistor;

[0066] R9: Ninth resistor; M1: First field-effect transistor; M2: Second field-effect transistor;

[0067] M3: Third field-effect transistor; M4: Fourth field-effect transistor; M5: Fifth field-effect transistor;

[0068] M6: Sixth field-effect transistor; M7: Seventh field-effect transistor; LED1: First indicator light;

[0069] LED2: Second indicator light. Detailed Implementation

[0070] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0071] This invention provides a control circuit for server network port indicator lights.

[0072] Figure 2 This is one of the structural schematic diagrams of the control circuit for the server network port indicator light provided in an embodiment of the present invention. For example... Figure 2 As shown, the control circuit for the server network port indicator light includes: a first input unit 10, a first logic unit 20, and a first control unit 30.

[0073] The first input terminal of the first input unit 10 is connected to the physical layer PHY chip and is used to receive the first signal output by the PHY chip. The second input terminal of the first input unit 10 is connected to the PHY chip and is used to receive the second signal output by the PHY chip. The first output terminal and the second output terminal of the first input unit 10 are connected to the input terminal of the first logic unit 20.

[0074] The first logic unit 20 is used to perform a first logic operation on the third signal output from the first output terminal of the first input unit 10 and the fourth signal output from the second output terminal of the first input unit 10, and output a fifth signal.

[0075] The first control unit 30 is used to control the state of the first indicator LED1 according to the sixth signal output by the general purpose input / output pin MCU_GPIO of the microcontroller (MCU) and the fifth signal;

[0076] Among them, the first indicator LED1 is the link indicator of the server network port;

[0077] When the first-rate cable is inserted into the server network port, the first signal output by the PHY chip is low, and when the second-rate cable is inserted into the server network port, the second signal output by the PHY chip is low.

[0078] When the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a high level; after the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a low level.

[0079] To facilitate a clear and intuitive description of the control circuit for the server network port indicator provided in this embodiment of the invention, the following description uses a 10G cable as the first speed cable and a 1G cable as the second speed cable as an example, but this does not constitute a limitation on the invention.

[0080] The first input terminal of the first input unit 10 is connected to the physical layer PHY chip and is used to receive the first signal Link_10G output by the PHY chip. The second input terminal of the first input unit 10 is connected to the PHY chip and is used to receive the second signal Link_1G output by the PHY chip.

[0081] When the first-rate cable is plugged into the server's network port, the first signal output by the PHY chip is low, and when the second-rate cable is plugged into the server's network port, the second signal output by the PHY chip is low, i.e., low level is active, Link_10G = L, Link_1G = L. Correspondingly, when no cable is connected, Link_1G = H, Link_10G = H.

[0082] The PHY chip is used for encoding and decoding data signals, port negotiation, and serial-to-parallel conversion of data.

[0083] The first input unit 10 is used to perform level conversion on the first signal Link_10G and the second signal Link_1G. If the first signal is high, the first output terminal of the first input unit outputs a low level; if the second signal is high, the second output terminal of the first input unit outputs a low level. Conversely, if the first signal is low, the first output terminal of the first input unit outputs a high level; if the second signal is low, the second output terminal of the first input unit outputs a high level.

[0084] The first output terminal and the second output terminal of the first input unit 10 are connected to the input terminal of the first logic unit 20. Specifically, the first output terminal of the first input unit 10 is connected to the first input terminal of the first logic unit 20, and the second output terminal of the first input unit 10 is connected to the second input terminal of the first logic unit 20.

[0085] The first logic unit 20 is used to perform a first logic operation on the third signal Link_10G_M output from the first output terminal of the first input unit 10 and the fourth signal Link_1G_M output from the second output terminal of the first input unit 10, and output a fifth signal Link_OR.

[0086] Specifically, the first logic unit is used to implement OR operations; that is, the first logic unit can be an OR gate.

[0087] The first control unit 30 is used to control the state of the first indicator LED1 according to the sixth signal output by the general-purpose input / output (MCU_GPIO) pin of the microcontroller MCU and the fifth signal Link_OR;

[0088] Among them, the first indicator LED1 is the link indicator of the server network port;

[0089] When the server is powered on, the voltage input terminal P3V3 of the MCU will be directly powered on, and the sixth signal output by the general-purpose input / output pin of the MCU will be at a high level, i.e., MCU_GPIO = H. The internal components of the first control unit 30 will be turned on, so that the signal Link_LED controlling the first indicator LED1 will be at a low level, and the negative voltage of LED1 will be at a high level. Even if the Link_OR output is abnormally high, the first indicator light will always be off during the server power-on process.

[0090] After the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a low level, i.e., MCU_GPIO = L. This makes Link_OR the same level as the signal Link_LED that controls the first indicator light. When neither the first rate cable nor the second rate cable is connected, Link_1G = H, Link_10G = H, Link_1G_M = L, Link_10G_M = L. After the OR operation, Link_OR = L, and thus Link_LED = L, and the first indicator light remains off.

[0091] When at least one of the first-rate cable and the second-rate cable is connected, Link_1G = L, and / or Link_10G = L, then Link_1G_M = H, and / or Link_10G_M = H. After the OR operation, Link_OR = H, and thus Link_LED = H, and the first indicator light is in a constantly lit state.

[0092] This achieves the function of indicating whether the first and second speed cables are inserted. Furthermore, it ensures that the first indicator light is off at the moment the server is powered on, preventing any abnormal lighting.

[0093] The server network port indicator light control circuit provided in this embodiment of the invention controls the MCU's general-purpose input / output pins to output a high level when the server is powered on, and controls the MCU's general-purpose input / output pins to output a low level after the server is powered on. This enables the server network port link light to be constantly lit when a cable is inserted, and to be turned off the instant the server is powered on. This effectively controls the state of the server network port link indicator light and avoids abnormal lighting at the moment of power-on.

[0094] It should be noted that each implementation method of this application can be freely combined, rearranged, or executed individually, and does not need to rely on or depend on a fixed execution order.

[0095] Figure 3 This is a second schematic diagram of the control circuit for the server network port indicator light provided in an embodiment of the present invention. Figure 3 As shown, the control circuit for the server network port indicator light also includes: a second input unit 40, a second logic unit 50, and a second control unit 60, wherein...

[0096] The input terminal of the second input unit 40 is connected to the PHY chip and is used to receive the seventh signal output by the PHY chip;

[0097] The output terminal of the second input unit 40 is connected to the first input terminal of the second logic unit 50, and the second input terminal of the second logic unit 50 is connected to the output terminal of the first logic unit 20;

[0098] The second logic unit 50 is used to perform a second logic operation on the fifth signal and the eighth signal output by the second input unit 40, and output a ninth signal;

[0099] The second control unit 60 is used to control the state of the second indicator LED2 according to the ninth signal and the sixth signal output by the general-purpose input / output pin of the MCU;

[0100] The second indicator light is the active indicator light of the server's network port;

[0101] When data is transmitted on the cable plugged into the server's network port, the seventh signal output by the PHY chip switches between high and low levels.

[0102] The following explanation will still use the example of a 10G cable for the first speed and a 1G cable for the second speed.

[0103] The input terminal of the second input unit 40 is connected to the PHY chip and is used to receive the seventh signal Link / ACT output by the PHY chip. When there is data transmission on the cable inserted into the server network port, the seventh signal output by the PHY chip switches between high and low levels.

[0104] The second input unit 40 is used to perform level conversion on the seventh signal. If the seventh signal is high, the output terminal of the second input unit 40 outputs a low level; conversely, if the seventh signal is low, the output terminal of the second input unit 40 outputs a high level. That is, if Link / ACT = H, then the eighth signal Link / ACT_M = L output by the second input unit 40; if Link / ACT = L, then the eighth signal Link / ACT_M output by the second input unit 40 = H.

[0105] The output terminal of the second input unit 40 is connected to the first input terminal of the second logic unit 50, and the second input terminal of the second logic unit 50 is connected to the output terminal of the first logic unit 20;

[0106] The second logic unit 50 is used to perform a second logic operation on the fifth signal Link_OR output by the first logic unit 20 and the eighth signal Link / ACT_M output by the second input unit 40, and output the ninth signal ACT_XOR.

[0107] Specifically, the second logic unit is used to implement the XOR operation. That is, the second logic unit can be an XOR gate.

[0108] The second control unit 40 is used to control the state of the second indicator LED2 according to the ninth signal ACT_XOR and the sixth signal output by the general input / output pin of the MCU;

[0109] The second indicator LED2 is the active indicator of the server's network port;

[0110] When data is transmitted on the cable plugged into the server's network port, the seventh signal Link / ACT output by the PHY chip switches between high and low levels.

[0111] When there is no cable connection, the PHY chip outputs the seventh signal Link / ACT = H; when there is a cable connection but no data transmission, Link / ACT = L; and when there is data transmission via the cable, Link / ACT = L / H.

[0112] Correspondingly, when there is no cable connection, Link / AC_M = L; when there is a cable connection but no data transmission, Link / ACT_M = H; and when there is data transmission via the cable, Link / ACT_M = H / L.

[0113] To prevent the second indicator light from malfunctioning at the moment of power-on, when the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a high level, thereby turning on the components inside the second control unit, making the signal ACT_LED that controls the second indicator light LED2 at a low level, and the negative voltage of LED2 at a high level. At this time, regardless of the level of ACT_XOR, the second indicator light is in an off state.

[0114] After the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a low level, so that ACT_XOR is at the same level as the signal ACT_LED that controls the second indicator LED2. When neither the first rate cable nor the second rate cable is connected, Link_1G = H, Link_10G = H, and Link / ACT = H, then Link_OR = L, Link / AC_M = L. After Link_OR and Link / AC_M pass through the XOR gate, the output ACT_XOR = L, so ACT_LED = L, and the second indicator light is always off.

[0115] When at least one of the first-rate cable and the second-rate cable is connected, Link_1G = L, and / or Link_10G = L, then Link_OR = H. If there is no data transmission on either the first-rate cable or the second-rate cable, Link / ACT = L, Link / ACT_M = H. Then, after Link_OR and Link / AC_M pass through an XOR gate, the output ACT_XOR = L, thus ACT_LED = L, and the second indicator light remains off.

[0116] When at least one of the first-rate cable and the second-rate cable is connected, Link_1G = L, and / or Link_10G = L, then Link_OR = H. If there is data transmission on either the first-rate cable or the second-rate cable, Link / ACT_M = H / L. The levels of Link_OR and Link / AC_M are sometimes the same and sometimes different. After passing through an XOR gate, the output ACT_XOR continuously switches between high and low levels, causing the signal ACT_LED controlling the second indicator light to continuously switch between high and low levels, resulting in the second indicator light flashing continuously. This achieves the state where the second indicator light flashes only when there is data transmission, and remains off in other states.

[0117] The server network port indicator light control circuit provided in this embodiment of the invention controls the MCU's general-purpose input / output pins to output a high level when the server is powered on, and controls the MCU's general-purpose input / output pins to output a low level after the server is powered on. This not only ensures that the link light of the server network port is constantly on when a cable is inserted and turns off the moment the server is powered on, but also ensures that the active light of the server network port only flashes when there is data transmission, and remains off in other states. This achieves effective control over the state of the server network port indicator light and avoids abnormal lighting at the moment of power-on.

[0118] Figure 4 The third schematic diagram of the control circuit for the server network port indicator light provided in this embodiment of the invention.

[0119] refer to Figure 4 The first input unit 10 includes: a first resistor R1, a first field-effect transistor M1, a second resistor R2, and a second field-effect transistor M2;

[0120] The first end of the first resistor R1 is connected to the voltage input terminal P3V3, and the second end of the first resistor is connected to the drain of the first field-effect transistor M1.

[0121] The drain of the first field-effect transistor M1 is connected to the first input terminal of the first logic unit 20;

[0122] The gate of the first field-effect transistor M1 is connected to the PHY chip and is used to receive the first signal Link_10G output by the PHY chip;

[0123] The source of the first field-effect transistor M1 is grounded;

[0124] The first end of the second resistor R2 is connected to the voltage input terminal P3V3, and the second end of the second resistor R2 is connected to the drain of the second field-effect transistor M2;

[0125] The drain of the second field-effect transistor M2 is connected to the second input terminal of the first logic unit 20;

[0126] The source of the second field-effect transistor M2 is grounded;

[0127] The gate of the second field-effect transistor M2 is connected to the PHY chip and is used to receive the second signal Link_1G output by the PHY chip.

[0128] refer to Figure 4 The first control unit 30 includes: a third resistor R3, a fourth resistor R4, a third field-effect transistor M3, and a fourth field-effect transistor M4.

[0129] The first end of the third resistor R3 is connected to the output end of the first logic unit 20;

[0130] The second end of the third resistor R3 is connected to the first end of the fourth resistor R4 and the gate of the fourth field-effect transistor M4;

[0131] The drain of the third field-effect transistor M3 is connected to the second terminal of the fourth resistor R4;

[0132] The source of the third field-effect transistor M3 is grounded;

[0133] The gate of the third field-effect transistor M3 is connected to the general-purpose input / output pin MCU_GPIO of the MCU;

[0134] The source of the fourth field-effect transistor M4 is grounded;

[0135] The drain of the fourth field-effect transistor M4 is connected to the second terminal of the first indicator LED1, which is the negative terminal;

[0136] Optionally, the first control unit 30 may also include a fifth resistor R5.

[0137] The first terminal (i.e., the positive terminal) of the first indicator LED1 is connected to the second terminal of the fifth resistor R5;

[0138] The first terminal of the fifth resistor R5 is connected to the voltage input terminal P3V3.

[0139] The hardware control signals are Link_1G and Link_10G, directly output from the PHY chip. They are active low by default, meaning that when no cable is connected, Link_1G = H and Link_10G = H. Table 1 shows the truth table for the link LED1.

[0140] Table 1 Truth Table for Link Lights

[0141]

[0142] To prevent LED1 from malfunctioning due to the PHY chip's LED direct output signal not being configured with high or low levels at power-on, this embodiment of the invention adds MCU_GPIO control. At power-on, the MCU's P3V3 will directly power on, at which time the MCU_GPIO outputs a high level H. Figure 4Due to the voltage divider effect of resistors R3 and R4, even if the Link_OR output is abnormally high (H), Link_LED will still output low, causing the subsequent MOS (M4) to turn off and LED1 to remain off. After power-on, the PHY configuration is complete, and both Link_10G and Link_1G are configured to high by default. The MCU-controlled MOS transistor is turned off, and the gate level (Link_LED) of the MOS transistor M4 controlling LED1 is the same as the output level (Link_OR) of the OR gate, i.e., Link_LED = Link_OR. When no cable is plugged into the network port, Link_10G = H and Link_1G = H, and the OR gate outputs Link_OR = L = Link_LED, causing the subsequent MOS (M4) to turn off and LED1 to remain off. When a 10G or 1G cable is plugged in, the OR gate outputs Link_OR = H = Link_LED, the subsequent MOS (M4) turns on, and LED1 remains constantly lit. Thus, this circuit implements the indication function of a 10G or 1G link.

[0143] The control circuit for the server network port indicator light provided in this embodiment of the invention enables the link light of the server network port to be constantly lit when a cable is inserted, and to be turned off the moment the server is powered on, thereby achieving effective control over the status of the server network port link indicator light and avoiding abnormal lighting at the moment of power-on.

[0144] Figure 5 The fourth schematic diagram of the control circuit for the server network port indicator light provided in the embodiment of the present invention.

[0145] refer to Figure 5 The second input unit 40 includes: a sixth resistor R6 and a fifth field-effect transistor M5.

[0146] The first terminal of the sixth resistor R6 is connected to the voltage input terminal P3V3;

[0147] The second end of the sixth resistor R6 is connected to the drain of the fifth field-effect transistor M5;

[0148] The drain of the fifth field-effect transistor M5 is connected to the first input terminal of the second logic unit 50;

[0149] The source of the fifth field-effect transistor M5 is grounded;

[0150] The gate of the fifth field-effect transistor M5 is connected to the PHY chip and is used to receive the seventh signal Link / ACT output by the PHY chip.

[0151] refer to Figure 5The second control unit 60 includes: a seventh resistor R7, an eighth resistor R8, a sixth field-effect transistor M6, and a seventh field-effect transistor M7.

[0152] Wherein, the first end of the seventh resistor R7 is connected to the output end of the second logic unit 50;

[0153] The second end of the seventh resistor R7 is connected to the first end of the eighth resistor R8 and the gate of the seventh field-effect transistor M7;

[0154] The second end of the eighth resistor R8 is connected to the drain of the sixth field-effect transistor M6;

[0155] The source of the sixth field-effect transistor M6 is grounded;

[0156] The gate of the sixth field-effect transistor M6 is connected to the general-purpose input / output pin MCU_GPIO of the MCU;

[0157] The source of the seventh field-effect transistor M7 is grounded;

[0158] The drain of the seventh field-effect transistor M7 is connected to the negative terminal of the second indicator LED2;

[0159] Optionally, the second control unit 60 also includes a ninth resistor R9.

[0160] The positive terminal of the second indicator LED2 is connected to the second terminal of the ninth resistor R9;

[0161] The first terminal of the ninth resistor R9 is connected to the voltage input terminal P3V3.

[0162] In this embodiment of the invention, the hardware control signals are Link_1G, Link_10G, and Link / ACT directly output from the PHY chip. They are active low by default. When there is no cable connection, Link / ACT = H; when there is a cable connection but no data transmission, Link / ACT = L; and when there is data transmission via the cable, Link / ACT = L / H. Table 2 shows the truth table for the active LED2.

[0163] Table 2 Truth Values ​​for Active Lamps

[0164]

[0165]

[0166] To prevent LED2 from malfunctioning at power-on, the gate of the MOSFET (M7) controlling LED2 is actually controlled by MCU_GPIO at power-on. MCU_GPIO outputs a high level, M6 conducts, keeping ACT_LED low and ensuring LED2 remains off. After power-on, ACT_LED = ACT_XOR. When the cable is plugged in and there is no data transmission, Link / ACT = L, then Link / ACT_M = H. Both input signals of the XOR gate are high, and the XOR gate outputs a low level, keeping LED2 off. When there is data transmission, Link / ACT = L / H, then Link / ACT_M = H / L. The two input signals of the XOR gate sometimes match and sometimes differ, causing the XOR gate output level to switch continuously, resulting in the negative terminal level of LED2 constantly switching between high and low, causing LED2 to blink continuously. In this way, the circuit achieves the state where the indicator light blinks only when there is data transmission, and remains off in other states.

[0167] The control circuit for the server network port indicator light provided in this embodiment of the invention enables the active light of the server network port to flash only when there is data transmission, and remain off in other states. This achieves effective control over the state of the active indicator light of the server network port and avoids abnormal lighting at the moment of power-on.

[0168] Figure 6 This is a flowchart illustrating the control method for server network port indicator lights provided in an embodiment of the present invention. Figure 6 As shown, the control method for the server network port indicator light includes:

[0169] Step 610: When the server is powered on, control the MCU's general-purpose input / output pins to output a high level;

[0170] Step 620: After the server is powered on, control the general-purpose input / output pins of the MCU to output a low level.

[0171] When the server is powered on, controlling the MCU's general-purpose input / output pins to output a high level ensures that both the first and second indicator lights are off. After the server is powered on, controlling the MCU's general-purpose input / output pins to output a low level ensures that when at least one of the first and second rate cables is connected, the first indicator light remains constantly on, and the second indicator light only flashes when data is being transmitted, remaining off at other times.

[0172] The server network port indicator light control method provided in this embodiment of the invention can effectively control the status of the server network port indicator light by controlling the general-purpose input / output pin of the MCU to output a high level when the server is powered on, and controlling the general-purpose input / output pin of the MCU to output a low level after the server is powered on, thereby avoiding abnormal lighting.

[0173] This invention also provides a server, such as... Figure 7 As shown, server 700 includes a control circuit 710 for the server network port indicator light as described in the above embodiments. For an understanding of the control circuit 710 for the server network port indicator light, please refer to the descriptions in the foregoing embodiments; further details will not be repeated here.

[0174] In addition to the above, the server also includes components such as memory, processor, baseboard management controller (BMC), and network interface card. Those skilled in the art will understand that the server provided in this application embodiment may include more or fewer components, or combine certain components, or have different component arrangements.

[0175] The network interface card (NIC) is used to establish physical connections with other devices. The NIC has at least one network port, which connects to the communication interfaces of other devices via cables, enabling data transmission between the server and these devices. Optionally, the NIC can be integrated on the motherboard or inserted through a high-speed serial computer expansion bus standard (PCIE) slot or a PCI slot in the server; there are no restrictions on this.

[0176] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0177] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A control circuit for a server network port indicator light, characterized in that, include: First input unit, first logic unit and first control unit The first input terminal of the first input unit is connected to the physical layer PHY chip and is used to receive the first signal output by the PHY chip. The second input terminal of the first input unit is connected to the PHY chip and is used to receive the second signal output by the PHY chip. The first output terminal and the second output terminal of the first input unit are connected to the input terminal of the first logic unit. The first logic unit is used to perform a first logic operation on the third signal output from the first output terminal of the first input unit and the fourth signal output from the second output terminal of the first input unit, and output a fifth signal. The first control unit is used to control the state of the first indicator light according to the sixth signal output by the general-purpose input / output pin of the microcontroller MCU and the fifth signal; The first indicator light is the link indicator light of the server's network port; When the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a high level; after the server is powered on, the sixth signal output by the general-purpose input / output pin of the MCU is at a low level.

2. The control circuit for the server network port indicator light according to claim 1, characterized in that, Also includes: The second input unit, the second logic unit, and the second control unit, wherein... The input terminal of the second input unit is connected to the PHY chip and is used to receive the seventh signal output by the PHY chip; The output terminal of the second input unit is connected to the first input terminal of the second logic unit, and the second input terminal of the second logic unit is connected to the output terminal of the first logic unit. The second logic unit is used to perform a second logic operation on the fifth signal and the eighth signal output by the second input unit, and output the ninth signal; The second control unit is used to control the state of the second indicator light according to the ninth signal and the sixth signal output by the general-purpose input / output pin of the MCU; The second indicator light is the active indicator light of the server's network port; When data is transmitted on the cable plugged into the server's network port, the seventh signal output by the PHY chip switches between high and low levels.

3. The control circuit for the server network port indicator light according to claim 1, characterized in that, The first input unit includes: a first resistor, a first field-effect transistor, a second resistor, and a second field-effect transistor; The first end of the first resistor is connected to the voltage input terminal, and the second end of the first resistor is connected to the drain of the first field-effect transistor. The drain of the first field-effect transistor is connected to the first input terminal of the first logic unit; The gate of the first field-effect transistor is connected to the PHY chip and is used to receive the first signal output by the PHY chip; The source of the first field-effect transistor is grounded; The first end of the second resistor is connected to the voltage input terminal, and the second end of the second resistor is connected to the drain of the second field-effect transistor. The drain of the second field-effect transistor is connected to the second input terminal of the first logic unit; The source of the second field-effect transistor is grounded; The gate of the second field-effect transistor is connected to the PHY chip and is used to receive the second signal output by the PHY chip.

4. The control circuit for the server network port indicator light according to claim 1, characterized in that, The first logic unit is used to perform OR operations.

5. The control circuit for the server network port indicator light according to claim 1, characterized in that, The first control unit includes: a third resistor, a fourth resistor, a third field-effect transistor, and a fourth field-effect transistor. The first end of the third resistor is connected to the output end of the first logic unit; The second end of the third resistor is connected to the first end of the fourth resistor and the gate of the fourth field-effect transistor; The drain of the third field-effect transistor is connected to the second terminal of the fourth resistor; The source of the third field-effect transistor is grounded; The gate of the third field-effect transistor is connected to the general-purpose input / output pin of the MCU; The source of the fourth field-effect transistor is grounded; The drain of the fourth field-effect transistor is connected to the negative terminal of the first indicator light.

6. The control circuit for the server network port indicator light according to claim 2, characterized in that, The second input unit includes: a sixth resistor and a fifth field-effect transistor. The first end of the sixth resistor is connected to the voltage input terminal; The second end of the sixth resistor is connected to the drain of the fifth field-effect transistor; The drain of the fifth field-effect transistor is connected to the first input terminal of the second logic unit; The source of the fifth field-effect transistor is grounded; The gate of the fifth field-effect transistor is connected to the PHY chip and is used to receive the seventh signal output by the PHY chip.

7. The control circuit for the server network port indicator light according to claim 2, characterized in that, The second logic unit is used to implement the XOR operation.

8. The control circuit for the server network port indicator light according to claim 2, characterized in that, The second control unit includes: a seventh resistor, an eighth resistor, a sixth field-effect transistor, and a seventh field-effect transistor. The first end of the seventh resistor is connected to the output end of the second logic unit; The second end of the seventh resistor is connected to the first end of the eighth resistor and the gate of the seventh field-effect transistor; The second end of the eighth resistor is connected to the drain of the sixth field-effect transistor; The source of the sixth field-effect transistor is grounded; The gate of the sixth field-effect transistor is connected to the general-purpose input / output pin of the MCU; The source of the seventh field-effect transistor is grounded; The drain of the seventh field-effect transistor is connected to the negative terminal of the second indicator light.

9. A method for controlling a server network port indicator light, applied to the control circuit of the server network port indicator light as described in any one of claims 1 to 8, characterized in that, include: When the server is powered on, the general-purpose input / output pins of the control MCU output a high level. After the server is powered on, the general-purpose input / output pins of the MCU are controlled to output a low level.

10. A server, characterized in that, The control circuit includes the server network port indicator light as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Automatic restoration system from interruption by ieee-1394phy

    CN1525697A

  • Visible indication of a port as configured to management functionality

    US20190279484A1